01: package com.ecyrd.jspwiki.auth;
02:
03: import com.ecyrd.jspwiki.TextUtil;
04:
05: import junit.framework.*;
06:
07: public class AllTests extends TestCase {
08: public AllTests(String s) {
09: super (s);
10: }
11:
12: public static Test suite() {
13: TestSuite suite = new TestSuite("AAA package tests");
14:
15: String runTests = System.getProperty("jspwiki.tests.auth",
16: "false");
17:
18: if (TextUtil.isPositive(runTests)) {
19: suite.addTest(AuthenticationManagerTest.suite());
20: suite.addTest(AuthorizationManagerTest.suite());
21: suite.addTest(GroupManagerTest.suite());
22: suite.addTest(com.ecyrd.jspwiki.auth.acl.AllTests.suite());
23: suite.addTest(com.ecyrd.jspwiki.auth.authorize.AllTests
24: .suite());
25: suite
26: .addTest(com.ecyrd.jspwiki.auth.login.AllTests
27: .suite());
28: suite.addTest(com.ecyrd.jspwiki.auth.permissions.AllTests
29: .suite());
30: suite.addTest(com.ecyrd.jspwiki.auth.user.AllTests.suite());
31: suite
32: .addTestSuite(com.ecyrd.jspwiki.auth.UserManagerTest.class);
33: }
34:
35: return suite;
36: }
37: }
|