Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorpelder2007-04-04 11:52:10 -0400
committerpelder2007-04-04 11:52:10 -0400
commit5474d614aa28b690f8d730bbd38c17902ff7c833 (patch)
treebed9aef028490ff555e4e9b4c29306aa363f179c /tests
parente2136fac0dc2aef97d801ea1f187b0f4a8b703fa (diff)
downloadorg.eclipse.jet-5474d614aa28b690f8d730bbd38c17902ff7c833.tar.gz
org.eclipse.jet-5474d614aa28b690f8d730bbd38c17902ff7c833.tar.xz
org.eclipse.jet-5474d614aa28b690f8d730bbd38c17902ff7c833.zip
[180962,131208] Correct compilation warnings and JUnit failures
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestJET2Parser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestJET2Parser.java b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestJET2Parser.java
index 5d2c819..f239946 100644
--- a/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestJET2Parser.java
+++ b/tests/org.eclipse.jet.tests/src/org/eclipse/jet/tests/compiler/TestJET2Parser.java
@@ -258,7 +258,7 @@ public class TestJET2Parser extends TestCase {
cu.setOutputJavaPackage(JETCompilerOptions.DEFAULT_COMPILED_TEMPLATE_PACKAGE);
cu.setOutputJavaClassName("X");
- String result = new TemplateRunner().generate("templates/jet2java.jet", Collections.singletonMap("cu", cu.getDelegateCU()));
+ String result = new TemplateRunner().generate("templates/jet2java.jet", Collections.singletonMap("cu", cu));
assertEquals(FileUtils.getFileContents(urlString + ".expected.java", true), result);

Back to the top