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

/openjdk7/jdk/test/sun/tools/native2ascii/
H A DNativeErrors.java92 private static void checkResult(BufferedReader in, String errorExpected) argument
97 errorExpected = rsrc.getString(errorExpected);
98 assert errorExpected != null : "Expected message cannot be null";
99 StringBuffer error = new StringBuffer(errorExpected);
100 int start = errorExpected.indexOf("{0}");
103 errorExpected = error.toString();
106 //System.out.println("expected: " + errorExpected);
107 if (!errorReceived.endsWith(errorExpected))
/openjdk7/langtools/test/tools/javac/generics/rawOverride/7062745/
H A DGenericOverrideTest.java221 boolean errorExpected = false;
228 errorExpected = true;
235 if (!errorExpected) {
240 errorExpected = true;
244 errorExpected = mostSpecific == 1 ? ta1 != TypeArgumentKind.NONE : ta2 != TypeArgumentKind.NONE;
257 if (!errorExpected) {
264 errorExpected = true;
268 if (errorExpected != diagChecker.errorFound) {
272 "\nExpected error: " + errorExpected);
/openjdk7/langtools/test/tools/javac/generics/diamond/7030687/
H A DParserTest.java148 boolean errorExpected = false;
152 errorExpected = true;
157 if (errorExpected != diagChecker.errorFound) {
161 "\nExpected error: " + errorExpected);
/openjdk7/langtools/test/tools/javac/generics/inference/7086601/
H A DT7086601b.java157 boolean errorExpected = false;
178 errorExpected = !glb_exists;
181 if (errorExpected != diagChecker.errorFound) {
185 "\nExpected error: " + errorExpected);
/openjdk7/langtools/test/tools/javac/generics/diamond/7046778/
H A DDiamondAndInnerClassTest.java295 boolean errorExpected = false;
301 errorExpected = true;
308 if (!errorExpected) {
312 errorExpected = true;
318 if (errorExpected != diagChecker.errorFound) {
322 "\nExpected error: " + errorExpected);

Completed in 141 milliseconds