sbt.testing
Class TestSelector
java.lang.Object
sbt.testing.Selector
sbt.testing.TestSelector
- All Implemented Interfaces:
- java.io.Serializable
public final class TestSelector
- extends Selector
- implements java.io.Serializable
Information in addition to a test class name that identifies a test directly contained in the suite
whose class had the fully qualified name specified as the fullyQualifiedName
attribute
passed to the event.
- See Also:
- Serialized Form
Constructor Summary |
TestSelector(java.lang.String testName)
Constructs a new TestSelector with passed testName . |
Method Summary |
boolean |
equals(java.lang.Object o)
|
int |
hashCode()
|
java.lang.String |
testName()
The name of a test about which an event was fired. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TestSelector
public TestSelector(java.lang.String testName)
- Constructs a new
TestSelector
with passed testName
.
- Parameters:
testName
- the name of the test about which an event as fired.
testName
public java.lang.String testName()
- The name of a test about which an event was fired.
- Returns:
- the name of the test
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object