[jboss-cvs] JBossAS SVN: r88365 - branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu May 7 10:43:35 EDT 2009


Author: emuckenhuber
Date: 2009-05-07 10:43:34 -0400 (Thu, 07 May 2009)
New Revision: 88365

Modified:
   branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
Log:
fix deployment names.

Modified: branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java
===================================================================
--- branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2009-05-07 14:25:04 UTC (rev 88364)
+++ branches/Branch_5_x/testsuite/src/main/org/jboss/test/profileservice/test/ProfileServiceUnitTestCase.java	2009-05-07 14:43:34 UTC (rev 88365)
@@ -76,16 +76,6 @@
    /** The profileservice server name. */
    public static final String PROFILESERVICE_SERVER_NAME = "profileservice";
    
-   private static final List<String> platformBeans = new ArrayList<String>(); 
-   
-   static
-   {
-      platformBeans.add("JDK PlatformMBeans");
-      platformBeans.add("GarbageCollectorMXBeans");
-      platformBeans.add("MemoryManagerMXBeans");
-      platformBeans.add("MemoryPoolMXBeans");
-   }
-   
    /**
     * We need to define the order in which tests runs
     * @return
@@ -98,7 +88,6 @@
       suite.addTest(new ProfileServiceUnitTestCase("testProfileKeys"));
       suite.addTest(new ProfileServiceUnitTestCase("testDeploymentNames"));
       suite.addTest(new ProfileServiceUnitTestCase("testIgnoredDeploymentNames"));
-      suite.addTest(new ProfileServiceUnitTestCase("testUnifiedDeploymentNames"));
       
       suite.addTest(new ProfileServiceUnitTestCase("testTemplateNames"));
       suite.addTest(new ProfileServiceUnitTestCase("testNoSuchProfileException"));
@@ -186,7 +175,6 @@
       // Validate some well known deployments
       String[] expectedNames = {
          "conf/bootstrap/aop.xml",
-         "conf/bootstrap/bindings.xml",
          "conf/bootstrap/classloader.xml",
          "conf/bootstrap/deployers.xml",
          "conf/bootstrap/jmx.xml",
@@ -252,27 +240,6 @@
             fail("deployment should be ignored: " + name);
       }
    }
-   
-   /**
-    * The deployment names should be a fully qualified URL/URI
-    * 
-    * @throws Exception
-    */
-   public void testUnifiedDeploymentNames() throws Exception
-   {
-      ManagementView mgtView = getManagementView();
-      Set<String> names = mgtView.getDeploymentNames();
-      for(String name : names)
-      {
-         if(platformBeans.contains(name))
-            continue;
-         
-         URL url = new URL(name);
-         URI uri = new URI(name);
-         VFS.getRoot(uri);
-         VFS.getRoot(url);
-      }
-   }
 
    /** 
     * Test the expected template names




More information about the jboss-cvs-commits mailing list