|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--org.exolab.jmscts.core.JMSTestCase
|
+--org.exolab.jmscts.core.AbstractConnectionFactoryTestCase
|
+--org.exolab.jmscts.test.connection.AuthTest
This class tests connection authorisation
| Constructor Summary | |
AuthTest(java.lang.String name)
Create a new AuthTest. |
|
| Method Summary | |
static junit.framework.Test |
suite()
Sets up the test suite |
void |
testInvalidQueueAuth()
Verifies that a QueueConnection cannot be created, when using an invalid username and password |
void |
testInvalidTopicAuth()
Verifies that a TopicConnection cannot be created, when using an invalid username and password |
void |
testQueueAuth()
Verifies that a QueueConnection can be created, using a valid username and password |
void |
testTopicAuth()
Verifies that a TopicConnection can be created, using a valid username and password |
| Methods inherited from class org.exolab.jmscts.core.AbstractConnectionFactoryTestCase |
getConnectionFactoryTypes |
| Methods inherited from class org.exolab.jmscts.core.JMSTestCase |
getContext, getRequirements, setContext, share |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.exolab.jmscts.core.JMSTest |
getContext, setContext, share |
| Methods inherited from interface junit.framework.Test |
countTestCases, run |
| Constructor Detail |
public AuthTest(java.lang.String name)
AuthTest.name - the name of test case| Method Detail |
public static junit.framework.Test suite()
JMSTestRunner
public void testQueueAuth()
throws java.lang.Exception
java.lang.Exception - for any error
public void testInvalidQueueAuth()
throws java.lang.Exception
java.lang.Exception - for any error
public void testTopicAuth()
throws java.lang.Exception
java.lang.Exception - for any error
public void testInvalidTopicAuth()
throws java.lang.Exception
java.lang.Exception - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||