Home
last modified time | relevance | path

Searched refs:testClass (Results 1 – 25 of 52) sorted by relevance

123

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/debuggee/
DInvokeMethodDebuggee.java64 static testClass checkClass = new testClass();
65 static testClass[] checkClassArray = {new testClass()};
66 static testClass[][] checkClassArray2 = {{new testClass()}, {new testClass()}};
70 testClass tc, testClass[] atc, testClass[][] aatc) { in testMethod3()
102 class testClass { class
/external/mockito/src/org/mockito/
DMockitoAnnotations.java89 public static void initMocks(Object testClass) { in initMocks() argument
90 if (testClass == null) { in initMocks()
95 Class<?> clazz = testClass.getClass(); in initMocks()
102 scanDeprecatedWay(annotationEngine, testClass, clazz); in initMocks()
108 annotationEngine.process(testClass.getClass(), testClass); in initMocks() local
111 …static void scanDeprecatedWay(AnnotationEngine annotationEngine, Object testClass, Class<?> clazz)… in scanDeprecatedWay() argument
115 processAnnotationDeprecatedWay(annotationEngine, testClass, field); in scanDeprecatedWay()
120 …static void processAnnotationDeprecatedWay(AnnotationEngine annotationEngine, Object testClass, Fi… in processAnnotationDeprecatedWay() argument
128 new FieldSetter(testClass, field).set(mock); in processAnnotationDeprecatedWay()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
DRobolectricTestRunner.java112 public RobolectricTestRunner(final Class<?> testClass) throws InitializationError { in RobolectricTestRunner() argument
113 this(testClass, new RobolectricConfig( in RobolectricTestRunner()
127 public RobolectricTestRunner(final Class<?> testClass, RobolectricClassLoader classLoader) in RobolectricTestRunner() argument
129 this(testClass, in RobolectricTestRunner()
146 …protected RobolectricTestRunner(final Class<?> testClass, final RobolectricConfig robolectricConfi… in RobolectricTestRunner() argument
148 this(testClass, in RobolectricTestRunner()
163 …protected RobolectricTestRunner(Class<?> testClass, RobolectricConfig robolectricConfig, DatabaseM… in RobolectricTestRunner() argument
165 this(testClass, in RobolectricTestRunner()
178 …public RobolectricTestRunner(final Class<?> testClass, final File androidProjectRoot) throws Initi… in RobolectricTestRunner() argument
179 this(testClass, new RobolectricConfig(androidProjectRoot)); in RobolectricTestRunner()
[all …]
/external/chromium_org/chrome/common/mac/
Dobjc_method_swizzle_unittest.mm50 Class testClass = [ObjcMethodSwizzleTest class];
51 EXPECT_EQ(class_getInstanceMethod(testClass, @selector(self)),
52 GetImplementedInstanceMethod(testClass, @selector(self)));
54 class_getInstanceMethod(testClass, @selector(self)));
56 EXPECT_TRUE(class_getInstanceMethod(testClass, @selector(dealloc)));
57 EXPECT_FALSE(GetImplementedInstanceMethod(testClass, @selector(dealloc)));
66 Class testClass = [object class];
67 SwizzleImplementedInstanceMethods(testClass, @selector(one), @selector(two));
71 SwizzleImplementedInstanceMethods(testClass, @selector(one), @selector(two));
/external/junit/src/org/junit/internal/builders/
DAnnotatedBuilder.java21 public Runner runnerForClass(Class<?> testClass) throws Exception { in runnerForClass() argument
22 RunWith annotation= testClass.getAnnotation(RunWith.class); in runnerForClass()
24 return buildRunner(annotation.value(), testClass); in runnerForClass()
29 Class<?> testClass) throws Exception { in buildRunner() argument
32 new Object[] { testClass }); in buildRunner()
37 new Object[] { testClass, fSuiteBuilder }); in buildRunner()
DJUnit3Builder.java12 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument
13 if (isPre4Test(testClass)) in runnerForClass()
14 return new JUnit38ClassRunner(testClass); in runnerForClass()
18 boolean isPre4Test(Class<?> testClass) { in isPre4Test() argument
19 return junit.framework.TestCase.class.isAssignableFrom(testClass); in isPre4Test()
DIgnoredBuilder.java12 public Runner runnerForClass(Class<?> testClass) { in runnerForClass() argument
13 if (testClass.getAnnotation(Ignore.class) != null) in runnerForClass()
14 return new IgnoredClassRunner(testClass); in runnerForClass()
DJUnit4Builder.java12 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument
13 return new BlockJUnit4ClassRunner(testClass); in runnerForClass()
DSuiteMethodBuilder.java18 public boolean hasSuiteMethod(Class<?> testClass) { in hasSuiteMethod() argument
20 testClass.getMethod("suite"); in hasSuiteMethod()
DIgnoredClassRunner.java13 public IgnoredClassRunner(Class<?> testClass) { in IgnoredClassRunner() argument
14 fTestClass= testClass; in IgnoredClassRunner()
DAllDefaultPossibilitiesBuilder.java20 public Runner runnerForClass(Class<?> testClass) throws Throwable { in runnerForClass() argument
29 Runner runner= each.safeRunnerForClass(testClass); in runnerForClass()
/external/mockito/src/org/mockito/internal/util/reflection/
DFieldInitializer.java161 private Object testClass; field in FieldInitializer.NoArgConstructorInstantiator
168 NoArgConstructorInstantiator(Object testClass, Field field) { in NoArgConstructorInstantiator() argument
169 this.testClass = testClass; in NoArgConstructorInstantiator()
182 new FieldSetter(testClass, field).set(newFieldInstance); in instantiate()
184 return new FieldInitializationReport(field.get(testClass), true, false); in instantiate()
212 private Object testClass; field in FieldInitializer.ParameterizedConstructorInstantiator
225 …ParameterizedConstructorInstantiator(Object testClass, Field field, ConstructorArgumentResolver ar… in ParameterizedConstructorInstantiator() argument
226 this.testClass = testClass; in ParameterizedConstructorInstantiator()
240 new FieldSetter(testClass, field).set(newFieldInstance); in instantiate()
242 return new FieldInitializationReport(field.get(testClass), false, true); in instantiate()
/external/junit/src/org/junit/internal/requests/
DClassRequest.java13 public ClassRequest(Class<?> testClass, boolean canUseSuiteMethod) { in ClassRequest() argument
14 fTestClass= testClass; in ClassRequest()
18 public ClassRequest(Class<?> testClass) { in ClassRequest() argument
19 this(testClass, true); in ClassRequest()
/external/junit/src/org/junit/runner/
DComputer.java28 public Runner runnerForClass(Class<?> testClass) throws Throwable { in getSuite()
29 return getRunner(builder, testClass); in getSuite()
37 protected Runner getRunner(RunnerBuilder builder, Class<?> testClass) throws Throwable {
38 return builder.runnerForClass(testClass);
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DWithTestDefaultsRunner.java13 public WithTestDefaultsRunner(Class<?> testClass) throws InitializationError { in WithTestDefaultsRunner() argument
14 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithTestDefaultsRunner()
16 …public WithTestDefaultsRunner(Class<?> testClass,DatabaseMap databaseMap) throws InitializationErr… in WithTestDefaultsRunner() argument
17 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithTestDefaultsRunner()
DInstrumentDetectorTest.java65 public RunnerForTesting(final Class<?> testClass) throws InitializationError { in RunnerForTesting() argument
67 testClass, in RunnerForTesting()
83 public RunnerForTestingThatWillPass(final Class<?> testClass) throws InitializationError { in RunnerForTestingThatWillPass() argument
85 testClass, in RunnerForTestingThatWillPass()
DWithoutTestDefaultsRunner.java8 public WithoutTestDefaultsRunner(Class<?> testClass) throws InitializationError { in WithoutTestDefaultsRunner() argument
9 super(testClass); in WithoutTestDefaultsRunner()
DWithCustomClassListTestRunner.java10 …public WithCustomClassListTestRunner(@SuppressWarnings("rawtypes") Class testClass) throws Initial… in WithCustomClassListTestRunner() argument
11 …super(testClass, new RobolectricConfig(resourceFile("TestAndroidManifest.xml"), resourceFile("res"… in WithCustomClassListTestRunner()
/external/mockito/src/org/mockito/internal/matchers/apachecommons/
DEqualsBuilder.java235 Class testClass; in reflectionEquals() local
237 testClass = lhsClass; in reflectionEquals()
240 testClass = rhsClass; in reflectionEquals()
243 testClass = rhsClass; in reflectionEquals()
246 testClass = lhsClass; in reflectionEquals()
254 reflectionAppend(lhs, rhs, testClass, equalsBuilder, testTransients, excludeFields); in reflectionEquals()
255 while (testClass.getSuperclass() != null && testClass != reflectUpToClass) { in reflectionEquals()
256 testClass = testClass.getSuperclass(); in reflectionEquals()
257 reflectionAppend(lhs, rhs, testClass, equalsBuilder, testTransients, excludeFields); in reflectionEquals()
/external/junit/src/org/junit/runners/model/
DRunnerBuilder.java48 public abstract Runner runnerForClass(Class<?> testClass) throws Throwable; in runnerForClass() argument
55 public Runner safeRunnerForClass(Class<?> testClass) { in safeRunnerForClass() argument
57 return runnerForClass(testClass); in safeRunnerForClass()
59 return new ErrorReportingRunner(testClass, e); in safeRunnerForClass()
/external/junit/src/org/junit/experimental/theories/internal/
DAssignments.java29 List<ParameterSignature> unassigned, TestClass testClass) { in Assignments() argument
32 fClass= testClass; in Assignments()
40 TestClass testClass) throws Exception { in allUnassigned() argument
42 signatures= ParameterSignature.signatures(testClass in allUnassigned()
46 signatures, testClass); in allUnassigned()
/external/junit/src/junit/textui/
DTestRunner.java61 static public void run(Class<? extends TestCase> testClass) { in run() argument
62 run(new TestSuite(testClass)); in run()
187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class); in runSingleMethod() local
188 Test test= TestSuite.createTest(testClass, method); in runSingleMethod()
/external/chromium_org/third_party/icu/source/tools/ctestfw/unicode/
Dtestlog.h34 testClass(callingTestClass), testName(callingTestName) {} in IcuTestErrorCode()
42 TestLog &testClass;
/external/icu/icu4c/source/tools/ctestfw/unicode/
Dtestlog.h34 testClass(callingTestClass), testName(callingTestName) {} in IcuTestErrorCode()
42 TestLog &testClass;
/external/icu/icu4c/source/tools/ctestfw/
Dtstdtmod.cpp32 testClass.errln(msg); in logIfFailureAndReset()
51 testClass.dataerrln(msg); in logDataIfFailureAndReset()
66 testClass.dataerrln(msg); in handleFailure()
68 testClass.errln(msg); in handleFailure()

123