final class ItWord extends AnyRef
Class that supports shorthand scope registration via the instance referenced from WordSpecLike
's it
field.
This class enables syntax such as the following test registration:
"A Stack" when { ... }
it should { ... }
^
For more information and examples of the use of the it
field, see the main documentation
for WordSpec
.
- Attributes
- protected
- Source
- WordSpecLike.scala
- Alphabetic
- By Inheritance
- ItWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ItWord()
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
can(right: ⇒ Unit)(implicit pos: Position): Unit
Supports the registration of scope with
can
in aWordSpecLike
.Supports the registration of scope with
can
in aWordSpecLike
.This method supports syntax such as the following:
"A Stack" when { ... } it can { ... } ^
For examples of scope registration, see the main documentation for
WordSpec
. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
must(right: ⇒ Unit)(implicit pos: Position): Unit
Supports the registration of scope with
must
in aWordSpecLike
.Supports the registration of scope with
must
in aWordSpecLike
.This method supports syntax such as the following:
"A Stack" when { ... } it must { ... } ^
For examples of scope registration, see the main documentation for
WordSpec
. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
should(right: ⇒ Unit)(implicit pos: Position): Unit
Supports the registration of scope with
should
in aWordSpecLike
.Supports the registration of scope with
should
in aWordSpecLike
.This method supports syntax such as the following:
"A Stack" when { ... } it should { ... } ^
For examples of scope registration, see the main documentation for
WordSpec
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- 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
- @throws( ... )
-
def
when(right: ⇒ Unit)(implicit pos: Position): Unit
Supports the registration of scope with
when
in aWordSpecLike
.Supports the registration of scope with
when
in aWordSpecLike
.This method supports syntax such as the following:
"A Stack" should { ... } it when { ... } ^
For examples of scope registration, see the main documentation for
WordSpec
.