[jboss-cvs] JBossAS SVN: r68141 - trunk/testsuite/src/main/org/jboss/test/profileservice/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Dec 11 10:38:21 EST 2007
Author: alex.loubyansky at jboss.com
Date: 2007-12-11 10:38:21 -0500 (Tue, 11 Dec 2007)
New Revision: 68141
Modified:
trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
fixed the regex for deployment
Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2007-12-11 15:37:10 UTC (rev 68140)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2007-12-11 15:38:21 UTC (rev 68141)
@@ -499,7 +499,7 @@
throws Exception
{
ManagementView mgtView = getManagementView();
- Set<String> names = mgtView.getMatchingDeploymentName(deployment);
+ Set<String> names = mgtView.getMatchingDeploymentName(".*" + deployment);
assertEquals("1 matching name", 1, names.size());
String deploymentName = names.iterator().next();
mgtView.removeDeployment(deploymentName, DeploymentPhase.APPLICATION);
More information about the jboss-cvs-commits
mailing list