c

org.scalatestplus.junit5

ScalaTestDescriptor

class ScalaTestDescriptor extends AbstractTestDescriptor

TestDescriptor for a test in ScalaTest suite.

Source
ScalaTestDescriptor.scala
Linear Supertypes
AbstractTestDescriptor, TestDescriptor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaTestDescriptor
  2. AbstractTestDescriptor
  3. TestDescriptor
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ScalaTestDescriptor(theUniqueId: UniqueId, displayName: String, locationOpt: Option[Location])

    theUniqueId

    The unique ID.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def accept(arg0: Visitor): Unit
    Definition Classes
    TestDescriptor
  5. def addChild(arg0: TestDescriptor): Unit
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. final def equals(arg0: AnyRef): Boolean
    Definition Classes
    AbstractTestDescriptor → AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def findByUniqueId(arg0: UniqueId): Optional[_ <: TestDescriptor]
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  12. final def getChildren(): Set[_ <: TestDescriptor]
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getDescendants(): Set[_ <: TestDescriptor]
    Definition Classes
    TestDescriptor
  15. final def getDisplayName(): String
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  16. def getLegacyReportingName(): String
    Definition Classes
    TestDescriptor
  17. final def getParent(): Optional[TestDescriptor]
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  18. def getSource(): Optional[TestSource]

    Return TestSource for this test.

    Return TestSource for this test. It depends on Location reported from ScalaTest, if the location is TopOfClass, it returns a ClassSource. If the location is TopOfMethod, it returns a MethodSource. If the location is LineInFile, it returns a FileSource. If the location is SeeStackDepthException, it returns a ClassSource.

    returns

    One of TestSource subclass depending on location type.

    Definition Classes
    ScalaTestDescriptor → AbstractTestDescriptor → TestDescriptor
  19. def getTags(): Set[TestTag]

    Get tags for this test.

    Get tags for this test.

    returns

    Tags for this test.

    Definition Classes
    ScalaTestDescriptor → AbstractTestDescriptor → TestDescriptor
  20. def getType(): Type

    Type of this ScalaTestDescriptor.

    Type of this ScalaTestDescriptor.

    returns

    TestDescriptor.Type.TEST

    Definition Classes
    ScalaTestDescriptor → TestDescriptor
  21. final def getUniqueId(): UniqueId
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  22. final def hashCode(): Int
    Definition Classes
    AbstractTestDescriptor → AnyRef → Any
  23. def isContainer(): Boolean
    Definition Classes
    TestDescriptor
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def isRoot(): Boolean
    Definition Classes
    TestDescriptor
  26. def isTest(): Boolean
    Definition Classes
    TestDescriptor
  27. def mayRegisterTests(): Boolean
    Definition Classes
    TestDescriptor
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. def prune(): Unit
    Definition Classes
    TestDescriptor
  32. def removeChild(arg0: TestDescriptor): Unit
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  33. def removeFromHierarchy(): Unit
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  34. final def setParent(arg0: TestDescriptor): Unit
    Definition Classes
    AbstractTestDescriptor → TestDescriptor
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AbstractTestDescriptor → AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AbstractTestDescriptor

Inherited from TestDescriptor

Inherited from AnyRef

Inherited from Any

Ungrouped