Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.jet.tests/data/textTrimmingTests.jet')
-rw-r--r--tests/org.eclipse.jet.tests/data/textTrimmingTests.jet70
1 files changed, 0 insertions, 70 deletions
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

Back to the top