Uses of Interface
org.mockito.invocation.Location
-
Packages that use Location Package Description org.mockito.internal Internal classes, not to be used by clients.org.mockito.internal.creation.bytebuddy ByteBuddy related stuff.org.mockito.internal.debugging Whatever helps in debugging failed tests.org.mockito.internal.exceptions org.mockito.internal.invocation Invocation machinery and related classes.org.mockito.internal.matchers Argument matchers for verification and stubbing.org.mockito.internal.progress Mocking progress stateful classes.org.mockito.internal.stubbing.defaultanswers Implementations of default Answers.org.mockito.invocation Public API related to mock method invocations. -
-
Uses of Location in org.mockito.internal
Fields in org.mockito.internal declared as Location Modifier and Type Field Description private Location
MockedConstructionImpl. location
private Location
MockedStaticImpl. location
-
Uses of Location in org.mockito.internal.creation.bytebuddy
Methods in org.mockito.internal.creation.bytebuddy with parameters of type Location Modifier and Type Method Description (package private) java.lang.Object
MockMethodInterceptor. doIntercept(java.lang.Object mock, java.lang.reflect.Method invokedMethod, java.lang.Object[] arguments, RealMethod realMethod, Location location)
-
Uses of Location in org.mockito.internal.debugging
Classes in org.mockito.internal.debugging that implement Location Modifier and Type Class Description class
LocationImpl
Fields in org.mockito.internal.debugging declared as Location Modifier and Type Field Description private Location
Localized. location
Methods in org.mockito.internal.debugging that return Location Modifier and Type Method Description Location
Localized. getLocation()
-
Uses of Location in org.mockito.internal.exceptions
Methods in org.mockito.internal.exceptions with parameters of type Location Modifier and Type Method Description static MockitoException
Reporter. smartNullPointerException(java.lang.String invocation, Location location)
static MockitoException
Reporter. unfinishedStubbing(Location location)
static MockitoException
Reporter. unfinishedVerificationException(Location location)
Method parameters in org.mockito.internal.exceptions with type arguments of type Location Modifier and Type Method Description private static java.lang.String
Reporter. createAllLocationsMessage(java.util.List<Location> locations)
private static java.lang.String
Reporter. createTooFewInvocationsMessage(Discrepancy discrepancy, DescribedInvocation wanted, java.util.List<Location> locations)
private static java.lang.String
Reporter. createTooManyInvocationsMessage(int wantedCount, int actualCount, DescribedInvocation wanted, java.util.List<Location> invocations)
static MockitoAssertionError
Reporter. tooFewActualInvocations(Discrepancy discrepancy, DescribedInvocation wanted, java.util.List<Location> allLocations)
static MockitoAssertionError
Reporter. tooFewActualInvocationsInOrder(Discrepancy discrepancy, DescribedInvocation wanted, java.util.List<Location> locations)
static MockitoAssertionError
Reporter. tooManyActualInvocations(int wantedCount, int actualCount, DescribedInvocation wanted, java.util.List<Location> locations)
static MockitoAssertionError
Reporter. tooManyActualInvocationsInOrder(int wantedCount, int actualCount, DescribedInvocation wanted, java.util.List<Location> invocations)
-
Uses of Location in org.mockito.internal.invocation
Fields in org.mockito.internal.invocation declared as Location Modifier and Type Field Description private Location
InterceptedInvocation. location
Methods in org.mockito.internal.invocation that return Location Modifier and Type Method Description static Location
InvocationsFinder. getLastLocation(java.util.List<Invocation> invocations)
Location
InterceptedInvocation. getLocation()
Location
InvocationMatcher. getLocation()
Location
StubInfoImpl. stubbedAt()
Methods in org.mockito.internal.invocation that return types with arguments of type Location Modifier and Type Method Description static java.util.List<Location>
InvocationsFinder. getAllLocations(java.util.List<Invocation> invocations)
Methods in org.mockito.internal.invocation with parameters of type Location Modifier and Type Method Description static InterceptedInvocation
DefaultInvocationFactory. createInvocation(java.lang.Object mock, java.lang.reflect.Method invokedMethod, java.lang.Object[] arguments, RealMethod realMethod, MockCreationSettings settings, Location location)
Constructors in org.mockito.internal.invocation with parameters of type Location Constructor Description InterceptedInvocation(MockReference<java.lang.Object> mockRef, MockitoMethod mockitoMethod, java.lang.Object[] arguments, RealMethod realMethod, Location location, int sequenceNumber)
-
Uses of Location in org.mockito.internal.matchers
Fields in org.mockito.internal.matchers declared as Location Modifier and Type Field Description private Location
LocalizedMatcher. location
Methods in org.mockito.internal.matchers that return Location Modifier and Type Method Description Location
LocalizedMatcher. getLocation()
-
Uses of Location in org.mockito.internal.progress
Fields in org.mockito.internal.progress declared as Location Modifier and Type Field Description private Location
MockingProgressImpl. stubbingInProgress
-
Uses of Location in org.mockito.internal.stubbing.defaultanswers
Fields in org.mockito.internal.stubbing.defaultanswers declared as Location Modifier and Type Field Description private Location
ReturnsSmartNulls.ThrowsSmartNullPointer. location
Constructors in org.mockito.internal.stubbing.defaultanswers with parameters of type Location Constructor Description ThrowsSmartNullPointer(InvocationOnMock unstubbedInvocation, Location location)
-
Uses of Location in org.mockito.invocation
Methods in org.mockito.invocation that return Location Modifier and Type Method Description Location
DescribedInvocation. getLocation()
The place in the code where the invocation happened.Location
Invocation. getLocation()
Location
StubInfo. stubbedAt()
-