|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.extensions.TestDecorator
org.apache.qpid.junit.extensions.WrappedSuiteTestDecorator
org.apache.qpid.test.framework.qpid.AMQPFeatureDecorator
public class AMQPFeatureDecorator
AMQPFeatureDecorator applies decorations to FrameworkBaseCase
tests, so that they may use Qpid/AMQP specific
features, not available through JMS. For example, the immediate and mandatory flags. This decorator replaces the
standard test circuit factory on the base class with one that allows these features to be used.
Responsibilities | Collaborations |
---|---|
Substitute the circuit factory with an AMQP/Qpid specific one. |
Field Summary |
---|
Fields inherited from class org.apache.qpid.junit.extensions.WrappedSuiteTestDecorator |
---|
suite |
Fields inherited from class junit.extensions.TestDecorator |
---|
fTest |
Constructor Summary | |
---|---|
AMQPFeatureDecorator(org.apache.qpid.junit.extensions.WrappedSuiteTestDecorator test)
Creates a wrapped test test decorator from another one. |
Method Summary | |
---|---|
void |
run(junit.framework.TestResult testResult)
Runs the tests with a LocalAMQPCircuitFactory. |
String |
toString()
Prints the name of the test for debugging purposes. |
Methods inherited from class org.apache.qpid.junit.extensions.WrappedSuiteTestDecorator |
---|
countTestCases, getAllUnderlyingTests, testAt |
Methods inherited from class junit.extensions.TestDecorator |
---|
basicRun, getTest |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AMQPFeatureDecorator(org.apache.qpid.junit.extensions.WrappedSuiteTestDecorator test)
test
- The test test.Method Detail |
---|
public void run(junit.framework.TestResult testResult)
run
in interface junit.framework.Test
run
in class junit.extensions.TestDecorator
testResult
- The the results object to monitor the test results with.public String toString()
toString
in class junit.extensions.TestDecorator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |