Searched refs:getAnnotations (Results 1 – 11 of 11) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 160 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun() 170 return shouldTestRun(desc.getAnnotations()); in shouldTestRun() 228 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun() 232 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun() 233 && isExcluded(Arrays.asList(method.getAnnotations()))) { in shouldRun() 239 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun() 293 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun() 303 List<Annotation> annotations = new ArrayList<>(desc.getAnnotations()); in shouldRun() 304 annotations.addAll(Arrays.asList(classObj.getAnnotations())); in shouldRun()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | JUnit4ResultForwarder.java | 127 test.getAnnotations()); in testRunFinished() 149 description.getAnnotations()); in testStarted() 165 description.getAnnotations()); in testFinished() 176 for (Annotation a : child.getAnnotations()) { in testFinished() 197 description.getAnnotations()); in testIgnored() 254 for (Annotation a : child.getAnnotations()) { in pollLogsAndUpload()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | TestDescriptionTest.java | 82 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription() 93 assertEquals(0, mDescription.getAnnotations().size()); in testCreateDescription_noAnnotation()
|
D | JUnitToInvocationResultForwarderTest.java | 143 assertEquals(1, desc.getAnnotations().size()); in testStartTest_annotations() 145 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiFile.kt | 407 val annotations = getAnnotations(tokenizer, token) in parsePackage() 459 val annotations = getAnnotations(tokenizer, token) in parseClass() 929 private fun getAnnotations( in getAnnotations() method 953 val annotations = getAnnotations(tokenizer, token) in parseConstructor() 1030 val annotations = getAnnotations(tokenizer, token) in parseMethod() 1136 val annotations = getAnnotations(tokenizer, token) in parseField() 1386 val annotations = getAnnotations(tokenizer, token) in parseProperty() 1529 val annotations = getAnnotations(tokenizer, token) in parseParameterList()
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | TestDescription.java | 98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationFilter.java | 87 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JUnitToInvocationResultForwarder.java | 146 annotations = testMethod.getAnnotations(); in getTestId()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 235 && Arrays.asList(m.getAnnotations()).stream() in hasJUnitAnnotation()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 214 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 805 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()
|