object Asserts extends AssertsCompanionVersionSpecific
Macro implementation that provides rich error message for boolean expression assertion.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Asserts
- AssertsCompanionVersionSpecific
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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(funcs0: 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
AssertionErroris 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]
- Definition Classes
- AssertsCompanionVersionSpecific
- def assertProxy(c: Context)(exprs: scala.reflect.macros.whitebox.Context.Expr[Boolean]*): scala.reflect.macros.whitebox.Context.Expr[Unit]
- Definition Classes
- AssertsCompanionVersionSpecific
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compileError(c: Context)(expr: scala.reflect.macros.whitebox.Context.Expr[String]): scala.reflect.macros.whitebox.Context.Expr[CompileError]
- Definition Classes
- AssertsCompanionVersionSpecific
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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
AssertionErroris 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]
- Definition Classes
- AssertsCompanionVersionSpecific
- 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()
- 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()