public class TestInfo
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
TestInfo(java.lang.String name)
Creates a
TestInfo with the name of a test. |
TestInfo(java.lang.String name,
java.lang.String desc)
Creates a
TestInfo with the name and description of a test. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Gets the description of the test.
|
java.lang.String |
getName()
Gets the name of the test.
|
java.lang.String |
toString() |
public TestInfo(java.lang.String name)
TestInfo with the name of a test.name - the name of the testjava.lang.IllegalArgumentException - if the name is nullpublic TestInfo(java.lang.String name,
java.lang.String desc)
TestInfo with the name and description of a test.name - the name of the testdesc - the description of the test; null if not availablejava.lang.IllegalArgumentException - if the name is nullpublic final java.lang.String getName()
public final java.lang.String getDescription()
public java.lang.String toString()
toString in class java.lang.Object