Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests.core/data/parser/v1')
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/alt1/include2.jetinc3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/alt2/include2.jetinc4
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet36
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet.astdump.expected74
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet4
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet.astdump.expected49
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/include1.jetinc3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/include2.jetinc3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet4
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.astdump.expected19
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.chararray.astdump.expected11
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet9
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet.astdump.expected16
13 files changed, 0 insertions, 235 deletions
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/alt1/include2.jetinc b/tests/org.eclipse.jet.tests.core/data/parser/v1/alt1/include2.jetinc
deleted file mode 100644
index 1435b71..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/alt1/include2.jetinc
+++ /dev/null
@@ -1,3 +0,0 @@
-This is content from include2.jetinc in alt1.
-<%@ include file="include2.jetinc" %>
-Done
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/alt2/include2.jetinc b/tests/org.eclipse.jet.tests.core/data/parser/v1/alt2/include2.jetinc
deleted file mode 100644
index 75d8420..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/alt2/include2.jetinc
+++ /dev/null
@@ -1,4 +0,0 @@
-This is content from include2.jetinc in alt2.
-7 + 8 = <%= 7 + 8 %>
-<%@include file="include1.jetinc"%>
-Done
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet
deleted file mode 100644
index 264a6bf..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet
+++ /dev/null
@@ -1,36 +0,0 @@
-<%@jet class="Simple" package="org.eclipse.jet.tests.tools.tempates" %>
---- before failing include with alternative >>>
-<%@include file="include1.fail.jetinc" fail="alternative"%>
-<%@start%>
- Alternative text to include1.fail.jetinc
- 2 + 4 = <%= 2 + 4 %>
- <%@include file="include1.jetinc" fail="alternative"%>
- <%@start%>
- Fail alternative for include1.jetinc within fail alternative of include1.fail.jetinc
- <%@end%>
- <%@include file="include2.fail.jetinc" fail="alternative"%>
- <%@start%>
- Fail alternative for include2.fail.jetinc within fail alternative of include1.fail.jetinc
- <%@end%>
-<%@end%>
-<<< after include ---
-
---- before successful include with alternative >>>
-<%@include file="include1.jetinc" fail="alternative"%>
-<%@start%>
- Alternative text to include1.jetinc - should not be processed
- 7 + 3 = <%= 7 + 3 %>
- <%@include file="include2.jetinc" fail="alternative"%>
- <%@start%>
- Fail alternative for include2.jetinc within fail alternative of include1.jetinc
- <%@end%>
- <%@include file="include2.fail.jetinc" fail="alternative"%>
- <%@start%>
- Fail alternative for include2.fail.jetinc within fail alternative of include1.jetinc
- <%@end%>
-<%@end%>
-<<< after include ---
-
---- before failing include with alternative >>>
-<%@include file="include1.fail.jetinc" fail="silent"%>
-<<< after include ---
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet.astdump.expected b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet.astdump.expected
deleted file mode 100644
index f0eef0e..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/alternative.include.javajet.astdump.expected
+++ /dev/null
@@ -1,74 +0,0 @@
-<directive name="jet" line="1" col="1">
- <attribute name="class">Simple</attribute>
- <attribute name="package">org.eclipse.jet.tests.tools.tempates</attribute>
-</directive>
-<data>--- before failing include with alternative >>>
-</data>
-<directive name="include" line="3" col="1">
- <attribute name="file">include1.fail.jetinc</attribute>
- <attribute name="fail">alternative</attribute>
-</directive>
-<data></data>
-<directive name="start" line="4" col="1">
-</directive>
-<data> Alternative text to include1.fail.jetinc
- 2 + 4 = </data>
-<expression line="6" col="14"> 2 + 4 </expression>
-<data>
- </data>
-<directive name="include" line="7" col="3">
- <attribute name="file">include1.jetinc</attribute>
- <attribute name="fail">alternative</attribute>
-</directive>
-<included templatePath="include1.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/base/">
- <data>This is content from include1.jetinc in base.
-3 + 5 = </data>
- <expression line="2" col="12"> 3 + 5 </expression>
- <data>
-Done
-</data>
-</included>
-<data> </data>
-<data>
-</data>
-<directive name="include" line="11" col="3">
- <attribute name="file">include2.fail.jetinc</attribute>
- <attribute name="fail">alternative</attribute>
-</directive>
-<data></data>
-<directive name="start" line="12" col="3">
-</directive>
-<data> Fail alternative for include2.fail.jetinc within fail alternative of include1.fail.jetinc
-</data>
-<directive name="end" line="14" col="3">
-</directive>
-<data></data>
-<directive name="end" line="15" col="1">
-</directive>
-<data><<< after include ---
-
---- before successful include with alternative >>>
-</data>
-<directive name="include" line="19" col="1">
- <attribute name="file">include1.jetinc</attribute>
- <attribute name="fail">alternative</attribute>
-</directive>
-<included templatePath="include1.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/base/">
- <data>This is content from include1.jetinc in base.
-3 + 5 = </data>
- <expression line="2" col="12"> 3 + 5 </expression>
- <data>
-Done
-</data>
-</included>
-<data>
-<<< after include ---
-
---- before failing include with alternative >>>
-</data>
-<directive name="include" line="35" col="1">
- <attribute name="file">include1.fail.jetinc</attribute>
- <attribute name="fail">silent</attribute>
-</directive>
-<data><<< after include ---
-</data>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet
deleted file mode 100644
index 2a9764f..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet
+++ /dev/null
@@ -1,4 +0,0 @@
-<%@jet class="Simple" package="org.eclipse.jet.tests.tools.tempates" %>
---- before include >>>
-<%@include file="include2.jetinc"%>
-<<< after include ---
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet.astdump.expected b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet.astdump.expected
deleted file mode 100644
index 88b4247..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/complex.include.javajet.astdump.expected
+++ /dev/null
@@ -1,49 +0,0 @@
-<directive name="jet" line="1" col="1">
- <attribute name="class">Simple</attribute>
- <attribute name="package">org.eclipse.jet.tests.tools.tempates</attribute>
-</directive>
-<data>--- before include >>>
-</data>
-<directive name="include" line="3" col="1">
- <attribute name="file">include2.jetinc</attribute>
-</directive>
-<included templatePath="include2.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/base/">
- <data>This is content from include2.jetinc in base.
-</data>
- <directive name="include" line="2" col="1">
- <attribute name="file">include2.jetinc</attribute>
- </directive>
- <included templatePath="include2.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/alt1/">
- <data>This is content from include2.jetinc in alt1.
-</data>
- <directive name="include" line="2" col="1">
- <attribute name="file">include2.jetinc</attribute>
- </directive>
- <included templatePath="include2.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/alt2/">
- <data>This is content from include2.jetinc in alt2.
-7 + 8 = </data>
- <expression line="2" col="12"> 7 + 8 </expression>
- <data>
-</data>
- <directive name="include" line="3" col="1">
- <attribute name="file">include1.jetinc</attribute>
- </directive>
- <included templatePath="include1.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/base/">
- <data>This is content from include1.jetinc in base.
-3 + 5 = </data>
- <expression line="2" col="12"> 3 + 5 </expression>
- <data>
-Done
-</data>
- </included>
- <data>Done
-</data>
- </included>
- <data>Done
-</data>
- </included>
- <data>Done
-</data>
-</included>
-<data><<< after include ---
-</data>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include1.jetinc b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include1.jetinc
deleted file mode 100644
index ef24377..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include1.jetinc
+++ /dev/null
@@ -1,3 +0,0 @@
-This is content from include1.jetinc in base.
-3 + 5 = <%= 3 + 5 %>
-Done
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include2.jetinc b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include2.jetinc
deleted file mode 100644
index 230b451..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/include2.jetinc
+++ /dev/null
@@ -1,3 +0,0 @@
-This is content from include2.jetinc in base.
-<%@ include file="include2.jetinc" %>
-Done
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet
deleted file mode 100644
index 80803f6..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet
+++ /dev/null
@@ -1,4 +0,0 @@
-<%@jet class="Simple" package="org.eclipse.jet.tests.tools.tempates" %>
---- before include >>>
-<%@include file="include1.jetinc"%>
-<<< after include ---
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.astdump.expected b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.astdump.expected
deleted file mode 100644
index 6051345..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.astdump.expected
+++ /dev/null
@@ -1,19 +0,0 @@
-<directive name="jet" line="1" col="1">
- <attribute name="class">Simple</attribute>
- <attribute name="package">org.eclipse.jet.tests.tools.tempates</attribute>
-</directive>
-<data>--- before include >>>
-</data>
-<directive name="include" line="3" col="1">
- <attribute name="file">include1.jetinc</attribute>
-</directive>
-<included templatePath="include1.jetinc" baseLocation="platform:/plugin/org.eclipse.jet.tests.core/data/parser/v1/base/">
- <data>This is content from include1.jetinc in base.
-3 + 5 = </data>
- <expression line="2" col="12"> 3 + 5 </expression>
- <data>
-Done
-</data>
-</included>
-<data><<< after include ---
-</data>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.chararray.astdump.expected b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.chararray.astdump.expected
deleted file mode 100644
index ff45607..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.include.javajet.chararray.astdump.expected
+++ /dev/null
@@ -1,11 +0,0 @@
-<directive name="jet" line="1" col="1">
- <attribute name="class">Simple</attribute>
- <attribute name="package">org.eclipse.jet.tests.tools.tempates</attribute>
-</directive>
-<data>--- before include >>>
-</data>
-<directive name="include" line="3" col="1">
- <attribute name="file">include1.jetinc</attribute>
-</directive>
-<data><<< after include ---
-</data>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet
deleted file mode 100644
index b910599..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet
+++ /dev/null
@@ -1,9 +0,0 @@
-<%@jet class="Simple" package="org.eclipse.jet.tests.tools.tempates" %>
---- before scriptlet >>>
-<%
-// This is a scriptlet
-String value = "World";
-%>
-<<< after scriptlet ---
-
-Hello <%= value %>!
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet.astdump.expected b/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet.astdump.expected
deleted file mode 100644
index 4af00e5..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/v1/base/simple.javajet.astdump.expected
+++ /dev/null
@@ -1,16 +0,0 @@
-<directive name="jet" line="1" col="1">
- <attribute name="class">Simple</attribute>
- <attribute name="package">org.eclipse.jet.tests.tools.tempates</attribute>
-</directive>
-<data>--- before scriptlet >>>
-</data>
-<scriptlet line="3" col="3">
-// This is a scriptlet
-String value = "World";
-</scriptlet>
-<data><<< after scriptlet ---
-
-Hello </data>
-<expression line="9" col="10"> value </expression>
-<data>!
-</data>

Back to the top