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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Sun Feb 10 02:43:20 EST 2008


Author: scott.stark at jboss.org
Date: 2008-02-10 02:43:20 -0500 (Sun, 10 Feb 2008)
New Revision: 69760

Modified:
   trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
Add the template info tests to the suite

Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2008-02-10 07:30:07 UTC (rev 69759)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2008-02-10 07:43:20 UTC (rev 69760)
@@ -79,6 +79,8 @@
       // JMS
       suite.addTest(new ProfileServiceUnitTestCase("testJmsDestinationComponents"));
       // DataSource
+      suite.addTest(new ProfileServiceUnitTestCase("testLocalTxDataSourceTemplatePropertiesAreMetaValues"));
+      suite.addTest(new ProfileServiceUnitTestCase("testXADataSourceTemplateTemplatePropertiesAreMetaValues"));
       suite.addTest(new ProfileServiceUnitTestCase("testDataSourceDeploymentType"));
       suite.addTest(new ProfileServiceUnitTestCase("testListDataSourceComponents"));
       suite.addTest(new ProfileServiceUnitTestCase("testUpdateDefaultDS"));
@@ -716,9 +718,11 @@
                assertEquals(prop.getName(), expectedValue, propValue);
             }
          }
-         else
-            assertEquals(prop.getName(), expectedValue, propValue);
-         
+         else if(propValue != null)
+         {
+            fail(prop.getName()+" is not a MetaValue: "+propValue);
+         }
+
          mcPropNames.remove(propName);
       }
 




More information about the jboss-cvs-commits mailing list