Package sbt.testing

Class TestSelector

  • All Implemented Interfaces:
    java.io.Serializable

    public final class TestSelector
    extends Selector
    implements java.io.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:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TestSelector​(java.lang.String testName)
      Constructs a new TestSelector with passed testName.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String testName()
      The name of a test about which an event was fired.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TestSelector

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

      • testName

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