Lines Matching defs:expectedLocations
68 if (!expectedLocations.isEmpty()) {
69 throw new AssertionError("Didn't found all annotations: " + expectedLocations);
77 if (!expectedLocations.containsKey(annotation))
78 throw new AssertionError("Found unexpected annotation: " + annotation + expectedLocations);
80 int expected = expectedLocations.get(annotation);
84 expectedLocations.remove(annotation);
104 // expectedLocations values:
105 static Map<String, Integer> expectedLocations = new HashMap<String, Integer>();
111 expectedLocations.put("@B()", 1);
112 expectedLocations.put("@C()", 2);
117 expectedLocations.put("@D()", 0);
118 expectedLocations.put("@E()", 1);
119 expectedLocations.put("@F()", 2);
125 expectedLocations.put("@H()", 1);
131 expectedLocations.put("@J()", 1);
132 expectedLocations.put("@K()", 2);
133 expectedLocations.put("@L()", 3);