Searched refs:getAnnotations (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 138 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun() 148 return shouldTestRun(desc.getAnnotations()); in shouldTestRun() 207 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun() 211 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun() 212 && isExcluded(Arrays.asList(method.getAnnotations()))) { in shouldRun() 218 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JUnit4ResultForwarder.java | 71 description.getAnnotations()); in testStarted() 81 description.getAnnotations()); in testFinished() 86 for (Annotation a : child.getAnnotations()) { in testFinished() 110 description.getAnnotations()); in testIgnored()
|
D | TestDescription.java | 98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
|
D | JUnitToInvocationResultForwarder.java | 139 annotations = testMethod.getAnnotations(); in getTestId()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestDescriptionTest.java | 60 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription() 71 assertEquals(0, mDescription.getAnnotations().size()); in testCreateDescription_noAnnotation()
|
D | JUnitToInvocationResultForwarderTest.java | 128 assertEquals(1, desc.getAnnotations().size()); in testStartTest_annotations() 130 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 138 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseClass() 302 …private static Pair<String, List<String>> getAnnotations(Tokenizer tokenizer, String token) throws… in getAnnotations() method in ApiFile 352 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseConstructor() 434 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseMethod() 572 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseField() 741 Pair<String, List<String>> result = getAnnotations(tokenizer, token); in parseParameterList()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 210 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
|