final class TheyWord extends AnyRef
Class that supports shorthand scope registration via the instance referenced from FixtureAsyncWordSpecLike
's they
field.
This class enables syntax such as the following test registration:
"Basketball players" when { ... }
they should { ... } ^
For more information and examples of the use of the they
field, see the main documentation
for AnyWordSpec
.
- Attributes
- protected
- Source
- FixtureAsyncWordSpecLike.scala
- Alphabetic
- By Inheritance
- TheyWord
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TheyWord()
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 aFixtureAsyncWordSpecLike
.Supports the registration of scope with
can
in aFixtureAsyncWordSpecLike
.This method supports syntax such as the following:
"Basketball players" when { ... }
they can { ... } ^For examples of scope registration, see the main documentation for
AnyWordSpec
.- right
the body function
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): 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[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def must(right: => Unit)(implicit pos: Position): Unit
Supports the registration of scope with
must
in aFixtureAsyncWordSpecLike
.Supports the registration of scope with
must
in aFixtureAsyncWordSpecLike
.This method supports syntax such as the following:
"Basketball players" when { ... }
they must { ... } ^For examples of scope registration, see the main documentation for
AnyWordSpec
.- right
the body function
- 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 should(right: => Unit)(implicit pos: Position): Unit
Supports the registration of scope with
should
in aFixtureAsyncWordSpecLike
.Supports the registration of scope with
should
in aFixtureAsyncWordSpecLike
.This method supports syntax such as the following:
"Basketball players" when { ... }
they should { ... } ^For examples of scope registration, see the main documentation for
AnyWordSpec
.- right
the body function
- 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(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()
- def when(right: => Unit)(implicit pos: Position): Unit
Supports the registration of scope with
when
in aFixtureAsyncWordSpecLike
.Supports the registration of scope with
when
in aFixtureAsyncWordSpecLike
.This method supports syntax such as the following:
"Basketball players" should { ... }
they when { ... } ^For examples of scope registration, see the main documentation for
AnyWordSpec
.- right
the body function