1 13 14 package org.eclipse.jdt.internal.junit.launcher; 15 16 import org.eclipse.jdt.core.IType; 17 18 public class TestSearchResult { 19 20 private final IType[] fTypes; 21 private final ITestKind fTestKind; 22 23 public TestSearchResult(IType[] types, ITestKind testKind) { 24 fTypes = types; 25 fTestKind = testKind; 26 } 27 28 public IType[] getTypes() { 29 return fTypes; 30 } 31 32 public ITestKind getTestKind() { 33 return fTestKind; 34 } 35 36 boolean isEmpty() { 37 return getTypes().length <= 0; 38 } 39 } 40 | Popular Tags |