Searched refs:shouldFail (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/test/com/sun/tools/attach/
H A DPermissionTest.java42 boolean shouldFail = Boolean.parseBoolean(args[1]);
46 if (shouldFail) {
52 if (shouldFail && ((x instanceof AttachNotSupportedException) ||
/openjdk7/hotspot/test/serviceability/
H A DParserTest.java87 shouldFail(name + "=7xs", args);
88 shouldFail(name + "=7mms", args);
89 shouldFail(name + "=7f", args);
91 shouldFail(name + "=7", args);
105 //shouldFail(name + "=12m", args); <-- should fail, doesn't
172 //shouldFail(name + "=7gg", args); <---- should fail, doesn't
173 //shouldFail(name + "=7t", args); <----- should fail, doesn't
197 private void shouldFail(String argument, DiagnosticCommand[] argumentTypes) throws Exception { method in class:ParserTest
/openjdk7/langtools/test/tools/javac/generics/diamond/7030150/
H A DGenericConstructorAndDiamondTest.java251 boolean shouldFail = badActual || badArity ||
254 if (shouldFail != diagChecker.errorFound) {
258 "\nExpected error: " + shouldFail);

Completed in 235 milliseconds