Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java')
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
index d44b1a17a9..261b73f096 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java
@@ -12760,7 +12760,7 @@ public void test317_warn_options() {
+ " -warn:+enumSwitchPedantic -proc:none -d \"" + OUTPUT_DIR + "\"",
"",
"----------\n" +
- "1. WARNING in " + OUTPUT_DIR + File.separator + "p" + File.separator + "X.java (at line 5)\n" +
+ "1. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/p/X.java (at line 5)\n" +
" switch (c) {\n" +
" ^\n" +
"The enum constant GREEN should have a corresponding case label in this enum switch on Color. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the 'default:'\n" +
@@ -12792,7 +12792,7 @@ public void test318_warn_options() {
+ " -err:+enumSwitchPedantic -proc:none -d \"" + OUTPUT_DIR + "\"",
"",
"----------\n" +
- "1. ERROR in " + OUTPUT_DIR + File.separator + "p" + File.separator + "X.java (at line 5)\n" +
+ "1. ERROR in ---OUTPUT_DIR_PLACEHOLDER---/p/X.java (at line 5)\n" +
" switch (c) {\n" +
" ^\n" +
"The enum constant GREEN should have a corresponding case label in this enum switch on Color. To suppress this problem, add a comment //$CASES-OMITTED$ on the line above the 'default:'\n" +
@@ -12825,7 +12825,7 @@ public void test319_warn_options() {
+ " -warn:+switchDefault -proc:none -d \"" + OUTPUT_DIR + "\"",
"",
"----------\n" +
- "1. WARNING in " + OUTPUT_DIR + File.separator + "p" + File.separator + "X.java (at line 5)\n" +
+ "1. WARNING in ---OUTPUT_DIR_PLACEHOLDER---/p/X.java (at line 5)\n" +
" switch (c) {\n" +
" ^\n" +
"The switch over the enum type Color should have a default case\n" +

Back to the top