jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r664502 - /incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java
Date Sun, 08 Jun 2008 13:08:32 GMT
Author: jalkanen
Date: Sun Jun  8 06:08:32 2008
New Revision: 664502

URL: http://svn.apache.org/viewvc?rev=664502&view=rev
Log:
No longer necessary to use the "jspwiki.tests.auth" property, since there is no jar signing
anymore.

Modified:
    incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java

Modified: incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java?rev=664502&r1=664501&r2=664502&view=diff
==============================================================================
--- incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java (original)
+++ incubator/jspwiki/trunk/tests/com/ecyrd/jspwiki/auth/AllTests.java Sun Jun  8 06:08:32
2008
@@ -1,9 +1,9 @@
 
 package com.ecyrd.jspwiki.auth;
 
-import com.ecyrd.jspwiki.TextUtil;
-
-import junit.framework.*;
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
 
 public class AllTests extends TestCase
 {
@@ -16,20 +16,15 @@
     {
         TestSuite suite = new TestSuite("AAA package tests");
 
-        String runTests = System.getProperty( "jspwiki.tests.auth", "false" );
-        
-        if( TextUtil.isPositive(runTests) )
-        {
-            suite.addTest( AuthenticationManagerTest.suite() );
-            suite.addTest( AuthorizationManagerTest.suite() );
-            suite.addTest( GroupManagerTest.suite() );
-            suite.addTest( com.ecyrd.jspwiki.auth.acl.AllTests.suite() );
-            suite.addTest( com.ecyrd.jspwiki.auth.authorize.AllTests.suite() );
-            suite.addTest( com.ecyrd.jspwiki.auth.login.AllTests.suite() );
-            suite.addTest( com.ecyrd.jspwiki.auth.permissions.AllTests.suite() );
-            suite.addTest( com.ecyrd.jspwiki.auth.user.AllTests.suite() );
-            suite.addTestSuite( com.ecyrd.jspwiki.auth.UserManagerTest.class );
-        }
+        suite.addTest( AuthenticationManagerTest.suite() );
+        suite.addTest( AuthorizationManagerTest.suite() );
+        suite.addTest( GroupManagerTest.suite() );
+        suite.addTest( com.ecyrd.jspwiki.auth.acl.AllTests.suite() );
+        suite.addTest( com.ecyrd.jspwiki.auth.authorize.AllTests.suite() );
+        suite.addTest( com.ecyrd.jspwiki.auth.login.AllTests.suite() );
+        suite.addTest( com.ecyrd.jspwiki.auth.permissions.AllTests.suite() );
+        suite.addTest( com.ecyrd.jspwiki.auth.user.AllTests.suite() );
+        suite.addTestSuite( com.ecyrd.jspwiki.auth.UserManagerTest.class );
         
         return suite;
     }



Mime
View raw message