class AssertionsHelper extends AnyRef
- Alphabetic
- By Inheritance
- AssertionsHelper
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new AssertionsHelper()
Value Members
- def macroAssert(bool: Bool, clue: Any, prettifier: Prettifier, pos: Position): Assertion
Assert that the passed in
Bool
istrue
, else fail withTestFailedException
.Assert that the passed in
Bool
istrue
, else fail withTestFailedException
.- bool
the
Bool
to assert for- clue
optional clue to be included in
TestFailedException
's error message when assertion failed
- def macroAssume(bool: Bool, clue: Any, prettifier: Prettifier, pos: Position): Assertion
Assume that the passed in
Bool
istrue
, else throwTestCanceledException
.Assume that the passed in
Bool
istrue
, else throwTestCanceledException
.- bool
the
Bool
to assume for- clue
optional clue to be included in
TestCanceledException
's error message when assertion failed