Package sbt.testing

Class TestWildcardSelector

java.lang.Object
sbt.testing.Selector
sbt.testing.TestWildcardSelector
All Implemented Interfaces:
Serializable

public final class TestWildcardSelector extends Selector implements 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:
  • Constructor Details

    • TestWildcardSelector

      public TestWildcardSelector(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 Details

    • testWildcard

      public 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object