diff options
author | mdaniel | 2007-11-30 12:53:01 +0000 |
---|---|---|
committer | mdaniel | 2007-11-30 12:53:01 +0000 |
commit | c07a0870cb73e61c068e1c01109b70422b25bdff (patch) | |
tree | a8fe2d0eaf3df1921d39869244375dd79f0e5673 /org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java | |
parent | 612e1dcd06a54486bd7faaa14cb4eb34e1293251 (diff) | |
download | eclipse.jdt.core-c07a0870cb73e61c068e1c01109b70422b25bdff.tar.gz eclipse.jdt.core-c07a0870cb73e61c068e1c01109b70422b25bdff.tar.xz eclipse.jdt.core-c07a0870cb73e61c068e1c01109b70422b25bdff.zip |
HEAD - inactive tests for bug 211588
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.java | 42 |
1 files changed, 42 insertions, 0 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 af50bc5ecb..da7336553f 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 @@ -7630,6 +7630,48 @@ public void test205_warn_options() { "6 problems (6 warnings)", true); } +// https://bugs.eclipse.org/bugs/show_bug.cgi?id=211588 +// -warn option - regression tests +public void _test206_warn_options() { + // same source as 168, skip check defaults + this.runConformTest( + new String[] { + "X.java", + "public class X {\n" + + " /**\n" + + " @param\n" + + " */\n" + + " public void foo() {\n" + + " }\n" + + "}", + }, + "\"" + OUTPUT_DIR + File.separator + "X.java\"" + + " -warn:allJavadoc -enableJavadoc -warn:-allJavadoc -proc:none -d \"" + OUTPUT_DIR + "\"", + "", + "", + true); +} +// https://bugs.eclipse.org/bugs/show_bug.cgi?id=211588 +// -warn option - regression tests +public void _test207_warn_options() { + // same source as 168, skip check defaults + this.runConformTest( + new String[] { + "X.java", + "public class X {\n" + + " /**\n" + + " @param\n" + + " */\n" + + " public void foo() {\n" + + " }\n" + + "}", + }, + "\"" + OUTPUT_DIR + File.separator + "X.java\"" + + " -warn:javadoc -enableJavadoc -warn:-javadoc -proc:none -d \"" + OUTPUT_DIR + "\"", + "", + "", + true); +} public static Class testClass() { return BatchCompilerTest.class; } |