org.scalatest.AssertionsMacro
Macro implementation that provides rich error message for boolean expression assertion.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Provides assertion implementation for Assertions.assert(booleanExpr: Boolean), with rich error message.
Provides assertion implementation for Assertions.assert(booleanExpr: Boolean), with rich error message.
Value parameters
-
condition
-
original condition expression
Attributes
-
Returns
-
transformed expression that performs the assertion check and throw TestFailedException with rich error message if assertion failed
Provides implementation for Assertions.assume(booleanExpr: Boolean), with rich error message.
Provides implementation for Assertions.assume(booleanExpr: Boolean), with rich error message.
Value parameters
-
condition
-
original condition expression
-
context
-
macro context
Attributes
-
Returns
-
transformed expression that performs the assumption check and throw TestCanceledException with rich error message if assumption failed