Package sbt.testing
Class TestWildcardSelector
- java.lang.Object
-
- sbt.testing.Selector
-
- sbt.testing.TestWildcardSelector
-
- All Implemented Interfaces:
java.io.Serializable
public final class TestWildcardSelector extends Selector implements java.io.Serializable
Information that identifies zero to many tests directly contained in a test class.The
testWildcard
is a simple string, i.e., not a glob or regular expression. Any test whose name includes thetestWildcard
string as a substring will be selected.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestWildcardSelector(java.lang.String testWildcard)
Constructs a newTestWildcardSelector
with passedtestWildcard
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
testWildcard()
A test wildcard string used to select tests.java.lang.String
toString()
-
-
-
Constructor Detail
-
TestWildcardSelector
public TestWildcardSelector(java.lang.String testWildcard)
Constructs a newTestWildcardSelector
with passedtestWildcard
.The
testWildcard
is a simple string, i.e., not a glob or regular expression. Any test whose name includes thetestWildcard
string as a substring will be selected.- Parameters:
testWildcard
- a string used to select tests.
-
-
Method Detail
-
testWildcard
public java.lang.String testWildcard()
A test wildcard string used to select tests.The
testWildcard
is a simple string, i.e., not a glob or regular expression. Any test whose name includes thetestWildcard
string as a substring will be selected.- Returns:
- the test wildcard string used to select tests.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-