- 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
-
- Called - Class in io.mockk
-
Part of DSL. Object to represent phrase "wasNot Called"
- callOriginal() - Method in class io.mockk.MockKAnswerScope
-
- 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
-
- 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
-
- 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) - Method in class io.mockk.MockKConstructorScope
-
- clear(mocks, answers, recordedCalls, childMocks) - Method in interface io.mockk.MockKGateway.Clearer
-
- clear(type, answers, recordedCalls, childMocks) - Method in interface io.mockk.MockKGateway.ConstructorMockFactory
-
- clear(obj, answers, recordedCalls, childMocks) - Method in interface io.mockk.MockKGateway.ObjectMockFactory
-
- clear(type, answers, recordedCalls, childMocks) - Method in interface io.mockk.MockKGateway.StaticMockFactory
-
- clear(answers, recordedCalls, childMocks) - Method in class io.mockk.MockKObjectScope
-
- clear(answers, recordedCalls, childMocks) - Method in class io.mockk.MockKStaticScope
-
- clear(answers, recordedCalls, childMocks) - Method in class io.mockk.MockKUnmockKCompositeScope
-
- clear(answers, recordedCalls, childMocks) - Method in class io.mockk.MockKUnmockKScope
-
- coAndThen(answer) - Method in class io.mockk.MockKAdditionalAnswerScope
-
- coAnswers(answer) - Method in class io.mockk.MockKStubScope
-
- 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.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.VerificationParameters
-
- component1() - Method in class io.mockk.MockKGateway.VerificationResult
-
- 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.VerificationParameters
-
- component2() - Method in class io.mockk.MockKGateway.VerificationResult
-
- 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.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.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.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
-
- 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(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, returnTypeVoid, declaringClass, paramTypes, varArgsArg, privateCall) - Method in class io.mockk.MethodDescription
-
Provides information about method
- copy(ordering, min, max, inverse, timeout) - Method in class io.mockk.MockKGateway.VerificationParameters
-
Parameters of verification
- copy(matches, message) - Method in class io.mockk.MockKGateway.VerificationResult
-
Result of verification
- 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
- makeAccessible(obj) - Method in class io.mockk.InternalPlatformDsl
-
- ManyAnswerable<T> - Interface in io.mockk
-
Allows to check if has one more element in answer
- 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.
- ManyAnswersAnswer.SingleAnswer - Class in io.mockk
-
- 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
-
- 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
-
- 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, returnTypeVoid, 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(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.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.Companion - Class in io.mockk
-
- MockKGateway.ConstructorMockFactory - Interface in io.mockk
-
Controls constructor mocking
- 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.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.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
-
- 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(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
- 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
-