1 22 package org.jboss.test.perf.test; 23 24 import javax.security.auth.login.Configuration ; 25 26 import org.jboss.security.auth.login.XMLLoginConfigImpl; 27 import org.jboss.test.JBossTestSetup; 28 29 import junit.extensions.TestSetup; 30 import junit.framework.Test; 31 import junit.framework.TestSuite; 32 33 41 public class SecurePerfStressTestCase extends PerfStressTestCase { 43 { CLIENT_SESSION = "secure/perf/ClientSession"; 45 CLIENT_ENTITY = "local/perfClientEntity"; 46 PROBE = "secure/perf/Probe"; 47 PROBE_CMT = "secure/perf/ProbeCMT"; 48 TX_SESSION = "secure/perf/TxSession"; 49 ENTITY = "secure/perf/Entity"; 50 ENTITY2 = "secure/perf/Entity2"; 51 } 52 53 public SecurePerfStressTestCase(String name) 54 { 55 super(name); 56 } 57 58 public static Test suite() throws Exception 59 { 60 61 TestSuite suite = new TestSuite(); 62 suite.addTest(new TestSuite(SecurePerfStressTestCase.class)); 63 64 Setup wrapper = new Setup(suite, "secure-perf.jar", true); 66 return wrapper; 67 } 68 } 69 | Popular Tags |