Author: mareshkau
Date: 2010-11-24 11:09:12 -0500 (Wed, 24 Nov 2010)
New Revision: 26886
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml.xml
Removed:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestForUsingComponentsLibrariesWithDefaultNamespace.java
Log:
https://jira.jboss.org/browse/JBIDE-7704 test has been refactored, for
TestForUsingComponentsLibrariesWithDefaultNamespace seam elements has been replaced to jsf
core elements
Copied:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml
(from rev 26876,
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml)
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml 2010-11-24
16:09:12 UTC (rev 26886)
@@ -0,0 +1,10 @@
+<html
xmlns="http://www.w3.org/1999/xhtml"
+
xmlns:h="http://java.sun.com/jsf/html">
+<body>
+ <view
xmlns="http://java.sun.com/jsf/core"
id="jbide5353Test">
+ <h:outputText value="Default namespace detection test page" />
+ <h1></h1>
+ <h:inputText value="Test" />
+ </view>
+</body>
+</html>
Copied:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml.xml
(from rev 26876,
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml)
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml.xml
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/jsf-core-as-default-tags.xhtml.xml 2010-11-24
16:09:12 UTC (rev 26886)
@@ -0,0 +1,23 @@
+<tests>
+ <test id="jbide5353Test">
+<TABLE STYLE="border: 1px dotted rgb(255, 102, 0); padding: 5px; width:
100%;">
+<TR>
+<TD>
+<DIV>
+<SPAN CLASS="vpe-text">
+Default namespace detection test page
+</SPAN>
+<DIV STYLE="border: 1px solid green; -moz-user-modify: read-only;">
+<DIV CLASS="__any__tag__caption" STYLE="">
+h1
+</DIV><BR VPE:PSEUDO-ELEMENT="yes" STYLE="font-style: italic;
color: green; -moz-user-modify: read-only;"/>
+
+</DIV>
+<INPUT VALUE="Test"/>
+
+</DIV>
+</TD>
+</TR>
+</TABLE>
+ </test>
+</tests>
Deleted:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml 2010-11-24
15:45:03 UTC (rev 26885)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml 2010-11-24
16:09:12 UTC (rev 26886)
@@ -1,46 +0,0 @@
-<document
xmlns:ui="http://java.sun.com/jsf/facelets"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns="http://jboss.com/products/seam/pdf"
id="jbide5352Test">
-
- <image alignment="right" wrap="true"
value="/jboss.jpg" />
- <font size="24"><paragraph spacingAfter="50">Table
Test</paragraph></font>
-
- <table columns="4">
- <f:facet name="defaultCell">
- <cell horizontalAlignment="center"
verticalAlignment="middle" />
- </f:facet>
- <cell backgroundColor="yellow"
colspan="2"><paragraph>cell 1</paragraph></cell>
- <cell><paragraph>cell 2</paragraph></cell>
- <cell><paragraph>cell 3</paragraph></cell>
- <cell><paragraph>cell 4</paragraph></cell>
- <cell backgroundColor="red"
colspan="2"><paragraph>cell 5</paragraph></cell>
- <cell><paragraph>cell 6</paragraph></cell>
- <cell><paragraph>cell 7</paragraph></cell>
- <cell><paragraph>cell 8</paragraph></cell>
- <cell backgroundColor="green"
colspan="2"><paragraph>cell 9</paragraph></cell>
- </table>
-
- <paragraph spacingBefore="10" spacingAfter="10">This is
another table. It should be large enough to span multiple pages with the headers repeated
on other page</paragraph>
-
-
- <table widths="1 4" columns="2" headerRows="1">
- <cell grayFill=".3" paddingBottom="10"
horizontalAlignment="center" colspan="2">
- <font size="20"><paragraph
alignment="center">This is a header</paragraph></font>
- </cell>
-
-
- <ui:repeat value="#{lists.numbers}" var="week">
- <cell rotation="90" horizontalAlignment="center"
verticalAlignment="middle" grayFill=".7">
- <font size="30"><paragraph>Week
#{week}</paragraph></font>
- </cell>
- <cell paddingLeft="0" paddingRight="0"
paddingTop="0" paddingBottom="0">
- <table widths="1.25 4" columns="2"
widthPercentage="100">
- <ui:repeat value="#{lists.daysOfWeek}"
var="day">
- <cell paddingBottom="6">#{day}</cell>
- <cell paddingBottom="6">Blah blah
blah</cell>
- </ui:repeat>
- </table>
- </cell>
- </ui:repeat>
- </table>
-</document>
Deleted:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml 2010-11-24
15:45:03 UTC (rev 26885)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsf2test/WebContent/pages/JBIDE/5352/table.xhtml.xml 2010-11-24
16:09:12 UTC (rev 26886)
@@ -1,150 +0,0 @@
-<tests>
- <test id="jbide5352Test">
- <DIV STYLE="margin: 36px;">
-<SPAN STYLE="font-size: 24pt;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-Table Test
-</SPAN>
-</DIV>
-</SPAN>
-<DIV>
-<TABLE WIDTH="100%" CELLSPACING="0px"
ALIGN="center">
-<TR>
-<TD VALIGN="middle" ALIGN="center" STYLE="border: 2px solid
black;">
-</TD>
-<TD COLSPAN="2" STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 1
-</SPAN>
-</DIV>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 2
-</SPAN>
-</DIV>
-</TD>
-</TR>
-<TR>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 3
-</SPAN>
-</DIV>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 4
-</SPAN>
-</DIV>
-</TD>
-<TD COLSPAN="2" STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 5
-</SPAN>
-</DIV>
-</TD>
-</TR>
-<TR>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 6
-</SPAN>
-</DIV>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 7
-</SPAN>
-</DIV>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 8
-</SPAN>
-</DIV>
-</TD>
-<TD COLSPAN="2" STYLE="border: 2px solid black;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-cell 9
-</SPAN>
-</DIV>
-</TD>
-</TR>
-</TABLE>
-</DIV>
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-This is another table. It should be large enough to span multiple pages with the headers
repeated on other page
-</SPAN>
-</DIV>
-<DIV>
-<TABLE WIDTH="100%" CELLSPACING="0px"
ALIGN="center">
-<TR>
-<TD ALIGN="center" COLSPAN="2" STYLE="border: 2px solid
black;">
-<SPAN STYLE="font-size: 20pt;">
-<DIV ALIGN="center"><BR/>
-
-<SPAN CLASS="vpe-text">
-This is a header
-</SPAN>
-</DIV>
-</SPAN>
-</TD>
-</TR>
-<TR>
-<TD VALIGN="middle" ALIGN="center" STYLE="border: 2px solid
black;">
-<SPAN STYLE="font-size: 30pt;">
-<DIV><BR/>
-
-<SPAN CLASS="vpe-text">
-Week #{week}
-</SPAN>
-</DIV>
-</SPAN>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<DIV>
-<TABLE WIDTH="100%" CELLSPACING="0px"
ALIGN="center">
-<TR>
-<TD STYLE="border: 2px solid black;">
-<SPAN CLASS="vpe-text">
-#{day}
-</SPAN>
-</TD>
-<TD STYLE="border: 2px solid black;">
-<SPAN CLASS="vpe-text">
-Blah blah blah
-</SPAN>
-</TD>
-</TR>
-</TABLE>
-</DIV>
-</TD>
-</TR>
-</TABLE>
-</DIV>
-</DIV>
- </test>
-</tests>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestForUsingComponentsLibrariesWithDefaultNamespace.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestForUsingComponentsLibrariesWithDefaultNamespace.java 2010-11-24
15:45:03 UTC (rev 26885)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/TestForUsingComponentsLibrariesWithDefaultNamespace.java 2010-11-24
16:09:12 UTC (rev 26886)
@@ -24,7 +24,7 @@
}
public void testCheckContetnForDefaultNamespace() throws Throwable{
- performContentTest("JBIDE/5352/table.xhtml"); //$NON-NLS-1$
+ performContentTest("JBIDE/5352/jsf-core-as-default-tags.xhtml");
//$NON-NLS-1$
performContentTest("JBIDE/5352/jbide5352.xhtml"); //$NON-NLS-1$
}