Package org.mockito.internal.debugging
Class LoggingListener
java.lang.Object
org.mockito.internal.debugging.LoggingListener
- All Implemented Interfaces:
FindingsListener
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addOrderedList
(List<String> target, List<String> additions) void
foundStubCalledWithDifferentArgs
(Invocation unused, InvocationMatcher unstubbed) void
foundUnstubbed
(InvocationMatcher unstubbed) void
foundUnusedStub
(Invocation unused) (package private) static int
indexOfNextPair
(int collectionSize)
-
Field Details
-
warnAboutUnstubbed
private final boolean warnAboutUnstubbed -
argMismatchStubs
-
unusedStubs
-
unstubbedCalls
-
-
Constructor Details
-
LoggingListener
public LoggingListener(boolean warnAboutUnstubbed)
-
-
Method Details
-
foundStubCalledWithDifferentArgs
- Specified by:
foundStubCalledWithDifferentArgs
in interfaceFindingsListener
-
indexOfNextPair
static int indexOfNextPair(int collectionSize) -
foundUnusedStub
- Specified by:
foundUnusedStub
in interfaceFindingsListener
-
foundUnstubbed
- Specified by:
foundUnstubbed
in interfaceFindingsListener
-
getStubbingInfo
-
addOrderedList
-