Searched refs:expectedAnnotations (Results 1 - 5 of 5) sorted by relevance

/openjdk10/langtools/test/tools/javac/processing/filer/
H A DTestPackageInfo.java64 Set<TypeElement> expectedAnnotations = new HashSet<TypeElement>();
65 expectedAnnotations.add(eltUtils.getTypeElement("java.lang.Deprecated"));
84 if (!expectedAnnotations.equals(annotations)) {
112 if (!expectedAnnotations.equals(annotations)) {
/openjdk10/langtools/test/tools/javac/processing/model/element/
H A DTestTypeParameterAnnotations.java107 String[] expectedAnnotations = expected.annotations();
109 if (l.size() != expectedAnnotations.length) {
111 ", should be " + expectedAnnotations.length, tpe);
115 for (int i = 0; i < expectedAnnotations.length; i++) {
117 if (!m.getAnnotationType().asElement().equals(elements.getTypeElement(expectedAnnotations[i]))) {
125 List<String> expectedAnnotations = Arrays.asList(expected.annotations());
130 if (a != null ^ expectedAnnotations.indexOf(c.getName()) != (-1)) {
138 List<String> expectedAnnotations = Arrays.asList(expected.annotations());
143 if (a.length > 0 ^ expectedAnnotations.indexOf(c.getName()) != (-1)) {
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/api/
H A DArrayPositionConsistency.java70 if (foundAnnotations != expectedAnnotations) {
71 throw new AssertionError("Expected " + expectedAnnotations +
113 static int expectedAnnotations = 23; field in class:ArrayPositionConsistency
H A DArrayCreationTree.java73 if (foundAnnotations != expectedAnnotations) {
74 throw new AssertionError("Expected " + expectedAnnotations +
135 static int expectedAnnotations = 21; field in class:ArrayCreationTree
/openjdk10/langtools/test/tools/javac/modules/
H A DAnnotationsOnModules.java472 Set<String> expectedAnnotations =
479 if (!expectedAnnotations.equals(actualAnnotations)) {
598 public final String expectedAnnotations;
600 public TestCase(String extraDecl, String decl, String use, String expectedAnnotations) {
604 this.expectedAnnotations = expectedAnnotations;
683 "-A" + OPT_EXPECTED_ANNOTATIONS + "=" + tc.expectedAnnotations)
691 private static final String OPT_EXPECTED_ANNOTATIONS = "expectedAnnotations";

Completed in 156 milliseconds