1 22 package org.jboss.aop.microcontainer.junit; 23 24 import org.jboss.test.AbstractTestDelegate; 25 import org.jboss.test.kernel.junit.MicrocontainerTest; 26 27 33 public class AOPMicrocontainerTest extends MicrocontainerTest 34 { 35 42 public static AbstractTestDelegate getDelegate(Class clazz) throws Exception 43 { 44 String property = System.getProperty("jboss.mc.secure", "false"); 45 boolean enableSecurity = Boolean.valueOf(property).booleanValue(); 46 AOPMicrocontainerTestDelegate delegate = new AOPMicrocontainerTestDelegate(clazz); 47 delegate.enableSecurity = enableSecurity; 48 return delegate; 49 } 50 51 56 public AOPMicrocontainerTest(String name) 57 { 58 super(name); 59 } 60 } 61 | Popular Tags |