Instance Constructors
-
new
NameInfo
(suiteName: String, suiteClassName: Option[String], testName: Option[String])
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
canEqual
(arg0: Any): Boolean
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
productArity
: Int
-
def
productElement
(arg0: Int): Any
-
def
productIterator
: Iterator[Any]
-
def
productPrefix
: String
-
val
suiteClassName
: Option[String]
-
val
suiteName
: String
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
val
testName
: Option[String]
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
productElements
: Iterator[Any]
Inherited from Serializable
Inherited from Serializable
Inherited from Product
Inherited from Equals
Inherited from AnyRef
Inherited from Any
Class that holds information about names for an
InfoProvidedevent.An
InfoProvidedevent may be fired from anywhere. In this respectInfoProvidedis different from the other events, for which it is defined whether they are fired in the context of a suite or test. If fired in the context of a test, theInfoProvidedevent should include aNameInfoin whichtestNameis defined. If fired in the context of a suite, but not a test, theInfoProvidedevent should include aNameInfoin whichtestNameis not defined. If fired within the context of neither a suite nor a test, thenameInfoof theInfoProvidedevent (anOption[NameInfo]) should beNone.If either
suiteClassNameortestNameis defined, thensuiteNamemust be defined. The suite class name parameter is optional even if a suite name is provided by passing aSomeassuiteName, because suites in ScalaTest are an abstraction that need not necessarily correspond to one class. Nevertheless, it most cases each suite will correspond to a class, and when it does, the fully qualified name of that class should be reported by passing aSomeforsuiteClassName. One use for this bit of information is JUnit integration, because the "name" provided to a JUnitorg.junit.runner.Descriptionappears to usually include a fully qualified class name by convention.an optional name of the suite about which the information was provided
an optional fully qualifed
Suiteclass name about which the information was providedan optional name of the test about which the information was provided