Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-04-04 10:55:56 -0400
committerpelder2007-04-04 10:55:56 -0400
commit94732f3ff6590dd893f5a896ad34b804e012b928 (patch)
treed34136049943a67dedf2b6ec0451a7b00ed6c75d /tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet
parent269ac5b36386165367d80aa4d9a8c338d00a8d17 (diff)
downloadorg.eclipse.jet-94732f3ff6590dd893f5a896ad34b804e012b928.tar.gz
org.eclipse.jet-94732f3ff6590dd893f5a896ad34b804e012b928.tar.xz
org.eclipse.jet-94732f3ff6590dd893f5a896ad34b804e012b928.zip
[180962,131208] JUnits for org.eclipse.jet.core
Diffstat (limited to 'tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet')
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet
new file mode 100644
index 0000000..241c44d
--- /dev/null
+++ b/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet
@@ -0,0 +1,34 @@
+<%@jet class="Foo" package="org.eclipse.emf.examples"%>
+Some top level text.
+<%= "An expression" %>
+<%!
+int foo() {
+ return 3;
+}
+%>
+<%
+if(foo() > 0) {
+ foo();
+}
+%>
+<%-- a comment --%>
+<test:container one="test one" two='test two'>
+ <test:empty/>
+ <test:container>
+ some text <nontest:text attributes="foo"/>
+ </test:container>
+</test:container>
+<%-- tags containing Java --%>
+<test:container>
+ <%= foo(); %>
+ <% if(foo() > 0) { %>
+ some text
+ <% } %>
+</test:container>
+<%-- Java container tags --%>
+<% if(foo() > 0) { %>
+ some text
+ <test:empty/>
+ <test:container>
+ </test:container>
+<% } %>

Back to the top