public final class NestedTestSelector extends Selector implements java.io.Serializable
Constructor and Description |
---|
NestedTestSelector(java.lang.String suiteId,
java.lang.String testName)
Constructs a new
NestedSuiteSelector with given suiteId and testName . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
suiteId()
An id that, in addition to a test class name, identifies a nested suite that contains a test
about which an event was fired.
|
java.lang.String |
testName()
The name of the test in a nested suite about which an event was fired.
|
java.lang.String |
toString() |
public NestedTestSelector(java.lang.String suiteId, java.lang.String testName)
NestedSuiteSelector
with given suiteId
and testName
.suiteId
- the id of the nested suite containing the testtestName
- the name of the testpublic java.lang.String suiteId()
public java.lang.String testName()
suiteId
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object