Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2012-04-24 14:10:03 +0000
committerJayaprakash Arthanareeswaran2012-04-24 14:10:03 +0000
commit67ffb920038c25d309fa1976944b7ec09f1b43ba (patch)
treeed8ab1c3f9134c3a698f31c40449104268cb5d19
parentad80a76936c2df07ee70f6449296e7f0de3f583a (diff)
downloadeclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.tar.gz
eclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.tar.xz
eclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.zip
master - Fixing tests added for bug 374605
-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