[jboss-cvs] JBossAS SVN: r60364 - trunk/testsuite/src/main/org/jboss/test/profileservice/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Feb 7 02:18:55 EST 2007


Author: scott.stark at jboss.org
Date: 2007-02-07 02:18:55 -0500 (Wed, 07 Feb 2007)
New Revision: 60364

Modified:
   trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
Fix the ComponentType in remove test

Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2007-02-07 06:23:17 UTC (rev 60363)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2007-02-07 07:18:55 UTC (rev 60364)
@@ -150,9 +150,7 @@
 	   String componentName = "defaultDS";
 	   ManagementView mgtView = getManagementView();
 	   
-	   ComponentType type = new ComponentType();
-	   type.setType("DataSource");
-	   type.setType("LocalTX");
+	   ComponentType type = new ComponentType("DataSource", "LocalTx");
 	   Set<ManagedComponent> comps = mgtView.getComponentsForType(type);
 	   
 	   // maybe a mgtView.getComponentByNameAndType(type, componentName) would be helpful




More information about the jboss-cvs-commits mailing list