class ScalaTestDescriptor extends AbstractTestDescriptor
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalaTestDescriptor
- AbstractTestDescriptor
- TestDescriptor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScalaTestDescriptor(theUniqueId: UniqueId, displayName: String, locationOpt: Option[Location])
- theUniqueId
The unique ID.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def accept(arg0: Visitor): Unit
- Definition Classes
- TestDescriptor
- def addChild(arg0: TestDescriptor): Unit
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def equals(arg0: AnyRef): Boolean
- Definition Classes
- AbstractTestDescriptor → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def findByUniqueId(arg0: UniqueId): Optional[_ <: TestDescriptor]
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- def getAncestors(): Set[_ <: TestDescriptor]
- Definition Classes
- TestDescriptor
- Annotations
- @API()
- final def getChildren(): Set[_ <: TestDescriptor]
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDescendants(): Set[_ <: TestDescriptor]
- Definition Classes
- TestDescriptor
- final def getDisplayName(): String
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- def getLegacyReportingName(): String
- Definition Classes
- TestDescriptor
- final def getParent(): Optional[TestDescriptor]
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- def getSource(): Optional[TestSource]
Return
TestSource
for this test.Return
TestSource
for this test. It depends onLocation
reported from ScalaTest, if the location isTopOfClass
, it returns aClassSource
. If the location isTopOfMethod
, it returns aMethodSource
. If the location isLineInFile
, it returns aFileSource
. If the location isSeeStackDepthException
, it returns aClassSource
.- returns
One of
TestSource
subclass depending on location type.
- Definition Classes
- ScalaTestDescriptor → AbstractTestDescriptor → TestDescriptor
- def getTags(): Set[TestTag]
Get tags for this test.
Get tags for this test.
- returns
Tags for this test.
- Definition Classes
- ScalaTestDescriptor → AbstractTestDescriptor → TestDescriptor
- def getType(): Type
Type of this
ScalaTestDescriptor
.Type of this
ScalaTestDescriptor
.- returns
TestDescriptor.Type.TEST
- Definition Classes
- ScalaTestDescriptor → TestDescriptor
- final def getUniqueId(): UniqueId
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- final def hashCode(): Int
- Definition Classes
- AbstractTestDescriptor → AnyRef → Any
- def isContainer(): Boolean
- Definition Classes
- TestDescriptor
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRoot(): Boolean
- Definition Classes
- TestDescriptor
- def isTest(): Boolean
- Definition Classes
- TestDescriptor
- def mayRegisterTests(): Boolean
- Definition Classes
- TestDescriptor
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prune(): Unit
- Definition Classes
- TestDescriptor
- def removeChild(arg0: TestDescriptor): Unit
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- def removeFromHierarchy(): Unit
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- final def setParent(arg0: TestDescriptor): Unit
- Definition Classes
- AbstractTestDescriptor → TestDescriptor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AbstractTestDescriptor → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()