Home
last modified time | relevance | path

Searched refs:testClassName (Results 1 – 6 of 6) sorted by relevance

/frameworks/testing/androidtestlib/src/com/android/test/runner/
DAndroidJUnitRunner.java342 String testClassName = arguments.getString(ARGUMENT_TEST_CLASS); in buildRequest() local
343 if (testClassName != null) { in buildRequest()
344 for (String className : testClassName.split(",")) { in buildRequest()
391 private void parseTestClass(String testClassName, TestRequestBuilder testRequestBuilder) { in parseTestClass() argument
392 int methodSeparatorIndex = testClassName.indexOf('#'); in parseTestClass()
395 String testMethodName = testClassName.substring(methodSeparatorIndex + 1); in parseTestClass()
396 testClassName = testClassName.substring(0, methodSeparatorIndex); in parseTestClass()
397 testRequestBuilder.addTestMethod(testClassName, testMethodName); in parseTestClass()
399 testRequestBuilder.addTestClass(testClassName); in parseTestClass()
DTestRequestBuilder.java168 public void addTestMethod(String testClassName, String testMethodName) { in addTestMethod() argument
169 Class<?> clazz = mTestLoader.loadClass(testClassName); in addTestMethod()
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java49 public void setTestClassName(String testClassName, String testMethodName) { in setTestClassName() argument
50 Class testClass = loadTestClass(testClassName); in setTestClassName()
85 private Class<? extends Test> loadTestClass(String testClassName) { in loadTestClass() argument
87 return (Class<? extends Test>) mContext.getClassLoader().loadClass(testClassName); in loadTestClass()
89 runFailed("Could not find test class. Class: " + testClassName); in loadTestClass()
DInstrumentationTestRunner.java435 private void parseTestClass(String testClassName, TestSuiteBuilder testSuiteBuilder) { in parseTestClass() argument
436 int methodSeparatorIndex = testClassName.indexOf('#'); in parseTestClass()
440 testMethodName = testClassName.substring(methodSeparatorIndex + 1); in parseTestClass()
441 testClassName = testClassName.substring(0, methodSeparatorIndex); in parseTestClass()
443 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); in parseTestClass()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java120 String testClassName = PlaceHolderTest.class.getName(); in testBadMethodArgument() local
122 String classAndMethod = testClassName + "#" + invalidMethodName; in testBadMethodArgument()
125 assertTestRunnerCalledWithExpectedParameters(testClassName, in testBadMethodArgument()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java75 public TestSuiteBuilder addTestClassByName(String testClassName, String testMethodName, in addTestClassByName() argument
80 atr.setTestClassName(testClassName, testMethodName); in addTestClassByName()