org.scalamock

MockFactoryBase

trait MockFactoryBase extends Mock

Linear Supertypes
Mock, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MockFactoryBase
  2. Mock
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class EpsilonMatcher extends AnyRef

    Attributes
    protected
  2. abstract type ExpectationException <: Exception

  3. case class FunctionName(name: Symbol) extends Product with Serializable

    Attributes
    protected

Abstract Value Members

  1. abstract def newExpectationException(message: String, methodName: Option[Symbol] = None): ExpectationException

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def *: MatchAny

    Attributes
    protected
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. implicit def MatchAnyToMockParameter[T](m: MatchAny): MockParameter[T]

    Attributes
    protected
  6. implicit def MatchEpsilonToMockParameter[T](m: MatchEpsilon): EpsilonMockParameter

    Attributes
    protected
  7. implicit val _factory: MockFactoryBase

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. implicit def doubleToEpsilon(d: Double): EpsilonMatcher

    Attributes
    protected
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. implicit def functionName(name: String): FunctionName

    Attributes
    protected
  15. implicit def functionName(name: Symbol): FunctionName

    Attributes
    protected
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def inAnyOrder(what: ⇒ Unit): Unit

    Attributes
    protected
  19. def inSequence(what: ⇒ Unit): Unit

    Attributes
    protected
  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. macro def mock[T](implicit factory: MockFactoryBase): T

    Definition Classes
    Mock
  22. 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]

    Attributes
    protected
  23. 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]

    Attributes
    protected
  24. def mockFunction[T1, T2, T3, T4, T5, T6, T7, R](implicit arg0: Defaultable[R]): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]

    Attributes
    protected
  25. def mockFunction[T1, T2, T3, T4, T5, T6, R](implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    protected
  26. def mockFunction[T1, T2, T3, T4, T5, R](implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]

    Attributes
    protected
  27. def mockFunction[T1, T2, T3, T4, R](implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]

    Attributes
    protected
  28. def mockFunction[T1, T2, T3, R](implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]

    Attributes
    protected
  29. def mockFunction[T1, T2, R](implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]

    Attributes
    protected
  30. def mockFunction[T1, R](implicit arg0: Defaultable[R]): MockFunction1[T1, R]

    Attributes
    protected
  31. def mockFunction[R](implicit arg0: Defaultable[R]): MockFunction0[R]

    Attributes
    protected
  32. 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]

    Attributes
    protected
  33. 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]

    Attributes
    protected
  34. 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]

    Attributes
    protected
  35. def mockFunction[T1, T2, T3, T4, T5, T6, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    protected
  36. def mockFunction[T1, T2, T3, T4, T5, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction5[T1, T2, T3, T4, T5, R]

    Attributes
    protected
  37. def mockFunction[T1, T2, T3, T4, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction4[T1, T2, T3, T4, R]

    Attributes
    protected
  38. def mockFunction[T1, T2, T3, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]

    Attributes
    protected
  39. def mockFunction[T1, T2, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]

    Attributes
    protected
  40. def mockFunction[T1, R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction1[T1, R]

    Attributes
    protected
  41. def mockFunction[R](name: FunctionName)(implicit arg0: Defaultable[R]): MockFunction0[R]

    Attributes
    protected
  42. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  43. final def notify(): Unit

    Definition Classes
    AnyRef
  44. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  45. macro def stub[T](implicit factory: MockFactoryBase): T

    Definition Classes
    Mock
  46. 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]

    Attributes
    protected
  47. 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]

    Attributes
    protected
  48. def stubFunction[T1, T2, T3, T4, T5, T6, T7, R](implicit arg0: Defaultable[R]): StubFunction7[T1, T2, T3, T4, T5, T6, T7, R]

    Attributes
    protected
  49. def stubFunction[T1, T2, T3, T4, T5, T6, R](implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    protected
  50. def stubFunction[T1, T2, T3, T4, T5, R](implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]

    Attributes
    protected
  51. def stubFunction[T1, T2, T3, T4, R](implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]

    Attributes
    protected
  52. def stubFunction[T1, T2, T3, R](implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]

    Attributes
    protected
  53. def stubFunction[T1, T2, R](implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]

    Attributes
    protected
  54. def stubFunction[T1, R](implicit arg0: Defaultable[R]): StubFunction1[T1, R]

    Attributes
    protected
  55. def stubFunction[R](implicit arg0: Defaultable[R]): StubFunction0[R]

    Attributes
    protected
  56. 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]

    Attributes
    protected
  57. 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]

    Attributes
    protected
  58. 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]

    Attributes
    protected
  59. def stubFunction[T1, T2, T3, T4, T5, T6, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    protected
  60. def stubFunction[T1, T2, T3, T4, T5, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction5[T1, T2, T3, T4, T5, R]

    Attributes
    protected
  61. def stubFunction[T1, T2, T3, T4, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction4[T1, T2, T3, T4, R]

    Attributes
    protected
  62. def stubFunction[T1, T2, T3, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]

    Attributes
    protected
  63. def stubFunction[T1, T2, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]

    Attributes
    protected
  64. def stubFunction[T1, R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction1[T1, R]

    Attributes
    protected
  65. def stubFunction[R](name: FunctionName)(implicit arg0: Defaultable[R]): StubFunction0[R]

    Attributes
    protected
  66. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  67. implicit macro def toMockFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): MockFunction0[R]

    Definition Classes
    Mock
  68. implicit macro def toMockFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction1[T1, R]

    Definition Classes
    Mock
  69. implicit macro def toMockFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction2[T1, T2, R]

    Definition Classes
    Mock
  70. implicit macro def toMockFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): MockFunction3[T1, T2, T3, R]

    Definition Classes
    Mock
  71. 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]

    Definition Classes
    Mock
  72. 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]

    Definition Classes
    Mock
  73. 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]

    Definition Classes
    Mock
  74. 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]

    Definition Classes
    Mock
  75. 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]

    Definition Classes
    Mock
  76. 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]

    Definition Classes
    Mock
  77. implicit def toMockParameter[T](v: T): MockParameter[T]

    Attributes
    protected
  78. def toString(): String

    Definition Classes
    AnyRef → Any
  79. implicit macro def toStubFunction0[R](f: () ⇒ R)(implicit arg0: Defaultable[R]): StubFunction0[R]

    Definition Classes
    Mock
  80. implicit macro def toStubFunction1[T1, R](f: (T1) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction1[T1, R]

    Definition Classes
    Mock
  81. implicit macro def toStubFunction2[T1, T2, R](f: (T1, T2) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction2[T1, T2, R]

    Definition Classes
    Mock
  82. implicit macro def toStubFunction3[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit arg0: Defaultable[R]): StubFunction3[T1, T2, T3, R]

    Definition Classes
    Mock
  83. 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]

    Definition Classes
    Mock
  84. 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]

    Definition Classes
    Mock
  85. 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]

    Definition Classes
    Mock
  86. 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]

    Definition Classes
    Mock
  87. 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]

    Definition Classes
    Mock
  88. 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]

    Definition Classes
    Mock
  89. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  90. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  91. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  92. 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]

    Attributes
    protected
  93. 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]

    Attributes
    protected
  94. 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]

    Attributes
    protected
  95. def where[T1, T2, T3, T4, T5, T6](matcher: (T1, T2, T3, T4, T5, T6) ⇒ Boolean): FunctionAdapter6[T1, T2, T3, T4, T5, T6, Boolean]

    Attributes
    protected
  96. def where[T1, T2, T3, T4, T5](matcher: (T1, T2, T3, T4, T5) ⇒ Boolean): FunctionAdapter5[T1, T2, T3, T4, T5, Boolean]

    Attributes
    protected
  97. def where[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) ⇒ Boolean): FunctionAdapter4[T1, T2, T3, T4, Boolean]

    Attributes
    protected
  98. def where[T1, T2, T3](matcher: (T1, T2, T3) ⇒ Boolean): FunctionAdapter3[T1, T2, T3, Boolean]

    Attributes
    protected
  99. def where[T1, T2](matcher: (T1, T2) ⇒ Boolean): FunctionAdapter2[T1, T2, Boolean]

    Attributes
    protected
  100. def where[T1](matcher: (T1) ⇒ Boolean): FunctionAdapter1[T1, Boolean]

    Attributes
    protected
  101. def withExpectations[T](what: ⇒ T): T

    Attributes
    protected

Inherited from Mock

Inherited from AnyRef

Inherited from Any

Ungrouped