[jboss-cvs] JBossAS SVN: r78214 - trunk/testsuite/src/main/org/jboss/test/profileservice/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Mon Sep 8 18:35:15 EDT 2008
Author: scott.stark at jboss.org
Date: 2008-09-08 18:35:15 -0400 (Mon, 08 Sep 2008)
New Revision: 78214
Modified:
trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
JBAS-5625, uncomment out the security-domain checks and fix the values passed from the default ds update test
Modified: trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2008-09-08 22:08:37 UTC (rev 78213)
+++ trunk/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java 2008-09-08 22:35:15 UTC (rev 78214)
@@ -379,7 +379,7 @@
assertNotNull(sdGV);
ManagedObject secDomain = (ManagedObject) sdGV.getValue();
// TODO, this should be non-null:
- // assertNotNull("security-domain.MO", secDomain);
+ assertNotNull("security-domain.MO", secDomain);
log.info("security-domain.MO: "+secDomain);
}
@@ -422,13 +422,12 @@
log.info("hsqldb.props: "+props);
// Update properties
ManagedProperty minSize = props.get("min-pool-size");
- minSize.setValue(new Integer(13));
+ minSize.setValue(SimpleValueSupport.wrap(new Integer(13)));
ManagedProperty maxSize = props.get("max-pool-size");
- maxSize.setValue(new Integer(53));
+ maxSize.setValue(SimpleValueSupport.wrap(new Integer(53)));
mgtView.updateComponent(hsqldb);
-// mgtView.process();
-
+
// TODO: Query the mbeans to validate the change
// TODO: Query the profile service repository for the overriden data
}
More information about the jboss-cvs-commits
mailing list