2010 FRC Java API


edu.wpi.first.testing
Class Failure

java.lang.Object
  extended by edu.wpi.first.testing.Failure

public class Failure
extends Object

Author:
dtjones

Method Summary
 String getTest()
          Get the name of the test that failed.
 String getTestClass()
          Get the name of the test class that failed.
 String toString()
          Get a string represention of the failed test.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Get a string represention of the failed test.

Overrides:
toString in class Object
Returns:
A string representation of the failed test.

getTest

public String getTest()
Get the name of the test that failed.

Returns:
The name of the test that failed.

getTestClass

public String getTestClass()
Get the name of the test class that failed.

Returns:
The name of the test class that failed.

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.