Package org.jboss.test.aop.junit

Examples of org.jboss.test.aop.junit.AOPMicrocontainerTestDelegate


    */
   public static AbstractTestDelegate getDelegate(Class<?> clazz) throws Exception
   {
      String property = System.getProperty("jboss.mc.secure", "false");
      boolean enableSecurity = Boolean.valueOf(property);
      AOPMicrocontainerTestDelegate delegate = new ScopingAOPMicrocontainerTestDelegate(clazz);
      delegate.enableSecurity = enableSecurity;
      return delegate;
   }
View Full Code Here


   public static AbstractTestDelegate getDelegate(Class<?> clazz) throws Exception
   {
      //Run this test without security since we need to set system properties
      System.setProperty("integer", "100");
      AOPMicrocontainerTestDelegate delegate = new AOPMicrocontainerTestDelegate(clazz);
      return delegate;
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.aop.junit.AOPMicrocontainerTestDelegate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.