Package

au.com.dius.pact

consumer

Permalink

package consumer

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. consumer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class ConsumerPactBuilder extends AnyRef

    Permalink
  2. type ConsumerTestVerification[T] = (T) ⇒ Option[T]

    Permalink
  3. class InvalidMatcherException extends RuntimeException

    Permalink
  4. class MessagePactBuilder extends AnyRef

    Permalink
  5. trait MockProvider[I <: Interaction] extends AnyRef

    Permalink
  6. class MockServerException extends RuntimeException

    Permalink
  7. case class PactGenerator(pacts: Map[String, model.Pact[RequestResponseInteraction]], conflicts: List[String]) extends StrictLogging with Product with Serializable

    Permalink
  8. case class PactSession(expected: Seq[Interaction], results: PactSessionResults) extends Product with Serializable

    Permalink
  9. case class PactSessionResults(matched: List[Interaction], almostMatched: List[PartialRequestMatch], missing: List[Interaction], unexpected: List[Request]) extends Product with Serializable

    Permalink
  10. abstract class StatefulMockProvider[I <: Interaction] extends MockProvider[I] with StrictLogging

    Permalink
  11. trait TestRun extends AnyRef

    Permalink
  12. class UnfilteredHttpsKeystoreMockProvider extends StatefulMockProvider[RequestResponseInteraction]

    Permalink
  13. class UnfilteredHttpsMockProvider extends StatefulMockProvider[RequestResponseInteraction]

    Permalink
  14. class UnfilteredMockProvider extends StatefulMockProvider[RequestResponseInteraction]

    Permalink
  15. class ConsumerPactRunner extends AnyRef

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation: use ConsumerPactRunnerKt.runConsumerTest

  16. case class PactError(error: Throwable) extends VerificationResult with Product with Serializable

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation

  17. case class PactMismatch(results: PactSessionResults, userError: Option[Throwable] = None) extends VerificationResult with Product with Serializable

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation

  18. case class UserCodeFailed[T](error: T) extends VerificationResult with Product with Serializable

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation

  19. sealed trait VerificationResult extends AnyRef

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation

Value Members

  1. object DefaultMockProvider

    Permalink
  2. object PactConsumerConfig

    Permalink
  3. object PactGenerator extends Serializable

    Permalink

    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.

  4. object PactSession extends Serializable

    Permalink
  5. object PactSessionResults extends Serializable

    Permalink
  6. object PrettyPrinter

    Permalink
    Annotations
    @Deprecated
  7. object VerificationResult

    Permalink
  8. package dsl

    Permalink

Deprecated Value Members

  1. object ConsumerPactRunner

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation: use ConsumerPactRunnerKt.runConsumerTest

  2. object PactVerified extends VerificationResult

    Permalink

    Annotations
    @Deprecated
    Deprecated

    Moved to Kotlin implementation

Inherited from AnyRef

Inherited from Any

Ungrouped