Author: svasilyev
Date: 2008-02-18 11:23:23 -0500 (Mon, 18 Feb 2008)
New Revision: 6396
Added:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687
Property changes on: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test
___________________________________________________________________
Name: svn:ignore
+ AllTests.txt
Added: trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
===================================================================
--- trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html
(rev 0)
+++ trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/about.html 2008-02-18 16:23:23 UTC
(rev 6396)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>©2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this
plug-in
+("Content"). Unless otherwise indicated below, the Content is provided to you
+under the terms and conditions of the Eclipse Public License Version 1.0
+("EPL"). A copy of the EPL is available at
+<A
href="http://www.eclipse.org/org/documents/epl-v10.php">http...;.
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the
+Content is being redistributed by another party ("Redistributor") and different
+terms and conditions may apply to your use of any object code in the Content.
+Check the Redistributor's license that was provided with the Content. If no such
+license exists, contact the Redistributor. Unless otherwise indicated below, the
+terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at
+ <A
href="http://www.jboss.org/tools">http://www.jboss.org/tools...
+
+</BODY>
+</HTML>
\ No newline at end of file
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java 2008-02-18
16:23:14 UTC (rev 6395)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPAllTests.java 2008-02-18
16:23:23 UTC (rev 6396)
@@ -22,7 +22,7 @@
public class JSPAllTests {
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe JSP components");
+ TestSuite suite = new TestSuite("Tests for Vpe JSP components");
//$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(JSPComponentTest.class);
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java 2008-02-18
16:23:14 UTC (rev 6395)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPComponentTest.java 2008-02-18
16:23:23 UTC (rev 6396)
@@ -24,7 +24,7 @@
public class JSPComponentTest extends VpeTest {
// import project name
- public static final String IMPORT_PROJECT_NAME = "jspTest";
+ public static final String IMPORT_PROJECT_NAME = "jspTest"; //$NON-NLS-1$
public JSPComponentTest(String name) {
super(name);
@@ -38,7 +38,7 @@
*/
public void testDeclaration() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/declaration.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/declaration.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -48,7 +48,7 @@
*/
public void testExpression() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/expression.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/expression.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -58,7 +58,7 @@
*/
public void testScriptlet() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/scriptlet.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/scriptlet.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -68,7 +68,7 @@
*/
public void testDirectiveAttribute() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
/**
@@ -78,12 +78,10 @@
*/
public void testDirectiveInclude() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_include_absolute.jsp",
- IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_include_absolute.jsp", IMPORT_PROJECT_NAME));
//$NON-NLS-1$
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_include_relative.jsp",
- IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_include_relative.jsp", IMPORT_PROJECT_NAME));
//$NON-NLS-1$
}
@@ -94,10 +92,10 @@
*/
public void testInclude() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/include_absolute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/include_absolute.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/include_relative.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/include_relative.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -108,7 +106,7 @@
*/
public void testDirectivePage() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_page.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_page.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -119,7 +117,7 @@
*/
public void testDirectiveTag() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_tag.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_tag.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -130,7 +128,7 @@
*/
public void testDirectiveTaglib() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/directive_taglib.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/directive_taglib.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -141,7 +139,7 @@
*/
public void testDirectiveVariable() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -152,7 +150,7 @@
*/
public void testAttribute() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/attribute.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/attribute.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -163,7 +161,7 @@
*/
public void testBody() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/body.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/body.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -174,7 +172,7 @@
*/
public void testElement() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/element.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/element.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -185,7 +183,7 @@
*/
public void testDoBody() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/double.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/double.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -196,7 +194,7 @@
*/
public void testForward() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/forward.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/forward.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -207,7 +205,7 @@
*/
public void testGetProperty() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/get_property.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/get_property.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -218,7 +216,7 @@
*/
public void testInvoke() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "../WEB-INF/tags/catalog.tag", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -229,7 +227,7 @@
*/
public void testOutput() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/output.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/output.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -240,7 +238,7 @@
*/
public void testPlugin() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/plugin.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/plugin.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -251,7 +249,7 @@
*/
public void testRoot() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/root.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/root.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -262,7 +260,7 @@
*/
public void testSetProperty() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/set_property.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/set_property.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -273,7 +271,7 @@
*/
public void testText() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/text.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/text.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
@@ -284,7 +282,7 @@
*/
public void testUseBean() throws Throwable {
performTestForVpeComponent((IFile) TestUtil.getComponentPath(
- "components/useBean.jsp", IMPORT_PROJECT_NAME)); // $NON-NLS-1$
+ "components/useBean.jsp", IMPORT_PROJECT_NAME)); //$NON-NLS-1$
}
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java 2008-02-18
16:23:14 UTC (rev 6395)
+++
trunk/jsf/tests/org.jboss.tools.jsf.vpe.jsp.test/src/org/jboss/tools/jsf/vpe/jsp/test/JSPTestPlugin.java 2008-02-18
16:23:23 UTC (rev 6396)
@@ -24,7 +24,7 @@
public class JSPTestPlugin extends BaseUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jsp.test";
+ public static final String PLUGIN_ID = "org.jboss.tools.jsf.vpe.jsp.test";
//$NON-NLS-1$
// The shared instance
private static JSPTestPlugin plugin;
@@ -69,9 +69,9 @@
URL url = null;
try {
url = bundle == null ? null : FileLocator.resolve(bundle
- .getEntry("/resources")); // $NON-NLS-1$
+ .getEntry("/resources")); //$NON-NLS-1$
} catch (Exception e) {
- url = bundle.getEntry("/resources"); // $NON-NLS-1$
+ url = bundle.getEntry("/resources"); //$NON-NLS-1$
}
return (url == null) ? null : url.getPath();
}