Author: mareshkau
Date: 2010-02-08 10:49:52 -0500 (Mon, 08 Feb 2010)
New Revision: 20182
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/FacetProcessingTest.java
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/5768/test.xhtml.xml
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5768
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/5768/test.xhtml.xml
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/5768/test.xhtml.xml 2010-02-08
15:34:50 UTC (rev 20181)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/resources/jsfTest/WebContent/pages/JBIDE/5768/test.xhtml.xml 2010-02-08
15:49:52 UTC (rev 20182)
@@ -1,8 +1,54 @@
<tests>
<test id="footerIsMissing">
-
+<TABLE BORDER="1" ID="footerIsMissing" CLASS="dr-table
rich-table ">
+<COLGROUP SPAN="0">
+</COLGROUP>
+<THEAD>
+<TR CLASS="dr-table-header rich-table-header "
STYLE="/background-image: url\(.*/resources/common/background.gif\);/">
+<TD CLASS="dr-table-headercell rich-table-headercell "
COLSPAN="100" SCOPE="colgroup">
+<SPAN CLASS="vpe-text">
+HEADER
+</SPAN>
+</TD>
+</TR>
+</THEAD>
+<TFOOT>
+<TR CLASS="dr-table-footer rich-table-footer "
STYLE="/background-image: url\(.*/resources/common/background.gif\);/">
+<TD CLASS="dr-table-footercell rich-table-footercell "
COLSPAN="100" SCOPE="colgroup">
+<SPAN CLASS="vpe-text">
+FOOTER
+</SPAN>
+</TD>
+</TR>
+</TFOOT>
+</TABLE>
</test>
<test id="headermIsMissingAsWell">
-
+<TABLE BORDER="1" ID="headermIsMissingAsWell" CLASS="dr-table
rich-table ">
+<COLGROUP SPAN="0">
+</COLGROUP>
+<TR>
+<TD COLSPAN="100">
+<DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify:
read-only;">
+<DIV STYLE="-moz-user-modify: read-only;">
+<SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">
+HEADER
+</SPAN>
+</DIV>
+</DIV>
+</TD>
+</TR>
+<TR>
+<TD COLSPAN="100">
+<DIV VPE:INCLUDE-ELEMENT="yes" STYLE="-moz-user-modify:
read-only;">
+<DIV STYLE="-moz-user-modify: read-only;">
+<SPAN CLASS="vpe-text" STYLE="-moz-user-modify: read-only;">
+FOOTER
+</SPAN>
+</DIV>
+</DIV>
+</TD>
+</TR>
+</TABLE>
</test>
</tests>
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-02-08
15:34:50 UTC (rev 20181)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/JsfAllTests.java 2010-02-08
15:49:52 UTC (rev 20182)
@@ -17,6 +17,7 @@
import junit.framework.TestSuite;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.ContextMenuDoubleInsertionTest_JBIDE3888;
+import org.jboss.tools.jsf.vpe.jsf.test.jbide.FacetProcessingTest;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1105Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1460Test;
import org.jboss.tools.jsf.vpe.jsf.test.jbide.JBIDE1479Test;
@@ -200,6 +201,7 @@
suite.addTestSuite(OpenOnTLDPackedInJar_JBIDE5693.class);
suite.addTestSuite(PreferencesForEditors_JBIDE5692.class);
suite.addTestSuite(NaturesChecker_JBIDE5701.class);
+ suite.addTestSuite(FacetProcessingTest.class);
// $JUnit-END$
// added by Max Areshkau
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/FacetProcessingTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/FacetProcessingTest.java
(rev 0)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsf.test/src/org/jboss/tools/jsf/vpe/jsf/test/jbide/FacetProcessingTest.java 2010-02-08
15:49:52 UTC (rev 20182)
@@ -0,0 +1,38 @@
+/*******************************************************************************
+ * Copyright (c) 2007-2010 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.jsf.vpe.jsf.test.jbide;
+
+import org.jboss.tools.jsf.vpe.jsf.test.JsfAllTests;
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+
+/**
+ *JUnit for
https://jira.jboss.org/jira/browse/JBIDE-5768
+ *
+ * @author mareshkau
+ *
+ */
+public class FacetProcessingTest extends ComponentContentTest {
+
+ public FacetProcessingTest(String name) {
+ super(name);
+ }
+
+ public void testFacetProcessingTest() throws Throwable{
+ performContentTest("JBIDE/5768/test.xhtml"); //$NON-NLS-1$
+
+
+ }
+ @Override
+ protected String getTestProjectName() {
+ return JsfAllTests.IMPORT_PROJECT_NAME;
+ }
+
+}