geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r522558 - in /geronimo/sandbox/j2g/plugins: org.apache.j2g.descriptors.web/ org.apache.j2g.descriptors.web/test/org/apache/apps/ org.apache.j2g.descriptors.web/test/org/apache/j2g/ org.apache.j2g.descriptors.web/test/org/apache/j2g/descript...
Date Mon, 26 Mar 2007 16:02:33 GMT
Author: sppatel
Date: Mon Mar 26 09:02:32 2007
New Revision: 522558

URL: http://svn.apache.org/viewvc?view=rev&rev=522558
Log:
move src folders excluded

Added:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/test/
      - copied from r522543, geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/apps/j2gmigrator/descriptors/web/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/
      - copied from r522543, geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/apps/j2gmigrator/descriptors/xmlutil/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/
      - copied from r522543, geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/apps/j2gmigrator/resources/xmlutil/test/
Removed:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/apps/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/apps/j2gmigrator/descriptors/
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/apps/j2gmigrator/resources/
Modified:
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/.classpath
    geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/test/TestWebDescriptorTool.java
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/.classpath
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/TestXMLConversionHelper.java
    geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/XMLConvertionHelperTestCase.java

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/.classpath
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/.classpath?view=diff&rev=522558&r1=522557&r2=522558
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/.classpath (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/.classpath Mon Mar 26 09:02:32
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.web/test/org/apache/j2g/descriptors/web/test/TestWebDescriptorTool.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/test/TestWebDescriptorTool.java?view=diff&rev=522558&r1=522543&r2=522558
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/test/TestWebDescriptorTool.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.descriptors.web/test/org/apache/j2g/descriptors/web/test/TestWebDescriptorTool.java
Mon Mar 26 09:02:32 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.web;
-
-import junit.framework.TestCase;
+ package org.apache.j2g.descriptors.web.test;
 
 import java.io.File;
 
-import org.apache.apps.j2gmigrator.descriptors.DescriptorsTool;
-import org.apache.apps.j2gmigrator.descriptors.web.WebDescriptorTool;
-
+import junit.framework.TestCase;
 
+import org.apache.j2g.descriptors.web.WebDescriptorTool;
 
-/**
- * Author: amila
- * Date: Aug 10, 2006
- */
 public class TestWebDescriptorTool extends TestCase {
 
     public void testMigration() {
-
-        DescriptorsTool descriptorsTool = new DescriptorsTool();
         File file = new File("test-resources/jboss-web.xml");
         WebDescriptorTool webMigrationTool = new WebDescriptorTool();
         webMigrationTool.migrate(file);
-
     }
 
 }

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.util/.classpath
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.util/.classpath?view=diff&rev=522558&r1=522557&r2=522558
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.util/.classpath (original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.util/.classpath Mon Mar 26 09:02:32 2007
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
 	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="src" path="test"/>
 	<classpathentry exported="true" kind="lib" path="lib/commons-logging-api-1.1.jar"/>
 	<classpathentry exported="true" kind="lib" path="lib/dom4j-1.6.1.jar"/>
 	<classpathentry exported="true" kind="lib" path="lib/jaxen-1.1-beta-6.jar"/>

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/TestXMLConversionHelper.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/TestXMLConversionHelper.java?view=diff&rev=522558&r1=522543&r2=522558
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/TestXMLConversionHelper.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/descriptors/xml/test/TestXMLConversionHelper.java
Mon Mar 26 09:02:32 2007
@@ -14,27 +14,25 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
- package org.apache.apps.j2gmigrator.descriptors.xmlutil;
+ package org.apache.j2g.util.descriptors.xml.test;
 
-import junit.framework.TestCase;
-import org.jaxen.*;
-import org.jaxen.dom.DOMXPath;
-import org.apache.apps.j2gmigrator.descriptors.util.Constants;
-import org.apache.apps.j2gmigrator.descriptors.xmlutil.XMLConversionHelper;
-import org.dom4j.*;
-import org.dom4j.XPath;
-
-import java.util.List;
-import java.util.Map;
-import java.util.HashMap;
 import java.io.File;
-import java.io.InputStream;
 import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+
+import junit.framework.TestCase;
+
+import org.apache.j2g.util.descriptors.xml.XMLConversionHelper;
+import org.dom4j.Document;
+import org.dom4j.DocumentException;
+import org.dom4j.DocumentHelper;
+import org.dom4j.Element;
+import org.dom4j.Namespace;
+import org.dom4j.Node;
+import org.dom4j.QName;
+import org.dom4j.XPath;
 
-/**
- * Author: amila
- * Date: Aug 29, 2006
- */
 public class TestXMLConversionHelper extends TestCase {
 
     public void testGetDocument() {
@@ -93,23 +91,12 @@
         Element author2 = root.addElement(qname);
         author2.setText("rasika");
 
-//        XPath xpath = document.createXPath("//ns1:author");
-//        Map hashMap = new HashMap();
-//        hashMap.put("ns1","http://covalent.com");
-//        xpath.setNamespaceURIs(hashMap);
-//        List nodes = xpath.selectNodes(document);
-//        System.out.println("List size ==> " + nodes.size());
-
         XPath xpath = document.createXPath("//ns1:author2[text() = 'rasika']");
 
         Map hashMap = new HashMap();
         hashMap.put("ns1", "http://covalent.com");
         xpath.setNamespaceURIs(hashMap);
         Node node = (Node) xpath.evaluate(root);
-
-
-        System.out.println("ok.........");
-
 
     }
 }

Modified: geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/XMLConvertionHelperTestCase.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/XMLConvertionHelperTestCase.java?view=diff&rev=522558&r1=522543&r2=522558
==============================================================================
--- geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/XMLConvertionHelperTestCase.java
(original)
+++ geronimo/sandbox/j2g/plugins/org.apache.j2g.util/test/org/apache/j2g/util/resources/xml/test/XMLConvertionHelperTestCase.java
Mon Mar 26 09:02:32 2007
@@ -14,13 +14,14 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
- package org.apache.apps.j2gmigrator.resources.xmlutil.test;
+ package org.apache.j2g.util.resources.xml.test;
 
 import java.io.File;
+
 import junit.framework.TestCase;
 
-import org.apache.apps.j2gmigrator.resources.utils.Constants;
-import org.apache.apps.j2gmigrator.resources.xmlutil.XMLConversionHelper;
+import org.apache.j2g.util.resources.Constants;
+import org.apache.j2g.util.resources.xml.XMLConversionHelper;
 import org.dom4j.Document;
 import org.dom4j.DocumentException;
 import org.dom4j.DocumentHelper;
@@ -31,7 +32,6 @@
 /**
  * The TestCase for the XML Convertion Helper Class inside resource conversion tool
  * Test Methods were written to each needed method to test
- * @date 24082006
  */
 public class XMLConvertionHelperTestCase extends TestCase {
 



Mime
View raw message