diff options
author | Stephan Herrmann | 2012-04-24 14:10:03 +0000 |
---|---|---|
committer | Jayaprakash Arthanareeswaran | 2012-04-24 14:10:03 +0000 |
commit | 67ffb920038c25d309fa1976944b7ec09f1b43ba (patch) | |
tree | ed8ab1c3f9134c3a698f31c40449104268cb5d19 /org.eclipse.jdt.core.tests.compiler/src/org | |
parent | ad80a76936c2df07ee70f6449296e7f0de3f583a (diff) | |
download | eclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.tar.gz eclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.tar.xz eclipse.jdt.core-67ffb920038c25d309fa1976944b7ec09f1b43ba.zip |
master - Fixing tests added for bug 374605
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src/org')
-rw-r--r-- | org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java | 6 |
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" + |