geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r438725 - in /geronimo/server/trunk/modules/geronimo-security: pom.xml src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java
Date Thu, 31 Aug 2006 00:22:39 GMT
Author: jdillon
Date: Wed Aug 30 17:22:38 2006
New Revision: 438725

URL: http://svn.apache.org/viewvc?rev=438725&view=rev
Log:
(GERONIMO-2211) Root target/login-audit.log to BASEDIR
Drop custom log4j setup

Modified:
    geronimo/server/trunk/modules/geronimo-security/pom.xml
    geronimo/server/trunk/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java

Modified: geronimo/server/trunk/modules/geronimo-security/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/pom.xml?rev=438725&r1=438724&r2=438725&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/pom.xml (original)
+++ geronimo/server/trunk/modules/geronimo-security/pom.xml Wed Aug 30 17:22:38 2006
@@ -104,19 +104,6 @@
                             <value>${pom.basedir}/src/test/data/data/login.config</value>
                         </property>
                     </systemProperties>
-                    
-                    <!-- FIXME: Some tests fail with fork=once -->
-                    <forkMode>pertest</forkMode>
-                    
-                    <excludes>
-                        <exclude>**/Abstract*.java</exclude>
-                        
-                        <!--
-                           | FIXME: This test was disabled because it is failing in non-obvious
ways
-                           |        and requires someone with more insight to resolve
-                         -->
-                        <exclude>**/ConfigurationEntryTest.java</exclude>
-                    </excludes>
                 </configuration>
             </plugin>
         </plugins>

Modified: geronimo/server/trunk/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java?rev=438725&r1=438724&r2=438725&view=diff
==============================================================================
--- geronimo/server/trunk/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java
(original)
+++ geronimo/server/trunk/modules/geronimo-security/src/test/java/org/apache/geronimo/security/jaas/ConfigurationEntryTest.java
Wed Aug 30 17:22:38 2006
@@ -29,11 +29,6 @@
 
 import org.apache.geronimo.testsupport.TestSupport;
 
-import org.apache.log4j.ConsoleAppender;
-import org.apache.log4j.Level;
-import org.apache.log4j.Logger;
-import org.apache.log4j.PatternLayout;
-
 import org.apache.geronimo.gbean.GBeanData;
 import org.apache.geronimo.gbean.GBeanInfo;
 import org.apache.geronimo.gbean.AbstractName;
@@ -135,8 +130,6 @@
     }
 
     protected void setUp() throws Exception {
-        Logger.getRootLogger().addAppender(new ConsoleAppender(new PatternLayout("%p [%t]
%m %n")));
-        Logger.getRootLogger().setLevel(Level.DEBUG);
         kernel = KernelFactory.newInstance().createKernel("test.kernel");
         kernel.boot();
 
@@ -194,7 +187,7 @@
         gbean.setAttribute("loginModuleClass", "org.apache.geronimo.security.realm.providers.FileAuditLoginModule");
         gbean.setAttribute("serverSide", new Boolean(true));
         props = new Properties();
-        props.put("file", "target/login-audit.log");
+        props.put("file", new File(BASEDIR, "target/login-audit.log").getPath());
         gbean.setAttribute("options", props);
         kernel.loadGBean(gbean, LoginModuleGBean.class.getClassLoader());
 



Mime
View raw message