Examples of AllTestSuite


Examples of org.pluginbuilder.autotestsuite.junit3.AllTestSuite

      System.err.println( "Could not open browser to view test results at " + path );
    }
  }

  private void runAllJUnit3Tests() {
    AllTestSuite allTestSuite = new AllTestSuite();
    Collection<Bundle> testBundles = allTestSuite.findTestBundles();
    for (Bundle bundle : testBundles) {
      // the XMLJUnitResultFormatter will later split up the name in class and
      // package part
      JUnitTest unitTest = new JUnitTest( bundle.getSymbolicName() + AUTO_TEST_SUITE_SUFFIX );
      Properties props = new Properties();
      props.putAll( System.getProperties() );
      unitTest.setProperties( props );
      AutoTestSuite autoTestSuite = allTestSuite.getAutoTestSuite( bundle );
      AutoTestRunner autoTestRunner = new AutoTestRunner( unitTest, bundle.getSymbolicName(), autoTestSuite,
          resultsDirectory );
      mergeTestResult( autoTestRunner.run() );
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.