[nobug]: Continuing development of the Flexible Project Structure. Committed for MDE.
diff --git a/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/PlatformModuleURLTest.java b/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/PlatformModuleURLTest.java
new file mode 100644
index 0000000..e8c0c24
--- /dev/null
+++ b/tests/org.eclipse.wst.common.tests/commontests/org/eclipse/wst/common/tests/PlatformModuleURLTest.java
@@ -0,0 +1,46 @@
+/*
+ * Created on Jan 21, 2005
+ *
+ * TODO To change the template for this generated file go to
+ * Window - Preferences - Java - Code Style - Code Templates
+ */
+package org.eclipse.wst.common.tests;
+
+import java.net.URL;
+import java.net.URLConnection;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.eclipse.wst.common.modulecore.impl.PlatformURLModuleConnection;
+
+public class PlatformModuleURLTest extends TestCase {
+
+ public PlatformModuleURLTest(String name) {
+ super(name);
+ }
+
+
+ public static Test suite() {
+ return new TestSuite(PlatformModuleURLTest.class);
+ }
+
+ /* (non-Javadoc)
+ * @see junit.framework.TestCase#setUp()
+ */
+ protected void setUp() throws Exception {
+ super.setUp();
+ PlatformURLModuleConnection.startup();
+ }
+
+ /**
+ *
+ */
+ public void testURLResolve() throws Exception {
+ URL url = new URL("platform:/module:/MyModule/META-INF/ejb-jar.xml");
+ URLConnection conx = url.openConnection();
+ System.out.println(conx.getURL());
+
+ }
+}
diff --git a/tests/org.eclipse.wst.common.tests/plugin.xml b/tests/org.eclipse.wst.common.tests/plugin.xml
index eb116ee..bc567ae 100644
--- a/tests/org.eclipse.wst.common.tests/plugin.xml
+++ b/tests/org.eclipse.wst.common.tests/plugin.xml
@@ -19,6 +19,9 @@
<import plugin="org.eclipse.core.boot" export="true"/>
<import plugin="org.eclipse.core.runtime.compatibility"/>
<import plugin="org.eclipse.wst.common.frameworks"/>
+ <import plugin="org.eclipse.wst.common.emfworkbench.integration"/>
+ <import plugin="org.eclipse.emf.common"/>
+ <import plugin="org.eclipse.emf.ecore"/>
</requires>
<extension-point id="DataModelVerifier" name="Data Model Verifier Factory Extension" schema="schema/dataModelVerifier.exsd"/>