Package sbt.testing

Class NestedTestSelector

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

public final class NestedTestSelector extends Selector implements Serializable
Information in addition to a test class name that identifies a test in a nested suite about which an event was fired.
See Also:
  • Constructor Details

    • NestedTestSelector

      public NestedTestSelector(String suiteId, String testName)
      Constructs a new NestedSuiteSelector with given suiteId and testName.
      Parameters:
      suiteId - the id of the nested suite containing the test
      testName - the name of the test
  • Method Details

    • suiteId

      public 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.
      Returns:
      the id of the nested suite containing the test
    • testName

      public String testName()
      The name of the test in a nested suite about which an event was fired.
      Returns:
      the name of the test in the nested suite identified by the id returned by suiteId.
    • 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