// Prepare the exclusion list based on existing test cases
final Set<String> testSuitesSet = new HashSet<String>(testSuites);
// Create a filter from the exclusion list
ITestCaseFilter filter = new ITestCaseFilter() {
public boolean select(String testCaseName) {
return !testSuitesSet.contains(testCaseName);
}
};
IFormPage page = (IFormPage) getManagedForm().getContainer();