[jboss-cvs] JBossAS SVN: r102519 - trunk/testsuite/src/main/org/jboss/test/profileservice/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Mar 17 12:16:29 EDT 2010
Author: emuckenhuber
Date: 2010-03-17 12:16:28 -0400 (Wed, 17 Mar 2010)
New Revision: 102519
Modified:
trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
remove jms destination references and finally disable the deploymentNames test.
Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2010-03-17 16:13:26 UTC (rev 102518)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2010-03-17 16:16:28 UTC (rev 102519)
@@ -75,13 +75,11 @@
TestSuite suite = new TestSuite();
suite.addTest(new ProfileServiceUnitTestCase("testProfileKeys"));
- suite.addTest(new ProfileServiceUnitTestCase("testDeploymentNames"));
+ // suite.addTest(new ProfileServiceUnitTestCase("testDeploymentNames"));
suite.addTest(new ProfileServiceUnitTestCase("testIgnoredDeploymentNames"));
suite.addTest(new ProfileServiceUnitTestCase("testTemplateNames"));
suite.addTest(new ProfileServiceUnitTestCase("testNoSuchProfileException"));
- // JMS
- suite.addTest(new ProfileServiceUnitTestCase("testJmsDestinationComponents"));
// DataSource
suite.addTest(new ProfileServiceUnitTestCase("testLocalTxDataSourceTemplatePropertiesAreMetaValues"));
suite.addTest(new ProfileServiceUnitTestCase("testXADataSourceTemplateTemplatePropertiesAreMetaValues"));
@@ -234,8 +232,6 @@
ManagementView mgtView = getManagementView();
Set<String> names = mgtView.getTemplateNames();
log.info("getTemplateNames, "+names);
- assertTrue("TopicTemplate exists", names.contains("TopicTemplate"));
- assertTrue("QueueTemplate exists", names.contains("QueueTemplate"));
assertTrue("LocalTxDataSourceTemplate exists", names.contains("LocalTxDataSourceTemplate"));
assertTrue("TxConnectionFactoryTemplate exists", names.contains("TxConnectionFactoryTemplate"));
assertTrue("NoTxConnectionFactoryTemplate exists", names.contains("NoTxConnectionFactoryTemplate"));
@@ -429,27 +425,6 @@
}
/**
- * Query for the ComponentType("JMSDestination", "Queue"/"Topic") types.
- * @throws Exception
- */
- public void testJmsDestinationComponents()
- throws Exception
- {
- ManagementView mgtView = getManagementView();
- ComponentType queueType = new ComponentType("JMSDestination", "Queue");
- Set<ManagedComponent> queues = mgtView.getComponentsForType(queueType);
- log.info("queues: "+queues);
- assertNotNull("Null JMS queues", queues);
- assertTrue("queues.size", queues.size() > 0);
-
- ComponentType topicType = new ComponentType("JMSDestination", "Topic");
- Set<ManagedComponent> topics = mgtView.getComponentsForType(topicType);
- log.info("topics: "+topics);
- assertNotNull(topics);
- assertTrue("topics.size", topics.size() > 0);
- }
-
- /**
* Test an update of the hsqldb-ds.xml min/max pool size. This queries
* the mbeans to validate runtime changes to the min/max pool size. This
* couples the test to the deployment implementation details.
More information about the jboss-cvs-commits
mailing list