Author: dmaliarevich
Date: 2009-03-16 13:38:16 -0400 (Mon, 16 Mar 2009)
New Revision: 14223
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/cache.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/enumItem.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fragment.xhtml.xml
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/label.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectItems.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/validateAll.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3697, JUnits components' content tests were
added.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,7 +6,7 @@
<head>
</head>
<body>
- <s:button>
+ <s:button id="id1">
</s:button>
</body>
</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/button.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="id1">
+ <INPUT TYPE="submit" VALUE=" " STYLE="-moz-user-modify:
read-only;"/>
+ </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/button.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/cache.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/cache.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/cache.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,11 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <H1 STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ s:cache
+ </SPAN>
+ </H1>
+ </DIV>
+ </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/cache.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -8,7 +8,7 @@
<head>
</head>
<body>
-<s:decorate template="insert.xhtml">
+<s:decorate template="insert.xhtml" id="id1">
</s:decorate>
</body>
</html>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/decorate.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,13 @@
+<tests>
+ <test id="id1">
+ <DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify:
read-only;">
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text" STYLE="-moz-user-modify:
read-only;">
+ JBoss Seam 2.0.0.CR3 278 Seam JSF controls
+ </SPAN>
+ </DIV>
+ </DIV>
+ </DIV>
+ </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/decorate.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,7 +6,8 @@
<head>
</head>
<body>
- <s:div>
+ <s:div id="id1">
+ Some text
</s:div>
</body>
</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/div.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <SPAN CLASS="vpe-text">
+ Some text
+ </SPAN>
+ </DIV>
+ </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/div.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/enumItem.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/enumItem.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/enumItem.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,23 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-write;">
+ <INPUT TYPE="radio" NAME="radio_name_394"/>
+ <LABEL>
+ Only Once
+ </LABEL>
+ </DIV>
+ </test>
+ <test id="id2">
+ <OPTION>
+ iL-Every Week
+ </OPTION>
+ </test>
+ <test id="id3">
+ <SPAN STYLE="-moz-user-modify: read-write;">
+ <INPUT TYPE="checkbox" />
+ <LABEL>
+ Only Once
+ </LABEL>
+ </SPAN>
+ </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/enumItem.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml
===================================================================
(Binary files differ)
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fileUpload.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-only; cursor: pointer;">
+ <INPUT TYPE="file" />
+ </DIV>
+ </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/fileUpload.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,6 +6,6 @@
<head>
</head>
<body>
- <s:formattedText value="#{blog.text}"/>
+ <s:formattedText value="#{blog.text}" id="id1"/>
</body>
</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/formattedText.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,12 @@
+<tests>
+ <test id="id1">
+ <SPAN>
+ <OL>
+ <LI>
+ {blog.text}
+ </LI>
+ </OL>
+ <BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic; color:
green; -moz-user-modify: read-only;"/>
+ </SPAN>
+ </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/formattedText.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fragment.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fragment.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/fragment.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <DIV STYLE="-moz-user-modify: read-only;">
+ <SPAN CLASS="vpe-text">
+ Current bid:
+ </SPAN>
+ </DIV>
+ </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/fragment.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
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
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/graphicImage.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <IMG
+ SRC="/.*ve/unresolved_image.gif/"
+ STYLE="-moz-user-modify: read-write;" />
+ </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/graphicImage.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,7 +6,7 @@
<head>
</head>
<body>
-<s:label styleClass="#{invalid?'error':''}">
+<s:label styleClass="#{invalid?'error':''}"
id="id1">
Label
</s:label>
</body>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/label.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <LABEL CLASS="#{invalid?'error':''}"
STYLE="-moz-user-modify: read-only; cursor: pointer;">
+ <SPAN CLASS="vpe-text">
+ Label
+ </SPAN>
+ </LABEL>
+ </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/label.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,6 +6,6 @@
<head>
</head>
<body>
- <s:link view="/login.xhtml" value="Link"/>
+ <s:link view="/login.xhtml" value="Link" id="id1"/>
</body>
</html>
\ No newline at end of file
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/link.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="id1">
+ <SPAN
+ STYLE="color: blue; text-decoration: underline; -moz-user-modify:
read-write;">
+ Link
+ <BR VPE:PSEUDO-ELEMENT="yes"
+ STYLE="font-style: italic; color: green; -moz-user-modify: read-only;"
/>
+ </SPAN>
+ </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/link.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,6 +6,6 @@
<head>
</head>
<body>
-<s:message styleClass="error" />
+<s:message styleClass="error" id="id1"/>
</body>
</html>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/message.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="error" STYLE="-moz-user-modify: read-only;">
+ Error Messages
+ </SPAN>
+ </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/message.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml
===================================================================
(Binary files differ)
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml
___________________________________________________________________
Name: svn:mime-type
+ application/xhtml+xml
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectDate.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,13 @@
+<tests>
+ <test id="id1">
+ <SPAN>
+ <SPAN>
+ <INPUT TYPE="text" STYLE="vertical-align: middle;"
CLASS="rich-calendar-input null"/>
+ <IMG
+ SRC="/.*resources/calendar/calendar.gif/"
+ STYLE="vertical-align: middle;" CLASS="rich-calendar-button
null"
+ VPE-USER-TOGGLE-ID="true" />
+ </SPAN>
+ </SPAN>
+ </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/selectDate.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectItems.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectItems.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/selectItems.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="id1">
+ <OPTION>
+ #{testClass.list}
+ </OPTION>
+ </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/selectItems.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,6 +6,6 @@
<head>
</head>
<body>
-<s:span styleClass="required"
rendered="#{required}">*</s:span>
+<s:span styleClass="required" rendered="#{required}"
id="id1">*</s:span>
</body>
</html>
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/span.xhtml.xml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="id1">
+ <SPAN CLASS="required" STYLE="-moz-user-modify:
read-write;">
+ <SPAN CLASS="vpe-text">
+ *
+ </SPAN>
+ </SPAN>
+ </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/span.xhtml.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/validateAll.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/validateAll.xhtml 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/resources/SeamTest/WebContent/pages/components/validateAll.xhtml 2009-03-16
17:38:16 UTC (rev 14223)
@@ -6,6 +6,6 @@
<head>
</head>
<body>
- <s:validateAll></s:validateAll>
+ <s:validateAll id="id1"></s:validateAll>
</body>
</html>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamAllTests.java 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamAllTests.java 2009-03-16
17:38:16 UTC (rev 14223)
@@ -27,14 +27,18 @@
*/
public class SeamAllTests {
+
+ public static final String IMPORT_PROJECT_NAME = "SeamTest"; //$NON-NLS-1$
+
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe Seam components"); //
$NON-NLS-1$
+ TestSuite suite = new TestSuite("Tests for Vpe Seam components");
//$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(SeamComponentTest.class);
+ suite.addTestSuite(SeamComponentContentTest.class);
// $JUnit-END$
List<ImportBean> importProjects = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
- importBean.setImportProjectName(SeamComponentTest.IMPORT_PROJECT_NAME);
+ importBean.setImportProjectName(SeamAllTests.IMPORT_PROJECT_NAME);
importBean.setImportProjectPath(SeamTestPlugin.getPluginResourcePath());
importProjects.add(importBean);
return new VpeTestSetup(suite, importProjects);
Added:
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
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java 2009-03-16
17:38:16 UTC (rev 14223)
@@ -0,0 +1,110 @@
+package org.jboss.tools.jsf.vpe.seam.test;
+
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+
+public class SeamComponentContentTest extends ComponentContentTest {
+
+ public SeamComponentContentTest(String name) {
+ super(name);
+ setCheckWarning(false);
+ }
+
+ @Override
+ protected String getTestProjectName() {
+ return SeamAllTests.IMPORT_PROJECT_NAME;
+ }
+
+ public void testButton() throws Throwable {
+ performContentTest("components/button.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testCache() throws Throwable {
+ performContentTest("components/cache.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testConversationId() throws Throwable {
+ performInvisibleTagTest("components/conversationId.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testConvertDateTime() throws Throwable {
+ performInvisibleTagTest("components/convertDateTime.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testConvertEntity() throws Throwable {
+ performInvisibleTagTest("components/convertEntity.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testConvertEnum() throws Throwable {
+ performInvisibleTagTest("components/convertEnum.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testDecorate() throws Throwable {
+ performContentTest("components/decorate.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testDefaultAction() throws Throwable {
+ performInvisibleTagTest("components/defaultAction.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testDiv() throws Throwable {
+ performContentTest("components/div.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testEnumItem() throws Throwable {
+ performContentTest("components/enumItem.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testFileUpload() throws Throwable {
+ performContentTest("components/fileUpload.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testFormattedText() throws Throwable {
+ performContentTest("components/formattedText.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testFragment() throws Throwable {
+ performContentTest("components/fragment.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testGraphicImage() throws Throwable {
+ performContentTest("components/graphicImage.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testLabel() throws Throwable {
+ performContentTest("components/label.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testLink() throws Throwable {
+ performContentTest("components/link.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testMessage() throws Throwable {
+ performContentTest("components/message.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testRemote() throws Throwable {
+ performInvisibleTagTest("components/remote.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testSelectDate() throws Throwable {
+ performContentTest("components/selectDate.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testSelectItems() throws Throwable {
+ performContentTest("components/selectItems.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testSpan() throws Throwable {
+ performContentTest("components/span.xhtml"); //$NON-NLS-1$
+ }
+
+ public void testValidate() throws Throwable {
+ performInvisibleTagTest("components/validate.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ public void testValidateAll() throws Throwable {
+ performInvisibleTagTest("components/validateAll.xhtml", "id1");
//$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+
+}
Property changes on:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentContentTest.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Author Id Revision Date
Name: svn:eol-style
+ native
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentTest.java 2009-03-16
16:16:46 UTC (rev 14222)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.seam.test/src/org/jboss/tools/jsf/vpe/seam/test/SeamComponentTest.java 2009-03-16
17:38:16 UTC (rev 14223)
@@ -22,133 +22,134 @@
*/
public class SeamComponentTest extends VpeTest {
- // import project name
- public static final String IMPORT_PROJECT_NAME = "SeamTest"; //$NON-NLS-1$
-
public SeamComponentTest(String name) {
super(name);
setCheckWarning(false);
}
+
+ public void testButton() throws Throwable {
+ performTestForVpeComponent((IFile) TestUtil.getComponentPath(
+ "components/button.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ }
public void testCache() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/cache.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/cache.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testConversationId() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/conversationId.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/conversationId.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testConversationPropagation() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/conversationPropagation.xhtml", IMPORT_PROJECT_NAME));
//$NON-NLS-1$
+ "components/conversationPropagation.xhtml",
SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testConvertDateTime() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/convertDateTime.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/convertDateTime.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testConvertEntity() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/convertEntity.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/convertEntity.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testConvertEnum() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/convertEnum.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/convertEnum.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testDecorate() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/decorate.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/decorate.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
-
- public void testDiv() throws Throwable {
+
+ public void testDefaultAction() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/div.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/defaultAction.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
-
- public void testDefaultAction() throws Throwable {
+ public void testDiv() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/defaultAction.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/div.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testEnumItem() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/enumItem.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/enumItem.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testFileUpload() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/fileUpload.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/fileUpload.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testFormattedText() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/formattedText.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/formattedText.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testFragment() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/fragment.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/fragment.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testGraphicImage() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/graphicImage.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/graphicImage.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testLabel() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/label.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/label.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testLink() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/link.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/link.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testMessage() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/message.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/message.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testRemote() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/remote.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/remote.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSelectDate() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/message.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/message.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testSelectItems() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/message.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/message.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testValidate() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/validate.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/validate.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testSpan() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/span.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/span.xhtml", SeamAllTests.IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testValidateAll() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/validateAll.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/validateAll.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testAllComponentsOnSinglePage() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/seamtest.xhtml", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
+ "components/seamtest.xhtml", SeamAllTests.IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
}