Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java57 for (Method testMethod : findTestMethods()) { in executeTests()
58 SensorTestDetails testDetails = executeTest(testMethod); in executeTests()
86 private SensorTestDetails executeTest(Method testMethod) throws InterruptedException { in executeTest() argument
87 String testMethodName = testMethod.getName(); in executeTest()
89 mCurrentTestNode = new TestNode(testMethod); in executeTest()
94 String testSummary = (String) testMethod.invoke(this); in executeTest()
127 public TestNode(Method testMethod) { in TestNode() argument
128 mTestMethod = testMethod; in TestNode()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCddCoverage.java41 public void addCoverage(String cddRequirementId, TestMethod testMethod) { in addCoverage() argument
46 requirements.get(cddRequirementId).addTestMethod(testMethod); in addCoverage()
81 public void addTestMethod(TestMethod testMethod) { in addTestMethod() argument
82 mtestMethods.add(testMethod); in addTestMethod()
95 TestMethod(String testModule, String testClass, String testMethod) { in TestMethod() argument
98 this.mTestMethod = testMethod; in TestMethod()
DCtsApiCoverage.java252 CddCoverage.TestMethod testMethod = in addCddJarCoverage() local
255 cddCoverage.addCoverage(cddTest.requirement(), testMethod); in addCddJarCoverage() local
298 CddCoverage.TestMethod testMethod = in handleAnnotations() local
301 cddCoverage.addCoverage(cddRequirement, testMethod); in handleAnnotations()
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/
DTestLoader.java182 for (Method testMethod : loadedClass.getMethods()) { in isTestClass()
183 if (testMethod.isAnnotationPresent(org.junit.Test.class)) { in isTestClass()
208 for (Method testMethod : loadedClass.getMethods()) { in hasJUnit3TestMethod()
209 if (isPublicTestMethod(testMethod)) { in hasJUnit3TestMethod()
/cts/tools/utils/
DCollectAllTests.java366 Method testMethod = testClass.getMethod(testName, (Class[])null); in getAnnotation() local
367 Annotation[] annotations = testMethod.getAnnotations(); in getAnnotation()
404 for (Method testMethod : testMethods) { in addToTests()
405 String testName = testMethod.getName(); in addToTests()
411 if (!Modifier.isPublic(testMethod.getModifiers())) { in addToTests()
414 if (!testMethod.getReturnType().equals(Void.TYPE)) { in addToTests()
417 if (testMethod.getParameterTypes().length != 0) { in addToTests()
422 || (!isJunit3Test && !isJunit4TestMethod(testMethod))) { in addToTests()
/cts/tools/dex-tools/dex/
Dclasses.out.dex74939 final java.lang.reflect.Method val$testMethod