package consumer
- Alphabetic
- By Inheritance
- consumer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- class ConsumerPactBuilder extends AnyRef
- type ConsumerTestVerification[T] = (T) ⇒ Option[T]
- class InvalidMatcherException extends RuntimeException
- trait MockProvider[I <: Interaction] extends AnyRef
- class MockServerException extends RuntimeException
- case class PactGenerator(pacts: Map[String, Pact[RequestResponseInteraction]], conflicts: List[String]) extends StrictLogging with Product with Serializable
- case class PactSession(expected: Seq[Interaction], results: PactSessionResults) extends Product with Serializable
- case class PactSessionResults(matched: List[Interaction], almostMatched: List[PartialRequestMatch], missing: List[Interaction], unexpected: List[Request]) extends Product with Serializable
- abstract class StatefulMockProvider[I <: Interaction] extends MockProvider[I] with StrictLogging
- trait TestRun extends AnyRef
- class UnfilteredHttpsKeystoreMockProvider extends StatefulMockProvider[RequestResponseInteraction]
- class UnfilteredHttpsMockProvider extends StatefulMockProvider[RequestResponseInteraction]
- class UnfilteredMockProvider extends StatefulMockProvider[RequestResponseInteraction]
-
class
ConsumerPactRunner extends AnyRef
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation: use ConsumerPactRunnerKt.runConsumerTest
-
case class
PactError(error: Throwable) extends VerificationResult with Product with Serializable
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation
-
case class
PactMismatch(results: PactSessionResults, userError: Option[Throwable] = None) extends VerificationResult with Product with Serializable
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation
-
case class
UserCodeFailed[T](error: T) extends VerificationResult with Product with Serializable
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation
-
sealed
trait
VerificationResult extends AnyRef
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation
Value Members
- object DefaultMockProvider
- object PactConsumerConfig
-
object
PactGenerator extends Serializable
Globally accumulates Pacts, merges by destination file, and allows writing to File.
Globally accumulates Pacts, merges by destination file, and allows writing to File.
This must be mutable, since there is otherwise no way to thread the state through whatever testing framework is in use.
Ideally writing would happen only at the end of the full test suite, but it may be necessary to write each time, and synchronise on disk, such that the file read and write can not be done concurrently with another running test.
This code has a way to go before it is fit for purpose.
- object PactSession extends Serializable
- object PactSessionResults extends Serializable
-
object
PrettyPrinter
- Annotations
- @Deprecated
- object VerificationResult
Deprecated Value Members
-
object
ConsumerPactRunner
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation: use ConsumerPactRunnerKt.runConsumerTest
-
object
PactVerified extends VerificationResult
- Annotations
- @Deprecated
- Deprecated
Moved to Kotlin implementation