|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.qpid.test.utils.QpidTestCase
org.apache.qpid.test.utils.QpidBrokerTestCase
org.apache.qpid.test.unit.client.AMQConnectionTest
public class AMQConnectionTest
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.qpid.test.utils.QpidBrokerTestCase |
---|
QpidBrokerTestCase.MessageType |
Field Summary | |
---|---|
protected static org.slf4j.Logger |
_logger
|
Fields inherited from class org.apache.qpid.test.utils.QpidBrokerTestCase |
---|
_broker, _brokerLanguage, _brokerLogPrefix, _brokerOutputStream, _brokerPersistent, _brokers, _configFile, _connectionFactory, _connections, _initialContext, _interleaveBrokerLog, _output, _outputFile, _testName, BROKER_READY, CONTENT, CPP, DEFAULT_MANAGEMENT_PORT, DEFAULT_MESSAGE_SIZE, DEFAULT_PORT, DEFAULT_SSL_PORT, DEFAULT_VM_PORT, EXTERNAL, INDEX, JAVA, LOGMONITOR_TIMEOUT, QPID_HOME, QpidHome, QUEUE, RECEIVE_TIMEOUT, TOPIC, VM |
Fields inherited from class org.apache.qpid.test.utils.QpidTestCase |
---|
MEMORY_STORE_CLASS_NAME, MS_CLASS_NAME_KEY |
Constructor Summary | |
---|---|
AMQConnectionTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
static junit.framework.Test |
suite()
|
protected void |
tearDown()
|
void |
testCreateQueueSession()
Simple tests to check we can create TopicSession and QueueSession ok And that they throw exceptions where appropriate as per JMS spec |
void |
testCreateTopicSession()
|
void |
testGetChannelID()
|
void |
testHeartBeat()
Test Strategy : Kill -STOP the broker and see if the client terminates the connection with a read timeout. |
void |
testPrefetchSystemProperty()
|
void |
testQueueSessionCreateTemporaryTopic()
|
void |
testQueueSessionCreateTopic()
|
void |
testQueueSessionDurableSubscriber()
|
void |
testQueueSessionUnsubscribe()
|
void |
testTopicSessionCreateBrowser()
|
void |
testTopicSessionCreateQueue()
|
void |
testTopicSessionCreateTemporaryQueue()
|
Methods inherited from class org.apache.qpid.test.utils.QpidTestCase |
---|
getTestProfileMessageStoreClassName, run |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, runTest, setName, toString |
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 |
Field Detail |
---|
protected static final org.slf4j.Logger _logger
Constructor Detail |
---|
public AMQConnectionTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class QpidBrokerTestCase
Exception
protected void tearDown() throws Exception
tearDown
in class QpidBrokerTestCase
Exception
public void testCreateQueueSession() throws JMSException
JMSException
public void testCreateTopicSession() throws JMSException
JMSException
public void testTopicSessionCreateBrowser() throws JMSException
JMSException
public void testTopicSessionCreateQueue() throws JMSException
JMSException
public void testTopicSessionCreateTemporaryQueue() throws JMSException
JMSException
public void testQueueSessionCreateTemporaryTopic() throws JMSException
JMSException
public void testQueueSessionCreateTopic() throws JMSException
JMSException
public void testQueueSessionDurableSubscriber() throws JMSException
JMSException
public void testQueueSessionUnsubscribe() throws JMSException
JMSException
public void testPrefetchSystemProperty() throws Exception
Exception
public void testGetChannelID()
public void testHeartBeat() throws Exception
Exception
public static junit.framework.Test suite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |