sbt.testing
Class TestWildcardSelector

java.lang.Object
  extended by sbt.testing.Selector
      extended by 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 the testWildcard string as a substring will be selected.

See Also:
Serialized Form

Constructor Summary
TestWildcardSelector(java.lang.String testWildcard)
          Constructs a new TestWildcardSelector with passed testWildcard.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String testWildcard()
          A test wildcard string used to select tests.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestWildcardSelector

public TestWildcardSelector(java.lang.String testWildcard)
Constructs a new TestWildcardSelector with passed testWildcard.

The testWildcard is a simple string, i.e., not a glob or regular expression. Any test whose name includes the testWildcard 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 the testWildcard 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 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