}
throw new InterruptedException(); // cancelled by user
}
private IType[] findTypesToLaunch(final ICompilationUnit cu) throws InterruptedException, InvocationTargetException {
final ITestKind testKind= TestKindRegistry.getContainerTestKind(cu);
final Set result = new HashSet();
IRunnableWithProgress runnable= new IRunnableWithProgress() {
public void run(IProgressMonitor pm) throws InterruptedException, InvocationTargetException {
try {
testKind.getFinder().findTestsInContainer(cu, result, pm);
} catch (CoreException e) {
throw new InvocationTargetException(e);
}
}
};