public class AmqpTarget
extends BaseTarget
Out-of-the-box implementation of 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 | Class and Description |
|---|---|
static class |
AmqpTarget.Companion |
| Modifier and Type | Field and Description |
|---|---|
static AmqpTarget.Companion |
Companion |
testClass, testTarget| Constructor and Description |
|---|
AmqpTarget(java.util.List<java.lang.String> packagesToScan,
java.lang.ClassLoader classLoader)
Out-of-the-box implementation of 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(java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of 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 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.lang.ClassLoader |
getClassLoader() |
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.IProviderVerifier |
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,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
|
addResultCallback, getAssertionError, getProviderInfo, getTestClass, getTestTarget, getValueResolver, reportTestResult, setTestClass, setTestClass, setTestTarget, setValueResolver, setupReporters, setupVerifiersetTestClasspublic static AmqpTarget.Companion Companion
public AmqpTarget(java.util.List<java.lang.String> packagesToScan,
java.lang.ClassLoader classLoader)
Out-of-the-box implementation of 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 packagespublic AmqpTarget(java.util.List<java.lang.String> packagesToScan)
Out-of-the-box implementation of 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 packagespublic AmqpTarget()
Out-of-the-box implementation of 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
public void testInteraction(java.lang.String consumerName,
au.com.dius.pact.model.Interaction interaction,
au.com.dius.pact.model.PactSource source,
java.util.Map<java.lang.String,? extends java.lang.Object> context)
{@inheritDoc}
public au.com.dius.pact.provider.IProviderVerifier 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
public java.lang.ClassLoader getClassLoader()