Uses of Interface
org.apache.qpid.test.framework.Assertion

Packages that use Assertion
org.apache.qpid.test.framework

A framework for testing Qpid, built around a standard 'test circuit' design. 

org.apache.qpid.test.framework.distributedcircuit   
org.apache.qpid.test.framework.localcircuit   
org.apache.qpid.test.framework.sequencers   
 

Uses of Assertion in org.apache.qpid.test.framework
 

Classes in org.apache.qpid.test.framework that implement Assertion
 class AssertionBase
          AssertionBase is a base class for implenmenting assertions.
 class NotApplicableAssertion
          NotApplicableAssertion is a messaging assertion that can be used when an assertion requested by a test-case is not applicable to the testing scenario.
 

Methods in org.apache.qpid.test.framework that return Assertion
 Assertion Receiver.allMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got all messages that were sent to it.
 Assertion Publisher.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion Receiver.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion Publisher.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the publisher got a given exception during the test.
 Assertion Receiver.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the receiver got a given exception during the test.
 Assertion AMQPPublisher.noConsumersAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no consumers exception on every message.
 Assertion Publisher.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher encountered no exceptions.
 Assertion Receiver.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers encountered no exceptions.
 Assertion Receiver.noMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got none of the messages that were sent to it.
 Assertion AMQPPublisher.noRouteAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no rout exception on every message.
 

Methods in org.apache.qpid.test.framework that return types with arguments of type Assertion
 List<Assertion> Circuit.applyAssertions(List<Assertion> assertions)
          Applied a list of assertions against the test circuit.
protected  List<Assertion> FrameworkBaseCase.assertionList(Assertion... asserts)
          Creates a list of assertions.
 List<Assertion> Circuit.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Methods in org.apache.qpid.test.framework with parameters of type Assertion
protected  List<Assertion> FrameworkBaseCase.assertionList(Assertion... asserts)
          Creates a list of assertions.
 

Method parameters in org.apache.qpid.test.framework with type arguments of type Assertion
 List<Assertion> Circuit.applyAssertions(List<Assertion> assertions)
          Applied a list of assertions against the test circuit.
protected static String FrameworkBaseCase.assertionsToString(List<Assertion> asserts)
          Converts a list of failed assertions into an error message.
protected static void FrameworkBaseCase.assertNoFailures(List<Assertion> asserts)
          Generates a JUnit assertion exception (failure) if any assertions are passed into this method, also concatenating all of the error messages in the assertions together to form an error message to diagnose the test failure with.
 void LocalCircuitFactory.sequenceTest(Circuit testCircuit, List<Assertion> assertions, Properties testProperties)
          Holds a test coordinating conversation with the test clients.
 List<Assertion> Circuit.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Uses of Assertion in org.apache.qpid.test.framework.distributedcircuit
 

Methods in org.apache.qpid.test.framework.distributedcircuit that return Assertion
 Assertion DistributedReceiverImpl.allMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got all messages that were sent to it.
 Assertion DistributedPublisherImpl.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion DistributedReceiverImpl.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion DistributedPublisherImpl.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the publisher got a given exception during the test.
 Assertion DistributedReceiverImpl.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the receiver got a given exception during the test.
 Assertion DistributedPublisherImpl.noConsumersAssertion()
          Provides an assertion that the publisher got a no consumers exception on every message.
 Assertion DistributedPublisherImpl.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher encountered no exceptions.
 Assertion DistributedReceiverImpl.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers encountered no exceptions.
 Assertion DistributedReceiverImpl.noMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got none of the messages that were sent to it.
 Assertion DistributedPublisherImpl.noRouteAssertion()
          Provides an assertion that the publisher got a no rout exception on every message.
 

Methods in org.apache.qpid.test.framework.distributedcircuit that return types with arguments of type Assertion
 List<Assertion> DistributedCircuitImpl.applyAssertions(List<Assertion> assertions)
          Applies a list of assertions against the test circuit.
 List<Assertion> DistributedCircuitImpl.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Method parameters in org.apache.qpid.test.framework.distributedcircuit with type arguments of type Assertion
 List<Assertion> DistributedCircuitImpl.applyAssertions(List<Assertion> assertions)
          Applies a list of assertions against the test circuit.
 List<Assertion> DistributedCircuitImpl.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Uses of Assertion in org.apache.qpid.test.framework.localcircuit
 

Methods in org.apache.qpid.test.framework.localcircuit that return Assertion
 Assertion LocalReceiverImpl.allMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got all messages that were sent to it.
 Assertion LocalPublisherImpl.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion LocalReceiverImpl.channelClosedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the AMQP channel was forcibly closed by an error condition.
 Assertion LocalPublisherImpl.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the publisher got a given exception during the test.
 Assertion LocalReceiverImpl.exceptionAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps, Class<? extends Exception> exceptionClass)
          Provides an assertion that the receiver got a given exception during the test.
 Assertion LocalAMQPPublisherImpl.noConsumersAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no consumers exception on every message.
 Assertion LocalPublisherImpl.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher encountered no exceptions.
 Assertion LocalReceiverImpl.noExceptionsAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers encountered no exceptions.
 Assertion LocalReceiverImpl.noMessagesReceivedAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the receivers got none of the messages that were sent to it.
 Assertion LocalAMQPPublisherImpl.noRouteAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no rout exception on every message.
 

Methods in org.apache.qpid.test.framework.localcircuit that return types with arguments of type Assertion
 List<Assertion> LocalCircuitImpl.applyAssertions(List<Assertion> assertions)
          Applied a list of assertions against the test circuit.
 List<Assertion> LocalCircuitImpl.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Method parameters in org.apache.qpid.test.framework.localcircuit with type arguments of type Assertion
 List<Assertion> LocalCircuitImpl.applyAssertions(List<Assertion> assertions)
          Applied a list of assertions against the test circuit.
 List<Assertion> LocalCircuitImpl.test(int numMessages, List<Assertion> assertions)
          Runs the default test procedure against the circuit, and checks that all of the specified assertions hold.
 

Uses of Assertion in org.apache.qpid.test.framework.sequencers
 

Method parameters in org.apache.qpid.test.framework.sequencers with type arguments of type Assertion
 void CircuitFactory.sequenceTest(Circuit testCircuit, List<Assertion> assertions, Properties testProperties)
          Deprecated. Use test circuits and Circuit.test instead.
 void FanOutCircuitFactory.sequenceTest(Circuit testCircuit, List<Assertion> assertions, Properties testProperties)
          Deprecated. Scheduled for removal once existing tests converted over to use test circuits.
 void InteropCircuitFactory.sequenceTest(Circuit testCircuit, List<Assertion> assertions, Properties testProperties)
          Holds a test coordinating conversation with the test clients.
 



Licensed to the Apache Software Foundation