trait NoArgTest extends () ⇒ Outcome with TestData
A test function taking no arguments and returning an Outcome
.
For more detail and examples, see the relevant section in the
documentation for trait fixture.FlatSpec
.
- Attributes
- protected
- Source
- TestSuite.scala
- Alphabetic
- By Inheritance
- NoArgTest
- TestData
- Function0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
apply(): Outcome
Runs the body of the test, returning an
Outcome
.Runs the body of the test, returning an
Outcome
.- Definition Classes
- NoArgTest → Function0
-
abstract
val
configMap: ConfigMap
A
ConfigMap
containing objects that can be used to configure the fixture and test.A
ConfigMap
containing objects that can be used to configure the fixture and test.- Definition Classes
- TestData
-
abstract
val
name: String
The name of this test.
The name of this test.
See the main documentation for this trait for an explanation of the difference between
name
,text
, andscopes
.- Definition Classes
- TestData
-
abstract
val
pos: Option[Position]
- Definition Classes
- TestData
-
abstract
val
scopes: IndexedSeq[String]
An immutable
IndexedSeq
containing the text for any "scopes" enclosing this test, in order from outermost to innermost scope.An immutable
IndexedSeq
containing the text for any "scopes" enclosing this test, in order from outermost to innermost scope.See the main documentation for this trait for an explanation of the difference between
name
,text
, andscopes
. If a test has no surrounding scopes, this field will contain an emptyIndexedSeq
.- Definition Classes
- TestData
-
abstract
val
tags: Set[String]
Tag names for this test.
Tag names for this test.
- Definition Classes
- TestData
-
abstract
val
text: String
The "text" for this test.
The "text" for this test.
See the main documentation for this trait for an explanation of the difference between
name
,text
, andscopes
. If a test has no surrounding scopes, this field will contain the same string asname
.- Definition Classes
- TestData
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Function0 → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )