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.java137 public boolean shouldTestRun(AnnotatedElement annotatedElement) { in shouldTestRun() method in TestFilterHelper
138 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun()
147 public boolean shouldTestRun(Description desc) { in shouldTestRun() method in TestFilterHelper
148 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
154 private boolean shouldTestRun(Collection<Annotation> annotationsList) { in shouldTestRun() method in TestFilterHelper
219 if (!shouldTestRun(method)) { in shouldRun()
251 if (!shouldTestRun(desc)) { in shouldRun()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DHostTestTest.java922 assertTrue(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldTestRun_Success()
932 assertTrue(mHostTest.shouldTestRun(AnotherTestCase.class)); in testRun_shouldTestRunMulti_Success()
941 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRun()
950 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRunMulti()
954 assertFalse(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldNotRunMulti()
963 assertTrue(mHostTest.shouldTestRun(SuccessTestCase.class)); in testRun_shouldRun_exclude()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DHostTest.java868 protected boolean shouldTestRun(AnnotatedElement annotatedElement) { in shouldTestRun() method in HostTest
869 return mFilterHelper.shouldTestRun(annotatedElement); in shouldTestRun()