org.scalamock.specs2

MockFactory

trait MockFactory extends MockFactoryBase with BeforeExample with AfterExample

A trait that can be mixed into a Specs2 specification to provide mocking support.

Linear Supertypes
AfterExample, AfterContextExample[After], BeforeExample, BeforeContextExample[Before], ExamplesFactory, MockFactoryBase, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. MockFactory
  2. AfterExample
  3. AfterContextExample
  4. BeforeExample
  5. BeforeContextExample
  6. ExamplesFactory
  7. MockFactoryBase
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def * : MatchAny

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  5. def ** (values: org.scalamock.MockParameter[_]*): MatchRepeated

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  6. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  7. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  8. implicit def MatchAnyToMockParameter [T] (m: MatchAny): MockParameter[T]

    Attributes
    protected implicit
    Definition Classes
    MockFactoryBase
  9. implicit def MatchEpsilonToMockParameter [T] (m: MatchEpsilon): EpsilonMockParameter

    Attributes
    protected implicit
    Definition Classes
    MockFactoryBase
  10. def after : Any

    Attributes
    protected
    Definition Classes
    MockFactory → AfterExample
  11. def afterContext : After

    Definition Classes
    AfterExample → AfterContextExample
  12. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  13. var autoverify : Boolean

    Attributes
    protected
  14. def before : Unit

    Attributes
    protected
    Definition Classes
    MockFactory → BeforeExample
  15. def beforeContext : Before

    Definition Classes
    BeforeExample → BeforeContextExample
  16. def clone (): AnyRef

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

    Attributes
    protected implicit
    Definition Classes
    MockFactoryBase
  18. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  19. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. def exampleFactory : ExampleFactory

    Definition Classes
    AfterContextExample → ExamplesFactory
  21. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  22. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  23. def hashCode (): Int

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

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  25. def inSequence (what: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  26. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  27. def mockFunction [T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R] : MockFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  28. def mockFunction [T1, T2, T3, T4, T5, T6, T7, T8, T9, R] : MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  29. def mockFunction [T1, T2, T3, T4, T5, T6, T7, T8, R] : MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  30. def mockFunction [T1, T2, T3, T4, T5, T6, T7, R] : MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  31. def mockFunction [T1, T2, T3, T4, T5, T6, R] : MockFunction6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  32. def mockFunction [T1, T2, T3, T4, T5, R] : MockFunction5[T1, T2, T3, T4, T5, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  33. def mockFunction [T1, T2, T3, T4, R] : MockFunction4[T1, T2, T3, T4, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  34. def mockFunction [T1, T2, T3, R] : MockFunction3[T1, T2, T3, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  35. def mockFunction [T1, T2, R] : MockFunction2[T1, T2, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  36. def mockFunction [T1, R] : MockFunction1[T1, R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  37. def mockFunction [R] : MockFunction0[R]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  38. implicit def mockFunction0ToExpectation [R] (m: MockFunction0[R]): TypeSafeExpectation0[R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  39. implicit def mockFunction10ToExpectation [T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R] (m: MockFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]): TypeSafeExpectation10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  40. implicit def mockFunction1ToExpectation [T1, R] (m: MockFunction1[T1, R]): TypeSafeExpectation1[T1, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  41. implicit def mockFunction2ToExpectation [T1, T2, R] (m: MockFunction2[T1, T2, R]): TypeSafeExpectation2[T1, T2, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  42. implicit def mockFunction3ToExpectation [T1, T2, T3, R] (m: MockFunction3[T1, T2, T3, R]): TypeSafeExpectation3[T1, T2, T3, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  43. implicit def mockFunction4ToExpectation [T1, T2, T3, T4, R] (m: MockFunction4[T1, T2, T3, T4, R]): TypeSafeExpectation4[T1, T2, T3, T4, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  44. implicit def mockFunction5ToExpectation [T1, T2, T3, T4, T5, R] (m: MockFunction5[T1, T2, T3, T4, T5, R]): TypeSafeExpectation5[T1, T2, T3, T4, T5, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  45. implicit def mockFunction6ToExpectation [T1, T2, T3, T4, T5, T6, R] (m: MockFunction6[T1, T2, T3, T4, T5, T6, R]): TypeSafeExpectation6[T1, T2, T3, T4, T5, T6, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  46. implicit def mockFunction7ToExpectation [T1, T2, T3, T4, T5, T6, T7, R] (m: MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]): TypeSafeExpectation7[T1, T2, T3, T4, T5, T6, T7, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  47. implicit def mockFunction8ToExpectation [T1, T2, T3, T4, T5, T6, T7, T8, R] (m: MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]): TypeSafeExpectation8[T1, T2, T3, T4, T5, T6, T7, T8, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  48. implicit def mockFunction9ToExpectation [T1, T2, T3, T4, T5, T6, T7, T8, T9, R] (m: MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]): TypeSafeExpectation9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]

    Attributes
    implicit
    Definition Classes
    MockFactoryBase
  49. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  50. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  51. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  52. def resetExpectations (): Unit

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  53. def resetMocks (): Unit

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  54. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  55. implicit def toMockParameter [T] (v: T): MockParameter[T]

    Attributes
    protected implicit
    Definition Classes
    MockFactoryBase
  56. def toString (): String

    Definition Classes
    AnyRef → Any
  57. def verifyExpectations (): Unit

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  58. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  61. def where [T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] (matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) ⇒ Boolean): MockMatcher10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  62. def where [T1, T2, T3, T4, T5, T6, T7, T8, T9] (matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9) ⇒ Boolean): MockMatcher9[T1, T2, T3, T4, T5, T6, T7, T8, T9]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  63. def where [T1, T2, T3, T4, T5, T6, T7, T8] (matcher: (T1, T2, T3, T4, T5, T6, T7, T8) ⇒ Boolean): MockMatcher8[T1, T2, T3, T4, T5, T6, T7, T8]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  64. def where [T1, T2, T3, T4, T5, T6, T7] (matcher: (T1, T2, T3, T4, T5, T6, T7) ⇒ Boolean): MockMatcher7[T1, T2, T3, T4, T5, T6, T7]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  65. def where [T1, T2, T3, T4, T5, T6] (matcher: (T1, T2, T3, T4, T5, T6) ⇒ Boolean): MockMatcher6[T1, T2, T3, T4, T5, T6]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  66. def where [T1, T2, T3, T4, T5] (matcher: (T1, T2, T3, T4, T5) ⇒ Boolean): MockMatcher5[T1, T2, T3, T4, T5]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  67. def where [T1, T2, T3, T4] (matcher: (T1, T2, T3, T4) ⇒ Boolean): MockMatcher4[T1, T2, T3, T4]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  68. def where [T1, T2, T3] (matcher: (T1, T2, T3) ⇒ Boolean): MockMatcher3[T1, T2, T3]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  69. def where [T1, T2] (matcher: (T1, T2) ⇒ Boolean): MockMatcher2[T1, T2]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  70. def where [T1] (matcher: (T1) ⇒ Boolean): MockMatcher1[T1]

    Attributes
    protected
    Definition Classes
    MockFactoryBase
  71. implicit def wildcard [T] : MockParameter[T]

    Attributes
    protected implicit
    Definition Classes
    MockFactoryBase

Inherited from AfterExample

Inherited from AfterContextExample[After]

Inherited from BeforeExample

Inherited from BeforeContextExample[Before]

Inherited from ExamplesFactory

Inherited from MockFactoryBase

Inherited from AnyRef

Inherited from Any