Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2010-11-02 16:43:58 -0400
committerpelder2010-11-02 16:43:58 -0400
commit4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc (patch)
tree7b53d650e546f121613c0e080ea89f3789f177b2 /tests/org.eclipse.jet.tests/data
parent15ccba1e74a55349bdce44c7e99858795f7925b1 (diff)
downloadorg.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.gz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.tar.xz
org.eclipse.jet-4c6c9ff3bb1d821f73ed3c3703c545a99d6c07fc.zip
This commit was manufactured by cvs2svn to create tag 'v201011021646'.v201011021646
Diffstat (limited to 'tests/org.eclipse.jet.tests/data')
-rw-r--r--tests/org.eclipse.jet.tests/data/ActionsUtil/MANIFEST.MF17
-rw-r--r--tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16be.xmlbin150 -> 0 bytes
-rw-r--r--tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16le.xmlbin150 -> 0 bytes
-rw-r--r--tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_bom.xml4
-rw-r--r--tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_no_bom.xml4
-rw-r--r--tests/org.eclipse.jet.tests/data/DOMInspector.xml11
-rw-r--r--tests/org.eclipse.jet.tests/data/alljet2.jet41
-rw-r--r--tests/org.eclipse.jet.tests/data/alljet2.jet.expected104
-rw-r--r--tests/org.eclipse.jet.tests/data/alljet2.jet.expected.java76
-rw-r--r--tests/org.eclipse.jet.tests/data/attributeParsingErrors.jet6
-rw-r--r--tests/org.eclipse.jet.tests/data/bean.model.sample.xml22
-rw-r--r--tests/org.eclipse.jet.tests/data/beanModel.badlocation.xml21
-rw-r--r--tests/org.eclipse.jet.tests/data/beanModel.xml21
-rw-r--r--tests/org.eclipse.jet.tests/data/beanModel.xsd39
-rw-r--r--tests/org.eclipse.jet.tests/data/beans.xsd43
-rw-r--r--tests/org.eclipse.jet.tests/data/bug147714.jet11
-rw-r--r--tests/org.eclipse.jet.tests/data/dm-example.xml37
-rw-r--r--tests/org.eclipse.jet.tests/data/dm-example.xsd145
-rw-r--r--tests/org.eclipse.jet.tests/data/jetast.ecore97
-rw-r--r--tests/org.eclipse.jet.tests/data/library.xml25
-rw-r--r--tests/org.eclipse.jet.tests/data/library.xml.indisguise25
-rw-r--r--tests/org.eclipse.jet.tests/data/lineinfo.jet10
-rw-r--r--tests/org.eclipse.jet.tests/data/lineinfo.jet.expected.txt10
-rw-r--r--tests/org.eclipse.jet.tests/data/newproject.nolocation.xml4
-rw-r--r--tests/org.eclipse.jet.tests/data/newproject.xml4
-rw-r--r--tests/org.eclipse.jet.tests/data/newproject.xsd81
-rw-r--r--tests/org.eclipse.jet.tests/data/plain.xml21
-rw-r--r--tests/org.eclipse.jet.tests/data/sample.dataaccess10
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/changedTemplates/simple.v2.input.jet11
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet10
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet.expected.java118
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input2.jet10
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.loader.expected.java83
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat1
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat21
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat31
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat41
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.nopredefs.expected.java23
-rw-r--r--tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java39
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup/ChildrenOnly.xml5
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup/MixedChildren.xml7
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup/ReallySpecialChildren.xml8
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup/SpecialChildrenOnly.xml5
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup/XMLSchemaWithGroups.xsd46
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup_2.4/ChildrenOnly.xml5
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup_2.4/MixedChildren.xml7
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup_2.4/ReallySpecialChildren.xml8
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup_2.4/SpecialChildrenOnly.xml5
-rw-r--r--tests/org.eclipse.jet.tests/data/substGroup_2.4/XMLSchemaWithGroups.xsd49
-rw-r--r--tests/org.eclipse.jet.tests/data/taglibs.jet10
-rw-r--r--tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.astdump.expected41
-rw-r--r--tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.expected.java114
-rw-r--r--tests/org.eclipse.jet.tests/data/taglibs.jet.astdump.expected46
-rw-r--r--tests/org.eclipse.jet.tests/data/taglibs.jet.expected.java114
-rw-r--r--tests/org.eclipse.jet.tests/data/textTrimmingTests.jet70
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedComment.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedDeclaration.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedDirective.jet1
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedExpression.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedScriplet.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedXMLEnd.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/unclosedXMLStart.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlEndWithAttributes.jet3
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlStartWithoutEnd.jet8
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/README.txt4
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.ecore82
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.genmodel31
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.xsd16
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/humans.xml7
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore102
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel31
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd32
-rw-r--r--tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml7
74 files changed, 0 insertions, 2072 deletions
diff --git a/tests/org.eclipse.jet.tests/data/ActionsUtil/MANIFEST.MF b/tests/org.eclipse.jet.tests/data/ActionsUtil/MANIFEST.MF
deleted file mode 100644
index ff8d913..0000000
--- a/tests/org.eclipse.jet.tests/data/ActionsUtil/MANIFEST.MF
+++ /dev/null
@@ -1,17 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.jet.tests;singleton:=true
-Bundle-Version: 0.7.0.qualifier
-Bundle-ClassPath: tests.jar
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.jet,
- org.junit,
- org.eclipse.emf.codegen,
- org.eclipse.core.runtime,
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.xsd,
- org.eclipse.core.filebuffers,
- org.eclipse.core.resources
-Bundle-Vendor: %providerName
diff --git a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16be.xml b/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16be.xml
deleted file mode 100644
index 368bb8c..0000000
--- a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16be.xml
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16le.xml b/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16le.xml
deleted file mode 100644
index a167ef1..0000000
--- a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf16le.xml
+++ /dev/null
Binary files differ
diff --git a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_bom.xml b/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_bom.xml
deleted file mode 100644
index 59bda64..0000000
--- a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_bom.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root>
- <a attr="b"/>
-</root>
diff --git a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_no_bom.xml b/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_no_bom.xml
deleted file mode 100644
index e93c6a2..0000000
--- a/tests/org.eclipse.jet.tests/data/ActionsUtil/sample_utf8_no_bom.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root>
- <a attr="b"/>
-</root>
diff --git a/tests/org.eclipse.jet.tests/data/DOMInspector.xml b/tests/org.eclipse.jet.tests/data/DOMInspector.xml
deleted file mode 100644
index dd08e67..0000000
--- a/tests/org.eclipse.jet.tests/data/DOMInspector.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<root rootAttr="test">
- <!-- a comment within root -->
- <a name="foo" name-with_hyphen="hello">
- <b>Some foo text.</b>
- </a>
- <a name="bar">
- <b>Some bar text.</b>
- </a>
-</root>
diff --git a/tests/org.eclipse.jet.tests/data/alljet2.jet b/tests/org.eclipse.jet.tests/data/alljet2.jet
deleted file mode 100644
index f38e90f..0000000
--- a/tests/org.eclipse.jet.tests/data/alljet2.jet
+++ /dev/null
@@ -1,41 +0,0 @@
-<%@jet class="Foo" package="org.eclipse.emf.examples"%>
-<%-- @header
-This is the header comment for the file
-It has many lines
---%>
-<%-- @class
-This is the class comment.
-It has many lines --%>
-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/data/alljet2.jet.expected b/tests/org.eclipse.jet.tests/data/alljet2.jet.expected
deleted file mode 100644
index 1208675..0000000
--- a/tests/org.eclipse.jet.tests/data/alljet2.jet.expected
+++ /dev/null
@@ -1,104 +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>
-</data>
-<comment start="(2,5)" stop="(5,1)"> @header
-This is the header comment for the file
-It has many lines
-</comment>
-<data>
-</data>
-<comment start="(6,5)" stop="(8,19)"> @class
-This is the class comment.
-It has many lines </comment>
-<data>
-Some top level text.
-</data>
-<expression start="(10,4)" stop="(10,21)"> "An expression" </expression>
-<data>
-</data>
-<declaration start="(11,4)" stop="(15,1)">
-int foo() {
- return 3;
-}
-</declaration>
-<data>
-</data>
-<scriptlet start="(16,3)" stop="(20,1)">
-if(foo() > 0) {
- foo();
-}
-</scriptlet>
-<data>
-</data>
-<comment start="(21,5)" stop="(21,16)"> a comment </comment>
-<data>
-</data>
-<tag name="test:container" start="(22,1)" stop="(22,47)">
- <attribute name="one">test one</attribute>
- <attribute name="two">test two</attribute>
- <content>
- <data>
- </data>
- <tag name="test:empty" start="(23,5)" stop="(23,18)">
- </tag>
- <data>
- </data>
- <tag name="test:container" start="(24,5)" stop="(24,21)">
- <content>
- <data>
- some text <nontest:text attributes="foo"/>
- </data>
- </content>
- </tag>
- <data>
-</data>
- </content>
-</tag>
-<data>
-</data>
-<comment start="(28,5)" stop="(28,27)"> tags containing Java </comment>
-<data>
-</data>
-<tag name="test:container" start="(29,1)" stop="(29,17)">
- <content>
- <data>
- </data>
- <expression start="(30,8)" stop="(30,16)"> foo(); </expression>
- <data>
- </data>
- <scriptlet start="(31,7)" stop="(31,24)"> if(foo() > 0) { </scriptlet>
- <data>
- some text
- </data>
- <scriptlet start="(33,7)" stop="(33,10)"> } </scriptlet>
- <data>
-</data>
- </content>
-</tag>
-<data>
-</data>
-<comment start="(35,5)" stop="(35,26)"> Java container tags </comment>
-<data>
-</data>
-<scriptlet start="(36,3)" stop="(36,20)"> if(foo() > 0) { </scriptlet>
-<data>
- some text
- </data>
-<tag name="test:empty" start="(38,9)" stop="(38,22)">
-</tag>
-<data>
- </data>
-<tag name="test:container" start="(39,9)" stop="(39,25)">
- <content>
- <data>
- </data>
- </content>
-</tag>
-<data>
-</data>
-<scriptlet start="(41,3)" stop="(41,6)"> } </scriptlet>
-<data>
-</data>
diff --git a/tests/org.eclipse.jet.tests/data/alljet2.jet.expected.java b/tests/org.eclipse.jet.tests/data/alljet2.jet.expected.java
deleted file mode 100644
index 80cdc4c..0000000
--- a/tests/org.eclipse.jet.tests/data/alljet2.jet.expected.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * This is the header comment for the file
- * It has many lines
- */
-package org.eclipse.emf.examples;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-
-/**
- * This is the class comment.
- * It has many lines
- */
-public class Foo implements JET2Template {
-
-
-int foo() {
- return 3;
-}
-
- public Foo() {
- super();
- }
-
- private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
-
- public void generate(final JET2Context context, final JET2Writer __out) {
- JET2Writer out = __out;
- out.write("Some top level text."); //$NON-NLS-1$
- out.write(NL);
- out.write( "An expression" );
- out.write(NL);
-
-if(foo() > 0) {
- foo();
-}
-
- // a comment
- out.write("<test:container one=\"test one\" two='test two'>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" <test:empty/>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" <test:container>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" some text <nontest:text attributes=\"foo\"/>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" </test:container>"); //$NON-NLS-1$
- out.write(NL);
- out.write("</test:container>"); //$NON-NLS-1$
- out.write(NL);
- // tags containing Java
- out.write("<test:container>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" "); //$NON-NLS-1$
- out.write( foo(); );
- out.write(NL);
- if(foo() > 0) {
- out.write(" some text"); //$NON-NLS-1$
- out.write(NL);
- }
- out.write("</test:container>"); //$NON-NLS-1$
- out.write(NL);
- // Java container tags
- if(foo() > 0) {
- out.write(" some text"); //$NON-NLS-1$
- out.write(NL);
- out.write(" <test:empty/>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" <test:container>"); //$NON-NLS-1$
- out.write(NL);
- out.write(" </test:container>"); //$NON-NLS-1$
- out.write(NL);
- }
- }
-}
diff --git a/tests/org.eclipse.jet.tests/data/attributeParsingErrors.jet b/tests/org.eclipse.jet.tests/data/attributeParsingErrors.jet
deleted file mode 100644
index 99bf3cc..0000000
--- a/tests/org.eclipse.jet.tests/data/attributeParsingErrors.jet
+++ /dev/null
@@ -1,6 +0,0 @@
-<%@taglib prefix="c" id="org.eclipse.jet.controlTags"%>
-
-<%-- The following line is missing a double quote (") on the 'var' attribute --%>
-<c:iterate select="foo" var="bar>
- some text parameterized by bar: <c:get select="$bar"/>
-</c:iterate> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/bean.model.sample.xml b/tests/org.eclipse.jet.tests/data/bean.model.sample.xml
deleted file mode 100644
index c2367f2..0000000
--- a/tests/org.eclipse.jet.tests/data/bean.model.sample.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<root>
- <project name="test.beans">
- <beanmodel name="Library" basePackage="base.pkg">
- <bean name="Author" project="foo">
- <attribute name="name" type="String" kind="FIELD"/>
- <attribute name="books" type="Book" kind="LIST"/>
- </bean>
- <bean name="Book">
- <attribute name="title" type="String" kind="FIELD">The book title</attribute>
- <attribute name="pages" type="int" kind="FIELD"/>
- <attribute name="authors" type="Book" kind="LIST"/>
- </bean>
- <bean name="Library">
- <attribute name="name" type="String" kind="FIELD"/>
- <attribute name="yearFounded" type="int" kind="FIELD"/>
- <attribute name="authors" type="Author" kind="LIST"/>
- <attribute name="books" type="Book" kind="LIST"/>
- <attribute name="openSince" type="int" kind="DERIVED"/>
- </bean>
- </beanmodel>
- </project>
-</root> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/beanModel.badlocation.xml b/tests/org.eclipse.jet.tests/data/beanModel.badlocation.xml
deleted file mode 100644
index e819cbf..0000000
--- a/tests/org.eclipse.jet.tests/data/beanModel.badlocation.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="missing.beanModel.xsd">
- <beanModel basePackage="org.example" name="Library">
- <bean name="Library">
- <attribute kind="FIELD" name="name" type="String"/>
- <attribute kind="FIELD" name="yearFounded" type="int"/>
- <attribute kind="DERIVED" name="yearsOpen" type="int"/>
- <attribute kind="LIST" name="books" type="Book"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Book">
- <attribute kind="FIELD" name="title" type="String"/>
- <attribute kind="FIELD" name="pages" type="int"/>
- <attribute kind="LIST" name="author" type="Author"/>
- </bean>
- <bean name="Author">
- <attribute kind="FIELD" name="name" type="String"/>
- <attribute kind="LIST" name="books" type="Book"/>
- </bean>
- </beanModel>
-</root>
diff --git a/tests/org.eclipse.jet.tests/data/beanModel.xml b/tests/org.eclipse.jet.tests/data/beanModel.xml
deleted file mode 100644
index fb8d74c..0000000
--- a/tests/org.eclipse.jet.tests/data/beanModel.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="beanModel.xsd">
- <beanModel basePackage="org.example" name="Library">
- <bean name="Library">
- <attribute kind="FIELD" name="name" type="String"/>
- <attribute kind="FIELD" name="yearFounded" type="int"/>
- <attribute kind="DERIVED" name="yearsOpen" type="int"/>
- <attribute kind="LIST" name="books" type="Book"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Book">
- <attribute kind="FIELD" name="title" type="String"/>
- <attribute kind="FIELD" name="pages" type="int"/>
- <attribute kind="LIST" name="author" type="Author"/>
- </bean>
- <bean name="Author">
- <attribute kind="FIELD" name="name" type="String"/>
- <attribute kind="LIST" name="books" type="Book"/>
- </bean>
- </beanModel>
-</root>
diff --git a/tests/org.eclipse.jet.tests/data/beanModel.xsd b/tests/org.eclipse.jet.tests/data/beanModel.xsd
deleted file mode 100644
index 13a285a..0000000
--- a/tests/org.eclipse.jet.tests/data/beanModel.xsd
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="root">
- <xsd:sequence>
- <xsd:element name="beanModel" type="beanModel" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="project">
- <xsd:sequence>
- <xsd:element name="beanModel" type="beanModel" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
- </xsd:complexType>
-
- <xsd:complexType name="beanModel">
- <xsd:sequence>
- <xsd:element name="bean" type="bean" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
- <xsd:attribute name="basePackage" type="xsd:string"></xsd:attribute>
- </xsd:complexType>
-
- <xsd:complexType name="bean">
- <xsd:sequence>
- <xsd:element name="attribute" type="attribute" maxOccurs="unbounded" minOccurs="0"></xsd:element>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
- </xsd:complexType>
-
- <xsd:complexType name="attribute">
- <xsd:attribute name="name" type="xsd:string"></xsd:attribute>
- <xsd:attribute name="type" type="xsd:string"></xsd:attribute>
- <xsd:attribute name="kind" type="xsd:string"></xsd:attribute>
- </xsd:complexType>
-
- <xsd:element name="root" type="root"></xsd:element>
-</xsd:schema> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/beans.xsd b/tests/org.eclipse.jet.tests/data/beans.xsd
deleted file mode 100644
index f886846..0000000
--- a/tests/org.eclipse.jet.tests/data/beans.xsd
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns="http://www.example.org/beans" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" targetNamespace="http://www.example.org/beans">
- <xsd:complexType name="root">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="project" type="project"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="project">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="beanModel" type="beanModel"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- </xsd:complexType>
-
- <xsd:complexType name="beanModel">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="bean" type="bean"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="basePackage" type="xsd:string"/>
- </xsd:complexType>
-
- <xsd:complexType name="bean">
- <xsd:sequence>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="attribute" type="attribute"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- </xsd:complexType>
-
- <xsd:complexType name="attribute">
- <xsd:sequence>
- <xsd:element maxOccurs="1" minOccurs="0" name="doc" type="xsd:string"/>
- </xsd:sequence>
- <xsd:attribute name="name" type="xsd:string"/>
- <xsd:attribute name="type" type="xsd:string"/>
- <xsd:attribute name="kind" type="xsd:string"/>
- <xsd:attribute name="name-with_hyphen" type="xsd:string" use="optional"/>
- </xsd:complexType>
-
- <xsd:element name="root" type="root"/>
-
-</xsd:schema>
diff --git a/tests/org.eclipse.jet.tests/data/bug147714.jet b/tests/org.eclipse.jet.tests/data/bug147714.jet
deleted file mode 100644
index ec12e85..0000000
--- a/tests/org.eclipse.jet.tests/data/bug147714.jet
+++ /dev/null
@@ -1,11 +0,0 @@
-<%-- Bug 147714 requests the JET compiler to treat <tag ...> as <tag .../> if tag is an emptyTag.
-This is for compatibility with DPTK: http://www.alphaworks.ibm.com/tech/dptk.
-Since DPTK does not use namespace prefixes, the fix only applies to tags with not prefix.
---%>
-<%@taglib id="org.eclipse.jet.controlTags" prefix="c" %>
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="" %>
-
-<%-- line 8: expect error --%><c:get select="$foo">
-<%-- line 9: expect ok --%><c:get select="$foo"/>
-<%-- line 10: expect warning --%><nl>
-<%-- line 11: expect ok --%><nl/>
diff --git a/tests/org.eclipse.jet.tests/data/dm-example.xml b/tests/org.eclipse.jet.tests/data/dm-example.xml
deleted file mode 100644
index f03f715..0000000
--- a/tests/org.eclipse.jet.tests/data/dm-example.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<?xml-stylesheet type="text/xsl" href="dm-example.xsl"?>
-<catalog xmlns="http://www.example.com/catalog"
- xmlns:html="http://www.w3.org/1999/xhtml"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.example.com/catalog
- dm-example.xsd"
- xml:lang="en"
- version="0.1">
-
-<!-- This example is for data model illustration only.
- It does not demonstrate good schema design. -->
-
-<tshirt code="T1534017" label=" Staind : Been Awhile "
- xlink:href="http://example.com/0,,1655091,00.html"
- sizes="M L XL">
- <title> Staind: Been Awhile Tee Black (1-sided) </title>
- <description>
- <html:p>
- Lyrics from the hit song 'It's Been Awhile'
- are shown in white, beneath the large
- 'Flock &amp; Weld' Staind logo.
- </html:p>
- </description>
- <price> 25.00 </price>
-</tshirt>
-
-<album code="A1481344" label=" Staind : Its Been A While "
- formats="CD">
- <title> It's Been A While </title>
- <description xsi:nil="true" />
- <price currency="USD"> 10.99 </price>
- <artist> Staind </artist>
-</album>
-
-</catalog> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/dm-example.xsd b/tests/org.eclipse.jet.tests/data/dm-example.xsd
deleted file mode 100644
index 0231cf3..0000000
--- a/tests/org.eclipse.jet.tests/data/dm-example.xsd
+++ /dev/null
@@ -1,145 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:cat="http://www.example.com/catalog" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.example.com/catalog">
-
-<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
-
-<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="http://www.cs.rpi.edu/~puninj/XGMML/xlinks-2001.xsd"/>
-
-<xs:element name="catalog">
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" ref="cat:_item"/>
- </xs:sequence>
- <xs:attribute fixed="0.1" name="version" type="xs:string" use="required"/>
- <xs:attribute ref="xml:base"/>
- <xs:attribute ref="xml:lang"/>
- </xs:complexType>
-</xs:element>
-
-<xs:element abstract="true" name="_item" type="cat:itemType"/>
-
-<xs:complexType name="itemType">
- <xs:sequence>
- <xs:element name="title" type="xs:token"/>
- <xs:element name="description" nillable="true" type="cat:description"/>
- <xs:element maxOccurs="unbounded" name="price" type="cat:price"/>
- </xs:sequence>
- <xs:attribute name="label" type="xs:token"/>
- <xs:attribute name="code" type="xs:ID" use="required"/>
- <xs:attributeGroup ref="xlink:simpleLink"/>
-</xs:complexType>
-
-<xs:element name="tshirt" substitutionGroup="cat:_item" type="cat:tshirtType"/>
-
-<xs:complexType name="tshirtType">
- <xs:complexContent>
- <xs:extension base="cat:itemType">
- <xs:attribute name="sizes" type="cat:clothesSizes" use="required"/>
- </xs:extension>
- </xs:complexContent>
-</xs:complexType>
-
-<xs:simpleType name="clothesSizes">
- <xs:union memberTypes="cat:sizeList">
- <xs:simpleType>
- <xs:restriction base="xs:token">
- <xs:enumeration value="oneSize"/>
- </xs:restriction>
- </xs:simpleType>
- </xs:union>
-</xs:simpleType>
-
-<xs:simpleType name="sizeList">
- <xs:restriction>
- <xs:simpleType>
- <xs:list itemType="cat:clothesSize"/>
- </xs:simpleType>
- <xs:minLength value="1"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="clothesSize">
- <xs:union memberTypes="cat:numberedSize cat:categorySize"/>
-</xs:simpleType>
-
-<xs:simpleType name="numberedSize">
- <xs:restriction base="xs:integer">
- <xs:enumeration value="4"/>
- <xs:enumeration value="6"/>
- <xs:enumeration value="8"/>
- <xs:enumeration value="10"/>
- <xs:enumeration value="12"/>
- <xs:enumeration value="14"/>
- <xs:enumeration value="16"/>
- <xs:enumeration value="18"/>
- <xs:enumeration value="20"/>
- <xs:enumeration value="22"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="categorySize">
- <xs:restriction base="xs:token">
- <xs:enumeration value="XS"/>
- <xs:enumeration value="S"/>
- <xs:enumeration value="M"/>
- <xs:enumeration value="L"/>
- <xs:enumeration value="XL"/>
- <xs:enumeration value="XXL"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:element name="album" substitutionGroup="cat:_item" type="cat:albumType"/>
-
-<xs:complexType name="albumType">
- <xs:complexContent>
- <xs:extension base="cat:itemType">
- <xs:sequence>
- <xs:element name="artist" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="formats" type="cat:formatsType" use="required"/>
- </xs:extension>
- </xs:complexContent>
-</xs:complexType>
-
-<xs:simpleType name="formatsType">
- <xs:list itemType="cat:formatType"/>
-</xs:simpleType>
-
-<xs:simpleType name="formatType">
- <xs:restriction base="xs:token">
- <xs:enumeration value="CD"/>
- <xs:enumeration value="MiniDisc"/>
- <xs:enumeration value="tape"/>
- <xs:enumeration value="vinyl"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:complexType mixed="true" name="description">
- <xs:sequence>
- <xs:any maxOccurs="unbounded" minOccurs="0" namespace="http://www.w3.org/1999/xhtml" processContents="lax"/>
- </xs:sequence>
- <xs:attribute ref="xml:lang"/>
-</xs:complexType>
-
-<xs:complexType name="price">
- <xs:simpleContent>
- <xs:extension base="cat:monetaryAmount">
- <xs:attribute default="USD" name="currency" type="cat:currencyType"/>
- </xs:extension>
- </xs:simpleContent>
-</xs:complexType>
-
-<xs:simpleType name="currencyType">
- <xs:restriction base="xs:token">
- <xs:pattern value="[A-Z]{3}"/>
- </xs:restriction>
-</xs:simpleType>
-
-<xs:simpleType name="monetaryAmount">
- <xs:restriction base="xs:decimal">
- <xs:fractionDigits value="3"/>
- <xs:pattern value="\d+\.(\d{2})?"/>
- </xs:restriction>
-</xs:simpleType>
-
-</xs:schema>
diff --git a/tests/org.eclipse.jet.tests/data/jetast.ecore b/tests/org.eclipse.jet.tests/data/jetast.ecore
deleted file mode 100644
index 7003325..0000000
--- a/tests/org.eclipse.jet.tests/data/jetast.ecore
+++ /dev/null
@@ -1,97 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="jetast"
- nsURI="http:///org/eclipse/emf/jet2/compile/jetast.ecore" nsPrefix="org.eclipse.emf.jet2.compile.jetast">
- <eClassifiers xsi:type="ecore:EClass" name="JET2AST"/>
- <eClassifiers xsi:type="ecore:EClass" name="JET2ASTElement" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="line" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="start" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="end" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="ast" eType="#//JET2AST"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="parent" eType="#//JET2ASTElement"
- containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="commentStart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="commentEnd" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="comment" eType="#//JavaCharArray"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JavaElement" abstract="true" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaStart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaEnd" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaContent" eType="#//JavaCharArray"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JET2Declaration" eSuperTypes="#//JavaElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="JET2Expression" eSuperTypes="#//JavaElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="JET2Scriptlet" eSuperTypes="#//JavaElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="JET2CompilationUnit" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="fileName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaOutputPackage" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="javaOutputClass" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="errors" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- changeable="false" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="warnings" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- changeable="false" derived="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="problems" upperBound="-1"
- eType="#//Problem" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bodyElements" upperBound="-1"
- eType="#//JET2ASTElement" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Problem">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="originatingFileName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lineNumber" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="start" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="end" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="message" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="msgArgs" eType="#//ObjectArray"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="severity" eType="#//Severity"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="#//ProblemId"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="Severity">
- <eLiterals name="ERROR"/>
- <eLiterals name="WARNING" value="1"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="ProblemId">
- <eLiterals name="MissingXmlStartTag"/>
- <eLiterals name="MissingXmlEndTag" value="1"/>
- <eLiterals name="MissingRequiredAttribute" value="2"/>
- <eLiterals name="DuplicateXMLNamespacePrefix" value="3"/>
- <eLiterals name="UnknownTagLibrary" value="4"/>
- <eLiterals name="UnknownAttributeInTag" value="5"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="JET2Directive" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//Attribute" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TextElement" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="text" eType="#//JavaCharArray"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XMLElement" abstract="true" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="tagDefinition" eType="#//TagDefinition"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="XMLEmptyElement" eSuperTypes="#//XMLElement"/>
- <eClassifiers xsi:type="ecore:EClass" name="XMLBodyElement" eSuperTypes="#//XMLElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="endTagStart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="endTagEnd" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
- eType="#//Attribute" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="bodyElements" upperBound="-1"
- eType="#//JET2ASTElement" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//JET2ASTElement">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="nameStart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="nameEnd" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueStart" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueEnd" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="equalsOffset" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="JavaCharArray" instanceClassName="char[]"/>
- <eClassifiers xsi:type="ecore:EDataType" name="ObjectArray" instanceClassName="Object[]"/>
- <eClassifiers xsi:type="ecore:EDataType" name="TagDefinition" instanceClassName="org.eclipse.emf.jet2.taglib.TagDefinition"/>
-</ecore:EPackage>
diff --git a/tests/org.eclipse.jet.tests/data/library.xml b/tests/org.eclipse.jet.tests/data/library.xml
deleted file mode 100644
index 12e1c14..0000000
--- a/tests/org.eclipse.jet.tests/data/library.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans:root xmlns:beans="http://www.example.org/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/beans beans.xsd ">
- <project name="test.beans">
- <beanModel basePackage="org.example" name="Library">
- <bean name="Library">
- <attribute kind="FIELD" name="name" type="String" name-with_hyphen="hello"/>
- <attribute kind="FIELD" name="yearFounded" type="int"/>
- <attribute kind="DERIVED" name="yearsOpen" type="int"/>
- <attribute kind="LIST" name="books" type="Book"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Book">
- <attribute kind="FIELD" name="title" type="String"/>
- <attribute kind="FIELD" name="pages" type="int"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Author">
- <attribute kind="FIELD" name="name" type="String">
- <doc>doc for Author.name</doc>
- </attribute>
- <attribute kind="LIST" name="books" type="Book"/>
- </bean>
- </beanModel>
- </project>
-</beans:root>
diff --git a/tests/org.eclipse.jet.tests/data/library.xml.indisguise b/tests/org.eclipse.jet.tests/data/library.xml.indisguise
deleted file mode 100644
index bd34f57..0000000
--- a/tests/org.eclipse.jet.tests/data/library.xml.indisguise
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans:root xmlns:beans="http://www.example.org/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/beans beans.xsd ">
- <project name="test.beans">
- <beanModel basePackage="org.example" name="Library">
- <bean name="Library">
- <attribute kind="FIELD" name="name" type="String"/>
- <attribute kind="FIELD" name="yearFounded" type="int"/>
- <attribute kind="DERIVED" name="yearsOpen" type="int"/>
- <attribute kind="LIST" name="books" type="Book"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Book">
- <attribute kind="FIELD" name="title" type="String"/>
- <attribute kind="FIELD" name="pages" type="int"/>
- <attribute kind="LIST" name="authors" type="Author"/>
- </bean>
- <bean name="Author">
- <attribute kind="FIELD" name="name" type="String">
- <doc>doc for Author.name</doc>
- </attribute>
- <attribute kind="LIST" name="books" type="Book"/>
- </bean>
- </beanModel>
- </project>
-</beans:root>
diff --git a/tests/org.eclipse.jet.tests/data/lineinfo.jet b/tests/org.eclipse.jet.tests/data/lineinfo.jet
deleted file mode 100644
index 2bc9dfc..0000000
--- a/tests/org.eclipse.jet.tests/data/lineinfo.jet
+++ /dev/null
@@ -1,10 +0,0 @@
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-<test:other>some text</test:other>
-<test:isAllUpper var="token">
-</test:isAllUpper>
-<test:upper>foo</test:upper><test:nl/>
-<test:other/>
-</test:tokenize> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/lineinfo.jet.expected.txt b/tests/org.eclipse.jet.tests/data/lineinfo.jet.expected.txt
deleted file mode 100644
index 4fecfd7..0000000
--- a/tests/org.eclipse.jet.tests/data/lineinfo.jet.expected.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-1:69:<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-2:48:"isAllUpper", "nl", "other", "tokenize", "upper"
-3:0:
-4:58:<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-5:34:<test:other>some text</test:other>
-6:29:<test:isAllUpper var="token">
-7:18:</test:isAllUpper>
-8:38:<test:upper>foo</test:upper><test:nl/>
-9:13:<test:other/>
-10:16:</test:tokenize>
diff --git a/tests/org.eclipse.jet.tests/data/newproject.nolocation.xml b/tests/org.eclipse.jet.tests/data/newproject.nolocation.xml
deleted file mode 100644
index 28ae5f1..0000000
--- a/tests/org.eclipse.jet.tests/data/newproject.nolocation.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<p:newProjectModel xmlns:p="org.eclipse.jet.transforms.newproject" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <project name="test3.foo.bar"/> <!-- HELLO -->
-</p:newProjectModel>
diff --git a/tests/org.eclipse.jet.tests/data/newproject.xml b/tests/org.eclipse.jet.tests/data/newproject.xml
deleted file mode 100644
index 08c4b03..0000000
--- a/tests/org.eclipse.jet.tests/data/newproject.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<p:newProjectModel xmlns:p="org.eclipse.jet.transforms.newproject" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="org.eclipse.jet.transforms.newproject newproject.xsd ">
- <project name="test3.foo.bar"/> <!-- HELLO -->
-</p:newProjectModel>
diff --git a/tests/org.eclipse.jet.tests/data/newproject.xsd b/tests/org.eclipse.jet.tests/data/newproject.xsd
deleted file mode 100644
index 55c11d1..0000000
--- a/tests/org.eclipse.jet.tests/data/newproject.xsd
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="org.eclipse.jet.transforms.newproject" xmlns="org.eclipse.jet.transforms.newproject">
-
- <xsd:element name="newProjectModel" type="newProjectModel"></xsd:element>
-
- <xsd:complexType name="newProjectModel">
- <xsd:sequence minOccurs="1">
- <xsd:element name="project" type="project" minOccurs="1"
- maxOccurs="1">
- </xsd:element>
- <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="project">
- <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute>
- <xsd:attribute name="bundleName" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>
- The display name of the resulting JET project. If
- not specified, this defaults to the value specified
- in the 'name' parameter.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="bundleSymbolicName" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>
- The id of the JET project. If not specified, this
- defaults to the name of the project.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="bundleVersion" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>
- The initial version number of the project. If not
- specified, this defaults to 1.0.0.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="bundleVendor" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>
- The Vendor of the JET Project. If not specified,
- this defaults to the empty string.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="binDir" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>
- The directory which will contain binary (compiled)
- Java classes. If not specified, the default is
- 'bin'.
- </xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="jet2javaDir" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The directory into which Java source files corresponding to JET templates will be written. The default is 'jet2java'.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="templatesDir" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The directory to which initial tempates will be written. The default if 'templates'.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="templateLoader" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The fully qualified Java Class name of the template loader class. The default is 'org.eclipse.jet.compiled._jet_transformation'.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:attribute name="startTemplate" type="xsd:string" use="optional">
- <xsd:annotation>
- <xsd:documentation>The path of the start template. This path is relative the the tempates directory specified by templatesDir. The default is 'main.jet'.</xsd:documentation>
- </xsd:annotation>
- </xsd:attribute>
- <xsd:anyAttribute namespace="##other"></xsd:anyAttribute>
- </xsd:complexType>
-</xsd:schema> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/plain.xml b/tests/org.eclipse.jet.tests/data/plain.xml
deleted file mode 100644
index 254246d..0000000
--- a/tests/org.eclipse.jet.tests/data/plain.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Root1>
- <beanModel1 basePackage="org.example" name="Library">
- <bean1 name="Library">
- <attribute1 kind="FIELD" name="name" type="String"/>
- <attribute1 kind="FIELD" name="yearFounded" type="int"/>
- <attribute1 kind="DERIVED" name="yearsOpen" type="int"/>
- <attribute1 kind="LIST" name="books" type="Book"/>
- <attribute1 kind="LIST" name="authors" type="Author"/>
- </bean1>
- <bean1 name="Book">
- <attribute1 kind="FIELD" name="title" type="String"/>
- <attribute1 kind="FIELD" name="pages" type="int"/>
- <attribute1 kind="LIST" name="author" type="Author"/>
- </bean1>
- <bean1 name="Author">
- <attribute1 kind="FIELD" name="name" type="String"/>
- <attribute1 kind="LIST" name="books" type="Book"/>
- </bean1>
- </beanModel1>
-</Root1> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/sample.dataaccess b/tests/org.eclipse.jet.tests/data/sample.dataaccess
deleted file mode 100644
index 1a7865b..0000000
--- a/tests/org.eclipse.jet.tests/data/sample.dataaccess
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<dataAccess:Employee xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:dataAccess="http:///dataAccess.ecore" name="Bob Smith" address="123 Main St" employeeNumber="12345">
- <customers name="Sam Brown" address="55 Bank St">
- <orders orderNumber="101" date="2005-12-15T00:00:00.000-0500" quantity="25"/>
- <orders orderNumber="13" date="2005-11-15T00:00:00.000-0500" quantity="55"/>
- </customers>
- <customers name="Tim Safari" address="18 Elephant Rd">
- <orders orderNumber="77" date="2005-11-20T00:00:00.000-0500" quantity="3"/>
- </customers>
-</dataAccess:Employee>
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/changedTemplates/simple.v2.input.jet b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/changedTemplates/simple.v2.input.jet
deleted file mode 100644
index 3681ee5..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/changedTemplates/simple.v2.input.jet
+++ /dev/null
@@ -1,11 +0,0 @@
-<%@jet class="ChangedInput"%>
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-<test:other>some text</test:other>
-<test:isAllUpper var="token">
-</test:isAllUpper>
-<test:upper>foo</test:upper><test:nl/>
-<test:other/>
-</test:tokenize> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet
deleted file mode 100644
index 2bc9dfc..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet
+++ /dev/null
@@ -1,10 +0,0 @@
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-<test:other>some text</test:other>
-<test:isAllUpper var="token">
-</test:isAllUpper>
-<test:upper>foo</test:upper><test:nl/>
-<test:other/>
-</test:tokenize> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet.expected.java b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet.expected.java
deleted file mode 100644
index b0a469b..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input.jet.expected.java
+++ /dev/null
@@ -1,118 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-import org.eclipse.jet.taglib.RuntimeTagElement;
-import org.eclipse.jet.taglib.TagInfo;
-
-public class _jet_simplev2input implements JET2Template {
- private static final String _jetns_test = "org.eclipse.jet.tests.TestLibrary"; //$NON-NLS-1$
-
- public _jet_simplev2input() {
- super();
- }
-
- private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
-
- private static final TagInfo _td_test_tokenize_4_1 = new TagInfo("test:tokenize", //$NON-NLS-1$
- 4, 1,
- new String[] {
- "string", //$NON-NLS-1$
- "sep", //$NON-NLS-1$
- "var", //$NON-NLS-1$
- },
- new String[] {
- "a,b,c,d,e,f,g", //$NON-NLS-1$
- ",", //$NON-NLS-1$
- "token", //$NON-NLS-1$
- } );
- private static final TagInfo _td_test_other_5_1 = new TagInfo("test:other", //$NON-NLS-1$
- 5, 1,
- new String[] {
- },
- new String[] {
- } );
- private static final TagInfo _td_test_isAllUpper_6_1 = new TagInfo("test:isAllUpper", //$NON-NLS-1$
- 6, 1,
- new String[] {
- "var", //$NON-NLS-1$
- },
- new String[] {
- "token", //$NON-NLS-1$
- } );
- private static final TagInfo _td_test_upper_8_1 = new TagInfo("test:upper", //$NON-NLS-1$
- 8, 1,
- new String[] {
- },
- new String[] {
- } );
- private static final TagInfo _td_test_nl_8_29 = new TagInfo("test:nl", //$NON-NLS-1$
- 8, 29,
- new String[] {
- },
- new String[] {
- } );
- private static final TagInfo _td_test_other_9_1 = new TagInfo("test:other", //$NON-NLS-1$
- 9, 1,
- new String[] {
- },
- new String[] {
- } );
-
- public void generate(final JET2Context context, final JET2Writer __out) {
- JET2Writer out = __out;
- out.write("\"isAllUpper\", \"nl\", \"other\", \"tokenize\", \"upper\""); //$NON-NLS-1$
- out.write(NL);
- out.write(NL);
- RuntimeTagElement _jettag_test_tokenize_4_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "tokenize", "test:tokenize", _td_test_tokenize_4_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_tokenize_4_1.setRuntimeParent(null);
- _jettag_test_tokenize_4_1.setTagInfo(_td_test_tokenize_4_1);
- _jettag_test_tokenize_4_1.doStart(context, out);
- while (_jettag_test_tokenize_4_1.okToProcessBody()) {
- RuntimeTagElement _jettag_test_other_5_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _td_test_other_5_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_5_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_5_1.setTagInfo(_td_test_other_5_1);
- _jettag_test_other_5_1.doStart(context, out);
- while (_jettag_test_other_5_1.okToProcessBody()) {
- out.write("some text"); //$NON-NLS-1$
- _jettag_test_other_5_1.handleBodyContent(out);
- }
- _jettag_test_other_5_1.doEnd();
- out.write(NL);
- RuntimeTagElement _jettag_test_isAllUpper_6_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "isAllUpper", "test:isAllUpper", _td_test_isAllUpper_6_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_isAllUpper_6_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_isAllUpper_6_1.setTagInfo(_td_test_isAllUpper_6_1);
- _jettag_test_isAllUpper_6_1.doStart(context, out);
- while (_jettag_test_isAllUpper_6_1.okToProcessBody()) {
- _jettag_test_isAllUpper_6_1.handleBodyContent(out);
- }
- _jettag_test_isAllUpper_6_1.doEnd();
- RuntimeTagElement _jettag_test_upper_8_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "upper", "test:upper", _td_test_upper_8_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_upper_8_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_upper_8_1.setTagInfo(_td_test_upper_8_1);
- _jettag_test_upper_8_1.doStart(context, out);
- JET2Writer _jettag_test_upper_8_1_saved_out = out;
- while (_jettag_test_upper_8_1.okToProcessBody()) {
- out = out.newNestedContentWriter();
- out.write("foo"); //$NON-NLS-1$
- _jettag_test_upper_8_1.handleBodyContent(out);
- }
- out = _jettag_test_upper_8_1_saved_out;
- _jettag_test_upper_8_1.doEnd();
- RuntimeTagElement _jettag_test_nl_8_29 = context.getTagFactory().createRuntimeTag(_jetns_test, "nl", "test:nl", _td_test_nl_8_29); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_nl_8_29.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_nl_8_29.setTagInfo(_td_test_nl_8_29);
- _jettag_test_nl_8_29.doStart(context, out);
- _jettag_test_nl_8_29.doEnd();
- out.write(NL);
- RuntimeTagElement _jettag_test_other_9_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _td_test_other_9_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_9_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_9_1.setTagInfo(_td_test_other_9_1);
- _jettag_test_other_9_1.doStart(context, out);
- _jettag_test_other_9_1.doEnd();
- _jettag_test_tokenize_4_1.handleBodyContent(out);
- }
- _jettag_test_tokenize_4_1.doEnd();
- }
-}
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input2.jet b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input2.jet
deleted file mode 100644
index 2bc9dfc..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.input2.jet
+++ /dev/null
@@ -1,10 +0,0 @@
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-<test:other>some text</test:other>
-<test:isAllUpper var="token">
-</test:isAllUpper>
-<test:upper>foo</test:upper><test:nl/>
-<test:other/>
-</test:tokenize> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.loader.expected.java b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.loader.expected.java
deleted file mode 100644
index 7cb9a2a..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.loader.expected.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.jet.JET2TemplateLoader;
-import org.eclipse.jet.JET2TemplateLoaderExtension;
-import org.eclipse.jet.JET2Template;
-
-public class TemplateLoaderClass implements JET2TemplateLoader, JET2TemplateLoaderExtension {
-
- private static final class TemplateFactoryMethod {
-
- private final String templatePath;
- private final String templateClass;
-
- public TemplateFactoryMethod(String templatePath, String templateClass) {
- this.templatePath = templatePath;
- this.templateClass = templateClass;
-
- }
-
- public String getTemplateClass() {
- return this.templateClass;
- }
-
- public String getTemplatePath() {
- return this.templatePath;
- }
-
- public JET2Template newTemplate() {
- JET2Template template = null;
- try {
- template = (JET2Template) Class.forName(this.templateClass).newInstance();
- } catch (InstantiationException e) {
- // ignore
- } catch (IllegalAccessException e) {
- // ignore
- } catch (ClassNotFoundException e) {
- // ignore
- }
- return template;
- }
-
-
- }
-
- private Map pathToFactoryMap = null;
-
- private JET2TemplateLoader delegate = null;
-
- public TemplateLoaderClass() {
- super();
- }
-
- public JET2Template getTemplate(String templatePath) {
- if(this.pathToFactoryMap == null) {
- initPathToFactoryMap();
- }
- TemplateFactoryMethod factory = (TemplateFactoryMethod)this.pathToFactoryMap.get(templatePath);
- return factory == null ? this.delegate == null ? null : this.delegate.getTemplate(templatePath) : factory.newTemplate();
- }
-
- private void addTemplate(String templatePath, String templateClass) {
- this.pathToFactoryMap.put(templatePath,
- new TemplateFactoryMethod(templatePath, templateClass));
- }
-
- private void initPathToFactoryMap() {
- this.pathToFactoryMap = new HashMap(2);
- addTemplate("simple.v2.input.jet", "org.eclipse.jet.compiled._jet_simplev2input" ); //$NON-NLS-1$ //$NON-NLS-2$
- addTemplate("simple.v2.input2.jet", "org.eclipse.jet.compiled._jet_simplev2input2" ); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- public void setDelegateLoader(JET2TemplateLoader loader) {
- this.delegate = loader;
- }
-
- public JET2TemplateLoader getDelegateLoader() {
- return this.delegate;
- }
-}
-
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat
deleted file mode 100644
index 23c0af8..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat
+++ /dev/null
@@ -1 +0,0 @@
-simple.v2.pat
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat2 b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat2
deleted file mode 100644
index 0ff28f8..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat2
+++ /dev/null
@@ -1 +0,0 @@
-simple.v2.pat2
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat3 b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat3
deleted file mode 100644
index 8ecde48..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat3
+++ /dev/null
@@ -1 +0,0 @@
-simple.v2.pat3
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat4 b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat4
deleted file mode 100644
index 768f2a8..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.pat4
+++ /dev/null
@@ -1 +0,0 @@
-simple.v2.pat4
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet
deleted file mode 100644
index e77b527..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet
+++ /dev/null
@@ -1,3 +0,0 @@
-This template uses a predefined tag library:
-
-<c:get select="$useMe/@attr"/>
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.nopredefs.expected.java b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.nopredefs.expected.java
deleted file mode 100644
index 4757149..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.nopredefs.expected.java
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-
-public class _jet_simplev2usePredefTagLibs implements JET2Template {
-
- public _jet_simplev2usePredefTagLibs() {
- super();
- }
-
- private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
-
- public void generate(final JET2Context context, final JET2Writer __out) {
- JET2Writer out = __out;
- out.write("This template uses a predefined tag library:"); //$NON-NLS-1$
- out.write(NL);
- out.write(NL);
- out.write("<c:get select=\"$useMe/@attr\"/>"); //$NON-NLS-1$
- out.write(NL);
- }
-}
diff --git a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java b/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java
deleted file mode 100644
index bb5ad30..0000000
--- a/tests/org.eclipse.jet.tests/data/simplifiedCompiler/templates/simple.v2.usePredefTagLibs.jet.predefs.expected.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-import org.eclipse.jet.taglib.RuntimeTagElement;
-import org.eclipse.jet.taglib.TagInfo;
-
-public class _jet_simplev2usePredefTagLibs implements JET2Template {
- private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
-
- public _jet_simplev2usePredefTagLibs() {
- super();
- }
-
- private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
-
- private static final TagInfo _td_c_get_3_1 = new TagInfo("c:get", //$NON-NLS-1$
- 3, 1,
- new String[] {
- "select", //$NON-NLS-1$
- },
- new String[] {
- "$useMe/@attr", //$NON-NLS-1$
- } );
-
- public void generate(final JET2Context context, final JET2Writer __out) {
- JET2Writer out = __out;
- out.write("This template uses a predefined tag library:"); //$NON-NLS-1$
- out.write(NL);
- out.write(NL);
- RuntimeTagElement _jettag_c_get_3_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_3_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_c_get_3_1.setRuntimeParent(null);
- _jettag_c_get_3_1.setTagInfo(_td_c_get_3_1);
- _jettag_c_get_3_1.doStart(context, out);
- _jettag_c_get_3_1.doEnd();
- out.write(NL);
- }
-}
diff --git a/tests/org.eclipse.jet.tests/data/substGroup/ChildrenOnly.xml b/tests/org.eclipse.jet.tests/data/substGroup/ChildrenOnly.xml
deleted file mode 100644
index c806657..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup/ChildrenOnly.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="Francis"/>
- <tns:child name="Jason"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup/MixedChildren.xml b/tests/org.eclipse.jet.tests/data/substGroup/MixedChildren.xml
deleted file mode 100644
index bd715e9..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup/MixedChildren.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="James"/>
- <tns:specialChild name="Harry" specialNeed="Lots of Action"/>
- <tns:child name="Lilly"/>
- <tns:specialChild name="Dudley" specialNeed="Lots of Candy"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup/ReallySpecialChildren.xml b/tests/org.eclipse.jet.tests/data/substGroup/ReallySpecialChildren.xml
deleted file mode 100644
index f1e6f57..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup/ReallySpecialChildren.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="James"/>
- <tns:specialChild name="Harry" specialNeed="Lots of Action"/>
- <tns:reallySpecialChild name="Harry" specialNeed="Lots of Action" reallySpecialNeed="And candy"/>
- <tns:child name="Lilly"/>
- <tns:specialChild name="Dudley" specialNeed="Lots of Candy"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup/SpecialChildrenOnly.xml b/tests/org.eclipse.jet.tests/data/substGroup/SpecialChildrenOnly.xml
deleted file mode 100644
index 36aa2ef..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup/SpecialChildrenOnly.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:specialChild name="Jim" specialNeed="Lots of Food"/>
- <tns:specialChild name="Bob" specialNeed="Lots of TV"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup/XMLSchemaWithGroups.xsd b/tests/org.eclipse.jet.tests/data/substGroup/XMLSchemaWithGroups.xsd
deleted file mode 100644
index edaf49d..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup/XMLSchemaWithGroups.xsd
+++ /dev/null
@@ -1,46 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/XMLSchemaWithGroups" xmlns:tns="http://www.example.org/XMLSchemaWithGroups" elementFormDefault="qualified">
-
- <element name="topElement">
- <complexType>
- <sequence>
- <element ref="tns:child" maxOccurs="unbounded" minOccurs="0"></element>
- </sequence>
- </complexType>
- </element>
-
-
-
- <element name="child" type="tns:childComplexType">
- </element>
-
- <element name="specialChild" type="tns:SpecialChildComplexType" substitutionGroup="tns:child"></element>
- <complexType name="childComplexType">
- <sequence>
- <element name="hobby" maxOccurs="unbounded" minOccurs="0">
- <complexType>
- <attribute name="type" type="string" use="required"></attribute>
- </complexType>
- </element>
- </sequence>
- <attribute use="required" name="name" type="string"></attribute>
- </complexType>
-
- <complexType name="SpecialChildComplexType">
- <complexContent>
- <extension base="tns:childComplexType">
- <attribute name="specialNeed" type="string" use="required"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
- <element name="reallySpecialChild" type="tns:ReallySpecialChildComplexType" substitutionGroup="tns:specialChild"></element>
- <complexType name="ReallySpecialChildComplexType">
- <complexContent>
- <extension base="tns:SpecialChildComplexType">
- <attribute name="reallySpecialNeed" type="string" use="required"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
-</schema> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/substGroup_2.4/ChildrenOnly.xml b/tests/org.eclipse.jet.tests/data/substGroup_2.4/ChildrenOnly.xml
deleted file mode 100644
index c806657..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup_2.4/ChildrenOnly.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="Francis"/>
- <tns:child name="Jason"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup_2.4/MixedChildren.xml b/tests/org.eclipse.jet.tests/data/substGroup_2.4/MixedChildren.xml
deleted file mode 100644
index bd715e9..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup_2.4/MixedChildren.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="James"/>
- <tns:specialChild name="Harry" specialNeed="Lots of Action"/>
- <tns:child name="Lilly"/>
- <tns:specialChild name="Dudley" specialNeed="Lots of Candy"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup_2.4/ReallySpecialChildren.xml b/tests/org.eclipse.jet.tests/data/substGroup_2.4/ReallySpecialChildren.xml
deleted file mode 100644
index f1e6f57..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup_2.4/ReallySpecialChildren.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:child name="James"/>
- <tns:specialChild name="Harry" specialNeed="Lots of Action"/>
- <tns:reallySpecialChild name="Harry" specialNeed="Lots of Action" reallySpecialNeed="And candy"/>
- <tns:child name="Lilly"/>
- <tns:specialChild name="Dudley" specialNeed="Lots of Candy"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup_2.4/SpecialChildrenOnly.xml b/tests/org.eclipse.jet.tests/data/substGroup_2.4/SpecialChildrenOnly.xml
deleted file mode 100644
index 36aa2ef..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup_2.4/SpecialChildrenOnly.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:topElement xmlns:tns="http://www.example.org/XMLSchemaWithGroups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/XMLSchemaWithGroups XMLSchemaWithGroups.xsd ">
- <tns:specialChild name="Jim" specialNeed="Lots of Food"/>
- <tns:specialChild name="Bob" specialNeed="Lots of TV"/>
-</tns:topElement>
diff --git a/tests/org.eclipse.jet.tests/data/substGroup_2.4/XMLSchemaWithGroups.xsd b/tests/org.eclipse.jet.tests/data/substGroup_2.4/XMLSchemaWithGroups.xsd
deleted file mode 100644
index b0ff1a1..0000000
--- a/tests/org.eclipse.jet.tests/data/substGroup_2.4/XMLSchemaWithGroups.xsd
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/XMLSchemaWithGroups" xmlns:tns="http://www.example.org/XMLSchemaWithGroups" elementFormDefault="qualified"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- ecore:ignoreSubstitutionGroups="true">
-
- <element name="topElement">
- <complexType>
- <sequence>
- <element ref="tns:child" maxOccurs="unbounded" minOccurs="0"></element>
- </sequence>
- </complexType>
- </element>
-
-
-
- <element name="child" type="tns:childComplexType">
- </element>
-
- <element name="specialChild" type="tns:SpecialChildComplexType" substitutionGroup="tns:child"></element>
- <complexType name="childComplexType">
- <sequence>
- <element name="hobby" maxOccurs="unbounded" minOccurs="0">
- <complexType>
- <attribute name="type" type="string" use="required"></attribute>
- </complexType>
- </element>
- </sequence>
- <attribute use="required" name="name" type="string"></attribute>
- </complexType>
-
- <complexType name="SpecialChildComplexType">
- <complexContent>
- <extension base="tns:childComplexType">
- <attribute name="specialNeed" type="string" use="required"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
- <element name="reallySpecialChild" type="tns:ReallySpecialChildComplexType" substitutionGroup="tns:specialChild"></element>
- <complexType name="ReallySpecialChildComplexType">
- <complexContent>
- <extension base="tns:SpecialChildComplexType">
- <attribute name="reallySpecialNeed" type="string" use="required"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
-
-</schema> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/taglibs.jet b/tests/org.eclipse.jet.tests/data/taglibs.jet
deleted file mode 100644
index 2bc9dfc..0000000
--- a/tests/org.eclipse.jet.tests/data/taglibs.jet
+++ /dev/null
@@ -1,10 +0,0 @@
-<%@taglib id="org.eclipse.jet.tests.TestLibrary" prefix="test" %>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-<test:tokenize string="a,b,c,d,e,f,g" sep="," var="token">
-<test:other>some text</test:other>
-<test:isAllUpper var="token">
-</test:isAllUpper>
-<test:upper>foo</test:upper><test:nl/>
-<test:other/>
-</test:tokenize> \ No newline at end of file
diff --git a/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.astdump.expected b/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.astdump.expected
deleted file mode 100644
index b99d6d3..0000000
--- a/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.astdump.expected
+++ /dev/null
@@ -1,41 +0,0 @@
-<directive name="taglib" line="1" col="1">
- <attribute name="id">org.eclipse.jet.tests.TestLibrary</attribute>
- <attribute name="prefix">test</attribute>
-</directive>
-<data>"isAllUpper", "nl", "other", "tokenize", "upper"
-
-</data>
-<tag name="test:tokenize" line="4" col="1">
- <attribute name="sep">,</attribute>
- <attribute name="var">token</attribute>
- <attribute name="string">a,b,c,d,e,f,g</attribute>
- <content>
- <data></data>
- <tag name="test:other" line="5" col="1">
- <content>
- <data>some text</data>
- </content>
- </tag>
- <data>
-</data>
- <tag name="test:isAllUpper" line="6" col="1">
- <attribute name="var">token</attribute>
- <content>
- <data></data>
- </content>
- </tag>
- <data></data>
- <tag name="test:upper" line="8" col="1">
- <content>
- <data>foo</data>
- </content>
- </tag>
- <tag name="test:nl" line="8" col="29">
- </tag>
- <data>
-</data>
- <tag name="test:other" line="9" col="1">
- </tag>
- <data></data>
- </content>
-</tag>
diff --git a/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.expected.java b/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.expected.java
deleted file mode 100644
index 7e4b77e..0000000
--- a/tests/org.eclipse.jet.tests/data/taglibs.jet.JETASTParser.expected.java
+++ /dev/null
@@ -1,114 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-import org.eclipse.jet.taglib.RuntimeTagElement;
-import org.eclipse.jet.taglib.TagInfo;
-
-public class X implements JET2Template {
- public static final String _jetns_test = "org.eclipse.jet.tests.TestLibrary"; //$NON-NLS-1$
-
- public X() {
- super();
- }
-
- public void generate(final JET2Context context, JET2Writer out) {
- final TagInfo _jettd_test_tokenize_4_1 = new TagInfo("test:tokenize", //$NON-NLS-1$
- 4, 1,
- new String[] {
- "sep", //$NON-NLS-1$
- "var", //$NON-NLS-1$
- "string", //$NON-NLS-1$
- },
- new String[] {
- ",", //$NON-NLS-1$
- "token", //$NON-NLS-1$
- "a,b,c,d,e,f,g", //$NON-NLS-1$
- } );
- final TagInfo _jettd_test_other_5_1 = new TagInfo("test:other", //$NON-NLS-1$
- 5, 1,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_isAllUpper_6_1 = new TagInfo("test:isAllUpper", //$NON-NLS-1$
- 6, 1,
- new String[] {
- "var", //$NON-NLS-1$
- },
- new String[] {
- "token", //$NON-NLS-1$
- } );
- final TagInfo _jettd_test_upper_8_1 = new TagInfo("test:upper", //$NON-NLS-1$
- 8, 1,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_nl_8_29 = new TagInfo("test:nl", //$NON-NLS-1$
- 8, 29,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_other_9_1 = new TagInfo("test:other", //$NON-NLS-1$
- 9, 1,
- new String[] {
- },
- new String[] {
- } );
- out.write( "\"isAllUpper\", \"nl\", \"other\", \"tokenize\", \"upper\"\r\n\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_tokenize_4_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "tokenize", "test:tokenize", _jettd_test_tokenize_4_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_tokenize_4_1.setRuntimeParent(null);
- _jettag_test_tokenize_4_1.setTagInfo(_jettd_test_tokenize_4_1);
- _jettag_test_tokenize_4_1.doStart(context, out);
- while (_jettag_test_tokenize_4_1.okToProcessBody()) {
- RuntimeTagElement _jettag_test_other_5_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _jettd_test_other_5_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_5_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_5_1.setTagInfo(_jettd_test_other_5_1);
- _jettag_test_other_5_1.doStart(context, out);
- while (_jettag_test_other_5_1.okToProcessBody()) {
- out.write( "some text" ); //$NON-NLS-1$
- _jettag_test_other_5_1.handleBodyContent(out);
- }
- _jettag_test_other_5_1.doEnd();
- out.write( "\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_isAllUpper_6_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "isAllUpper", "test:isAllUpper", _jettd_test_isAllUpper_6_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_isAllUpper_6_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_isAllUpper_6_1.setTagInfo(_jettd_test_isAllUpper_6_1);
- _jettag_test_isAllUpper_6_1.doStart(context, out);
- while (_jettag_test_isAllUpper_6_1.okToProcessBody()) {
- _jettag_test_isAllUpper_6_1.handleBodyContent(out);
- }
- _jettag_test_isAllUpper_6_1.doEnd();
- RuntimeTagElement _jettag_test_upper_8_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "upper", "test:upper", _jettd_test_upper_8_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_upper_8_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_upper_8_1.setTagInfo(_jettd_test_upper_8_1);
- _jettag_test_upper_8_1.doStart(context, out);
- JET2Writer _jettag_test_upper_8_1_saved_out = out;
- while (_jettag_test_upper_8_1.okToProcessBody()) {
- out = out.newNestedContentWriter();
- out.write( "foo" ); //$NON-NLS-1$
- _jettag_test_upper_8_1.handleBodyContent(out);
- }
- out = _jettag_test_upper_8_1_saved_out;
- _jettag_test_upper_8_1.doEnd();
- RuntimeTagElement _jettag_test_nl_8_29 = context.getTagFactory().createRuntimeTag(_jetns_test, "nl", "test:nl", _jettd_test_nl_8_29); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_nl_8_29.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_nl_8_29.setTagInfo(_jettd_test_nl_8_29);
- _jettag_test_nl_8_29.doStart(context, out);
- _jettag_test_nl_8_29.doEnd();
- out.write( "\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_other_9_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _jettd_test_other_9_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_9_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_9_1.setTagInfo(_jettd_test_other_9_1);
- _jettag_test_other_9_1.doStart(context, out);
- _jettag_test_other_9_1.doEnd();
- _jettag_test_tokenize_4_1.handleBodyContent(out);
- }
- _jettag_test_tokenize_4_1.doEnd();
-
- }
-
-}
diff --git a/tests/org.eclipse.jet.tests/data/taglibs.jet.astdump.expected b/tests/org.eclipse.jet.tests/data/taglibs.jet.astdump.expected
deleted file mode 100644
index 459e7ce..0000000
--- a/tests/org.eclipse.jet.tests/data/taglibs.jet.astdump.expected
+++ /dev/null
@@ -1,46 +0,0 @@
-<directive name="taglib" line="1" col="1">
- <attribute name="id">org.eclipse.jet.tests.TestLibrary</attribute>
- <attribute name="prefix">test</attribute>
-</directive>
-<data>
-"isAllUpper", "nl", "other", "tokenize", "upper"
-
-</data>
-<tag name="test:tokenize" line="4" col="1">
- <attribute name="string">a,b,c,d,e,f,g</attribute>
- <attribute name="sep">,</attribute>
- <attribute name="var">token</attribute>
- <content>
- <data>
-</data>
- <tag name="test:other" line="5" col="1">
- <content>
- <data>some text</data>
- </content>
- </tag>
- <data>
-</data>
- <tag name="test:isAllUpper" line="6" col="1">
- <attribute name="var">token</attribute>
- <content>
- <data>
-</data>
- </content>
- </tag>
- <data>
-</data>
- <tag name="test:upper" line="8" col="1">
- <content>
- <data>foo</data>
- </content>
- </tag>
- <tag name="test:nl" line="8" col="29">
- </tag>
- <data>
-</data>
- <tag name="test:other" line="9" col="1">
- </tag>
- <data>
-</data>
- </content>
-</tag>
diff --git a/tests/org.eclipse.jet.tests/data/taglibs.jet.expected.java b/tests/org.eclipse.jet.tests/data/taglibs.jet.expected.java
deleted file mode 100644
index 2209083..0000000
--- a/tests/org.eclipse.jet.tests/data/taglibs.jet.expected.java
+++ /dev/null
@@ -1,114 +0,0 @@
-package org.eclipse.jet.compiled;
-
-import org.eclipse.jet.JET2Context;
-import org.eclipse.jet.JET2Template;
-import org.eclipse.jet.JET2Writer;
-import org.eclipse.jet.taglib.RuntimeTagElement;
-import org.eclipse.jet.taglib.TagInfo;
-
-public class X implements JET2Template {
- public static final String _jetns_test = "org.eclipse.jet.tests.TestLibrary"; //$NON-NLS-1$
-
- public X() {
- super();
- }
-
- public void generate(final JET2Context context, JET2Writer out) {
- final TagInfo _jettd_test_tokenize_4_1 = new TagInfo("test:tokenize", //$NON-NLS-1$
- 4, 1,
- new String[] {
- "string", //$NON-NLS-1$
- "sep", //$NON-NLS-1$
- "var", //$NON-NLS-1$
- },
- new String[] {
- "a,b,c,d,e,f,g", //$NON-NLS-1$
- ",", //$NON-NLS-1$
- "token", //$NON-NLS-1$
- } );
- final TagInfo _jettd_test_other_5_1 = new TagInfo("test:other", //$NON-NLS-1$
- 5, 1,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_isAllUpper_6_1 = new TagInfo("test:isAllUpper", //$NON-NLS-1$
- 6, 1,
- new String[] {
- "var", //$NON-NLS-1$
- },
- new String[] {
- "token", //$NON-NLS-1$
- } );
- final TagInfo _jettd_test_upper_8_1 = new TagInfo("test:upper", //$NON-NLS-1$
- 8, 1,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_nl_8_29 = new TagInfo("test:nl", //$NON-NLS-1$
- 8, 29,
- new String[] {
- },
- new String[] {
- } );
- final TagInfo _jettd_test_other_9_1 = new TagInfo("test:other", //$NON-NLS-1$
- 9, 1,
- new String[] {
- },
- new String[] {
- } );
- out.write( "\"isAllUpper\", \"nl\", \"other\", \"tokenize\", \"upper\"\r\n\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_tokenize_4_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "tokenize", "test:tokenize", _jettd_test_tokenize_4_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_tokenize_4_1.setRuntimeParent(null);
- _jettag_test_tokenize_4_1.setTagInfo(_jettd_test_tokenize_4_1);
- _jettag_test_tokenize_4_1.doStart(context, out);
- while (_jettag_test_tokenize_4_1.okToProcessBody()) {
- RuntimeTagElement _jettag_test_other_5_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _jettd_test_other_5_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_5_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_5_1.setTagInfo(_jettd_test_other_5_1);
- _jettag_test_other_5_1.doStart(context, out);
- while (_jettag_test_other_5_1.okToProcessBody()) {
- out.write( "some text" ); //$NON-NLS-1$
- _jettag_test_other_5_1.handleBodyContent(out);
- }
- _jettag_test_other_5_1.doEnd();
- out.write( "\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_isAllUpper_6_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "isAllUpper", "test:isAllUpper", _jettd_test_isAllUpper_6_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_isAllUpper_6_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_isAllUpper_6_1.setTagInfo(_jettd_test_isAllUpper_6_1);
- _jettag_test_isAllUpper_6_1.doStart(context, out);
- while (_jettag_test_isAllUpper_6_1.okToProcessBody()) {
- _jettag_test_isAllUpper_6_1.handleBodyContent(out);
- }
- _jettag_test_isAllUpper_6_1.doEnd();
- RuntimeTagElement _jettag_test_upper_8_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "upper", "test:upper", _jettd_test_upper_8_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_upper_8_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_upper_8_1.setTagInfo(_jettd_test_upper_8_1);
- _jettag_test_upper_8_1.doStart(context, out);
- JET2Writer _jettag_test_upper_8_1_saved_out = out;
- while (_jettag_test_upper_8_1.okToProcessBody()) {
- out = out.newNestedContentWriter();
- out.write( "foo" ); //$NON-NLS-1$
- _jettag_test_upper_8_1.handleBodyContent(out);
- }
- out = _jettag_test_upper_8_1_saved_out;
- _jettag_test_upper_8_1.doEnd();
- RuntimeTagElement _jettag_test_nl_8_29 = context.getTagFactory().createRuntimeTag(_jetns_test, "nl", "test:nl", _jettd_test_nl_8_29); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_nl_8_29.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_nl_8_29.setTagInfo(_jettd_test_nl_8_29);
- _jettag_test_nl_8_29.doStart(context, out);
- _jettag_test_nl_8_29.doEnd();
- out.write( "\r\n" ); //$NON-NLS-1$
- RuntimeTagElement _jettag_test_other_9_1 = context.getTagFactory().createRuntimeTag(_jetns_test, "other", "test:other", _jettd_test_other_9_1); //$NON-NLS-1$ //$NON-NLS-2$
- _jettag_test_other_9_1.setRuntimeParent(_jettag_test_tokenize_4_1);
- _jettag_test_other_9_1.setTagInfo(_jettd_test_other_9_1);
- _jettag_test_other_9_1.doStart(context, out);
- _jettag_test_other_9_1.doEnd();
- _jettag_test_tokenize_4_1.handleBodyContent(out);
- }
- _jettag_test_tokenize_4_1.doEnd();
-
- }
-
-}
diff --git a/tests/org.eclipse.jet.tests/data/textTrimmingTests.jet b/tests/org.eclipse.jet.tests/data/textTrimmingTests.jet
deleted file mode 100644
index 1570482..0000000
--- a/tests/org.eclipse.jet.tests/data/textTrimmingTests.jet
+++ /dev/null
@@ -1,70 +0,0 @@
-<%@taglib id="org.eclipse.jet.controlTags" prefix="c"%>
-<%-- This template is used to verify text trimming rules. It is used by TextTrimmingTexts.java --%>
-
-<%-- text stripping around start/end tags that support stripping (e.g. c:iterate) --%>
-test 001
-<c:iterate select="foo" var="bar">
- some text with four spaces after
-</c:iterate>
-test 001
-
-<%-- text stripping around start/end tags that support stripping (e.g. c:iterate)
- with leading and trailing whitepace --%>
-test 002
- <c:iterate select="foo" var="bar">
- some text with four spaces after
- </c:iterate>
-test 002
-
-<%-- text stripping around start/end tags that support stripping (e.g. c:iterate)
- with multi-line tags --%>
-test 003
- <c:iterate
- select="foo"
- var="bar"
- >
- some text with four spaces after
- </c:iterate
- >
-test 003
-
-<%-- text stripping on directives --%>
-test 004
- <%@taglib id="org.eclipse.jet.workspaceTags" prefix="ws"%>
-test 004
-
-<%-- text stripping on scriptlet --%>
-test 005
- <%
- int x = 3;
-%>
-test 005
-
-<%-- text stripping on declarations --%>
-test 006
- <%!
- public int square(int arg) {
- return arg * arg;
- }
-%>
-test 006
-
-<%-- text stripping on empytags that supports stripping --%>
-test 007
- <c:include template="templates/foo.jet"/>
-test 007
-
-<%-- text stripping on empytags that does not support stripping --%>
-test 008
- <c:get select="templates/foo.jet"/>
-test 008
-
-<%-- text stripping on comments --%>
-test 009
- <%-- a comment --%>
-test 009
-
-<%-- text stripping an expression --%>
-test 010
- <%= x %>
-test 010
diff --git a/tests/org.eclipse.jet.tests/data/unclosedComment.jet b/tests/org.eclipse.jet.tests/data/unclosedComment.jet
deleted file mode 100644
index ba01d6f..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedDeclaration.jet b/tests/org.eclipse.jet.tests/data/unclosedDeclaration.jet
deleted file mode 100644
index a12518f..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedDirective.jet b/tests/org.eclipse.jet.tests/data/unclosedDirective.jet
deleted file mode 100644
index c822dec..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedExpression.jet b/tests/org.eclipse.jet.tests/data/unclosedExpression.jet
deleted file mode 100644
index b67abe9..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedScriplet.jet b/tests/org.eclipse.jet.tests/data/unclosedScriplet.jet
deleted file mode 100644
index dd654a9..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedXMLEnd.jet b/tests/org.eclipse.jet.tests/data/unclosedXMLEnd.jet
deleted file mode 100644
index 08f095f..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/unclosedXMLStart.jet b/tests/org.eclipse.jet.tests/data/unclosedXMLStart.jet
deleted file mode 100644
index 31f3ccf..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/xmlEndWithAttributes.jet b/tests/org.eclipse.jet.tests/data/xmlEndWithAttributes.jet
deleted file mode 100644
index a614208..0000000
--- a/tests/org.eclipse.jet.tests/data/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/data/xmlStartWithoutEnd.jet b/tests/org.eclipse.jet.tests/data/xmlStartWithoutEnd.jet
deleted file mode 100644
index 54760f5..0000000
--- a/tests/org.eclipse.jet.tests/data/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
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/README.txt b/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/README.txt
deleted file mode 100644
index bc89fcb..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/README.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-This test case covers a specific defect:
-
-1) And XSD was used to define the .ecore model, but has not been used to maintain the model. The original XSD defined Human.
-2) The Human subclasses Man and Woman were directly defined in the .ecore model - they do not have Extended metadata.
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.ecore b/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.ecore
deleted file mode 100644
index 3e1a593..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.ecore
+++ /dev/null
@@ -1,82 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="human"
- nsURI="http://www.example.org/human" nsPrefix="human">
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="root" upperBound="-2" eType="#//Root"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="root"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Human"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="age"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Root">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Root"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="human" upperBound="-1"
- eType="#//Human" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="human"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Man" eSuperTypes="#//Human">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesCars" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Woman" eSuperTypes="#//Human">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesShopping" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"/>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.genmodel b/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.genmodel
deleted file mode 100644
index 8ee8d40..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.genmodel
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.jet.tests/src"
- editDirectory="/org.eclipse.jet.tests.edit/src" editorDirectory="/org.eclipse.jet.tests.editor/src"
- modelPluginID="org.eclipse.jet.tests" modelName="Human" testsDirectory="/org.eclipse.jet.tests.tests/src"
- importerID="org.eclipse.xsd.ecore.importer" copyrightFields="false" language="">
- <foreignModel>../../dkb.xsd/human.xsd</foreignModel>
- <genPackages prefix="Human" basePackage="org.example" resource="XML" disposableProviderFactory="true"
- ecorePackage="human.ecore#/">
- <genClasses ecoreClass="human.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute human.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human.ecore#//DocumentRoot/root"/>
- </genClasses>
- <genClasses ecoreClass="human.ecore#//Human">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human.ecore#//Human/age"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human.ecore#//Human/name"/>
- </genClasses>
- <genClasses ecoreClass="human.ecore#//Root">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human.ecore#//Root/human"/>
- </genClasses>
- <genClasses ecoreClass="human.ecore#//Man">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human.ecore#//Man/likesCars"/>
- </genClasses>
- <genClasses ecoreClass="human.ecore#//Woman">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human.ecore#//Woman/likesShopping"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.xsd b/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.xsd
deleted file mode 100644
index 425bcb3..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/human.xsd
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.example.org/human" xmlns:tns="http://www.example.org/human" elementFormDefault="qualified">
-
- <complexType name="Root">
- <sequence>
- <element name="human" type="tns:Human" maxOccurs="unbounded" minOccurs="0"></element>
- </sequence>
- </complexType>
-
- <complexType name="Human">
- <attribute name="name" type="string"></attribute>
- <attribute name="age" type="int"></attribute>
- </complexType>
-
- <element name="root" type="tns:Root"></element>
-</schema>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/humans.xml b/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/humans.xml
deleted file mode 100644
index 43ff947..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/no-metadata-on-subclasses/humans.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:root xmlns:tns="http://www.example.org/human" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- >
- <tns:human xsi:type="tns:Man" age="25" likesCars="true" name="John" />
- <tns:human age="32" name="Yoko" xsi:type="tns:Woman"
- likesShopping="true" />
-</tns:root>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore
deleted file mode 100644
index bf1144f..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.ecore
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="human2"
- nsURI="http://www.example.org/human2" nsPrefix="human2">
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="root" upperBound="-2" eType="#//Root"
- volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="root"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Human"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Int"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="age"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Man" eSuperTypes="#//Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Man"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesCars" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="likesCars"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Root">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Root"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="human" upperBound="-1"
- eType="#//Human" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="human"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Woman" eSuperTypes="#//Human">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Woman"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="likesShopping" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Boolean"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="likesShopping"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel
deleted file mode 100644
index e34124d..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.genmodel
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.jet.tests/src"
- editDirectory="/org.eclipse.jet.tests.edit/src" editorDirectory="/org.eclipse.jet.tests.editor/src"
- modelPluginID="org.eclipse.jet.tests" modelName="Human2" importerID="org.eclipse.xsd.ecore.importer"
- copyrightFields="false">
- <foreignModel>../../dkb.xsd/human2.xsd</foreignModel>
- <genPackages prefix="Human2" basePackage="org.example" resource="XML" disposableProviderFactory="true"
- ecorePackage="human2.ecore#/">
- <genClasses ecoreClass="human2.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human2.ecore#//DocumentRoot/root"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Human">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Human/age"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Human/name"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Man">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Man/likesCars"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Root">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference human2.ecore#//Root/human"/>
- </genClasses>
- <genClasses ecoreClass="human2.ecore#//Woman">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute human2.ecore#//Woman/likesShopping"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd
deleted file mode 100644
index ca7fcf1..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/human2.xsd
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<schema targetNamespace="http://www.example.org/human2" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.example.org/human2">
-
- <complexType name="Root">
- <sequence>
- <element name="human" type="tns:Human" maxOccurs="unbounded" minOccurs="0"></element>
- </sequence>
- </complexType>
-
- <complexType name="Human">
- <attribute name="name" type="string"></attribute>
- <attribute name="age" type="int"></attribute>
- </complexType>
-
- <element name="root" type="tns:Root"></element>
-
- <complexType name="Man">
- <complexContent>
- <extension base="tns:Human">
- <attribute name="likesCars" type="boolean"></attribute>
- </extension>
- </complexContent>
- </complexType>
-
- <complexType name="Woman">
- <complexContent>
- <extension base="tns:Human">
- <attribute name="likesShopping" type="boolean"></attribute>
- </extension>
- </complexContent>
- </complexType>
-</schema>
diff --git a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml b/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml
deleted file mode 100644
index 6c82685..0000000
--- a/tests/org.eclipse.jet.tests/data/xmlSubclass/with-metadata/humans.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tns:root xmlns:tns="http://www.example.org/human2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- >
- <tns:human xsi:type="tns:Man" age="25" likesCars="true" name="John" />
- <tns:human age="32" name="Yoko" xsi:type="tns:Woman"
- likesShopping="true" />
-</tns:root>

Back to the top