Home
last modified time | relevance | path

Searched refs:shouldTestRun (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java156 public boolean shouldTestRun(AnnotatedElement annotatedElement) { in shouldTestRun() method in TestFilterHelper
157 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun()
166 public boolean shouldTestRun(Description desc) { in shouldTestRun() method in TestFilterHelper
167 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
173 private boolean shouldTestRun(Collection<Annotation> annotationsList) { in shouldTestRun() method in TestFilterHelper
236 if (!shouldTestRun(method)) { in shouldRun()
280 if (!shouldTestRun(desc)) { in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostTestTest.java1109 assertTrue(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldTestRun_Success()
1119 assertTrue(mHostTest.shouldTestRun(AnotherTestCase.class)); in testRun_shouldTestRunMulti_Success()
1128 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRun()
1137 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRunMulti()
1141 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRunMulti()
1150 assertTrue(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldRun_exclude()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java1147 protected boolean shouldTestRun(AnnotatedElement annotatedElement) { in shouldTestRun() method in HostTest
1148 return mFilterHelper.shouldTestRun(annotatedElement); in shouldTestRun()