trait
MockFactoryBase extends Mock
Type Members
-
-
abstract
type
ExpectationException <: Exception
-
case class
FunctionName(name: Symbol) extends Product with Serializable
Abstract Value Members
-
abstract
def
newExpectationException(message: String, methodName: Option[Symbol] = None): ExpectationException
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
-
final
def
==(arg0: Any): Boolean
-
implicit
def
MatchAnyToMockParameter[T](m: MatchAny): MockParameter[T]
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
implicit
def
doubleToEpsilon(d: Double): EpsilonMatcher
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
implicit
def
functionName(name: String): FunctionName
-
implicit
def
functionName(name: Symbol): FunctionName
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
inAnyOrder(what: ⇒ Unit): Unit
-
def
inSequence(what: ⇒ Unit): Unit
-
final
def
isInstanceOf[T0]: Boolean
-
macro
def
mock[T](implicit factory: MockFactoryBase): T
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](implicit arg0: Defaultable[R]): MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, T8, R](implicit arg0: Defaultable[R]): MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, R](implicit arg0: Defaultable[R]): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, R](implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]
-
def
mockFunction[T1, T2, T3, T4, T5, R](implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]
-
def
mockFunction[T1, T2, T3, T4, R](implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]
-
def
mockFunction[T1, T2, T3, R](implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]
-
def
mockFunction[T1, T2, R](implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]
-
def
mockFunction[T1, R](implicit arg0: Defaultable[R]): MockFunction1[T1, R]
-
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, T8, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, T7, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
def
mockFunction[T1, T2, T3, T4, T5, T6, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]
-
def
mockFunction[T1, T2, T3, T4, T5, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]
-
def
mockFunction[T1, T2, T3, T4, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]
-
def
mockFunction[T1, T2, T3, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]
-
-
-
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
macro
def
stub[T](implicit factory: MockFactoryBase): T
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](implicit arg0: Defaultable[R]): StubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, T8, R](implicit arg0: Defaultable[R]): StubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, R](implicit arg0: Defaultable[R]): StubFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, R](implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]
-
def
stubFunction[T1, T2, T3, T4, T5, R](implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]
-
def
stubFunction[T1, T2, T3, T4, R](implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]
-
def
stubFunction[T1, T2, T3, R](implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]
-
def
stubFunction[T1, T2, R](implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]
-
def
stubFunction[T1, R](implicit arg0: Defaultable[R]): StubFunction1[T1, R]
-
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, T8, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, T7, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
def
stubFunction[T1, T2, T3, T4, T5, T6, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]
-
def
stubFunction[T1, T2, T3, T4, T5, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]
-
def
stubFunction[T1, T2, T3, T4, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]
-
def
stubFunction[T1, T2, T3, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]
-
-
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
implicit macro
def
toMockFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): MockFunction0[R]
-
implicit macro
def
toMockFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction1[T1, R]
-
implicit macro
def
toMockFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]
-
implicit macro
def
toMockFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]
-
implicit macro
def
toMockFunction4[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]
-
implicit macro
def
toMockFunction5[T1, T2, T3, T4, T5, R](f: (T1, T2, T3, T4, T5) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]
-
implicit macro
def
toMockFunction6[T1, T2, T3, T4, T5, T6, R](f: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]
-
implicit macro
def
toMockFunction7[T1, T2, T3, T4, T5, T6, T7, R](f: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
implicit macro
def
toMockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R](f: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
implicit macro
def
toMockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
implicit
def
toMockParameter[T](v: T): MockParameter[T]
-
def
toString(): String
-
implicit macro
def
toStubFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): StubFunction0[R]
-
implicit macro
def
toStubFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction1[T1, R]
-
implicit macro
def
toStubFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]
-
implicit macro
def
toStubFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]
-
implicit macro
def
toStubFunction4[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]
-
implicit macro
def
toStubFunction5[T1, T2, T3, T4, T5, R](f: (T1, T2, T3, T4, T5) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]
-
implicit macro
def
toStubFunction6[T1, T2, T3, T4, T5, T6, R](f: (T1, T2, T3, T4, T5, T6) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]
-
implicit macro
def
toStubFunction7[T1, T2, T3, T4, T5, T6, T7, R](f: (T1, T2, T3, T4, T5, T6, T7) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction7[T1, T2, T3, T4, T5, T6, T7, R]
-
implicit macro
def
toStubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R](f: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]
-
implicit macro
def
toStubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R](f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
where[T1, T2, T3, T4, T5, T6, T7, T8, T9](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ Boolean): FunctionAdapter9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Boolean]
-
def
where[T1, T2, T3, T4, T5, T6, T7, T8](matcher: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ Boolean): FunctionAdapter8[T1, T2, T3, T4, T5, T6, T7, T8, Boolean]
-
def
where[T1, T2, T3, T4, T5, T6, T7](matcher: (T1, T2, T3, T4, T5, T6, T7) ⇒ Boolean): FunctionAdapter7[T1, T2, T3, T4, T5, T6, T7, Boolean]
-
def
where[T1, T2, T3, T4, T5, T6](matcher: (T1, T2, T3, T4, T5, T6) ⇒ Boolean): FunctionAdapter6[T1, T2, T3, T4, T5, T6, Boolean]
-
def
where[T1, T2, T3, T4, T5](matcher: (T1, T2, T3, T4, T5) ⇒ Boolean): FunctionAdapter5[T1, T2, T3, T4, T5, Boolean]
-
def
where[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Boolean): FunctionAdapter4[T1, T2, T3, T4, Boolean]
-
def
where[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Boolean): FunctionAdapter3[T1, T2, T3, Boolean]
-
def
where[T1, T2](matcher: (T1, T2) ⇒ Boolean): FunctionAdapter2[T1, T2, Boolean]
-
def
where[T1](matcher: (T1) ⇒ Boolean): FunctionAdapter1[T1, Boolean]
-
def
withExpectations[T](what: ⇒ T): T
Inherited from AnyRef
Inherited from Any