case class Expectations(run: ValidatedNel[AssertionException, Unit]) extends Product with Serializable
- Self Type
- Expectations
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Expectations
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Expectations(run: ValidatedNel[AssertionException, Unit])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
&&(other: Expectations): Expectations
Symbolic alias for
and
Symbolic alias for
and
- other
The second operand
// success expect.eql("foo", "foo") && expect.eql("bar", "bar")
Example: -
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
and(other: Expectations): Expectations
Logical AND combinator for two
Expectations
Logical AND combinator for two
Expectations
- other
The second operand
// success expect.eql("foo", "foo") and expect.eql("bar", "bar")
Example: -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def failFast[F[_]](implicit arg0: Sync[F]): F[Unit]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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()
-
def
or(other: Expectations): Expectations
Logical OR combinator for two
Expectations
Logical OR combinator for two
Expectations
- other
The second operand
// success expect.eql("foo", "bar") or expect.eql("alpha", "alpha")
Example: - val run: ValidatedNel[AssertionException, Unit]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
traced(loc: SourceLocation): Expectations
Adds the specified location to the list of locations that will be reported if an expectation is failed.
-
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( ... ) @native()
-
def
xor(other: Expectations)(implicit loc: SourceLocation): Expectations
Logical XOR combinator for two
Expectations
Logical XOR combinator for two
Expectations
- other
The second operand
// failure expect.eql("foo", "foo") xor expect.eql("bar", "bar")
Example: -
def
||(other: Expectations): Expectations
Symbolic alias for
or
Symbolic alias for
or
- other
The second operand
// success expect.eql("foo", "bar") || expect.eql("alpha", "alpha")
Example: