Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jsf/tests/org.eclipse.jst.jsf.validation.el.tests/testdata/jsps/arithmeticModulo.jsp.data')
-rw-r--r--jsf/tests/org.eclipse.jst.jsf.validation.el.tests/testdata/jsps/arithmeticModulo.jsp.data65
1 files changed, 0 insertions, 65 deletions
diff --git a/jsf/tests/org.eclipse.jst.jsf.validation.el.tests/testdata/jsps/arithmeticModulo.jsp.data b/jsf/tests/org.eclipse.jst.jsf.validation.el.tests/testdata/jsps/arithmeticModulo.jsp.data
deleted file mode 100644
index 8eb8bb7..0000000
--- a/jsf/tests/org.eclipse.jst.jsf.validation.el.tests/testdata/jsps/arithmeticModulo.jsp.data
+++ /dev/null
@@ -1,65 +0,0 @@
-<%@page contentType="text/html"%>
-<%@page pageEncoding="UTF-8"%>
-<%--
-The taglib directive below imports the JSTL library. If you uncomment it,
-you must also add the JSTL library to the project. The Add Library... action
-on Libraries node in Projects view can be used to add the JSTL 1.1 library.
---%>
-
-<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>JSP Page</title>
- </head>
- <body>
- <f:view>
- <h1>JSP Page</h1>
- <!-- no errors -->
- <h:outputText value="#{myBean.integerProperty % 3}"/>
- <h:outputText value="#{myBean.integerProperty mod 3}"/>
- <h:outputText value="#{myBean.stringProperty % 3}"/>
- <h:outputText value="#{myBean.stringProperty mod 3}"/>
- <h:outputText value="#{myBean.integerProperty % myBean.integerProperty}"/>
- <h:outputText value="#{myBean.integerProperty mod myBean.integerProperty}"/>
- <h:outputText value="#{myBean.bigIntegerProperty mod 4}"/>
- <h:outputText value="#{myBean.doubleProperty mod 4"/>
- <h:outputText value="#{myBean.doubleProperty mod 5.43"/>
-
- <!-- warnings -->
- <h:outputText value="#{5 % 3}"/>
- <h:outputText value="#{5 mod 3}"/>
- <h:outputText value="#{5.5 % 4 }"/>
- <h:outputText value="#{5.5 mod 4 }"/>
- <h:outputText value="#{'5' % '4'}"/>
- <h:outputText value="#{'5' mod '4'}"/>
- <h:outputText value="#{null % null}"/>
- <h:outputText value="#{null mod null}"/>
-
- <!-- errors -->
- <h:outputText value="#{5 % true}"/>
- <h:outputText value="#{5 mod true}"/>
- <h:outputText value="#{myBean.stringArrayProperty % myBean.booleanProperty}"/>
- <h:outputText value="#{myBean.stringArrayProperty mod myBean.booleanProperty}"/>
- <h:outputText value="#{myBean.integerProperty % true }"/>
- <h:outputText value="#{myBean.integerProperty mod true }"/>
- <h:outputText value="#{'a' % 'b'}"/>
- <h:outputText value="#{'a' mod 'b'}"/>
- <h:outputText value="#{5.5 % null}"/>
- <h:outputText value="#{5.5 mod null}"/>
- <h:outputText value="#{5%0}"/>
- <h:outputText value="#{5 mod 0}"/>
- <h:outputText value="#{myBean.integerProperty % myBean.booleanProperty}"/>
- <h:outputText value="#{myBean.integerProperty mod myBean.booleanProperty}"/>
- <h:outputText value="#{myBean.bigIntegerProperty % myBean.booleanProperty}"/>
- <h:outputText value="#{myBean.bigIntegerProperty mod null"/>
- <h:outputText value="#{myBean.doubleProperty % true}"/>
- </f:view>
- </body>
-</html>

Back to the top