|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of ProxyInvocation in org.unitils.mock.argumentmatcher |
|---|
| Methods in org.unitils.mock.argumentmatcher with parameters of type ProxyInvocation | |
|---|---|
static java.util.List<java.lang.Integer> |
ArgumentMatcherPositionFinder.getArgumentMatcherIndexes(ProxyInvocation proxyInvocation,
int fromLineNr,
int toLineNr,
int index)
Locates the argument matchers for the given proxy method invocation. |
| Uses of ProxyInvocation in org.unitils.mock.core |
|---|
| Subclasses of ProxyInvocation in org.unitils.mock.core | |
|---|---|
class |
BehaviorDefiningInvocation
todo javadoc |
class |
ObservedInvocation
|
| Methods in org.unitils.mock.core with parameters of type ProxyInvocation | |
|---|---|
protected void |
MockProxy.assertCanExecute(MockBehavior mockBehavior,
ProxyInvocation proxyInvocation,
BehaviorDefiningInvocation behaviorDefiningInvocation)
Check whether the mock behavior can applied for this invocation |
protected java.lang.String |
Scenario.getAssertInvokedErrorMessage(ProxyInvocation proxyInvocation,
java.lang.StackTraceElement invokedAt)
|
protected java.lang.String |
Scenario.getAssertNotInvokedErrorMessage(ProxyInvocation proxyInvocation,
ObservedInvocation unexpectedInvocation,
java.lang.StackTraceElement[] assertedAt)
|
protected MockBehavior |
PartialMockProxy.getDefaultMockBehavior(ProxyInvocation proxyInvocation)
|
protected MockBehavior |
MockProxy.getDefaultMockBehavior(ProxyInvocation proxyInvocation)
|
protected BehaviorDefiningInvocation |
MockProxy.getMatchingBehaviorDefiningInvocation(ProxyInvocation proxyInvocation)
|
BehaviorDefiningInvocation |
BehaviorDefiningInvocations.getMatchingBehaviorDefiningInvocation(ProxyInvocation proxyInvocation)
First we find all behavior defining invocations that have matching argument matchers. |
protected MockBehavior |
MockProxy.getValidMockBehavior(ProxyInvocation proxyInvocation,
BehaviorDefiningInvocation behaviorDefiningInvocation)
|
java.lang.Object |
MockProxy.InvocationHandler.handleInvocation(ProxyInvocation invocation)
|
protected java.lang.Object |
MockProxy.handleMockInvocation(ProxyInvocation proxyInvocation)
|
boolean |
BehaviorDefiningInvocation.matches(ProxyInvocation proxyInvocation)
Returns whether or not the given ProxyInvocation matches this object's predefined Method and arguments. |
| Constructors in org.unitils.mock.core with parameters of type ProxyInvocation | |
|---|---|
BehaviorDefiningInvocation(ProxyInvocation proxyInvocation,
MockBehavior mockBehavior,
java.util.List<ArgumentMatcher> argumentMatchers)
Creates a behavior defining invocation for the given prosy invocation. |
|
ObservedInvocation(java.lang.Object result,
ProxyInvocation proxyInvocation,
BehaviorDefiningInvocation behaviorDefiningInvocation,
MockBehavior mockBehavior)
Creates a observed invocation for the given prosy invocation. |
|
| Uses of ProxyInvocation in org.unitils.mock.core.matching |
|---|
| Methods in org.unitils.mock.core.matching with parameters of type ProxyInvocation | |
|---|---|
protected java.util.List<ArgumentMatcher> |
MatchingInvocationBuilder.createArgumentMatchers(ProxyInvocation proxyInvocation)
|
java.lang.Object |
MatchingInvocationBuilder.InvocationHandler.handleInvocation(ProxyInvocation proxyInvocation)
|
java.lang.Object |
MatchingInvocationHandler.handleInvocation(ProxyInvocation proxyInvocation,
java.util.List<ArgumentMatcher> argumentMatchers)
|
protected java.lang.Object |
MatchingInvocationBuilder.handleProxyInvocation(ProxyInvocation proxyInvocation,
MatchingInvocationHandler matchingInvocationHandler)
|
| Uses of ProxyInvocation in org.unitils.mock.core.matching.impl |
|---|
| Methods in org.unitils.mock.core.matching.impl with parameters of type ProxyInvocation | |
|---|---|
protected java.lang.Object |
AssertVerifyingMatchingInvocationHandler.createChainedMock(ProxyInvocation proxyInvocation)
|
protected java.lang.Object |
BehaviorDefiningMatchingInvocationHandler.createChainedMock(ProxyInvocation proxyInvocation,
BehaviorDefiningInvocation behaviorDefiningInvocation)
|
java.lang.Object |
BehaviorDefiningMatchingInvocationHandler.ChainedMockBehavior.execute(ProxyInvocation proxyInvocation)
|
java.lang.Object |
BehaviorDefiningMatchingInvocationHandler.handleInvocation(ProxyInvocation proxyInvocation,
java.util.List<ArgumentMatcher> argumentMatchers)
|
java.lang.Object |
AssertVerifyingMatchingInvocationHandler.handleInvocation(ProxyInvocation proxyInvocation,
java.util.List<ArgumentMatcher> argumentMatchers)
|
| Uses of ProxyInvocation in org.unitils.mock.core.proxy |
|---|
| Subclasses of ProxyInvocation in org.unitils.mock.core.proxy | |
|---|---|
static class |
CglibProxyMethodInterceptor.CglibProxyInvocation
An invocation implementation that uses the cglib method proxy to be able to invoke the original behavior. |
| Methods in org.unitils.mock.core.proxy with parameters of type ProxyInvocation | |
|---|---|
java.lang.Object |
ProxyInvocationHandler.handleInvocation(ProxyInvocation proxyInvocation)
Handles the given method invocation of the proxy. |
| Constructors in org.unitils.mock.core.proxy with parameters of type ProxyInvocation | |
|---|---|
ProxyInvocation(ProxyInvocation proxyInvocation)
Creates a copy of the given proxy invocation. |
|
| Uses of ProxyInvocation in org.unitils.mock.dummy |
|---|
| Methods in org.unitils.mock.dummy with parameters of type ProxyInvocation | |
|---|---|
java.lang.Object |
DummyObjectUtil.DummyObjectInvocationHandler.handleInvocation(ProxyInvocation invocation)
Handles the given method invocation of the dummy object. |
| Uses of ProxyInvocation in org.unitils.mock.mockbehavior |
|---|
| Methods in org.unitils.mock.mockbehavior with parameters of type ProxyInvocation | |
|---|---|
void |
ValidatableMockBehavior.assertCanExecute(ProxyInvocation proxyInvocation)
Checks whether the mock behavior can be executed for the given invocation. |
java.lang.Object |
MockBehavior.execute(ProxyInvocation proxyInvocation)
Executes the mock behavior. |
| Uses of ProxyInvocation in org.unitils.mock.mockbehavior.impl |
|---|
| Methods in org.unitils.mock.mockbehavior.impl with parameters of type ProxyInvocation | |
|---|---|
void |
ValueReturningMockBehavior.assertCanExecute(ProxyInvocation proxyInvocation)
Checks whether the mock behavior can be executed for the given invocation. |
void |
OriginalBehaviorInvokingMockBehavior.assertCanExecute(ProxyInvocation proxyInvocation)
Checks whether the mock behavior can be executed for the given invocation. |
void |
ExceptionThrowingMockBehavior.assertCanExecute(ProxyInvocation proxyInvocation)
Checks whether the mock behavior can be executed for the given invocation. |
void |
DefaultValueReturningMockBehavior.assertCanExecute(ProxyInvocation proxyInvocation)
Checks whether the mock behavior can be executed for the given invocation. |
java.lang.Object |
ValueReturningMockBehavior.execute(ProxyInvocation proxyInvocation)
Executes the mock behavior. |
java.lang.Object |
OriginalBehaviorInvokingMockBehavior.execute(ProxyInvocation proxyInvocation)
Executes the mock behavior. |
java.lang.Object |
NoopMockBehavior.execute(ProxyInvocation proxyInvocation)
Empty mock behavior. |
java.lang.Object |
ExceptionThrowingMockBehavior.execute(ProxyInvocation proxyInvocation)
Executes the mock behavior. |
java.lang.Object |
DefaultValueReturningMockBehavior.execute(ProxyInvocation proxyInvocation)
Executes the mock behavior. |
| Uses of ProxyInvocation in org.unitils.mock.report.impl |
|---|
| Methods in org.unitils.mock.report.impl with parameters of type ProxyInvocation | |
|---|---|
protected java.lang.String |
ProxyInvocationsReport.formatInvokedAt(ProxyInvocation proxyInvocation)
Creates a string representation of the details of the given invocation. |
protected java.lang.String |
DetailedObservedInvocationsReport.formatInvokedAt(ProxyInvocation proxyInvocation)
Creates a string representation of the details of the given invocation. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||