weaver.Expectations
See theExpectations companion object
Attributes
- Companion:
- object
- Graph
- Supertypes
- Self type
Members list
Concise view
Value members
Concrete methods
Symbolic alias for and
Symbolic alias for and
Attributes
- other
The second operand
- Example:
// success expect.eql("foo", "foo") && expect.eql("bar", "bar")
Logical AND combinator for two Expectations
Logical AND combinator for two Expectations
Attributes
- other
The second operand
- Example:
// success expect.eql("foo", "foo") and expect.eql("bar", "bar")
Logical OR combinator for two Expectations
Logical OR combinator for two Expectations
Attributes
- other
The second operand
- Example:
// success expect.eql("foo", "bar") or expect.eql("alpha", "alpha")
Adds the specified location to the list of locations that will be reported if an expectation is failed.
Adds the specified location to the list of locations that will be reported if an expectation is failed.
Attributes
Logical XOR combinator for two Expectations
Logical XOR combinator for two Expectations
Attributes
- other
The second operand
- Example:
// failure expect.eql("foo", "foo") xor expect.eql("bar", "bar")
Symbolic alias for or
Symbolic alias for or
Attributes
- other
The second operand
- Example:
// success expect.eql("foo", "bar") || expect.eql("alpha", "alpha")