Searched refs:failed (Results 1 - 25 of 531) sorted by last modified time

1234567891011>>

/openjdk10/nashorn/test/src/jdk/nashorn/api/tree/test/
H A DParseAPITest.java108 failed = 0;
121 log("parse API failed: " + failed);
123 if (failed != 0) {
124 Assert.fail(failed + " tests failed to parse in " + testSetDir.getAbsolutePath());
131 private int failed; field in class:ParseAPITest
172 log("Parse API failed: " + file.getAbsolutePath() + " : " + exp);
176 failed++;
/openjdk10/nashorn/test/src/jdk/nashorn/internal/parser/test/
H A DParserTest.java99 failed = 0;
112 log("parse failed: " + failed);
114 if (failed != 0) {
115 Assert.fail(failed + " tests failed to compile in " + testSetDir.getAbsolutePath());
122 private int failed; field in class:ParserTest
171 log("Parse failed: " + file.getAbsolutePath());
172 failed++;
178 log("Parse failed
[all...]
/openjdk10/nashorn/test/src/jdk/nashorn/internal/codegen/test/
H A DCompilerTest.java117 failed = 0;
128 log("compile failed: " + failed);
130 if (failed != 0) {
131 Assert.fail(failed + " tests failed to compile in " + testSetDir.getAbsolutePath());
138 private int failed; field in class:CompilerTest
187 log("Compile failed: " + file.getAbsolutePath());
188 failed++;
193 log("Compile failed
[all...]
/openjdk10/langtools/test/tools/javac/processing/model/element/
H A DTestNames.java61 boolean failed = false;
72 failed = true;
74 failed = true;
76 failed = true;
96 failed = true;
103 if (failed)
/openjdk10/langtools/test/tools/javac/processing/environment/round/
H A DTestElementsAnnotatedWith.java176 boolean failed = false;
198 failed = true;
203 failed = true;
210 failed = true;
228 failed = true;
233 failed = true;
239 failed = true;
245 failed = true;
250 if (failed) {
/openjdk10/langtools/test/tools/javac/parser/
H A DJavacParserTest.java966 int passed = 0, failed = 0;
980 System.out.printf("Test %s failed: %s %n", m, ex.getCause());
981 failed++;
985 System.out.printf("Passed: %d, Failed %d%n", passed, failed);
986 if (failed > 0) {
987 throw new RuntimeException("Tests failed: " + failed);
989 if (passed == 0 && failed == 0) {
991 passed + ", failed = " + failed
[all...]
/openjdk10/langtools/test/tools/javac/lambda/8142876/
H A DT8142876.java39 I<? extends Comparable<String>, String> failed = this::ff;
/openjdk10/langtools/test/tools/javac/classfiles/attributes/lib/
H A DTestResult.java107 * Throws {@code TestFailedException} if one of the checks are failed
108 * or an exception occurs. Prints error message of failed test cases.
110 * @throws TestFailedException if one of the checks are failed
115 int failed = 0;
121 ++failed;
126 System.err.printf("Test cases: passed: %d, failed: %d, total: %d.%n", passed, failed, passed + failed);
127 if (failed > 0) {
128 throw new TestFailedException("Test failed");
[all...]
/openjdk10/langtools/test/tools/javac/classfiles/attributes/SourceFile/
H A DTopLevelClassesOneFileTest.java42 int failed = 0;
53 failed++;
58 if (failed > 0)
59 throw new AssertionFailedException("Test failed. Failed cases count = " + failed + " .See log.");
/openjdk10/langtools/test/tools/javac/classfiles/attributes/LocalVariableTable/
H A DLocalVariableTestBase.java78 int failed = 0;
90 System.err.printf("Test %s failed.%n", method.getName());
92 failed++;
95 if (failed > 0)
96 throw new RuntimeException(format("Failed %d out of %d. See logs.", failed, testMethods.size()));
/openjdk10/langtools/test/tools/javac/classfiles/attributes/LineNumberTable/
H A DLineNumberTestBase.java63 boolean failed = false;
98 failed = true;
104 if (failed) {
105 throw new RuntimeException("Test failed");
H A DLineNumberTest.java43 int failed = 0;
49 echo("[Test failed]: " + testData);
51 failed++;
56 if (failed > 0)
57 throw new RuntimeException(String.format("Failed tests %d of %d%n", failed, TestData.values().length));
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/referenceinfos/
H A DDriver.java70 int passed = 0, failed = 0;
103 ++failed;
111 ++failed;
116 int total = passed + failed;
117 out.println(total + " total tests: " + passed + " PASSED, " + failed + " FAILED");
121 if (failed != 0)
122 throw new RuntimeException(failed + " tests failed");
220 throw new Error("compilation failed. rc=" + rc);
/openjdk10/langtools/test/tools/javac/annotations/typeAnnotations/classfile/
H A DTestAnonInnerClasses.java83 // Save descriptions of failed test case; does not terminate upon a failure.
84 List<String> failed = new LinkedList<>(); field in class:TestAnonInnerClasses
102 failed.add(++checks + " " + testcase + ": (vtaX) " + vtaX +
111 failed.add(++checks + " " + testcase + ": (itaX) " + itaX + " != " +
120 failed.add(++checks + " " + testcase + ": (vaX) " + vaX + " != " +
129 failed.add(++checks + " " + testcase + ": (iaX) " + iaX + " != " +
138 // Print failed cases (if any) and throw exception for fail.
143 for (String t: failed) System.err.println(" " + t);
413 String error = "FAILED: Test failed to read template" + sTemplate;
/openjdk10/langtools/test/tools/javac/Paths/
H A DUtil.sh43 failed=""
44 Fail() { echo "FAIL: $1"; failed="${failed}."; }
50 test "$rc" -eq 0 || Die "Command \"$*\" failed with exitValue $rc";
63 echo "PASS: failed as expected"
65 Fail "test failed unexpectedly"
95 if test -n "$failed"; then
96 count=`printf "%s" "$failed" | wc -c | tr -d ' '`
97 echo "FAIL: $count tests failed"
/openjdk10/langtools/test/jdk/javadoc/doclet/testXOption/
H A DTestXOption.java60 failed(longLines.size() + " long lines");
/openjdk10/langtools/test/jdk/javadoc/doclet/testOrdering/
H A DTestOrdering.java100 tester.failed("ctor strings not found");
102 tester.failed("ctor strings are out of order");
112 tester.failed("#ymethod strings not found");
114 tester.failed("#ymethod strings are out of order");
229 tester.failed(s + ", member ordering error, last:" + lastidx + ", got:" + idx);
/openjdk10/langtools/test/jdk/javadoc/doclet/testHtmlDocument/
H A DTestHtmlDocument.java63 failed("expected content in " + testSrc("testMarkup.html") + "\n"
/openjdk10/langtools/test/jdk/javadoc/doclet/testHelpOption/
H A DTestHelpOption.java61 failed(longLines.size() + " long lines");
/openjdk10/langtools/test/jdk/javadoc/doclet/lib/
H A DJavadocTester.java376 failed("return code " + exitCode +"; expected " + expected);
418 failed("Error reading file: " + e);
448 failed(path + ": following text " + (isFound ? "found:" : "not found:") + "\n"
498 failed(path + ": file " + (isFound ? "found:" : "not found:") + "\n");
517 failed(s + " not found.");
523 failed("file: " + path + ": " + s + " is in the wrong order.");
542 failed(s + " not found.");
549 failed(s + " is not unique, found at " + nextindex);
667 protected void failed(String message) { method in class:JavadocTester
693 // Test failed
[all...]
/openjdk10/langtools/test/jdk/javadoc/doclet/DocRootSlash/
H A DDocRootSlash.java140 failed("\n"
145 failed("Didn't find <A HREF> that fits the pattern: "
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/internal/jshell/tool/
H A DJShellTool.java335 private boolean failed = false; field in class:JShellTool.OptionParserBase
375 if (failed) {
386 failed = true;
407 failed = true;
422 return failed ? null : opts;
429 failed = true;
909 // check again, as feedback setting could have failed
2306 // all snippets including start-up, failed, and overwritten
2682 boolean failed = false;
2689 if (!failed
[all...]
/openjdk10/langtools/src/jdk.javadoc/share/classes/com/sun/tools/javadoc/main/
H A DStart.java235 boolean failed = false;
238 failed = !parseAndExecute(docletClass, options, fileObjects);
243 failed = true;
250 failed = true;
254 failed = true;
267 failed |= messager.nerrors() > 0;
268 failed |= rejectWarnings && messager.nwarnings() > 0;
269 return !failed;
/openjdk10/jdk/test/tools/launcher/
H A DVersionCheck.java158 Set<String> failed = new HashSet<>();
168 System.out.println("failed");
169 failed.add(f.getName());
172 if (failed.isEmpty()) {
176 System.out.println("testToolVersion failed");
177 return "testToolVersion: " + failed + "; ";
184 Set<String> failed = new HashSet<>();
190 failed.add(f.getName());
201 failed.add(f.getName());
210 if (failed
[all...]
/openjdk10/jdk/test/tools/jlink/
H A DIntegrationTest.java125 boolean failed = false;
130 failed = true;
134 if (failed) {
135 throw new Exception("Should have failed");

Completed in 201 milliseconds

1234567891011>>