Mocks

eu.monniot.scala3mock.macros.Mocks$
See theMocks companion trait
object Mocks extends Mocks

Attributes

Companion:
trait
Graph
Supertypes
trait Mocks
class Object
trait Matchable
class Any
Self type
Mocks.type

Members list

Concise view

Value members

Inherited methods

inline def mock[T](using MockContext): T

Attributes

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