Package sbt.testing

Class TestSelector

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

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

    • TestSelector

      public TestSelector(String testName)
      Constructs a new TestSelector with passed testName.
      Parameters:
      testName - the name of the test about which an event as fired.
  • Method Details

    • testName

      public String testName()
      The name of a test about which an event was fired.
      Returns:
      the name of the test
    • 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