- Call - Class in io.mockk
-
Call happened for stubbed mock
- Call(retType, invocation, matcher, fieldValueProvider) - Constructor for class io.mockk.Call
-
Call happened for stubbed mock
- call(invocation) - Method in interface io.mockk.MockKGateway.CallRecorder
-
- callCoroutine(p) - Method in class io.mockk.JvmCoroutineCall
-
- Called - Class in io.mockk
-
Part of DSL. Object to represent phrase "wasNot Called"
- callOriginal() - Method in class io.mockk.MockKAnswerScope
-
- callWithContinuation(continuation) - Method in interface io.mockk.CoroutineCall
-
- callWithContinuation(continuation) - Method in class io.mockk.JvmCoroutineCall
-
- cancel(key) - Method in class io.mockk.MockKCancellationRegistry.RegistryPerType
-
- cancelAll() - Method in class io.mockk.MockKCancellationRegistry
-
- cancelAll() - Method in class io.mockk.MockKCancellationRegistry.RegistryPerType
-
- cancelPut(key, newCancellation) - Method in class io.mockk.MockKCancellationRegistry.RegistryPerType
-
- capture(arg) - Method in class io.mockk.AndOrMatcher
-
- capture(arg) - Method in class io.mockk.ArrayMatcher
-
- capture(arg) - Method in class io.mockk.CaptureMatcher
-
- capture(arg) - Method in class io.mockk.CaptureNullableMatcher
-
- capture(arg) - Method in interface io.mockk.CapturingMatcher
-
- capture(arg) - Method in class io.mockk.CapturingSlotMatcher
-
- capture(arg) - Method in class io.mockk.NotMatcher
-
- capture(arg) - Method in class io.mockk.VarargMatcher
-
- captureAnswer(invocation) - Method in class io.mockk.InvocationMatcher
-
- captureArguments() - Method in interface io.mockk.MockKGateway.CallVerifier
-
- captured - Variable in class io.mockk.CapturingSlot
-
- captured($receiver) - Method in class io.mockk.MockKAnswerScope
-
- CaptureMatcher<T> - Class in io.mockk
-
Matcher capturing all results to the list.
- CaptureMatcher(captureList, argumentType) - Constructor for class io.mockk.CaptureMatcher
-
Matcher capturing all results to the list.
- CaptureNullableMatcher<T> - Class in io.mockk
-
Matcher capturing all results to the list. Allows nulls
- CaptureNullableMatcher(captureList, argumentType) - Constructor for class io.mockk.CaptureNullableMatcher
-
Matcher capturing all results to the list. Allows nulls
- captureSubMatchers($receiver, arg) - Static method in class io.mockk.MatchersKt
-
- CapturingMatcher - Interface in io.mockk
-
Captures the argument
- CapturingSlot<T> - Class in io.mockk
-
Slot allows to capture one value.
- CapturingSlot() - Constructor for class io.mockk.CapturingSlot
-
Slot allows to capture one value.
- CapturingSlotMatcher<T> - Class in io.mockk
-
Matcher capturing one last value to the CapturingSlot
- CapturingSlotMatcher(captureSlot, argumentType) - Constructor for class io.mockk.CapturingSlotMatcher
-
Matcher capturing one last value to the CapturingSlot
- checkEquals($receiver, expected) - Static method in class io.mockk.APIKt
-
- checkEquals($receiver, msg, expected) - Static method in class io.mockk.APIKt
-
- checkType(arg) - Method in class io.mockk.AssertMatcher
-
Deprecated.
- checkType(arg) - Method in interface io.mockk.TypedMatcher
-
- checkType($this, arg) - Static method in class io.mockk.TypedMatcher.DefaultImpls
-
- classForName(name) - Method in class io.mockk.InternalPlatformDsl
-
- clear() - Method in class io.mockk.CapturingSlot
-
- clear(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKConstructorScope
-
- clear(mocks, options) - Method in interface io.mockk.MockKGateway.Clearer
-
- clear(type, options) - Method in interface io.mockk.MockKGateway.ConstructorMockFactory
-
- clear(obj, options) - Method in interface io.mockk.MockKGateway.ObjectMockFactory
-
- clear(type, options) - Method in interface io.mockk.MockKGateway.StaticMockFactory
-
- clear(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKObjectScope
-
- clear(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKStaticScope
-
- clear(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKUnmockKCompositeScope
-
- clear(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKUnmockKScope
-
- clearAll(options) - Method in interface io.mockk.MockKGateway.Clearer
-
- clearAll(options) - Method in interface io.mockk.MockKGateway.ConstructorMockFactory
-
- clearAll(options) - Method in interface io.mockk.MockKGateway.ObjectMockFactory
-
- clearAll(options) - Method in interface io.mockk.MockKGateway.StaticMockFactory
-
- ClearOptions(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Constructor for class io.mockk.MockKGateway.ClearOptions
-
- coAndThen(answer) - Method in class io.mockk.MockKAdditionalAnswerScope
-
- coAnswer(call, p) - Method in interface io.mockk.Answer
-
- coAnswer($this, call, p) - Static method in class io.mockk.Answer.DefaultImpls
-
- coAnswer(call, p) - Method in class io.mockk.CoFunctionAnswer
-
- coAnswers(answer) - Method in class io.mockk.MockKStubScope
-
- CoFunctionAnswer<T> - Class in io.mockk
-
Delegates reply to the lambda suspendable function
- CoFunctionAnswer(answerFunc) - Constructor for class io.mockk.CoFunctionAnswer
-
Delegates reply to the lambda suspendable function
- CoFunctionAnswer.Companion - Class in io.mockk
-
- Companion - Static variable in class io.mockk.CoFunctionAnswer
-
- Companion - Static variable in class io.mockk.JvmCoroutineCall
-
- Companion - Static variable in interface io.mockk.MockKGateway
-
- ComparingMatcher<T extends Comparable<? super T>> - Class in io.mockk
-
Matcher comparing values
- ComparingMatcher(value, cmpFunc, argumentType) - Constructor for class io.mockk.ComparingMatcher
-
Matcher comparing values
- component1() - Method in class io.mockk.AndOrMatcher
-
- component1() - Method in class io.mockk.Call
-
- component1() - Method in class io.mockk.CaptureMatcher
-
- component1() - Method in class io.mockk.CaptureNullableMatcher
-
- component1() - Method in class io.mockk.CapturingSlotMatcher
-
- component1() - Method in class io.mockk.CoFunctionAnswer
-
- component1() - Method in class io.mockk.ComparingMatcher
-
- component1() - Method in class io.mockk.ConstantAnswer
-
- component1() - Method in class io.mockk.ConstantMatcher
-
- component1() - Method in class io.mockk.FunctionAnswer
-
- component1() - Method in class io.mockk.FunctionMatcher
-
- component1() - Method in class io.mockk.Invocation
-
- component1() - Method in class io.mockk.InvocationMatcher
-
- component1() - Method in class io.mockk.ManyAnswersAnswer
-
- component1() - Method in class io.mockk.MethodDescription
-
- component1() - Method in class io.mockk.MockKGateway.ClearOptions
-
- component1() - Method in class io.mockk.MockKGateway.ExclusionParameters
-
- component1() - Method in class io.mockk.MockKGateway.VerificationParameters
-
- component1() - Method in class io.mockk.VerificationResult.Failure
-
- component1() - Method in class io.mockk.VerificationResult.OK
-
- component1() - Method in class io.mockk.NotMatcher
-
- component1() - Method in class io.mockk.NullCheckMatcher
-
- component1() - Method in class io.mockk.OfTypeMatcher
-
- component1() - Method in class io.mockk.RecordedCall
-
- component1() - Method in class io.mockk.StackElement
-
- component1() - Method in class io.mockk.ThrowingAnswer
-
- component2() - Method in class io.mockk.AndOrMatcher
-
- component2() - Method in class io.mockk.Call
-
- component2() - Method in class io.mockk.CaptureMatcher
-
- component2() - Method in class io.mockk.CaptureNullableMatcher
-
- component2() - Method in class io.mockk.CapturingSlotMatcher
-
- component2() - Method in class io.mockk.ComparingMatcher
-
- component2() - Method in class io.mockk.EqMatcher
-
- component2() - Method in class io.mockk.FunctionMatcher
-
- component2() - Method in class io.mockk.Invocation
-
- component2() - Method in class io.mockk.InvocationMatcher
-
- component2() - Method in class io.mockk.MethodDescription
-
- component2() - Method in class io.mockk.MockKGateway.ClearOptions
-
- component2() - Method in class io.mockk.MockKGateway.VerificationParameters
-
- component2() - Method in class io.mockk.RecordedCall
-
- component2() - Method in class io.mockk.StackElement
-
- component3() - Method in class io.mockk.AndOrMatcher
-
- component3() - Method in class io.mockk.Call
-
- component3() - Method in class io.mockk.ComparingMatcher
-
- component3() - Method in class io.mockk.EqMatcher
-
- component3() - Method in class io.mockk.Invocation
-
- component3() - Method in class io.mockk.InvocationMatcher
-
- component3() - Method in class io.mockk.MethodDescription
-
- component3() - Method in class io.mockk.MockKGateway.ClearOptions
-
- component3() - Method in class io.mockk.MockKGateway.VerificationParameters
-
- component3() - Method in class io.mockk.RecordedCall
-
- component3() - Method in class io.mockk.StackElement
-
- component4() - Method in class io.mockk.Call
-
- component4() - Method in class io.mockk.Invocation
-
- component4() - Method in class io.mockk.InvocationMatcher
-
- component4() - Method in class io.mockk.MethodDescription
-
- component4() - Method in class io.mockk.MockKGateway.ClearOptions
-
- component4() - Method in class io.mockk.MockKGateway.VerificationParameters
-
- component4() - Method in class io.mockk.RecordedCall
-
- component4() - Method in class io.mockk.StackElement
-
- component5() - Method in class io.mockk.Invocation
-
- component5() - Method in class io.mockk.MethodDescription
-
- component5() - Method in class io.mockk.MockKGateway.ClearOptions
-
- component5() - Method in class io.mockk.MockKGateway.VerificationParameters
-
- component5() - Method in class io.mockk.RecordedCall
-
- component5() - Method in class io.mockk.StackElement
-
- component6() - Method in class io.mockk.Invocation
-
- component6() - Method in class io.mockk.MethodDescription
-
- component6() - Method in class io.mockk.RecordedCall
-
- component7() - Method in class io.mockk.Invocation
-
- component7() - Method in class io.mockk.MethodDescription
-
- component8() - Method in class io.mockk.Invocation
-
- component8() - Method in class io.mockk.MethodDescription
-
- component9() - Method in class io.mockk.MethodDescription
-
- CompositeMatcher<T> - Interface in io.mockk
-
Matcher composed from several other matchers.
- ConstantAnswer<T> - Class in io.mockk
-
Returns one constant reply
- ConstantAnswer(constantValue) - Constructor for class io.mockk.ConstantAnswer
-
Returns one constant reply
- ConstantMatcher<T> - Class in io.mockk
-
Matcher that always returns one same value.
- ConstantMatcher(constValue) - Constructor for class io.mockk.ConstantMatcher
-
Matcher that always returns one same value.
- constructorMockk(cls, recordPrivateCalls, localToThread) - Method in interface io.mockk.MockKGateway.ConstructorMockFactory
-
- copy(and, first, second) - Method in class io.mockk.AndOrMatcher
-
Boolean logic "AND" and "OR" matcher composed of two other matchers
- copy(matchers) - Method in class io.mockk.ArrayMatcher
-
Matcher that can match arrays via provided matchers for each element.
- copy(retType, invocation, matcher, fieldValueProvider) - Method in class io.mockk.Call
-
Call happened for stubbed mock
- copy(captureList, argumentType) - Method in class io.mockk.CaptureMatcher
-
Matcher capturing all results to the list.
- copy(captureList, argumentType) - Method in class io.mockk.CaptureNullableMatcher
-
Matcher capturing all results to the list. Allows nulls
- copy(captureSlot, argumentType) - Method in class io.mockk.CapturingSlotMatcher
-
Matcher capturing one last value to the CapturingSlot
- copy(answerFunc) - Method in class io.mockk.CoFunctionAnswer
-
Delegates reply to the lambda suspendable function
- copy(value, cmpFunc, argumentType) - Method in class io.mockk.ComparingMatcher
-
Matcher comparing values
- copy(constantValue) - Method in class io.mockk.ConstantAnswer
-
Returns one constant reply
- copy(constValue) - Method in class io.mockk.ConstantMatcher
-
Matcher that always returns one same value.
- copy(valueArg, ref, inverse) - Method in class io.mockk.EqMatcher
-
Matcher that checks equality. By reference and by value (equals method)
- copy(answerFunc) - Method in class io.mockk.FunctionAnswer
-
Delegates reply to the lambda function
- copy(matchingFunc, argumentType) - Method in class io.mockk.FunctionMatcher
-
Delegates matching to lambda function
- copy(self, stub, method, args, timestamp, callStack, originalCall, fieldValueProvider) - Method in class io.mockk.Invocation
-
Mock invocation
- copy(self, method, args, allAny) - Method in class io.mockk.InvocationMatcher
-
Checks if invocation is matching via number of matchers
- copy(answers) - Method in class io.mockk.ManyAnswersAnswer
-
Returns many different replies, each time moving the next list element.
Stops at the end.
- copy(name, returnType, returnsUnit, returnsNothing, isSuspend, declaringClass, paramTypes, varArgsArg, privateCall) - Method in class io.mockk.MethodDescription
-
Provides information about method
- copy(answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKGateway.ClearOptions
-
- copy(current) - Method in class io.mockk.MockKGateway.ExclusionParameters
-
Parameters of exclusion
- copy(ordering, min, max, inverse, timeout) - Method in class io.mockk.MockKGateway.VerificationParameters
-
Parameters of verification
- copy(message) - Method in class io.mockk.VerificationResult.Failure
-
- copy(verifiedCalls) - Method in class io.mockk.VerificationResult.OK
-
- copy(value) - Method in class io.mockk.NotMatcher
-
Boolean logic "NOT" matcher composed of one matcher
- copy(inverse) - Method in class io.mockk.NullCheckMatcher
-
Checks if argument is null or non-null
- copy(cls) - Method in class io.mockk.OfTypeMatcher
-
Checks matcher data type
- copy(retValue, isRetValueMock, retType, matcher, selfChain, argChains) - Method in class io.mockk.RecordedCall
-
Matched call
- copy(className, fileName, methodName, line, nativeMethod) - Method in class io.mockk.StackElement
-
Element of stack trace.
- copy(ex) - Method in class io.mockk.ThrowingAnswer
-
Throws exception instead of function reply
- copy(all, matcher, prefix, postfix) - Method in class io.mockk.VarargMatcher
-
- CoroutineCall<T> - Interface in io.mockk
-
- coroutineCall(lambda) - Method in class io.mockk.InternalPlatformDsl
-
- counter() - Method in class io.mockk.InternalPlatformDsl
-
- identityHashCode(obj) - Method in class io.mockk.InternalPlatformDsl
-
- implementation - Static variable in class io.mockk.MockKGateway.Companion
-
- increment() - Method in interface io.mockk.InternalCounter
-
- initAnnotatedMocks(targets, overrideRecordPrivateCalls, relaxUnitFun, relaxed) - Method in interface io.mockk.MockKGateway.MockInitializer
-
- INSTANCE - Static variable in class io.mockk.Called
-
Part of DSL. Object to represent phrase "wasNot Called"
- INSTANCE - Static variable in class io.mockk.InternalPlatformDsl
-
- INSTANCE - Static variable in class io.mockk.MockKCancellationRegistry
-
- INSTANCE - Static variable in class io.mockk.MockKDsl
-
DSL entry points.
- INSTANCE - Static variable in class io.mockk.MockKSettings
-
- INSTANCE - Static variable in class io.mockk.Runs
-
Part of DSL. Object to represent phrase "just Runs"
- instantiate(cls) - Method in interface io.mockk.MockKGateway.InstanceFactory
-
- internalClearAllMocks(answers, recordedCalls, childMocks, regularMocks, objectMocks, staticMocks, constructorMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKDsl
-
- internalClearConstructorMockk(classes, answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKDsl
-
Clear constructor mocks.
- internalClearMocks(firstMock, mocks, answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKDsl
-
Resets information associated with mock
- internalClearObjectMockk(objects, answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKDsl
-
Clear object mocks.
- internalClearStaticMockk(classes, answers, recordedCalls, childMocks, verificationMarks, exclusionRules) - Method in class io.mockk.MockKDsl
-
Clear static mocks.
- internalCoEvery(stubBlock) - Method in class io.mockk.MockKDsl
-
Starts a block of stubbing for coroutines. Part of DSL.
- internalCoExcludeRecords(current, excludeBlock) - Method in class io.mockk.MockKDsl
-
Exclude calls from recording for a suspend block
- internalConfirmVerified(mocks) - Method in class io.mockk.MockKDsl
-
Checks if all recorded calls were verified.
- InternalCounter - Interface in io.mockk
-
- internalCoVerify(ordering, inverse, atLeast, atMost, exactly, timeout, verifyBlock) - Method in class io.mockk.MockKDsl
-
Verify for coroutines
- internalCoVerifyAll(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for all calls verification
- internalCoVerifyOrder(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for ordered calls verification
- internalCoVerifySequence(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for sequence calls verification
- internalEvery(stubBlock) - Method in class io.mockk.MockKDsl
-
Starts a block of stubbing. Part of DSL.
- internalExcludeRecords(current, excludeBlock) - Method in class io.mockk.MockKDsl
-
Exclude calls from recording
- internalInitAnnotatedMocks(targets, overrideRecordPrivateCalls, relaxUnitFun, relaxed) - Method in class io.mockk.MockKDsl
-
Initializes
- internalIsMockKMock(mock, regular, spy, objectMock, staticMock, constructorMock) - Method in class io.mockk.MockKDsl
-
- internalMockkClass(type, name, relaxed, moreInterfaces, relaxUnitFun, block) - Method in class io.mockk.MockKDsl
-
Builds a mock for a class. Deprecated
- internalMockkConstructor(classes, recordPrivateCalls, localToThread) - Method in class io.mockk.MockKDsl
-
Constructor mockk
- internalMockkObject(objects, recordPrivateCalls) - Method in class io.mockk.MockKDsl
-
Object mockk
- internalMockkStatic(classes) - Method in class io.mockk.MockKDsl
-
Static mockk
- internalObjectMockk(objs, recordPrivateCalls) - Method in class io.mockk.MockKDsl
-
Declares object mockk. Deprecated
- InternalPlatformDsl - Class in io.mockk
-
- InternalRef<T> - Interface in io.mockk
-
- internalSpyk(objToCopy, name, moreInterfaces, recordPrivateCalls, block) - Method in class io.mockk.MockKDsl
-
Builds a new spy for specified class. Initializes object via default constructor.
- internalStaticMockk(kClass) - Method in class io.mockk.MockKDsl
-
Declares static mockk. Deprecated
- internalSubstitute($receiver, map) - Static method in class io.mockk.APIKt
-
- internalSubstitute($receiver, map) - Static method in class io.mockk.APIKt
-
- internalUnmockkAll() - Method in class io.mockk.MockKDsl
-
Unmockk everything
- internalUnmockkConstructor(classes) - Method in class io.mockk.MockKDsl
-
Cancel constructor mocks.
- internalUnmockkObject(objects) - Method in class io.mockk.MockKDsl
-
Cancel object mocks.
- internalUnmockkStatic(classes) - Method in class io.mockk.MockKDsl
-
Cancel static mocks.
- internalVerify(ordering, inverse, atLeast, atMost, exactly, timeout, verifyBlock) - Method in class io.mockk.MockKDsl
-
Verifies calls happened in the past. Part of DSL
- internalVerifyAll(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for all calls verification
- internalVerifyOrder(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for ordered calls verification
- internalVerifySequence(inverse, verifyBlock) - Method in class io.mockk.MockKDsl
-
Shortcut for sequence calls verification
- Invocation - Class in io.mockk
-
Mock invocation
- Invocation(self, stub, method, args, timestamp, callStack, originalCall, fieldValueProvider) - Constructor for class io.mockk.Invocation
-
Mock invocation
- InvocationMatcher - Class in io.mockk
-
Checks if invocation is matching via number of matchers
- InvocationMatcher(self, method, args, allAny) - Constructor for class io.mockk.InvocationMatcher
-
Checks if invocation is matching via number of matchers
- invoke(args) - Method in class io.mockk.MockKMatcherScope.DynamicCall
-
- invoke($receiver, name) - Method in class io.mockk.MockKMatcherScope
-
- InvokeMatcher<T> - Class in io.mockk
-
Invokes lambda
- InvokeMatcher(block) - Constructor for class io.mockk.InvokeMatcher
-
Invokes lambda
- invokeNoArgs($receiver, name) - Method in class io.mockk.MockKMatcherScope
-
- io.mockk - package io.mockk
-
- isCaptured() - Method in class io.mockk.CapturingSlot
-
- isConstructorMock(mock) - Method in interface io.mockk.MockKGateway.MockTypeChecker
-
- isEquals() - Method in class io.mockk.MethodDescription
-
- isHashCode() - Method in class io.mockk.MethodDescription
-
- isLastCallReturnsNothing() - Method in interface io.mockk.MockKGateway.CallRecorder
-
- isMock(value) - Method in interface io.mockk.MockKGateway.MockFactory
-
- isNull() - Method in class io.mockk.CapturingSlot
-
- isObjectMock(mock) - Method in interface io.mockk.MockKGateway.MockTypeChecker
-
- isRegularMock(mock) - Method in interface io.mockk.MockKGateway.MockTypeChecker
-
- isRetValueMock() - Method in class io.mockk.RecordedCall
-
- isSpy(mock) - Method in interface io.mockk.MockKGateway.MockTypeChecker
-
- isStaticMock(mock) - Method in interface io.mockk.MockKGateway.MockTypeChecker
-
- isSuspend() - Method in class io.mockk.MethodDescription
-
- isToString() - Method in class io.mockk.MethodDescription
-
- makeAccessible(obj) - Method in class io.mockk.InternalPlatformDsl
-
- ManyAnswerable<T> - Interface in io.mockk
-
Required to signalize many answers available
- ManyAnswersAnswer<T> - Class in io.mockk
-
Returns many different replies, each time moving the next list element.
Stops at the end.
- ManyAnswersAnswer(answers) - Constructor for class io.mockk.ManyAnswersAnswer
-
Returns many different replies, each time moving the next list element.
Stops at the end.
- markCallVerified(invocation) - Method in interface io.mockk.MockKGateway.VerificationAcknowledger
-
- match(arg) - Method in class io.mockk.AllAnyMatcher
-
- match(arg) - Method in class io.mockk.AndOrMatcher
-
- match(arg) - Method in class io.mockk.ArrayMatcher
-
- match(arg) - Method in class io.mockk.AssertMatcher
-
Deprecated.
- match(arg) - Method in class io.mockk.CaptureMatcher
-
- match(arg) - Method in class io.mockk.CaptureNullableMatcher
-
- match(arg) - Method in class io.mockk.CapturingSlotMatcher
-
- match(arg) - Method in class io.mockk.ComparingMatcher
-
- match(arg) - Method in class io.mockk.ConstantMatcher
-
- match(arg) - Method in class io.mockk.EqMatcher
-
- match(arg) - Method in class io.mockk.FunctionMatcher
-
- match(invocation) - Method in class io.mockk.InvocationMatcher
-
- match(arg) - Method in class io.mockk.InvokeMatcher
-
- match(arg) - Method in interface io.mockk.Matcher
-
- match(arg) - Method in class io.mockk.NotMatcher
-
- match(arg) - Method in class io.mockk.NullCheckMatcher
-
- match(arg) - Method in class io.mockk.OfTypeMatcher
-
- match(arg) - Method in class io.mockk.VarargMatcher
-
- Matcher<T> - Interface in io.mockk
-
Checks if argument is matching some criteria
- matcher(matcher, cls) - Method in interface io.mockk.MockKGateway.CallRecorder
-
- Matcher.DefaultImpls - Class in io.mockk
-
Checks if argument is matching some criteria
- MatchersKt - Class in io.mockk
-
- MethodDescription - Class in io.mockk
-
Provides information about method
- MethodDescription(name, returnType, returnsUnit, returnsNothing, isSuspend, declaringClass, paramTypes, varArgsArg, privateCall) - Constructor for class io.mockk.MethodDescription
-
Provides information about method
- mock() - Method in class io.mockk.MockKUnmockKScope
-
- mockk(mockType, name, relaxed, moreInterfaces, relaxUnitFun) - Method in interface io.mockk.MockKGateway.MockFactory
-
- MockKAdditionalAnswerScope<T,B> - Class in io.mockk
-
Scope to chain additional answers to reply. Part of DSL
- MockKAdditionalAnswerScope(answerOpportunity, callRecorder, lambda) - Constructor for class io.mockk.MockKAdditionalAnswerScope
-
Scope to chain additional answers to reply. Part of DSL
- MockKAnswerScope<T,B> - Class in io.mockk
-
Scope for answering functions. Part of DSL
- MockKAnswerScope(call) - Constructor for class io.mockk.MockKAnswerScope
-
Scope for answering functions. Part of DSL
- MockKAssertScope - Class in io.mockk
-
Part of DSL. Scope for assertions on arguments during verifications.
- MockKAssertScope(actual) - Constructor for class io.mockk.MockKAssertScope
-
Part of DSL. Scope for assertions on arguments during verifications.
- MockKCancellationRegistry - Class in io.mockk
-
- MockKCancellationRegistry.RegistryPerType - Class in io.mockk
-
- MockKCancellationRegistry.Type - Enum in io.mockk
-
- MockKConstructorScope<T> - Class in io.mockk
-
Scope for constructor calls. Part of DSL.
- MockKConstructorScope(type, recordPrivateCalls, localToThread) - Constructor for class io.mockk.MockKConstructorScope
-
Scope for constructor calls. Part of DSL.
- MockKDsl - Class in io.mockk
-
DSL entry points.
- MockKException - Exception in io.mockk
-
Exception thrown by library
- MockKException(message, ex) - Constructor for exception io.mockk.MockKException
-
Exception thrown by library
- MockKGateway - Interface in io.mockk
-
Mediates mocking implementation
- MockKGateway.AnswerOpportunity<T> - Interface in io.mockk
-
- MockKGateway.CallRecorder - Interface in io.mockk
-
Builds a list of calls
- MockKGateway.CallVerifier - Interface in io.mockk
-
Verifier takes the list of calls and checks what invocations happened to the mocks
- MockKGateway.Clearer - Interface in io.mockk
-
Clears mocks
- MockKGateway.ClearOptions - Class in io.mockk
-
- MockKGateway.Companion - Class in io.mockk
-
- MockKGateway.ConstructorMockFactory - Interface in io.mockk
-
Controls constructor mocking
- MockKGateway.Excluder - Interface in io.mockk
-
Verify calls
- MockKGateway.ExclusionParameters - Class in io.mockk
-
Parameters of exclusion
- MockKGateway.InstanceFactory - Interface in io.mockk
-
Factory of dummy objects
- MockKGateway.InstanceFactoryRegistry - Interface in io.mockk
-
- MockKGateway.MockFactory - Interface in io.mockk
-
Create new mocks or spies
- MockKGateway.MockInitializer - Interface in io.mockk
-
- MockKGateway.MockTypeChecker - Interface in io.mockk
-
- MockKGateway.ObjectMockFactory - Interface in io.mockk
-
Binds object mocks
- MockKGateway.StaticMockFactory - Interface in io.mockk
-
Binds static mocks
- MockKGateway.Stubber - Interface in io.mockk
-
Stub calls
- MockKGateway.VerificationAcknowledger - Interface in io.mockk
-
- MockKGateway.VerificationParameters - Class in io.mockk
-
Parameters of verification
- MockKGateway.VerificationResult - Class in io.mockk
-
Result of verification
- MockKGateway.Verifier - Interface in io.mockk
-
Verify calls
- MockKMatcherScope - Class in io.mockk
-
Basic stub/verification scope. Part of DSL.
- MockKMatcherScope(lambda) - Constructor for class io.mockk.MockKMatcherScope
-
Basic stub/verification scope. Part of DSL.
- MockKMatcherScope.DynamicCall - Class in io.mockk
-
- MockKMatcherScope.DynamicCallLong - Class in io.mockk
-
- MockKMatcherScope.DynamicSetProperty - Class in io.mockk
-
- MockKMatcherScope.MockKVarargScope - Class in io.mockk
-
- MockKObjectScope - Class in io.mockk
-
Scope for object mockks. Part of DSL
- MockKObjectScope(objects, recordPrivateCalls) - Constructor for class io.mockk.MockKObjectScope
-
Scope for object mockks. Part of DSL
- MockKSettings - Class in io.mockk
-
- MockKStaticScope - Class in io.mockk
-
Scope for static mockks. Part of DSL
- MockKStaticScope(staticTypes) - Constructor for class io.mockk.MockKStaticScope
-
Scope for static mockks. Part of DSL
- MockKStubScope<T,B> - Class in io.mockk
-
Stub scope. Part of DSL
- MockKStubScope(answerOpportunity, callRecorder, lambda) - Constructor for class io.mockk.MockKStubScope
-
Stub scope. Part of DSL
- MockKUnmockKCompositeScope - Class in io.mockk
-
Composite of two scopes. Part of DSL
- MockKUnmockKCompositeScope(first, second) - Constructor for class io.mockk.MockKUnmockKCompositeScope
-
Composite of two scopes. Part of DSL
- MockKUnmockKScope - Class in io.mockk
-
Cancelable mocking scope
- MockKUnmockKScope() - Constructor for class io.mockk.MockKUnmockKScope
-
Cancelable mocking scope
- MockKVarargScope(position, nArgs) - Constructor for class io.mockk.MockKMatcherScope.MockKVarargScope
-
- MockKVerificationScope - Class in io.mockk
-
Part of DSL. Additional operations for verification scope.
- MockKVerificationScope(callRecorder, lambda) - Constructor for class io.mockk.MockKVerificationScope
-
Part of DSL. Additional operations for verification scope.
- mockPlaceholder(cls) - Method in interface io.mockk.MockKGateway.ConstructorMockFactory
-