Author: sdzmitrovich
Date: 2008-11-21 12:05:01 -0500 (Fri, 21 Nov 2008)
New Revision: 11957
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
Log:
JBIDE-2854
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/abbr.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="abbr">
+ <ABBR ID="color:red" CLASS="abbrClass" STYLE="color:
red;">
+ <SPAN>
+ abbreviation
+ </SPAN>
+ </ABBR>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/acronym.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="acronym">
+ <SPAN>
+ acronym
+ </SPAN>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/b.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="b">
+ <B STYLE="color: red;" ID="b" CLASS="bClass">
+ <SPAN>
+ some bold text
+ </SPAN>
+ </B>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/big.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,10 @@
+<tests>
+ <test id="b">
+ <BIG STYLE="color: red;" ID="big"
CLASS="bigClass">
+ <SPAN>
+ big
+ text
+ </SPAN>
+ </BIG>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/blockquote.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="blockquote">
+ <BLOCKQUOTE ID="blockquote" STYLE="color: red;"
CLASS="blockquoteClass">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </BLOCKQUOTE>
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/br.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,5 @@
+<tests>
+ <test id="br">
+ <BR STYLE="color: red;" ID="br" CLASS="brClass" />
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/cite.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="cite">
+ <CITE STYLE="color: red;" ID="cite"
CLASS="citeClass">
+ <SPAN>
+ some text
+ </SPAN>
+ </CITE>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html 2008-11-21
17:05:01 UTC (rev 11957)
@@ -5,7 +5,7 @@
<h1>code</h1>
-<code>
+<code id="" class="codeClass" style="color:red">
function checkParent (src, dest) {<br>
while (src != null) {<br>
if (src.tagName == dest) return src<br>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/code.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,39 @@
+<tests>
+ <test id="code">
+ <CODE ID="" CLASS="codeClass" STYLE="color: red;
-moz-user-modify: read-write;">
+ <SPAN>
+ function checkParent (src, dest) {
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ while (src != null) {
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ if (src.tagName == dest) return src
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ src = src.parentElement
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ }
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ return null
+</SPAN>
+ <BR STYLE="-moz-user-modify: read-write;" />
+
+ <SPAN>
+ }
+</SPAN>
+ </CODE>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html 2008-11-21
17:05:01 UTC (rev 11957)
@@ -5,7 +5,7 @@
<h1>del</h1>
-<del>Some Text</del>
+<del id="del" class="delClass" style="color:
red">Some Text</del>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/del.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="del">
+ <DEL STYLE="color: red;" ID="del"
CLASS="delClass">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </DEL>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html 2008-11-21
17:05:01 UTC (rev 11957)
@@ -5,7 +5,7 @@
<h1>dfn</h1>
-<dfn>Some Text</dfn>
+<dfn id="dfn" class="dfnClass" style="color:
red">Some Text</dfn>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/dfn.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="dfn">
+ <DFN STYLE="color: red;" ID="dfn"
CLASS="dfnClass">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </DFN>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html 2008-11-21
17:05:01 UTC (rev 11957)
@@ -5,7 +5,7 @@
<h1>em</h1>
-<em>Some Text</em>
+<em id="em" class="emClass" style="color:red">Some
Text</em>
</body>
</html>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/em.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,9 @@
+<tests>
+ <test id="em">
+ <EM ID="em" CLASS="emClass" STYLE="color: red;
-moz-user-modify: read-write;">
+ <SPAN>
+ Some Text
+ </SPAN>
+ </EM>
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html 2008-11-21
17:05:01 UTC (rev 11957)
@@ -6,7 +6,7 @@
<h1>hr</h1>
String 1
-<hr>
+<hr id="hr" class="hrClass" size="20"
style="background: red">
String 2
</body>
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/hr.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="hr">
+ <HR SIZE="20"
+ STYLE="background: red none repeat scroll 0%; -moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
+ CLASS="hrClass" ID="hr" />
+ </test>
+</tests>
\ No newline at end of file
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/resources/htmlTest/WebContent/pages/components/text/i.html.xml 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,7 @@
+<tests>
+ <test id="hr">
+ <HR SIZE="20"
+ STYLE="background: red none repeat scroll 0%; -moz-background-clip: -moz-initial;
-moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"
+ CLASS="hrClass" ID="hr" />
+ </test>
+</tests>
\ No newline at end of file
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlAllTests.java 2008-11-21
17:05:01 UTC (rev 11957)
@@ -28,16 +28,19 @@
*/
public class HtmlAllTests {
-
+
+ // import project name
+ public static final String IMPORT_PROJECT_NAME = "htmlTest"; //$NON-NLS-1$
+
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe Jsf components"); //
$NON-NLS-1$
+ TestSuite suite = new TestSuite("Tests for Vpe Jsf components");
//$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(HtmlComponentTest.class);
List<ImportBean> projectToImport = new ArrayList<ImportBean>();
ImportBean importBean = new ImportBean();
- importBean.setImportProjectName(HtmlComponentTest.IMPORT_PROJECT_NAME);
+ importBean.setImportProjectName(IMPORT_PROJECT_NAME);
importBean.setImportProjectPath(HtmlTestPlugin.getPluginResourcePath());
projectToImport.add(importBean);
return new VpeTestSetup(suite,projectToImport);
Added:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java
(rev 0)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentContentTest.java 2008-11-21
17:05:01 UTC (rev 11957)
@@ -0,0 +1,138 @@
+/*******************************************************************************
+ * Copyright (c) 2007 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.vpe.html.test;
+
+import org.eclipse.core.resources.IFile;
+import org.jboss.tools.vpe.ui.test.ComponentContentTest;
+import org.jboss.tools.vpe.ui.test.TestUtil;
+
+/**
+ * Class for testing all jsf components
+ *
+ * @author sdzmitrovich
+ *
+ */
+public class HtmlComponentContentTest extends ComponentContentTest {
+
+ public HtmlComponentContentTest(String name) {
+ super(name);
+ setCheckWarning(false);
+ }
+
+ /*
+ * test for text html tags
+ */
+
+ public void testAbbr() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testAcronym() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testB() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testBig() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testBlockquote() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testBr() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testCite() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testCode() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testDel() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testDfn() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testEm() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testHr() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testI() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testIns() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testKbd() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testP() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testPre() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testQ() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testSamp() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testSmall() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testStrong() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testSub() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testSup() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testTt() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ public void testVar() throws Throwable {
+ fail( "it is necessary to add body of the test");
+ }
+
+ protected String getTestProjectName() {
+ return HtmlAllTests.IMPORT_PROJECT_NAME;
+ }
+
+}
Modified:
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java
===================================================================
---
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-21
16:58:18 UTC (rev 11956)
+++
trunk/vpe/tests/org.jboss.tools.vpe.html.test/src/org/jboss/tools/vpe/html/test/HtmlComponentTest.java 2008-11-21
17:05:01 UTC (rev 11957)
@@ -21,10 +21,9 @@
*
*/
public class HtmlComponentTest extends VpeTest {
-
// import project name
- public static final String IMPORT_PROJECT_NAME = "htmlTest";
-
+ public static final String IMPORT_PROJECT_NAME = "htmlTest"; //$NON-NLS-1$
+
public HtmlComponentTest(String name) {
super(name);
setCheckWarning(false);
@@ -36,22 +35,22 @@
public void testDiv() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/block/div.html", IMPORT_PROJECT_NAME));
+ "components/block/div.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testDl() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/block/dl.html", IMPORT_PROJECT_NAME));
+ "components/block/dl.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testLists() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/block/lists.html", IMPORT_PROJECT_NAME));
+ "components/block/lists.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSpan() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/block/span.html", IMPORT_PROJECT_NAME));
+ "components/block/span.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -60,47 +59,47 @@
public void testA() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/a.html", IMPORT_PROJECT_NAME));
+ "components/core/a.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testAddress() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/address.html", IMPORT_PROJECT_NAME));
+ "components/core/address.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testBasic() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/basic.html", IMPORT_PROJECT_NAME));
+ "components/core/basic.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testImg() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/img.html", IMPORT_PROJECT_NAME));
+ "components/core/img.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testLink() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/link.html", IMPORT_PROJECT_NAME));
+ "components/core/link.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testMap() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/map.html", IMPORT_PROJECT_NAME));
+ "components/core/map.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testObject() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/object.html", IMPORT_PROJECT_NAME));
+ "components/core/object.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testStyle() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/style.html", IMPORT_PROJECT_NAME));
+ "components/core/style.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testTitle() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/core/title.html", IMPORT_PROJECT_NAME));
+ "components/core/title.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -109,37 +108,37 @@
public void testButton() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/button.html", IMPORT_PROJECT_NAME));
+ "components/form/button.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testFieldset() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/fieldset.html", IMPORT_PROJECT_NAME));
+ "components/form/fieldset.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testForm() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/form.html", IMPORT_PROJECT_NAME));
+ "components/form/form.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testInput() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/input.html", IMPORT_PROJECT_NAME));
+ "components/form/input.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testLabel() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/label.html", IMPORT_PROJECT_NAME));
+ "components/form/label.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSelect() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/select.html", IMPORT_PROJECT_NAME));
+ "components/form/select.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testTextArea() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/form/textArea.html", IMPORT_PROJECT_NAME));
+ "components/form/textArea.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -148,12 +147,12 @@
public void testFrameset() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/frames/frameset.html", IMPORT_PROJECT_NAME));
+ "components/frames/frameset.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testIframe() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/frames/iframe.html", IMPORT_PROJECT_NAME));
+ "components/frames/iframe.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -162,7 +161,7 @@
public void testScript() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/scripts/script.html", IMPORT_PROJECT_NAME));
+ "components/scripts/script.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -171,12 +170,12 @@
public void testComplexTable() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/table/complex_table.html", IMPORT_PROJECT_NAME));
+ "components/table/complex_table.html", IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
public void testTable() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/table/table.html", IMPORT_PROJECT_NAME));
+ "components/table/table.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/*
@@ -185,127 +184,127 @@
public void testAbbr() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/abbr.html", IMPORT_PROJECT_NAME));
+ "components/text/abbr.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testAcronym() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/acronym.html", IMPORT_PROJECT_NAME));
+ "components/text/acronym.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testB() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/b.html", IMPORT_PROJECT_NAME));
+ "components/text/b.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testBig() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/big.html", IMPORT_PROJECT_NAME));
+ "components/text/big.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testBlockquote() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/blockquote.html", IMPORT_PROJECT_NAME));
+ "components/text/blockquote.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testBr() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/br.html", IMPORT_PROJECT_NAME));
+ "components/text/br.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testCite() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/cite.html", IMPORT_PROJECT_NAME));
+ "components/text/cite.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testCode() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/code.html", IMPORT_PROJECT_NAME));
+ "components/text/code.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testDel() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/del.html", IMPORT_PROJECT_NAME));
+ "components/text/del.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testDfn() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/dfn.html", IMPORT_PROJECT_NAME));
+ "components/text/dfn.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testEm() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/em.html", IMPORT_PROJECT_NAME));
+ "components/text/em.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testHr() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/hr.html", IMPORT_PROJECT_NAME));
+ "components/text/hr.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testI() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/i.html", IMPORT_PROJECT_NAME));
+ "components/text/i.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testIns() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/ins.html", IMPORT_PROJECT_NAME));
+ "components/text/ins.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testKbd() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/kbd.html", IMPORT_PROJECT_NAME));
+ "components/text/kbd.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testP() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/p.html", IMPORT_PROJECT_NAME));
+ "components/text/p.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testPre() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/pre.html", IMPORT_PROJECT_NAME));
+ "components/text/pre.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testQ() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/q.html", IMPORT_PROJECT_NAME));
+ "components/text/q.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSamp() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/samp.html", IMPORT_PROJECT_NAME));
+ "components/text/samp.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSmall() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/small.html", IMPORT_PROJECT_NAME));
+ "components/text/small.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testStrong() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/strong.html", IMPORT_PROJECT_NAME));
+ "components/text/strong.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSub() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/sub.html", IMPORT_PROJECT_NAME));
+ "components/text/sub.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testSup() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/sup.html", IMPORT_PROJECT_NAME));
+ "components/text/sup.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testTt() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/tt.html", IMPORT_PROJECT_NAME));
+ "components/text/tt.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
public void testVar() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text/var.html", IMPORT_PROJECT_NAME));
+ "components/text/var.html", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
}