Home
last modified time | relevance | path

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

12

/external/junit/src/org/junit/runners/
DSuite.java14 import org.junit.runners.model.InitializationError;
31 } catch (InitializationError e) { in emptySuite()
50 private static Class<?>[] getAnnotatedClasses(Class<?> klass) throws InitializationError { in getAnnotatedClasses()
53 …throw new InitializationError(String.format("class '%s' must have a SuiteClasses annotation", klas… in getAnnotatedClasses()
66 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { in Suite()
78 public Suite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError { in Suite()
88 protected Suite(Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { in Suite()
100 … 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;
19 public JUnit4(Class<?> klass) throws InitializationError { in JUnit4()
DParentRunner.java33 import org.junit.runners.model.InitializationError;
72 protected ParentRunner(Class<?> testClass) throws InitializationError { in ParentRunner()
342 private void validate() throws InitializationError {
346 throw new InitializationError(errors);
/external/junit/src/org/junit/runners/model/
DInitializationError.java9 public class InitializationError extends Exception { class
17 public InitializationError(List<Throwable> errors) { in InitializationError() method in InitializationError
21 public InitializationError(Throwable error) { in InitializationError() method in InitializationError
29 public InitializationError(String string) { in InitializationError() method in InitializationError
DRunnerBuilder.java63 Class<?> addParent(Class<?> parent) throws InitializationError { in addParent()
65 …throw new InitializationError(String.format("class '%s' (possibly indirectly) contains itself as a… in addParent()
80 throws InitializationError { in runners()
91 throws InitializationError { in runners()
/external/junit/src/org/junit/internal/runners/
DInitializationError.java11 public class InitializationError extends Exception { class
15 public InitializationError(List<Throwable> errors) { in InitializationError() method in InitializationError
19 public InitializationError(Throwable... errors) { in InitializationError() method in InitializationError
23 public InitializationError(String string) { in InitializationError() method in InitializationError
DErrorReportingRunner.java11 import org.junit.runners.model.InitializationError;
41 if (cause instanceof InitializationError) in getCauses()
42 return ((InitializationError) cause).getCauses(); in getCauses()
43 if (cause instanceof org.junit.internal.runners.InitializationError) in getCauses()
44 return ((org.junit.internal.runners.InitializationError) cause) in getCauses()
DMethodValidator.java54 public void assertValid() throws InitializationError { in assertValid()
56 throw new InitializationError(fErrors); in assertValid()
/external/junit/src/org/junit/experimental/categories/
DCategories.java16 import org.junit.runners.model.InitializationError;
148 throws InitializationError { in Categories()
154 throw new InitializationError(e); in Categories()
169 …tegorizedDescendentsOfUncategorizeableParents(Description description) throws InitializationError { in assertNoCategorizedDescendentsOfUncategorizeableParents()
176 …assertNoDescendantsHaveCategoryAnnotations(Description description) throws InitializationError { in assertNoDescendantsHaveCategoryAnnotations()
179 …throw new InitializationError("Category annotations on Parameterized classes are not supported on … in assertNoDescendantsHaveCategoryAnnotations()
/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/icu/android_icu4j/runner/src/main/java/android/icu/junit/
DErrorReportingRunner.java17 import org.junit.runners.model.InitializationError;
90 if (cause instanceof InitializationError) in getCauses()
91 return ((InitializationError) cause).getCauses(); in getCauses()
92 if (cause instanceof org.junit.internal.runners.InitializationError) in getCauses()
93 return ((org.junit.internal.runners.InitializationError) cause) in getCauses()
DIcuTestParentRunner.java20 import org.junit.runners.model.InitializationError;
36 IcuTestParentRunner(Class<?> testClass) throws InitializationError { in IcuTestParentRunner()
/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/chromium-trace/catapult/telemetry/telemetry/internal/util/
Dbinary_manager.py38 raise exceptions.InitializationError(
55 raise exceptions.InitializationError(
65 raise exceptions.InitializationError(
Dbinary_manager_unittest.py62 self.assertRaises(exceptions.InitializationError,
86 self.assertRaises(exceptions.InitializationError,
110 self.assertRaises(exceptions.InitializationError,
/external/junit/src/org/junit/runner/
DComputer.java4 import org.junit.runners.model.InitializationError;
25 Class<?>[] classes) throws InitializationError { in getSuite()
DRequest.java11 import org.junit.runners.model.InitializationError;
71 } catch (InitializationError e) { in classes()
/external/mockito/src/org/mockito/internal/runners/
DJUnit44RunnerImpl.java8 import org.junit.internal.runners.InitializationError;
22 public JUnit44RunnerImpl(Class<?> klass) throws InitializationError { in JUnit44RunnerImpl()
DJUnit45AndHigherRunnerImpl.java13 import org.junit.runners.model.InitializationError;
22 public JUnit45AndHigherRunnerImpl(Class<?> klass) throws InitializationError { in JUnit45AndHigherRunnerImpl()
/external/junit/src/org/junit/internal/builders/
DAnnotatedBuilder.java8 import org.junit.runners.model.InitializationError;
40 throw new InitializationError(String.format( in buildRunner()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DCustomRobolectricTestRunnerTest.java10 import org.junit.runners.model.InitializationError;
54 public CustomRobolectricTestRunner(Class<?> testClass) throws InitializationError { in CustomRobolectricTestRunner()
/external/junit/src/org/junit/experimental/
DParallelComputer.java13 import org.junit.runners.model.InitializationError;
67 throws InitializationError { in getSuite()

12