Home
last modified time | relevance | path

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

12

/external/chromium/chrome/browser/ui/cocoa/
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/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);
DDescription.java73 public static Description createSuiteDescription(Class<?> testClass) { in createSuiteDescription() argument
74 return new Description(testClass.getName(), testClass.getAnnotations()); in createSuiteDescription()
/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/icu4c/tools/ctestfw/unicode/
Dtestlog.h34 testClass(callingTestClass), testName(callingTestName) {} in IcuTestErrorCode()
42 TestLog &testClass;
/external/icu4c/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()
/external/junit/src/org/junit/runners/
DParameterized.java153 private FrameworkMethod getParametersMethod(TestClass testClass) in getParametersMethod() argument
155 List<FrameworkMethod> methods= testClass in getParametersMethod()
164 + testClass.getName()); in getParametersMethod()
/external/icu4c/test/intltest/
Duobjtest.cpp64 delete testClass(f, #c, #f, c ::getStaticClassID()); \
71 …delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status…
78 delete testClass(new c x, #c, "new " #c #x, c ::getStaticClassID()); \
85 delete testClass(new c, #c, "new " #c , c::getStaticClassID())
87 testClass(NULL, #c, NULL, c::getStaticClassID())
90 delete testClass(objVar, #c, #f, objVar!=NULL? objVar->getDynamicClassID(): NULL); \
104 UObject *UObjectTest::testClass(UObject *obj, in testClass() function in UObjectTest
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/
DTestObject.cpp41 static NPClass testClass = { variable
59 return &testClass; in getTestClass()
179 testObject->testObject = browser->createobject(0, &testClass); in testGetProperty()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DJarOutputStreamTest.java46 final String testClass = "hyts_mainClass.ser"; in test_putNextEntryLjava_util_zip_ZipEntry() local
74 Support_Resources.copyFile(resources, null, testClass); in test_putNextEntryLjava_util_zip_ZipEntry()
75 URL jarURL = new URL((new File(resources, testClass)).toURL() in test_putNextEntryLjava_util_zip_ZipEntry()
/external/clang/test/SemaObjC/
Dsevere-syntax-error.m4 @interface testClass interface
9 @implementation testClass implementation
/external/junit/src/org/junit/experimental/categories/
DCategories.java131 Class<?> testClass= description.getTestClass(); in parentDescription() local
132 if (testClass == null) in parentDescription()
134 return Description.createSuiteDescription(testClass); in parentDescription()
/external/junit/src/org/junit/internal/runners/
DTestMethod.java24 public TestMethod(Method method, TestClass testClass) { in TestMethod() argument
26 fTestClass= testClass; in TestMethod()
DClassRoadie.java25 public ClassRoadie(RunNotifier notifier, TestClass testClass, in ClassRoadie() argument
28 fTestClass= testClass; in ClassRoadie()
/external/junit/src/junit/runner/
DBaseTestRunner.java99 Class<?> testClass= null; in getTest() local
101 testClass= loadSuiteClass(suiteClassName); in getTest()
114 suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]); in getTest()
118 return new TestSuite(testClass); in getTest()

12