Searched refs:testClass (Results 1 – 10 of 10) sorted by relevance
24 Class testClass= classFromFile(classFileName); in isTestClass() local25 return (testClass != null) && isTestClass(testClass); in isTestClass()42 boolean isTestClass(Class testClass) { in isTestClass() argument43 if (hasSuiteMethod(testClass)) in isTestClass()45 if (Test.class.isAssignableFrom(testClass) && in isTestClass()46 Modifier.isPublic(testClass.getModifiers()) && in isTestClass()47 hasPublicConstructor(testClass)) in isTestClass()52 boolean hasSuiteMethod(Class testClass) { in hasSuiteMethod() argument54 testClass.getMethod(BaseTestRunner.SUITE_METHODNAME, new Class[0]); in hasSuiteMethod()61 boolean hasPublicConstructor(Class testClass) { in hasPublicConstructor() argument[all …]
50 Class testClass = loadTestClass(testClassName); in setTestClassName() local52 if (shouldRunSingleTestMethod(testMethodName, testClass)) { in setTestClassName()53 TestCase testCase = buildSingleTestMethod(testClass, testMethodName); in setTestClassName()55 mTestClassName = testClass.getSimpleName(); in setTestClassName()57 setTest(getTest(testClass), testClass); in setTestClassName() local65 private void setTest(Test test, Class<? extends Test> testClass) { in setTest() argument67 if (TestSuite.class.isAssignableFrom(testClass)) { in setTest()70 mTestClassName = testClass.getSimpleName(); in setTest()94 private TestCase buildSingleTestMethod(Class testClass, String testMethodName) { in buildSingleTestMethod() argument96 Constructor c = testClass.getConstructor(); in buildSingleTestMethod()[all …]
95 private static Test invokeSuiteMethodIfPossible(Class testClass, in invokeSuiteMethodIfPossible() argument98 Method suiteMethod = testClass.getMethod( in invokeSuiteMethodIfPossible()107 && !seen.contains(testClass)) { in invokeSuiteMethodIfPossible()108 seen.add(testClass); in invokeSuiteMethodIfPossible()155 public static TestSuite createTestSuite(Class<? extends Test> testClass) in createTestSuite() argument158 Test test = invokeSuiteMethodIfPossible(testClass, in createTestSuite()161 return new TestSuite(testClass); in createTestSuite()
424 for (String testClass : testClasses) { in parseTestClasses()425 parseTestClass(testClass, testSuiteBuilder); in parseTestClasses()762 String testClass = test.getClass().getName(); in startTest() local765 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()769 if (testClass != null && !testClass.equals(mTestClass)) { in startTest()771 String.format("\n%s:", testClass)); in startTest()772 mTestClass = testClass; in startTest()
149 private void printMemory(Class<? extends Test> testClass) { in getAndroidTestRunner()159 Log.d(TAG, "Now executing : " + testClass.getName()); in getAndroidTestRunner()
47 Class testClass = null; in runTest() local53 testClass = getClass(); in runTest()54 method = testClass.getMethod(fName, (Class[]) null); in runTest()90 testClass.isAnnotationPresent(BandwidthTest.class)) { in runTest()
59 public void addTestSuite(Class testClass) { in addTestSuite() argument60 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite()
278 String testClass = test.getClass().getName(); in startTest() local281 mTestResult.putString(REPORT_KEY_NAME_CLASS, testClass); in startTest()285 if (testClass != null && !testClass.equals(mTestClass)) { in startTest()287 String.format("\n%s:", testClass)); in startTest()288 mTestClass = testClass; in startTest()
162 for (Class<?> testClass : select(allClasses, in selectTestClasses()164 testClasses.add((Class<? extends TestCase>) testClass); in selectTestClasses()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...