[jboss-cvs] JBossAS SVN: r60917 - branches/Branch_4_2/testsuite/src/main/org/jboss/test/security/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 26 13:10:13 EST 2007


Author: anil.saldhana at jboss.com
Date: 2007-02-26 13:10:13 -0500 (Mon, 26 Feb 2007)
New Revision: 60917

Modified:
   branches/Branch_4_2/testsuite/src/main/org/jboss/test/security/test/CustomSecurityManagerTestCase.java
Log:
JBAS-4801: create a explicit test method that just calls super.testmethod

Modified: branches/Branch_4_2/testsuite/src/main/org/jboss/test/security/test/CustomSecurityManagerTestCase.java
===================================================================
--- branches/Branch_4_2/testsuite/src/main/org/jboss/test/security/test/CustomSecurityManagerTestCase.java	2007-02-26 16:43:31 UTC (rev 60916)
+++ branches/Branch_4_2/testsuite/src/main/org/jboss/test/security/test/CustomSecurityManagerTestCase.java	2007-02-26 18:10:13 UTC (rev 60917)
@@ -83,12 +83,20 @@
    }
    
    /**
+    * JBAS-4801: JRockit wierdness:: Just calls the super class method
+    */
+   public void testGetCallerPrincipal() throws Exception
+   {
+      super.testGetCallerPrincipal();
+   } 
+   
+   /**
     * Setup the test suite.
     */
    public static Test suite() throws Exception
    {
-      TestSuite suite = new TestSuite();
-      suite.addTest(new TestSuite(CustomSecurityManagerTestCase.class));
+      TestSuite suite = new TestSuite(); 
+      suite.addTestSuite(CustomSecurityManagerTestCase.class);
 
       // Create an initializer for the test suite
       TestSetup wrapper = new JBossTestSetup(suite)




More information about the jboss-cvs-commits mailing list