Author: dmaliarevich
Date: 2009-04-14 11:32:15 -0400 (Tue, 14 Apr 2009)
New Revision: 14736
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/transformImageSize.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/graphicImage.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4105, s:transformImageSize template was added,
JUnits were updated
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/graphicImage.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/graphicImage.xhtml.xml 2009-04-14
13:38:48 UTC (rev 14735)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/graphicImage.xhtml.xml 2009-04-14
15:32:15 UTC (rev 14736)
@@ -1,7 +1,6 @@
<tests>
<test id="id1">
<IMG
- SRC="/.*ve/unresolved_image.gif/"
- STYLE="-moz-user-modify: read-write;" />
+ SRC="/.*ve/unresolved_image.gif/"/>
</test>
</tests>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/transformImageSize.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/transformImageSize.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/transformImageSize.xhtml.xml 2009-04-14
15:32:15 UTC (rev 14736)
@@ -0,0 +1,27 @@
+<tests>
+ <test id="id1">
+ <IMG HEIGHT="10" CLASS="btn"
+ SRC="/.*ve/unresolved_image.gif/" />
+ </test>
+ <test id="id2">
+ <IMG WIDTH="200" CLASS="btn"
+ SRC="/.*ve/unresolved_image.gif/" />
+ </test>
+ <test id="id3">
+ <IMG WIDTH="" CLASS="btn"
+ SRC="/.*ve/unresolved_image.gif/" />
+ </test>
+ <test id="id4">
+ <IMG WIDTH="jjjjj" CLASS="btn"
+ SRC="/.*ve/unresolved_image.gif/" />
+ </test>
+ <test id="id5">
+ <IMG WIDTH="100" CLASS="btn" />
+ </test>
+ <test id="id6">
+ <IMG WIDTH="jjjjj" CLASS="btn" />
+ </test>
+ <test id="id7">
+ <IMG WIDTH="200" CLASS="btn" />
+ </test>
+</tests>
\ No newline at end of file
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/transformImageSize.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java 2009-04-14
13:38:48 UTC (rev 14735)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java 2009-04-14
15:32:15 UTC (rev 14736)
@@ -98,6 +98,18 @@
performContentTest("components/span.xhtml"); //$NON-NLS-1$
}
+ public void testTransformImageSize() throws Throwable {
+ performContentTest("components/transformImageSize.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testTransformImageBlur() throws Throwable {
+ performInvisibleTagTest("components/transformImageBlur.xhtml",
"id1"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testTransformImageType() throws Throwable {
+ performInvisibleTagTest("components/transformImageType.xhtml",
"id1"); //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
public void testValidate() throws Throwable {
performInvisibleTagTest("components/validate.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
}