Package mujava

Examples of mujava.TestExecuter_new


  static TestResult runTest(String targetClassName, String testSetName, int timeout_secs, boolean mode){
   
      if((targetClassName!=null)&&(testSetName!=null)){
        try{
            TestExecuter_new test_engine = new TestExecuter_new(targetClassName);
            test_engine.setTimeOut(timeout_secs);

            // First, read (load) test suite class.
            test_engine.readTestSet(testSetName);

            TestResult test_result = new TestResult();
            if(mode==true){
              test_result = test_engine.runClassMutants();
            }else{
              test_result = test_engine.runTraditionalMutants("All method");
            }
            return test_result;
        }
        catch(Exception e){
            System.err.println(e);
View Full Code Here

TOP

Related Classes of mujava.TestExecuter_new

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.