geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r522560 - in /geronimo/sandbox/j2g/plugins: org.apache.j2g.descriptors.app/ org.apache.j2g.descriptors.app/test/org/apache/apps/ org.apache.j2g.descriptors.app/test/org/apache/j2g/ org.apache.j2g.descriptors.app/test/org/apache/j2g/descript...
Date Mon, 26 Mar 2007 16:06:45 GMT
Author: sppatel
Date: Mon Mar 26 09:06:44 2007
New Revision: 522560

URL: http://svn.apache.org/viewvc?view=rev&rev=522560
Log:
add more test src folders

Added:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/
      - copied from r522543, geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/apps/j2gmigrator/descriptors/app/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/
      - copied from r522543, geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/apps/j2gmigrator/descriptors/cmp/
Removed:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/apps/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/apps/
Modified:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/.classpath
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/TestApplicationDescriptorTool.java
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/.classpath
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/.classpath
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/.classpath?view=diff&rev=522560&r1=522559&r2=522560
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/.classpath (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/.classpath Mon Mar 26 09:06:44
2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="test"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
 	<classpathentry kind="output" path="classes"/>

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/TestApplicationDescriptorTool.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/TestApplicationDescriptorTool.java?view=diff&rev=522560&r1=522543&r2=522560
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/TestApplicationDescriptorTool.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.app/test/org/apache/j2g/descriptors/app/test/TestApplicationDescriptorTool.java
Mon Mar 26 09:06:44 2007
@@ -14,30 +14,20 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
- package org.apache.apps.j2gmigrator.descriptors.app;
-
-import junit.framework.TestCase;
+ package org.apache.j2g.descriptors.app.test;
 
 import java.io.File;
 
-import org.apache.apps.j2gmigrator.descriptors.DescriptorsTool;
-import org.apache.apps.j2gmigrator.descriptors.app.ApplicationDescriptorTool;
+import junit.framework.TestCase;
 
+import org.apache.j2g.descriptors.app.ApplicationDescriptorTool;
 
-/**
- * Author: amila
- * Date: Aug 31, 2006
- */
 public class TestApplicationDescriptorTool extends TestCase {
 
     public void testMigrate() {
-        DescriptorsTool descriptorsTool = new DescriptorsTool();
         String jbossApplicatinXmlFile = "test-resources/jboss-app.xml";
         ApplicationDescriptorTool applicationDescriptorTool = new ApplicationDescriptorTool();
         applicationDescriptorTool.migrate(new File(jbossApplicatinXmlFile));
-
-        System.out.println("Migrated...");
     }
-
 
 }

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/.classpath
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/.classpath?view=diff&rev=522560&r1=522559&r2=522560
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/.classpath (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/.classpath Mon Mar 26 09:06:44
2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="test"/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
 	<classpathentry kind="output" path="classes"/>

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java?view=diff&rev=522560&r1=522543&r2=522560
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestCMPDescriptorsTool.java
Mon Mar 26 09:06:44 2007
@@ -15,28 +15,20 @@
  *  limitations under the License.
  */
 
-package org.apache.apps.j2gmigrator.descriptors.cmp;
-
-import junit.framework.TestCase;
+package org.apache.j2g.descriptors.cmp.test;
 
 import java.io.File;
 
-import org.apache.apps.j2gmigrator.descriptors.DescriptorsTool;
-import org.apache.apps.j2gmigrator.descriptors.cmp.CMPDescriptorTool;
+import junit.framework.TestCase;
 
+import org.apache.j2g.descriptors.comp.CMPDescriptorTool;
 
-/**
- * Author: amila
- * Date: Aug 30, 2006
- */
 public class TestCMPDescriptorsTool extends TestCase {
 
     public void testMigrate() {
-
-        DescriptorsTool descriptorsTool = new DescriptorsTool();
         File file = new File("test-resources/jbosscmp-jdbc.xml");
         CMPDescriptorTool cmpDescriptorTool = new CMPDescriptorTool();
         cmpDescriptorTool.migrate(file);
-
     }
+    
 }

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java?view=diff&rev=522560&r1=522543&r2=522560
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.cmp/test/org/apache/j2g/descriptors/cmp/test/TestEJBjarXmlProcessor.java
Mon Mar 26 09:06:44 2007
@@ -15,12 +15,11 @@
  *  limitations under the License.
  */
 
-package org.apache.apps.j2gmigrator.descriptors.cmp;
+package org.apache.j2g.descriptors.cmp.test;
 
 import junit.framework.TestCase;
 
-import org.apache.apps.j2gmigrator.descriptors.cmp.EJBJarXmlProcessor;
-import org.apache.apps.j2gmigrator.descriptors.cmp.dto.Relationships;
+import org.apache.j2g.descriptors.comp.EJBJarXmlProcessor;
 import org.dom4j.DocumentException;
 
 public class TestEJBjarXmlProcessor extends TestCase {
@@ -28,10 +27,9 @@
     public void testGetRelationships(){
         EJBJarXmlProcessor ejbJarXmlProcessor = new EJBJarXmlProcessor("test-resources/jboss-xml/ejb-jar.xml");
         try {
-            Relationships relationships =  ejbJarXmlProcessor.getRelationships();
-            System.out.println("ok");
+            ejbJarXmlProcessor.getRelationships();
         } catch (DocumentException e) {
-            e.printStackTrace();  //To change body of catch statement use File | Settings
| File Templates.
+            e.printStackTrace();
         }
     }
 }



Mime
View raw message