/libcore/dom/src/test/java/org/w3c/domts/level3/xpath/ |
TestXalan.java | 31 Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level3.xpath.alltests"); 32 Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
|
TestXalanAltConfig.java | 31 Class testClass = ClassLoader.getSystemClassLoader().loadClass("org.w3c.domts.level3.xpath.alltests"); 32 Constructor testConstructor = testClass.getConstructor(new Class[] { DOMTestDocumentBuilderFactory.class });
|
/external/chromium_org/third_party/libxml/src/ |
regressions.py | 281 class testClass: 323 curClass = testClass()
|
/development/tools/hosttestlib/src/com/android/hosttest/ |
DeviceTestRunner.java | 139 Class testClass = loadSuiteClass(testCase); 140 Test test = DeviceTestSuite.createTest(testClass, method);
|
/external/mockito/src/org/mockito/internal/matchers/apachecommons/ |
EqualsBuilder.java | 235 Class testClass; 237 testClass = lhsClass; 240 testClass = rhsClass; 243 testClass = rhsClass; 246 testClass = lhsClass; 254 reflectionAppend(lhs, rhs, testClass, equalsBuilder, testTransients, excludeFields); 255 while (testClass.getSuperclass() != null && testClass != reflectUpToClass) { 256 testClass = testClass.getSuperclass() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 56 Class<?> testClass = getClass(filePath, expectedPackage); 57 if (isTestClass(testClass)) { 65 suite.addTestSuite((Class<? extends TestCase>)testClass); 79 protected boolean isTestClass(Class<?> testClass) { 80 return TestCase.class.isAssignableFrom(testClass) && 81 Modifier.isPublic(testClass.getModifiers()) && 82 hasPublicConstructor(testClass); 89 protected boolean hasPublicConstructor(Class<?> testClass) { 98 TestSuite.getTestConstructor((Class<? extends TestCase>) testClass);
|
/external/chromium_org/third_party/WebKit/Source/testing/plugin/ |
TestObject.cpp | 41 static NPClass testClass = { 59 return &testClass; 179 testObject->testObject = browser->createobject(0, &testClass);
|
/external/junit/src/org/junit/experimental/categories/ |
Categories.java | 131 Class<?> testClass= description.getTestClass(); 132 if (testClass == null) 134 return Description.createSuiteDescription(testClass);
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldInitializer.java | 161 private Object testClass;
168 NoArgConstructorInstantiator(Object testClass, Field field) {
169 this.testClass = testClass;
182 new FieldSetter(testClass, field).set(newFieldInstance);
184 return new FieldInitializationReport(field.get(testClass), true, false);
212 private Object testClass;
225 ParameterizedConstructorInstantiator(Object testClass, Field field, ConstructorArgumentResolver argumentResolver) {
226 this.testClass = testClass;
[all...] |
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 47 Class testClass = null; 53 testClass = getClass(); 54 method = testClass.getMethod(fName, (Class[]) null); 90 testClass.isAnnotationPresent(BandwidthTest.class)) {
|
/cts/tools/utils/ |
CollectAllTests.java | 186 Map<String,TestClass> testCases = new LinkedHashMap<String, TestClass>(); 242 for (Iterator<TestClass> iterator = testCases.values().iterator(); iterator.hasNext();) { 243 TestClass type = iterator.next(); 317 private static String getKnownFailure(final Class<? extends TestCase> testClass, 319 return getAnnotation(testClass, testName, KNOWN_FAILURE); 322 private static boolean isKnownFailure(final Class<? extends TestCase> testClass, 324 return getAnnotation(testClass, testName, KNOWN_FAILURE) != null; 327 private static boolean isBrokenTest(final Class<? extends TestCase> testClass, 329 return getAnnotation(testClass, testName, BROKEN_TEST) != null [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
JarHostTest.java | 264 Class<?> testClass = loadClass(className); 265 if (testClass == null) { 268 if (TestCase.class.isAssignableFrom(testClass)) { 269 TestCase testCase = (TestCase)testClass.newInstance(); 272 } else if (Test.class.isAssignableFrom(testClass)) { 273 Test test = (Test)testClass.newInstance(); 319 Class<?> testClass = cl.loadClass(className); 320 return testClass;
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarOutputStreamTest.java | 39 // testClass file`s actual extension is .class, since having .class 46 final String testClass = "hyts_mainClass.ser"; 74 Support_Resources.copyFile(resources, null, testClass); 75 URL jarURL = new URL((new File(resources, testClass)).toURL()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
uobjtest.cpp | 64 delete testClass(f, #c, #f, c ::getStaticClassID()); \ 71 delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status), #c, "Transliterator: " #t, c ::getStaticClassID()); \ 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,
|
/external/clang/test/Analysis/inlining/ |
false-positive-suppression.cpp | 102 void testClass() {
|
/external/icu4c/test/intltest/ |
uobjtest.cpp | 64 delete testClass(f, #c, #f, c ::getStaticClassID()); \ 71 delete testClass(Transliterator::createInstance(UnicodeString(t), UTRANS_FORWARD,parseError,status), #c, "Transliterator: " #t, c ::getStaticClassID()); \ 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,
|
/external/junit/src/junit/runner/ |
BaseTestRunner.java | 99 Class<?> testClass= null; 101 testClass= loadSuiteClass(suiteClassName); 114 suiteMethod= testClass.getMethod(SUITE_METHODNAME, new Class[0]); 118 return new TestSuite(testClass);
|
/external/junit/src/junit/textui/ |
TestRunner.java | 61 static public void run(Class<? extends TestCase> testClass) { 62 run(new TestSuite(testClass)); 187 Class<? extends TestCase> testClass= loadSuiteClass(testCase).asSubclass(TestCase.class); 188 Test test= TestSuite.createTest(testClass, method);
|
/frameworks/base/test-runner/src/android/test/ |
AndroidTestRunner.java | 50 Class testClass = loadTestClass(testClassName); 52 if (shouldRunSingleTestMethod(testMethodName, testClass)) { 53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); 55 mTestClassName = testClass.getSimpleName(); 57 setTest(getTest(testClass), testClass); 65 private void setTest(Test test, Class<? extends Test> testClass) { 67 if (TestSuite.class.isAssignableFrom(testClass)) { 70 mTestClassName = testClass.getSimpleName(); 94 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) [all...] |
InstrumentationTestRunner.java | 423 for (String testClass : testClasses) { 424 parseTestClass(testClass, testSuiteBuilder); 432 * Expected format: com.android.TestClass#testMethod 761 String testClass = test.getClass().getName(); 764 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); 768 if (testClass != null && !testClass.equals(mTestClass)) { 770 String.format("\n%s:", testClass)); 771 mTestClass = testClass; [all...] |
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
TestRequestBuilder.java | 125 final Class<?> testClass = description.getTestClass(); 128 if (testClass == null) { 132 if (testClass.isAnnotationPresent(mAnnotationClass) ||
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
InstrumentationResultPrinter.java | 116 String testClass = description.getClassName(); 119 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); 123 if (testClass != null && !testClass.equals(mTestClass)) { 125 String.format("\n%s:", testClass)); 126 mTestClass = testClass;
|
/dalvik/vm/native/ |
java_lang_Class.cpp | 440 ClassObject* testClass = (ClassObject*) args[1]; 442 if (testClass == NULL) { 446 RETURN_INT(dvmInstanceof(testClass, thisPtr));
|
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
UiAutomatorTestRunner.java | 278 String testClass = test.getClass().getName(); 281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); 285 if (testClass != null && !testClass.equals(mTestClass)) { 287 String.format("\n%s:", testClass)); 288 mTestClass = testClass;
|
/external/robolectric/lib/main/ |
junit-dep-4.8.2.jar | |