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);