public class AmqpTarget
extends BaseTarget
Out-of-the-box implementation of interface Target, that run Interaction against message pact and verify response
By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce
the performance cost
interface TargettestClass, testTarget, valueResolver| Constructor and Description |
|---|
AmqpTarget(java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of
interface Target, that run Interaction against message pact and verify response
By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce
the performance cost |
AmqpTarget()
Out-of-the-box implementation of
interface Target, that run Interaction against message pact and verify response
By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce
the performance cost |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getPackagesToScan()
List of JVM packages
|
au.com.dius.pact.provider.ProviderInfo |
getProviderInfo(au.com.dius.pact.model.PactSource source) |
au.com.dius.pact.provider.ProviderVerifier |
setupVerifier(au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.provider.ProviderInfo provider,
au.com.dius.pact.provider.ConsumerInfo consumer) |
void |
testInteraction(java.lang.String consumerName,
au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.model.PactSource source)
{@inheritDoc}
|
addResultCallback, getAssertionError, getProviderInfo, getValueResolver, reportTestResult, setTestClass, setValueResolver, setupReporters, setupVerifier, testInteractionsetTestClassaddResultCallback, testInteractionpublic AmqpTarget(java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of interface Target, that run Interaction against message pact and verify response
By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce
the performance cost
packagesToScan - List of JVM packagespackagesToScan - List of JVM packagesinterface Targetpublic AmqpTarget()
Out-of-the-box implementation of interface Target, that run Interaction against message pact and verify response
By default it will scan all packages for annotated methods, but a list of packages can be provided to reduce
the performance cost
interface Targetpublic void testInteraction(java.lang.String consumerName,
au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.model.PactSource source)
{@inheritDoc}
public au.com.dius.pact.provider.ProviderVerifier setupVerifier(au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.provider.ProviderInfo provider,
au.com.dius.pact.provider.ConsumerInfo consumer)
public au.com.dius.pact.provider.ProviderInfo getProviderInfo(au.com.dius.pact.model.PactSource source)
public java.util.List<java.lang.String> getPackagesToScan()
List of JVM packages