Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpelder2008-02-11 11:40:23 -0500
committerpelder2008-02-11 11:40:23 -0500
commit1c10d76fc4b4612bfaa5dcc54980bee364eb7cff (patch)
treef83ca8c0e1ef88ed671d32c565e95e7ab6f2868e /tests
parent5d767e7019bb66e3a7b24d661683e4fe066b2d55 (diff)
downloadorg.eclipse.jet-1c10d76fc4b4612bfaa5dcc54980bee364eb7cff.tar.gz
org.eclipse.jet-1c10d76fc4b4612bfaa5dcc54980bee364eb7cff.tar.xz
org.eclipse.jet-1c10d76fc4b4612bfaa5dcc54980bee364eb7cff.zip
[196814] New JET projects should not have any Java or PDE warnings
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
index dca5dec..f02e067 100644
--- a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
+++ b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestSimplifiedCompiler.java
@@ -208,8 +208,11 @@ public class TestSimplifiedCompiler extends TestCase {
* @throws Exception
*/
public void testFinish() throws Exception {
+ Map options = new HashMap(JETCompilerOptions.getDefaultCompilerOptions());
+ options.put(JETCompilerOptions.OPTION_USE_JAVA5, "false");
IJETCompiler compiler = new SimplifiedCompiler.Builder(JETAST.JET_SPEC_V2, baseLocation, compilerOutput)
.templateLoaderFQN("org.eclipse.jet.compiled.TemplateLoaderClass")
+ .options(options)
.build();
final String templatePath1 = "simple.v2.input.jet";

Back to the top