Searched refs:errors (Results 201 - 225 of 329) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javadoc/6958836/
H A DTest.java60 if (errors > 0)
61 throw new Exception(errors + " errors occurred.");
124 errors++;
128 int errors; field in class:Test
135 // generate 10 errors or warnings
/openjdk10/langtools/test/tools/jdeps/
H A DOptions.java43 @DataProvider(name = "errors")
44 public Object[][] errors() { method in class:Options
81 @Test(dataProvider = "errors")
H A DDotFileTest.java48 int errors = 0;
49 errors += new DotFileTest().run();
50 if (errors > 0)
51 throw new Exception(errors + " errors found");
115 return errors;
245 errors++;
248 int errors; field in class:DotFileTest
/openjdk10/langtools/test/tools/javac/lambda/
H A DLocalVariableTable.java70 if (errors > 0)
71 throw new Exception(errors + " errors found");
134 errors++;
137 int errors; field in class:LocalVariableTable
/openjdk10/langtools/test/tools/javadoc/8147801/
H A DT8147801.java79 if (errors > 0) {
80 throw new Exception(errors + " errors occurred");
167 errors++;
171 int errors; field in class:T8147801
/openjdk10/langtools/test/tools/javac/tree/
H A DMakeLiteralTest.java67 if (errors > 0)
68 throw new Exception(errors + " errors found");
93 errors++;
98 int errors; field in class:MakeLiteralTest
H A DT6993305.java74 if (errors > 0)
75 throw new Exception(errors + " errors occurred");
81 errors++;
84 int errors; field in class:T6993305
H A DTestToString.java73 if (errors > 0)
74 throw new Exception(errors + " errors found");
135 errors++;
143 int errors = 0; field in class:TestToString
H A DMissingSemicolonTest.java79 if (errors > 0)
80 System.err.println(errors + " errors");
82 return errors == 0;
172 * @throws IOException if any IO errors occur
173 * @throws MissingSemicolonTest.ParseException if any errors occur while parsing the file
205 * exit or throw an Error if any errors have been reported.
210 errors++;
215 /** Number of errors reported. */
216 int errors; field in class:MissingSemicolonTest
[all...]
/openjdk10/langtools/test/tools/javac/plugin/showtype/
H A DTest.java97 if (errors > 0)
98 throw new Exception(errors + " errors occurred");
150 errors++;
153 int errors; field in class:Test
/openjdk10/langtools/test/tools/javac/processing/model/element/
H A DTestAnonClassNames.java111 if (errors > 0)
112 throw new RuntimeException(errors + " errors occurred");
154 static int errors = 0; field in class:TestAnonClassNames
158 errors++;
/openjdk10/langtools/test/tools/doclint/
H A DCoverageExtras.java68 errors++;
71 int errors; field in class:CoverageExtras
/openjdk10/langtools/test/tools/javac/limits/
H A DNumArgsTest.java49 private int errors = 0; field in class:NumArgsTest
174 errors++;
206 errors++;
212 errors++;
216 if (errors != 0)
218 errors + " errors");
/openjdk10/langtools/test/tools/javac/processing/
H A DTestWarnErrorCount.java50 * Type of errors to generate in test case.
53 /** No errors. */
55 /** Source code errors. */
114 if (errors > 0)
115 throw new Exception(errors + " errors found");
126 if (stopOnError && errors > 0)
127 throw new Exception(errors + " errors found");
139 * @param ek The type of errors t
290 int errors = 0; field in class:TestWarnErrorCount
[all...]
/openjdk10/langtools/test/tools/javap/typeAnnotations/
H A DPresence.java56 if (errors > 0)
57 throw new Exception(errors + " errors found");
196 errors++;
202 errors++;
208 errors++;
215 int errors; field in class:Presence
H A DPresenceInner.java67 if (errors > 0)
68 throw new Exception(errors + " errors found");
165 errors++;
171 errors++;
177 errors++;
184 int errors; field in class:PresenceInner
/openjdk10/jdk/test/java/awt/Toolkit/RealSync/
H A DTest.java125 private static java.util.List<Object> errors = Collections.synchronizedList(new LinkedList<Object>()); field in class:Test
128 if (errors.size() == 0) {
139 for (Object error : errors) {
152 errors.clear();
171 errors.add(cause);
172 errors.add("- Focus owner: " + KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner());
173 errors.add("- Focused window: " + KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusedWindow());
/openjdk10/jdk/src/jdk.rmic/share/classes/sun/rmi/rmic/
H A DRemoteClass.java63 * return value will be null, and errors will have been reported to
311 boolean errors = false;
318 errors = true;
320 if (errors)
422 boolean errors = false;
474 * errors can be reported.
479 errors = true;
501 errors = true;
536 errors = true;
553 errors
[all...]
/openjdk10/jdk/test/java/text/Format/DateFormat/
H A DNonGregorianFormatTest.java37 static int errors; field in class:NonGregorianFormatTest
121 if (errors > 0) {
122 throw new RuntimeException("FAILED: " + errors + " error(s)");
215 errors++;
220 errors++;
/openjdk10/langtools/test/jdk/javadoc/tool/
H A DCheckResourceKeys.java52 * @throws Exception if invoked by jtreg and errors occur
60 throw new Exception(c.errors + " errors occurred");
98 if (errors > 0)
116 return (errors == 0);
285 errors++;
288 int errors; field in class:CheckResourceKeys
/openjdk10/langtools/test/tools/javac/6402516/
H A DChecker.java51 errors = true;
63 if (errors)
64 throw new AssertionError("errors occurred creating trees");
74 if (errors)
75 throw new AssertionError("errors occurred checking scopes");
124 errors = true;
135 boolean errors = false; field in class:Checker
/openjdk10/langtools/test/tools/javac/processing/errors/
H A DTestSuppression.java82 if (errors > 0) throw new AssertionError();
89 if (errors > 0)
90 throw new Exception(errors + " errors occurred");
167 errors++;
171 int errors; field in class:TestSuppression
/openjdk10/langtools/test/tools/javac/processing/model/type/
H A DIntersectionPropertiesTest.java47 private int errors = 0; field in class:IntersectionPropertiesTest
75 errors++;
83 if (0 != errors)
84 throw new RuntimeException(errors + " errors occurred");
136 errors++;
/openjdk10/langtools/test/tools/javac/diags/
H A DCheckResourceKeys.java51 * @throws Exception if invoked by jtreg and errors occur
59 throw new Exception(c.errors + " errors occurred");
97 if (errors > 0)
109 return (errors == 0);
208 // JavaCompiler, reports #errors and #warnings
411 errors++;
414 int errors; field in class:CheckResourceKeys
/openjdk10/langtools/test/tools/javac/
H A DT6403466.java74 if (vtl.iter.hasNext() || vtl.errors)
150 errors = true;
156 boolean errors; field in class:VerifyingTaskListener

Completed in 254 milliseconds

1234567891011>>