public Test findTest(List<String> suiteNames,String testClassName,String testName,boolean insertIfMissing){
  if (suiteNames.size() <= 0) {
    TestCase testCase=getTestCase(testClassName);
    return testCase.findTest(testName,insertIfMissing);
  }
 else {
    String rootName=suiteNames.remove(0);
    TestSuite suite=getTestSuite(rootName);
    return suite.findTest(suiteNames,testClassName,testName,insertIfMissing);
  }
}

public Test findTest ( List < String > suiteNames , String testClassName , String testName , boolean insertIfMissing ) { if ( suiteNames . size ( ) <= 0 ) { TestCase testCase = getTestCase ( testClassName ) ; return testCase . findTest ( testName , insertIfMissing ) ; } else { String rootName = suiteNames . remove ( 0 ) ; TestSuite suite = getTestSuite ( rootName ) ; return suite . findTest ( suiteNames , testClassName , testName , insertIfMissing ) ; } }
insert the given test result into this suite .
