Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-02-24 19:19:03 +0000
committerpelder2006-02-24 19:19:03 +0000
commitcf44b010c9f9e75f08f52dca3fe9e34e7ff57205 (patch)
tree1436f903691e7a5e230cea2b1549f52326e09639 /tests/org.eclipse.jet.tests/data/alljet2.jet
parent79d9bb81ecd0f91b46087d61dac630f0d1bd6ddb (diff)
downloadorg.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.tar.gz
org.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.tar.xz
org.eclipse.jet-cf44b010c9f9e75f08f52dca3fe9e34e7ff57205.zip
Initial commit
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/alljet2.jet')
-rw-r--r--tests/org.eclipse.jet.tests/data/alljet2.jet34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/org.eclipse.jet.tests/data/alljet2.jet b/tests/org.eclipse.jet.tests/data/alljet2.jet
new file mode 100644
index 0000000..241c44d
--- /dev/null
+++ b/tests/org.eclipse.jet.tests/data/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