BaseFactory

eu.monniot.scala3mock.scalatest.BaseFactory
trait BaseFactory extends MockFunctions with Mocks with Matchers

Attributes

Graph
Supertypes
trait Matchers
trait MatchPredicate
trait Mocks
trait MockFunctions
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Inherited methods

def *: MatchAny

Attributes

Inherited from:
Matchers
inline def mock[T](using MockContext): T

Attributes

Inherited from:
Mocks
def mockFunction[T1, T2, T3, R : Default](implicit evidence$4: Default[R], ctx: MockContext): MockFunction3[T1, T2, T3, R]

Attributes

Inherited from:
MockFunctions
def mockFunction[T1, T2, R : Default](implicit evidence$3: Default[R], ctx: MockContext): MockFunction2[T1, T2, R]

Attributes

Inherited from:
MockFunctions
def mockFunction[T1, R : Default](implicit evidence$2: Default[R], ctx: MockContext): MockFunction1[T1, R]

Attributes

Inherited from:
MockFunctions
def mockFunction[R : Default](implicit evidence$1: Default[R], ctx: MockContext): MockFunction0[R]

Attributes

Inherited from:
MockFunctions
inline def mockWithDebuggingOutput[T](using MockContext): T

Like mock but enable internal debug log for our macros. Use when you have found an issue and want to report it to the maintainers.

Like mock but enable internal debug log for our macros. Use when you have found an issue and want to report it to the maintainers.

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R : Default](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => R): MockFunction10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, T6, T7, T8, T9, R : Default](inline f: (T1, T2, T3, T4, T5, T6, T7, T8, T9) => R): MockFunction9[T1, T2, T3, T4, T5, T6, T7, T8, T9, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, T6, T7, T8, R : Default](inline f: (T1, T2, T3, T4, T5, T6, T7, T8) => R): MockFunction8[T1, T2, T3, T4, T5, T6, T7, T8, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, T6, T7, R : Default](inline f: (T1, T2, T3, T4, T5, T6, T7) => R): MockFunction7[T1, T2, T3, T4, T5, T6, T7, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, T6, R : Default](inline f: (T1, T2, T3, T4, T5, T6) => R): MockFunction6[T1, T2, T3, T4, T5, T6, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, T5, R : Default](inline f: (T1, T2, T3, T4, T5) => R): MockFunction5[T1, T2, T3, T4, T5, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, T4, R : Default](inline f: (T1, T2, T3, T4) => R): MockFunction4[T1, T2, T3, T4, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, T3, R : Default](inline f: (T1, T2, T3) => R): MockFunction3[T1, T2, T3, R]

Attributes

Inherited from:
Mocks
inline def when[T1, T2, R : Default](inline f: (T1, T2) => R): MockFunction2[T1, T2, R]

Attributes

Inherited from:
Mocks
inline def when[T1, R : Default](inline f: T1 => R): MockFunction1[T1, R]

Attributes

Inherited from:
Mocks
inline def when[R : Default](inline f: () => R): MockFunction0[R]

Attributes

Inherited from:
Mocks
def where[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](matcher: (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10) => Boolean): FunctionAdapter10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Boolean]

Attributes

Inherited from:
MatchPredicate
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

Inherited from:
MatchPredicate
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

Inherited from:
MatchPredicate
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

Inherited from:
MatchPredicate
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

Inherited from:
MatchPredicate
def where[T1, T2, T3, T4, T5](matcher: (T1, T2, T3, T4, T5) => Boolean): FunctionAdapter5[T1, T2, T3, T4, T5, Boolean]

Attributes

Inherited from:
MatchPredicate
def where[T1, T2, T3, T4](matcher: (T1, T2, T3, T4) => Boolean): FunctionAdapter4[T1, T2, T3, T4, Boolean]

Attributes

Inherited from:
MatchPredicate
def where[T1, T2, T3](matcher: (T1, T2, T3) => Boolean): FunctionAdapter3[T1, T2, T3, Boolean]

Attributes

Inherited from:
MatchPredicate
def where[T1, T2](matcher: (T1, T2) => Boolean): FunctionAdapter2[T1, T2, Boolean]

Attributes

Inherited from:
MatchPredicate
def where[T1](matcher: T1 => Boolean): FunctionAdapter1[T1, Boolean]

Attributes

Inherited from:
MatchPredicate

Concrete fields

protected var autoVerify: Boolean

Givens

Givens

given currentContext: MockContext

Extensions

Inherited extensions

extension (value: Double)
def unary_~: MatchEpsilon

Attributes

Inherited from:
Matchers