Author: svasilyev
Date: 2008-02-15 06:07:01 -0500 (Fri, 15 Feb 2008)
New Revision: 6332
Added:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java
Log:
Some code adjustment and improvement
Modified: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF 2008-02-15
11:04:43 UTC (rev 6331)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/META-INF/MANIFEST.MF 2008-02-15
11:07:01 UTC (rev 6332)
@@ -1,8 +1,8 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Struts Test Plug-in
-Bundle-SymbolicName: org.jboss.tools.struts.vpe.struts.test
-Bundle-Version: 1.0.0
+Bundle-SymbolicName: org.jboss.tools.struts.vpe.struts.test;singleton:=true
+Bundle-Version: 2.1.0
Bundle-Activator: org.jboss.tools.struts.vpe.struts.test.StrutsTestPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
@@ -15,3 +15,4 @@
Eclipse-LazyStart: true
Bundle-ClassPath: struts-test.jar
Export-Package: org.jboss.tools.struts.vpe.struts.test
+Bundle-Vendor: Red Hat, Inc.
Added: trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml
===================================================================
--- trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml
(rev 0)
+++ trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/plugin.xml 2008-02-15
11:07:01 UTC (rev 6332)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.jsf.vpe.ui.tests">
+ <tests
+ description="Unit tests for Struts support in VPE"
+ name="Struts Tests"
+
testSuite="org.jboss.tools.struts.vpe.struts.test.StrutsAllTests">
+ </tests>
+ </extension>
+
+</plugin>
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java 2008-02-15
11:04:43 UTC (rev 6331)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsAllTests.java 2008-02-15
11:07:01 UTC (rev 6332)
@@ -28,7 +28,7 @@
public static Test suite() {
- TestSuite suite = new TestSuite("Tests for Vpe Struts components"); //
$NON-NLS-1$
+ TestSuite suite = new TestSuite("Tests for Vpe Struts components");
//$NON-NLS-1$
// $JUnit-BEGIN$
suite.addTestSuite(StrutsHTMLComponentTest.class);
suite.addTestSuite(StrutsBeanComponentTest.class);
Modified:
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java
===================================================================
---
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java 2008-02-15
11:04:43 UTC (rev 6331)
+++
trunk/struts/tests/org.jboss.tools.struts.vpe.struts.test/src/org/jboss/tools/struts/vpe/struts/test/StrutsTestPlugin.java 2008-02-15
11:07:01 UTC (rev 6332)
@@ -28,7 +28,7 @@
public class StrutsTestPlugin extends BaseUIPlugin {
// The plug-in ID
- public static final String PLUGIN_ID =
"org.jboss.tools.struts.vpe.struts.test";
+ public static final String PLUGIN_ID =
"org.jboss.tools.struts.vpe.struts.test"; //$NON-NLS-1$
// The shared instance
private static StrutsTestPlugin plugin;
@@ -77,9 +77,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();
}
Show replies by date