JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
B
C
D
E
G
H
I
J
M
N
P
R
S
T
U
V
W
A
arrayOfPrimitives()
- Static method in class au.com.dius.pact.consumer.dsl.
Dsl
Creates a builder to define the matchers on an array of JSON primitives
ArrayOfPrimitivesBuilder
- Class in
au.com.dius.pact.consumer.dsl
ArrayOfPrimitivesBuilder()
- Constructor for class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
au.com.dius.pact.consumer
- package au.com.dius.pact.consumer
au.com.dius.pact.consumer.dsl
- package au.com.dius.pact.consumer.dsl
au.com.dius.pact.consumer.junit
- package au.com.dius.pact.consumer.junit
B
BaseMockServer
- Class in
au.com.dius.pact.consumer
BaseMockServer(pact, config, server, stopped)
- Constructor for class au.com.dius.pact.consumer.
BaseMockServer
BaseMockServer.Companion
- Class in
au.com.dius.pact.consumer
booleanType()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be a boolean
build()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
Consumes this builder and returns the DslPart that it represents
C
calculateCharset(headers)
- Static method in class au.com.dius.pact.consumer.
MockHttpServerKt
Companion
- Static variable in class au.com.dius.pact.consumer.
BaseMockServer
component1()
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
component1()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
component1()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
component1()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
component1()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
component1()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
component2()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
conformsToMessagePactSignature(m)
- Static method in class au.com.dius.pact.consumer.junit.
JUnitTestSupport
validates method signature for a Message Pact test
conformsToSignature(m)
- Static method in class au.com.dius.pact.consumer.junit.
JUnitTestSupport
validates method signature as described at
interface Pact
consumer()
- Method in interface au.com.dius.pact.consumer.
Pact
name of the consumer
ConsumerPactRunnerKt
- Class in
au.com.dius.pact.consumer
copy(pactFolder)
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
copy(error, mockServerState)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
copy(expectedRequests)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
copy(mismatches)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
copy(mismatches)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
copy(request)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
D
date()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be formatted as an ISO date
date(format)
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must match the provided date format
decimalType()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be a decimal value
Dsl
- Class in
au.com.dius.pact.consumer.dsl
E
equals(p)
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
equals(p)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
equals(p)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
equals(p)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
equals(p)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
equals(p)
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
Error(error, mockServerState)
- Constructor for class au.com.dius.pact.consumer.
PactVerificationResult.Error
ExpectedButNotReceived(expectedRequests)
- Constructor for class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
G
getConfig()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
getDescription()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
getDescription()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult
getDescription()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
getDescription()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
getError()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
getExamples()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
getExpectedRequests()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
getGenerator()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
getMatcher()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
getMaxLength()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
getMinLength()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
getMismatches()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
getMismatches()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
getMockServerState()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
getPact()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
getPactDirectory()
- Method in class au.com.dius.pact.consumer.
PactConsumerConfig
getPactFolder()
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
getPort()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
Returns the port of the mock server. This will be the port the server is bound to.
getPort()
- Method in interface au.com.dius.pact.consumer.
MockServer
Returns the port of the mock server. This will be the port the server is bound to.
getRequest()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
getUrl()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
Returns the URL for this mock server. The port will be the one bound by the server.
getUrl()
- Method in interface au.com.dius.pact.consumer.
MockServer
Returns the URL for this mock server. The port will be the one bound by the server.
getValue()
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
H
handle(exchange)
- Method in class au.com.dius.pact.consumer.
BaseMockServer
hashCode()
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
hashCode()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
hashCode()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
hashCode()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
hashCode()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
hashCode()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
Headers
- Class in
au.com.dius.pact.consumer
hexValue()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be encoded as a hexadecimal value
I
id()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be a numeric identifier
includesStr(value)
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must include the provided string value
INSTANCE
- Static variable in class au.com.dius.pact.consumer.dsl.
Dsl
INSTANCE
- Static variable in class au.com.dius.pact.consumer.dsl.
PM
Pact Matcher functions for 'and' and 'or'
INSTANCE
- Static variable in class au.com.dius.pact.consumer.
Headers
INSTANCE
- Static variable in class au.com.dius.pact.consumer.junit.
JUnitTestSupport
INSTANCE
- Static variable in class au.com.dius.pact.consumer.
PactConsumerConfig
INSTANCE
- Static variable in class au.com.dius.pact.consumer.
PactVerificationResult.Ok
INSTANCE
- Static variable in class au.com.dius.pact.consumer.
ScalaCollectionUtils
integerType()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be an integer
ipAddress()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be an IP4 address
J
JUnitTestSupport
- Class in
au.com.dius.pact.consumer.junit
M
Mismatches(mismatches)
- Constructor for class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
MockHttpServer
- Class in
au.com.dius.pact.consumer
MockHttpServer(pact, config)
- Constructor for class au.com.dius.pact.consumer.
MockHttpServer
MockHttpServerKt
- Class in
au.com.dius.pact.consumer
MockHttpsServer
- Class in
au.com.dius.pact.consumer
MockHttpsServer(pact, config)
- Constructor for class au.com.dius.pact.consumer.
MockHttpsServer
mockServer(pact, config)
- Static method in class au.com.dius.pact.consumer.
MockHttpServerKt
Returns a mock server for the pact and config
MockServer
- Interface in
au.com.dius.pact.consumer
MULTIPART_HEADER_REGEX
- Static variable in class au.com.dius.pact.consumer.
Headers
N
nullValue()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Matches a null value
numberType()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that can be any number
P
Pact
- Interface in
au.com.dius.pact.consumer
describes the interactions between a provider and a consumer used in JUnit tests. The annotated method has to be of following signature:
PactConsumerConfig
- Class in
au.com.dius.pact.consumer
PactFolder
- Interface in
au.com.dius.pact.consumer
Used to point Pact runner to the directory where the pact files are stored
PactMismatchesException
- Exception in
au.com.dius.pact.consumer
PactMismatchesException(mismatches)
- Constructor for exception au.com.dius.pact.consumer.
PactMismatchesException
PactTestExecutionContext
- Class in
au.com.dius.pact.consumer
PactTestExecutionContext(pactFolder)
- Constructor for class au.com.dius.pact.consumer.
PactTestExecutionContext
PactTestExecutionContext()
- Constructor for class au.com.dius.pact.consumer.
PactTestExecutionContext
PactTestRun
- Interface in
au.com.dius.pact.consumer
PactVerificationResult
- Class in
au.com.dius.pact.consumer
PactVerificationResult.Error
- Class in
au.com.dius.pact.consumer
PactVerificationResult.ExpectedButNotReceived
- Class in
au.com.dius.pact.consumer
PactVerificationResult.Mismatches
- Class in
au.com.dius.pact.consumer
PactVerificationResult.Ok
- Class in
au.com.dius.pact.consumer
PactVerificationResult.PartialMismatch
- Class in
au.com.dius.pact.consumer
PactVerificationResult.UnexpectedRequest
- Class in
au.com.dius.pact.consumer
PartialMismatch(mismatches)
- Constructor for class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
PM
- Class in
au.com.dius.pact.consumer.dsl
Pact Matcher functions for 'and' and 'or'
provider()
- Method in interface au.com.dius.pact.consumer.
Pact
name of the provider
R
run(mockServer, context)
- Method in interface au.com.dius.pact.consumer.
PactTestRun
runAndWritePact(pact, pactVersion, testFn)
- Method in class au.com.dius.pact.consumer.
BaseMockServer
This will start the mock server and execute the test function. Returns the result of running the test.
runAndWritePact(pact, pactVersion, testFn)
- Method in interface au.com.dius.pact.consumer.
MockServer
This will start the mock server and execute the test function. Returns the result of running the test.
runConsumerTest(pact, config, test)
- Static method in class au.com.dius.pact.consumer.
ConsumerPactRunnerKt
S
ScalaCollectionUtils
- Class in
au.com.dius.pact.consumer
setExamples(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
setGenerator(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
setMatcher(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
setMaxLength(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
setMinLength(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
setPactFolder(p)
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
setValue(p)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
start()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
state()
- Method in interface au.com.dius.pact.consumer.
Pact
name of the state,
stop()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
stringMatcher(regex)
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must match the regular expression
stringType()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that can be any string
T
thatMatchRegex(regex)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
All the values in the array must match the provided regex
thatMatchRegex(regex, example)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
All the values in the array must match the provided regex
time()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be an ISO formatted time
time(format)
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must match the given time format
timestamp()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be an ISO formatted timestamp
timestamp(format)
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must match the given timestamp format
toList(mismatches)
- Method in class au.com.dius.pact.consumer.
ScalaCollectionUtils
toString()
- Method in class au.com.dius.pact.consumer.
PactTestExecutionContext
toString()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Error
toString()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.ExpectedButNotReceived
toString()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.Mismatches
toString()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.PartialMismatch
toString()
- Method in class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
U
UnexpectedRequest(request)
- Constructor for class au.com.dius.pact.consumer.
PactVerificationResult.UnexpectedRequest
uuid()
- Static method in class au.com.dius.pact.consumer.dsl.
PM
Attribute that must be encoded as an UUID
V
validateMockServerResult(result)
- Static method in class au.com.dius.pact.consumer.junit.
JUnitTestSupport
validateMockServerState()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
Returns the results of validating the mock server state
validateMockServerState()
- Method in interface au.com.dius.pact.consumer.
MockServer
Returns the results of validating the mock server state
value()
- Method in interface au.com.dius.pact.consumer.
PactFolder
W
waitForServer()
- Method in class au.com.dius.pact.consumer.
BaseMockServer
withMaxLength(max)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
Array must have a maximum length
withMinLength(min)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
Array must have a minimum length
withNumberOfExamples(examples)
- Method in class au.com.dius.pact.consumer.dsl.
ArrayOfPrimitivesBuilder
Sets the number of examples to generate in the array
A
B
C
D
E
G
H
I
J
M
N
P
R
S
T
U
V
W
Skip navigation links
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes