}
} else {
IPackageFragmentRoot pfr = pp.packageFragmentRoot;
IPackageFragment pf = pp.packageFragment;
try {
IRunnableContext context = new FindTestsRunnableContext();
if (pf != null) {
result.addAll(Arrays.asList(
TestSearchEngine.findTests(context, new Object[] { pf }, filter)));
} else if (pfr != null) {
result.addAll(Arrays.asList(