Package org.jboss.test

Examples of org.jboss.test.JBossTestSuite


      Properties props = new Properties();
      props.setProperty("ejbRunnerJndiName", "EJBTestRunnerHome");
      props.setProperty("encBeanJndiName", "ENCBean");
      props.setProperty("encIterations", "1000");

      JBossTestSuite testSuite = new JBossTestSuite(props);
     
      JBossTestSetup test = new JBossTestSetup(new TestSuite(NamingTests.class))
      {
         protected void setUp() throws Exception
         {
            super.setUp();
            JMSDestinationsUtil.setupBasicDestinations();
            deploy ("naming.jar");
         }
         protected void tearDown() throws Exception
         {
            super.tearDown();
            undeploy ("naming.jar");
            JMSDestinationsUtil.destroyDestinations();
         }
      };
     
      testSuite.addTest(test);
     
      return testSuite;
     
     
   }
View Full Code Here


      Properties props = new Properties();
      props.setProperty("ejbRunnerJndiName", "EJBTestRunnerHome");
      props.setProperty("encBeanJndiName", "ENCBean");
      props.setProperty("encIterations", "1000");
      JBossTestSuite testSuite = new JBossTestSuite(props);
      testSuite.addTestSuite(NamingTests.class);
      return getDeploySetup(testSuite, url+",naming.jar");
   }
View Full Code Here

TOP

Related Classes of org.jboss.test.JBossTestSuite

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.