1 13 14 package org.eclipse.jdt.internal.junit.launcher; 15 16 import java.util.Set ; 17 18 import org.eclipse.core.runtime.CoreException; 19 import org.eclipse.core.runtime.IProgressMonitor; 20 21 import org.eclipse.jdt.core.IJavaElement; 22 import org.eclipse.jdt.core.IType; 23 24 28 public interface ITestFinder { 29 ITestFinder NULL= new ITestFinder() { 30 public void findTestsInContainer(IJavaElement element, Set result, IProgressMonitor pm) { 31 } 33 34 public boolean isTest(IType type) { 35 return false; 36 } 37 }; 38 39 44 public abstract void findTestsInContainer(IJavaElement element, Set result, IProgressMonitor pm) throws CoreException; 45 46 public abstract boolean isTest(IType type) throws CoreException; 47 } 48 | Popular Tags |