JavaScript is disabled on your browser.
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
A
ALL_LIST_ITEMS
- Field in
PactBodyBuilder
B
BaseBuilder
- Class in
au.com.dius.pact.consumer.groovy
Base class for builders
build(Closure)
- Method in
BaseBuilder
build(LikeMatcher)
- Method in
PactBodyBuilder
buildInteractions()
- Method in
PactBuilder
C
call(Closure)
- Method in
BaseBuilder
COMPACT_MIME_TYPES
- Field in
BaseBuilder
D
date(String, def)
- Method in
Matchers
DateMatcher
- Class in
au.com.dius.pact.consumer.groovy
Matcher for dates
E
eachLike(Closure)
- Method in
Matchers
Array where each element is like the following object
EachLikeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Each like matcher for arrays
END_LIST
- Field in
PactBodyBuilder
F
fragment()
- Method in
PactBuilder
G
getBody()
- Method in
PactBodyBuilder
getMatcher()
- Method in
DateMatcher
getMatcher()
- Method in
EachLikeMatcher
getMatcher()
- Method in
MaxLikeMatcher
getMatcher()
- Method in
MinLikeMatcher
getMatcher()
- Method in
RegexpMatcher
getMatcher()
- Method in
TimeMatcher
getMatcher()
- Method in
TimestampMatcher
getMatcher()
- Method in
TypeMatcher
getPattern()
- Method in
DateMatcher
getPattern()
- Method in
TimeMatcher
getPattern()
- Method in
TimestampMatcher
getValue()
- Method in
DateMatcher
getValue()
- Method in
EachLikeMatcher
getValue()
- Method in
MaxLikeMatcher
getValue()
- Method in
MinLikeMatcher
getValue()
- Method in
RegexpMatcher
getValue()
- Method in
TimeMatcher
getValue()
- Method in
TimestampMatcher
getValue()
- Method in
TypeMatcher
given(String)
- Method in
PactBuilder
Defines the provider state the provider needs to be in for the interaction
guid(String)
- Method in
Matchers
Match a globally unique ID (GUID)
H
hasPactWith(String)
- Method in
PactBuilder
Defines the provider the consumer has a pact with
hexValue(String)
- Method in
Matchers
I
identifier(def)
- Method in
Matchers
integer(Integer)
- Method in
Matchers
InvalidMatcherException
- Class in
au.com.dius.pact.consumer.groovy
Exception for handling invalid matchers
InvalidMatcherException(String)
- Constructor in
InvalidMatcherException
InvalidPactException
- Class in
au.com.dius.pact.consumer.groovy
Exception for pact errors
InvalidPactException(String)
- Constructor in
InvalidPactException
ipAddress(String)
- Method in
Matchers
J
K
L
LikeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Base class for like matchers
M
Matcher
- Class in
au.com.dius.pact.consumer.groovy
Base class for matchers
Matchers
- Class in
au.com.dius.pact.consumer.groovy
Base class for DSL matcher methods
maxLike(Integer, Closure)
- Method in
Matchers
Array with maximum size and each element like the following object
MaxLikeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Like matcher with a maximum size
methodMissing(String, def)
- Method in
PactBodyBuilder
minLike(Integer, Closure)
- Method in
Matchers
Array with minimum size and each element like the following object
MinLikeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Like matcher with a minimum size
N
numeric(Number)
- Method in
Matchers
O
P
PactBodyBuilder
- Class in
au.com.dius.pact.consumer.groovy
DSL Builder for constructing JSON bodies
PactBuilder
- Class in
au.com.dius.pact.consumer.groovy
Builder DSL for Pact tests
PactFailedException
- Class in
au.com.dius.pact.consumer.groovy
Exception to indicate pact failures
PactFailedException(VerificationResult)
- Constructor in
PactFailedException
PACTVERIFIED
- Field in
BaseBuilder
PATH_SEP
- Field in
PactBodyBuilder
port(int)
- Method in
PactBuilder
Defines the port the provider will listen on
propertyMissing(String, def)
- Method in
PactBodyBuilder
Q
R
real(Number)
- Method in
Matchers
regexp(String, String)
- Method in
Matchers
RegexpMatcher
- Class in
au.com.dius.pact.consumer.groovy
Regular Expression Matcher
run(Closure)
- Method in
PactBuilder
Executes the providers closure in the context of the interactions defined on this builder.
runTestAndVerify(Closure)
- Method in
PactBuilder
Runs the test (via the run method), and throws an exception if it was not successful.
S
serviceConsumer(String)
- Method in
PactBuilder
Defines the service consumer
START_LIST
- Field in
PactBodyBuilder
string(String)
- Method in
Matchers
T
time(String, def)
- Method in
Matchers
TimeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Matcher for time values
timestamp(String, def)
- Method in
Matchers
TimestampMatcher
- Class in
au.com.dius.pact.consumer.groovy
Matcher for timestamps
TYPE
- Field in
Matchers
TypeMatcher
- Class in
au.com.dius.pact.consumer.groovy
Matcher for validating same types
U
uponReceiving(String)
- Method in
PactBuilder
Defines the start of an interaction
uuid(String)
- Method in
Matchers
Match a universally unique identifier (UUID)
V
W
willRespondWith(Map)
- Method in
PactBuilder
Defines the response attributes (body, headers, etc.) that are returned for the request
withAttributes(Map)
- Method in
PactBuilder
Defines the request attributes (body, headers, etc.)
withBody(Map, LikeMatcher)
- Method in
PactBuilder
Allows the body to be defined using a Groovy builder pattern with an array as the root
X
Y
Z
_
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
_
Overview
Package
Class
Deprecated
Index
Help
Frames
No Frames
Groovy Documentation