Home
last modified time | relevance | path

Searched refs:InitializationError (Results 1 – 25 of 43) sorted by relevance

12

/external/junit/src/main/java/org/junit/runners/
DSuite.java15 import org.junit.runners.model.InitializationError;
34 } catch (InitializationError e) { in emptySuite()
53 private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError { in getAnnotatedClasses()
56 …throw new InitializationError(String.format("class '%s' must have a SuiteClasses annotation", klas… in getAnnotatedClasses()
69 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Suite()
80 public Suite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError { in Suite()
90 protected Suite(Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { in Suite()
101 … Suite(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { in Suite()
111 protected Suite(Class<?> klass, List<Runner> runners) throws InitializationError { in Suite()
DJUnit4.java3 import org.junit.runners.model.InitializationError;
21 public JUnit4(Class<?> klass) throws InitializationError { in JUnit4()
/external/junit/src/main/java/org/junit/runners/model/
DInitializationError.java11 public class InitializationError extends Exception { class
25 public InitializationError(List<Throwable> errors) { in InitializationError() method in InitializationError
29 public InitializationError(Throwable error) { in InitializationError() method in InitializationError
37 public InitializationError(String string) { in InitializationError() method in InitializationError
DRunnerBuilder.java65 Class<?> addParent(Class<?> parent) throws InitializationError { in addParent()
67 …throw new InitializationError(String.format("class '%s' (possibly indirectly) contains itself as a… in addParent()
83 throws InitializationError { in runners()
94 throws InitializationError { in runners()
/external/junit/src/main/java/org/junit/internal/runners/
DInitializationError.java12 public class InitializationError extends Exception { class
22 public InitializationError(List<Throwable> errors) { in InitializationError() method in InitializationError
26 public InitializationError(Throwable... errors) { in InitializationError() method in InitializationError
30 public InitializationError(String string) { in InitializationError() method in InitializationError
DErrorReportingRunner.java11 import org.junit.runners.model.InitializationError;
47 if (cause instanceof InitializationError) { in getCauses()
48 return ((InitializationError) cause).getCauses(); in getCauses()
50 if (cause instanceof org.junit.internal.runners.InitializationError) { in getCauses()
51 return ((org.junit.internal.runners.InitializationError) cause) in getCauses()
/external/vogar/src/vogar/target/junit/
DErrorRunner.java26 import org.junit.runners.model.InitializationError;
47 if (throwable instanceof InitializationError) { in ErrorRunner()
48 InitializationError error = (InitializationError) throwable; in ErrorRunner()
DVogarBlockJUnit4ClassRunner.java29 import org.junit.runners.model.InitializationError;
52 throws InitializationError { in VogarBlockJUnit4ClassRunner()
57 throws InitializationError { in VogarBlockJUnit4ClassRunner()
DExtendedSuiteRunner.java22 import org.junit.runners.model.InitializationError;
32 throws InitializationError { in ExtendedSuiteRunner()
DApplyGlobalRulesBlockJUnit4ClassRunner.java25 import org.junit.runners.model.InitializationError;
36 throws InitializationError { in ApplyGlobalRulesBlockJUnit4ClassRunner()
DValidateTestMethodWhenRunBlockJUnit4ClassRunner.java23 import org.junit.runners.model.InitializationError;
38 throws InitializationError { in ValidateTestMethodWhenRunBlockJUnit4ClassRunner()
DParentStatementRunner.java24 import org.junit.runners.model.InitializationError;
45 throws InitializationError { in ParentStatementRunner()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectricTestRunner.java22 import org.junit.runners.model.InitializationError;
112 public RobolectricTestRunner(final Class<?> testClass) throws InitializationError { in RobolectricTestRunner()
128 throws InitializationError { in RobolectricTestRunner()
147 throws InitializationError { in RobolectricTestRunner()
164 throws InitializationError { in RobolectricTestRunner()
178 …ricTestRunner(final Class<?> testClass, final File androidProjectRoot) throws InitializationError { in RobolectricTestRunner()
191 …cTestRunner(final Class<?> testClass, final String androidProjectRoot) throws InitializationError { in RobolectricTestRunner()
207 throws InitializationError { in RobolectricTestRunner()
225 throws InitializationError { in RobolectricTestRunner()
229 …bolectricClassLoader classLoader, RobolectricConfig robolectricConfig) throws InitializationError { in RobolectricTestRunner()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DWithTestDefaultsRunner.java5 import org.junit.runners.model.InitializationError;
13 public WithTestDefaultsRunner(Class<?> testClass) throws InitializationError { in WithTestDefaultsRunner()
16 …lic WithTestDefaultsRunner(Class<?> testClass,DatabaseMap databaseMap) throws InitializationError { in WithTestDefaultsRunner()
DWithoutTestDefaultsRunner.java3 import org.junit.runners.model.InitializationError;
8 public WithoutTestDefaultsRunner(Class<?> testClass) throws InitializationError { in WithoutTestDefaultsRunner()
DWithCustomClassListTestRunner.java4 import org.junit.runners.model.InitializationError;
10 …stomClassListTestRunner(@SuppressWarnings("rawtypes") Class testClass) throws InitializationError { in WithCustomClassListTestRunner()
DInstrumentDetectorTest.java11 import org.junit.runners.model.InitializationError;
65 public RunnerForTesting(final Class<?> testClass) throws InitializationError { in RunnerForTesting()
83 public RunnerForTestingThatWillPass(final Class<?> testClass) throws InitializationError { in RunnerForTestingThatWillPass()
/external/vogar/src/vogar/target/junit/junit3/
DAlternateSuiteMethodBuilder.java27 import org.junit.runners.model.InitializationError;
82 if (cause instanceof InitializationError) { in runnerForClass()
83 throw (InitializationError) cause; in runnerForClass()
DTestSuiteRunnerFactory.java27 import org.junit.runners.model.InitializationError;
68 } catch (InitializationError e) { in createSuite()
/external/junit/src/main/java/org/junit/experimental/categories/
DCategories.java13 import org.junit.runners.model.InitializationError;
306 public Categories(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Categories()
316 throw new InitializationError(e); in Categories()
341 …tegorizedDescendentsOfUncategorizeableParents(Description description) throws InitializationError { in assertNoCategorizedDescendentsOfUncategorizeableParents()
350 …id assertNoDescendantsHaveCategoryAnnotations(Description description) throws InitializationError { in assertNoDescendantsHaveCategoryAnnotations()
353 …throw new InitializationError("Category annotations on Parameterized classes are not supported on … in assertNoDescendantsHaveCategoryAnnotations()
/external/junit/src/main/java/org/junit/runners/parameterized/
DParametersRunnerFactory.java4 import org.junit.runners.model.InitializationError;
20 throws InitializationError; in createRunnerForTestWithParameters()
DBlockJUnit4ClassRunnerWithParametersFactory.java4 import org.junit.runners.model.InitializationError;
15 throws InitializationError { in createRunnerForTestWithParameters()
/external/junit/src/main/java/org/junit/runner/
DComputer.java4 import org.junit.runners.model.InitializationError;
27 Class<?>[] classes) throws InitializationError { in getSuite()
/external/mockito/src/test/java/org/mockito/junit/
DTestableJUnitRunner.java3 import org.junit.runners.model.InitializationError;
21 … public TestableJUnitRunner(Class<?> klass) throws InvocationTargetException, InitializationError { in TestableJUnitRunner()
/external/junit/src/main/java/org/junit/internal/builders/
DAnnotatedBuilder.java5 import org.junit.runners.model.InitializationError;
111 throw new InitializationError(String.format( in buildRunner()

12