[jboss-cvs] JBossAS SVN: r90532 - branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/profileservice/testsecure.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jun 23 11:50:43 EDT 2009
Author: scott.stark at jboss.org
Date: 2009-06-23 11:50:43 -0400 (Tue, 23 Jun 2009)
New Revision: 90532
Modified:
branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/profileservice/testsecure/ProfileServiceUnitTestCase.java
Log:
JBAS-7044, build a serializable set for the getComponentTypes
Modified: branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/profileservice/testsecure/ProfileServiceUnitTestCase.java
===================================================================
--- branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/profileservice/testsecure/ProfileServiceUnitTestCase.java 2009-06-23 15:46:16 UTC (rev 90531)
+++ branches/JBPAPP_5_0/testsuite/src/main/org/jboss/test/profileservice/testsecure/ProfileServiceUnitTestCase.java 2009-06-23 15:50:43 UTC (rev 90532)
@@ -126,6 +126,22 @@
logout();
}
+ /**
+ * Basic test of accessing the ProfileService and checking the
+ * available component types.
+ */
+ public void testComponentTypes()
+ throws Exception
+ {
+ login(PROFILE_SERVICE_PRINCIPAL, PROFILE_SERVICE_CREDENTIALS.toCharArray());
+ ProfileService ps = getProfileService();
+ ManagementView mgtView = ps.getViewManager();
+ mgtView.load();
+ Set<ComponentType> types = mgtView.getComponentTypes();
+ log.info("getComponentTypes: "+types);
+ assertTrue("types.size() > 0", types.size() > 0);
+ logout();
+ }
/**
* Try to
More information about the jboss-cvs-commits
mailing list