object Asserts
Macro implementation that provides rich error message for boolean expression assertion.
- Alphabetic
- By Inheritance
- Asserts
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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 assertImpl(funcs: AssertEntry[Boolean]*): Unit
-
def
assertMatchImpl(entry: AssertEntry[Any])(pf: PartialFunction[Any, Unit]): Unit
Asserts that the given block raises the expected exception.
Asserts that the given block raises the expected exception. The exception is returned if raised, and an
AssertionError
is raised if the expected exception does not appear. - def assertMatchProxy(c: Context)(t: scala.reflect.macros.whitebox.Context.Expr[Any])(pf: scala.reflect.macros.whitebox.Context.Expr[PartialFunction[Any, Unit]]): scala.reflect.macros.whitebox.Context.Expr[Unit]
- def assertProxy(c: Context)(exprs: scala.reflect.macros.whitebox.Context.Expr[Boolean]*): scala.reflect.macros.whitebox.Context.Expr[Unit]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def compileError(c: Context)(expr: scala.reflect.macros.whitebox.Context.Expr[String]): scala.reflect.macros.whitebox.Context.Expr[CompileError]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): 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[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
def
interceptImpl[T](entry: AssertEntry[Unit])(implicit arg0: ClassTag[T]): T
Asserts that the given block raises the expected exception.
Asserts that the given block raises the expected exception. The exception is returned if raised, and an
AssertionError
is raised if the expected exception does not appear. - def interceptProxy[T](c: Context)(exprs: scala.reflect.macros.whitebox.Context.Expr[Unit])(t: scala.reflect.macros.whitebox.Context.Expr[ClassTag[T]])(implicit arg0: scala.reflect.macros.whitebox.Context.WeakTypeTag[T]): scala.reflect.macros.whitebox.Context.Expr[T]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )