Skip navigation links
A B C D E G H I J M N P R S T U V W 

A

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

C

calculateCharset(headers) - Static method in class au.com.dius.pact.consumer.MockHttpServerKt
 
Companion - Static variable in class au.com.dius.pact.consumer.BaseMockServer
 
Companion - Static variable in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
component1() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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.dsl.UrlMatcherSupport
 
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(basePath, pathFragments) - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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

E

equals(p) - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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

getBasePath() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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
 
getExampleValue() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
getExpectedRequests() - Method in class au.com.dius.pact.consumer.PactVerificationResult.ExpectedButNotReceived
 
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
 
getPathFragments() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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.
getRegexExpression() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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.

H

handle(exchange) - Method in class au.com.dius.pact.consumer.BaseMockServer
 
hashCode() - Method in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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.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.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:
pactDirectory() - Static method in class au.com.dius.pact.consumer.MockHttpServerKt
 
PactMismatchesException - Exception in au.com.dius.pact.consumer
 
PactMismatchesException(mismatches) - Constructor for exception au.com.dius.pact.consumer.PactMismatchesException
 
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
 
PATH_SEP - Static variable in class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
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) - 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
 
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

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.dsl.UrlMatcherSupport
 
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
 
UrlMatcherSupport - Class in au.com.dius.pact.consumer.dsl
 
UrlMatcherSupport(basePath, pathFragments) - Constructor for class au.com.dius.pact.consumer.dsl.UrlMatcherSupport
 
UrlMatcherSupport.Companion - Class in au.com.dius.pact.consumer.dsl
 
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

W

waitForServer() - Method in class au.com.dius.pact.consumer.BaseMockServer
 
A B C D E G H I J M N P R S T U V W 
Skip navigation links