[jboss-cvs] JBossAS SVN: r74762 - trunk/testsuite/src/main/org/jboss/test/security/test.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Jun 18 00:04:38 EDT 2008
Author: anil.saldhana at jboss.com
Date: 2008-06-18 00:04:38 -0400 (Wed, 18 Jun 2008)
New Revision: 74762
Modified:
trunk/testsuite/src/main/org/jboss/test/security/test/ClientLoginModuleUnitTestCase.java
Log:
remove fail msgs
Modified: trunk/testsuite/src/main/org/jboss/test/security/test/ClientLoginModuleUnitTestCase.java
===================================================================
--- trunk/testsuite/src/main/org/jboss/test/security/test/ClientLoginModuleUnitTestCase.java 2008-06-18 03:50:50 UTC (rev 74761)
+++ trunk/testsuite/src/main/org/jboss/test/security/test/ClientLoginModuleUnitTestCase.java 2008-06-18 04:04:38 UTC (rev 74762)
@@ -157,6 +157,8 @@
protected void setUp() throws Exception
{
Configuration.setConfiguration(jaasConfig);
+ //Clear SecurityAssociation
+ SecurityAssociation.clear();
}
protected void tearDown()
{
@@ -183,7 +185,7 @@
public void testSingleThreadedRestoreIdentity() throws Exception
{
System.out.println("+++ testSingleThreadedRestoreIdentity");
-
+
Principal jduke1 = new SimplePrincipal("jduke1");
SecurityAssociation.setPrincipal(jduke1);
SecurityAssociation.setCredential("theduke1");
@@ -216,8 +218,6 @@
{
System.out.println("+++ testSingleThreadedRestoreStack");
- fail("FIXME CR1");
-
Principal jduke1 = new SimplePrincipal("jduke1");
Subject subject1 = new Subject();
SecurityAssociation.pushSubjectContext(subject1, jduke1, "theduke1");
@@ -366,7 +366,6 @@
public void testMultiThreadedRestoreStack() throws Exception
{
- fail("FIXME CR1");
TestMultiThreadedRestoreStack r0 = new TestMultiThreadedRestoreStack();
Thread t0 = new Thread(r0, "testMultiThreadedRestoreIdentity#0");
t0.start();
More information about the jboss-cvs-commits
mailing list