Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests.core/data/parser/legacy')
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet34
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet.expected93
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedComment.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDeclaration.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDirective.jet1
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedExpression.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedScriplet.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLEnd.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLStart.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlEndWithAttributes.jet3
-rw-r--r--tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlStartWithoutEnd.jet8
11 files changed, 0 insertions, 157 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
deleted file mode 100644
index 241c44d..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet
+++ /dev/null
@@ -1,34 +0,0 @@
-<%@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>
-<% } %>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet.expected b/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet.expected
deleted file mode 100644
index 43b65a2..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/alljet2.jet.expected
+++ /dev/null
@@ -1,93 +0,0 @@
-<directive name="jet" start="(1,1)" stop="(1,56)">
- <attribute name="class">Foo</attribute>
- <attribute name="package">org.eclipse.emf.examples</attribute>
-</directive>
-<data>
-Some top level text.
-</data>
-<expression start="(3,4)" stop="(3,21)"> "An expression" </expression>
-<data>
-</data>
-<declaration start="(4,4)" stop="(8,1)">
-int foo() {
- return 3;
-}
-</declaration>
-<data>
-</data>
-<scriptlet start="(9,3)" stop="(13,1)">
-if(foo() > 0) {
- foo();
-}
-</scriptlet>
-<data>
-</data>
-<comment start="(14,5)" stop="(14,16)"> a comment </comment>
-<data>
-</data>
-<tag name="test:container" start="(15,1)" stop="(15,47)">
- <attribute name="one">test one</attribute>
- <attribute name="two">test two</attribute>
- <content>
- <data>
- </data>
- <tag name="test:empty" start="(16,5)" stop="(16,18)">
- </tag>
- <data>
- </data>
- <tag name="test:container" start="(17,5)" stop="(17,21)">
- <content>
- <data>
- some text <nontest:text attributes="foo"/>
- </data>
- </content>
- </tag>
- <data>
-</data>
- </content>
-</tag>
-<data>
-</data>
-<comment start="(21,5)" stop="(21,27)"> tags containing Java </comment>
-<data>
-</data>
-<tag name="test:container" start="(22,1)" stop="(22,17)">
- <content>
- <data>
- </data>
- <expression start="(23,8)" stop="(23,16)"> foo(); </expression>
- <data>
- </data>
- <scriptlet start="(24,7)" stop="(24,24)"> if(foo() > 0) { </scriptlet>
- <data>
- some text
- </data>
- <scriptlet start="(26,7)" stop="(26,10)"> } </scriptlet>
- <data>
-</data>
- </content>
-</tag>
-<data>
-</data>
-<comment start="(28,5)" stop="(28,26)"> Java container tags </comment>
-<data>
-</data>
-<scriptlet start="(29,3)" stop="(29,20)"> if(foo() > 0) { </scriptlet>
-<data>
- some text
- </data>
-<tag name="test:empty" start="(31,9)" stop="(31,22)">
-</tag>
-<data>
- </data>
-<tag name="test:container" start="(32,9)" stop="(32,25)">
- <content>
- <data>
- </data>
- </content>
-</tag>
-<data>
-</data>
-<scriptlet start="(34,3)" stop="(34,6)"> } </scriptlet>
-<data>
-</data>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedComment.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedComment.jet
deleted file mode 100644
index ba01d6f..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedComment.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-<%-- String x = "Hello World!"; -%>
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDeclaration.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDeclaration.jet
deleted file mode 100644
index a12518f..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDeclaration.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-<%! public void foo() {} >
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDirective.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDirective.jet
deleted file mode 100644
index c822dec..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedDirective.jet
+++ /dev/null
@@ -1 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedExpression.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedExpression.jet
deleted file mode 100644
index b67abe9..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedExpression.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-<%= "Hello World!" >
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedScriplet.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedScriplet.jet
deleted file mode 100644
index dd654a9..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedScriplet.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-<% String x = "Hello World!"; >
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLEnd.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLEnd.jet
deleted file mode 100644
index 08f095f..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLEnd.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@taglib id="org.eclipse.jet.controlTags" prefix="test" %>
-
-</test:include
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLStart.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLStart.jet
deleted file mode 100644
index 31f3ccf..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/unclosedXMLStart.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@taglib id="org.eclipse.jet.controlTags" prefix="test" %>
-
-<test:include template="foo"
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlEndWithAttributes.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlEndWithAttributes.jet
deleted file mode 100644
index a614208..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlEndWithAttributes.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-</test:start attr="value">
diff --git a/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlStartWithoutEnd.jet b/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlStartWithoutEnd.jet
deleted file mode 100644
index 54760f5..0000000
--- a/tests/org.eclipse.jet.tests.core/data/parser/legacy/xmlStartWithoutEnd.jet
+++ /dev/null
@@ -1,8 +0,0 @@
-<%@jet package="org.eclipse.emf.examples.test" class="Foo" %>
-
-<test:start attr="value">
-
-<test:start2 attr="two">
-
-</test:start>
-</test:start2> \ No newline at end of file

Back to the top