Index

A B C D F G M P R T V 
All Classes and Interfaces|All Packages

A

apply(Statement, Description) - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
apply(Statement, Description) - Method in class au.com.dius.pact.consumer.junit.MessagePactProviderRule
 
au.com.dius.pact.consumer.junit - package au.com.dius.pact.consumer.junit
 

B

BaseProviderRule - Class in au.com.dius.pact.consumer.junit
 
BaseProviderRule(Object, String, String, Integer, PactSpecVersion) - Constructor for class au.com.dius.pact.consumer.junit.BaseProviderRule
 

C

config - Variable in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
consumerName() - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 
ConsumerPactTest - Class in au.com.dius.pact.consumer.junit
 
ConsumerPactTest() - Constructor for class au.com.dius.pact.consumer.junit.ConsumerPactTest
 
createPact(PactDslWithProvider) - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 

D

DefaultRequestValues - Annotation Interface in au.com.dius.pact.consumer.junit
Marker annotation for a method that will setup the default request values used in the test.
DefaultResponseValues - Annotation Interface in au.com.dius.pact.consumer.junit
Marker annotation for a method that will setup the default response values used in the test The annotated method must take a single parameter of PactDslResponse and set the default values on that object

F

fragment() - Element in annotation interface au.com.dius.pact.consumer.junit.PactVerification
Method to call to get the pact fragment.

G

getConfig() - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
getMessage() - Method in class au.com.dius.pact.consumer.junit.MessagePactProviderRule
 
getMetadata() - Method in class au.com.dius.pact.consumer.junit.MessagePactProviderRule
 
getMockServer() - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
getPacts(String) - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
scan all methods for @Pact annotation and execute them, if not already initialized
getPort() - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
Returns the port number for the mock server.
getSpecificationVersion() - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 
getUrl() - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
Returns the URL for the mock server.

M

MessagePactProviderRule - Class in au.com.dius.pact.consumer.junit
A junit rule that wraps every test annotated with PactVerification.
MessagePactProviderRule(Object) - Constructor for class au.com.dius.pact.consumer.junit.MessagePactProviderRule
 
MessagePactProviderRule(String, Object) - Constructor for class au.com.dius.pact.consumer.junit.MessagePactProviderRule
 

P

PactHttpsProviderRule - Class in au.com.dius.pact.consumer.junit
A junit rule that wraps every test annotated with PactVerification.
PactHttpsProviderRule(String, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactHttpsProviderRule
Creates a mock provider by the given name.
PactHttpsProviderRule(String, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactHttpsProviderRule
Creates a mock provider by the given name.
PactHttpsProviderRule(String, String, Integer, boolean, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactHttpsProviderRule
Creates a mock provider by the given name
PactHttpsProviderRule(String, String, Integer, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactHttpsProviderRule
Creates a mock provider by the given name
PactHttpsProviderRule(String, String, Integer, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactHttpsProviderRule
Creates a mock provider by the given name
PactProviderRule - Class in au.com.dius.pact.consumer.junit
A junit rule that wraps every test annotated with PactVerification.
PactProviderRule(String, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactProviderRule
Creates a mock provider by the given name.
PactProviderRule(String, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactProviderRule
Creates a mock provider by the given name.
PactProviderRule(String, String, Integer, PactSpecVersion, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactProviderRule
Creates a mock provider by the given name
PactProviderRule(String, String, Integer, Object) - Constructor for class au.com.dius.pact.consumer.junit.PactProviderRule
Creates a mock provider by the given name
PactVerification - Annotation Interface in au.com.dius.pact.consumer.junit
Before each test, a mock server will be setup at given port/host that will provide mocked responses.
PactVerifications - Annotation Interface in au.com.dius.pact.consumer.junit
 
provider - Variable in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
providerName() - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 

R

runTest(MockServer, PactTestExecutionContext) - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 

T

target - Variable in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
testPact() - Method in class au.com.dius.pact.consumer.junit.ConsumerPactTest
 

V

validateResult(PactVerificationResult, PactVerification) - Method in class au.com.dius.pact.consumer.junit.BaseProviderRule
 
value() - Element in annotation interface au.com.dius.pact.consumer.junit.PactVerification
the tested provider name.
value() - Element in annotation interface au.com.dius.pact.consumer.junit.PactVerifications
 
A B C D F G M P R T V 
All Classes and Interfaces|All Packages