tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r533040 - in /incubator/tuscany/java/sca/modules: binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ interface-java-xml/src/test/java/org/apache/...
Date Fri, 27 Apr 2007 09:50:09 GMT
Author: jsdelfino
Date: Fri Apr 27 02:50:08 2007
New Revision: 533040

URL: http://svn.apache.org/viewvc?view=rev&rev=533040
Log:
Ported test cases to the changed CompositeUtil.

Modified:
    incubator/tuscany/java/sca/modules/binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ReadTestCase.java
    incubator/tuscany/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ReadTestCase.java
    incubator/tuscany/java/sca/modules/interface-java-xml/src/test/java/org/apache/tuscany/interfacedef/java/xml/ReadTestCase.java
    incubator/tuscany/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/interfacedef/wsdl/xml/ReadTestCase.java

Modified: incubator/tuscany/java/sca/modules/binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ReadTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ReadTestCase.java?view=diff&rev=533040&r1=533039&r2=533040
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ReadTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-xml/src/test/java/org/apache/tuscany/binding/ws/xml/ReadTestCase.java
Fri Apr 27 02:50:08 2007
@@ -31,7 +31,6 @@
 import org.apache.tuscany.assembly.ComponentType;
 import org.apache.tuscany.assembly.Composite;
 import org.apache.tuscany.assembly.util.CompositeUtil;
-import org.apache.tuscany.assembly.util.PrintUtil;
 import org.apache.tuscany.assembly.xml.ComponentTypeProcessor;
 import org.apache.tuscany.assembly.xml.CompositeProcessor;
 import org.apache.tuscany.contribution.processor.DefaultStAXArtifactProcessorExtensionPoint;
@@ -76,7 +75,10 @@
         Composite composite = compositeProcessor.read(reader);
         assertNotNull(composite);
 
-        new CompositeUtil(composite).configure(new ArrayList<Base>());
+        CompositeUtil compositeUtil = new CompositeUtil(composite);
+        compositeUtil.fuseIncludes(new ArrayList<Base>());
+        compositeUtil.configureComponents(new ArrayList<Base>());
+        compositeUtil.wireReferences(new ArrayList<Base>());
 
         //new PrintUtil(System.out).print(composite);
     }

Modified: incubator/tuscany/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ReadTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ReadTestCase.java?view=diff&rev=533040&r1=533039&r2=533040
==============================================================================
--- incubator/tuscany/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ReadTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/implementation-java-xml/src/test/java/org/apache/tuscany/implementation/java/xml/ReadTestCase.java
Fri Apr 27 02:50:08 2007
@@ -68,7 +68,10 @@
         Composite composite = compositeProcessor.read(reader);
         assertNotNull(composite);
 
-        new CompositeUtil(composite).configure(new ArrayList<Base>());
+        CompositeUtil compositeUtil = new CompositeUtil(composite);
+        compositeUtil.fuseIncludes(new ArrayList<Base>());
+        compositeUtil.configureComponents(new ArrayList<Base>());
+        compositeUtil.wireReferences(new ArrayList<Base>());
 
         //new PrintUtil(System.out).print(composite);
     }
@@ -83,7 +86,10 @@
         ArtifactResolver resolver = new DefaultArtifactResolver(getClass().getClassLoader());
         staxProcessors.resolve(composite, resolver);
 
-        new CompositeUtil(composite).configure(new ArrayList<Base>());
+        CompositeUtil compositeUtil = new CompositeUtil(composite);
+        compositeUtil.fuseIncludes(new ArrayList<Base>());
+        compositeUtil.configureComponents(new ArrayList<Base>());
+        compositeUtil.wireReferences(new ArrayList<Base>());
 
         //new PrintUtil(System.out).print(composite);
     }

Modified: incubator/tuscany/java/sca/modules/interface-java-xml/src/test/java/org/apache/tuscany/interfacedef/java/xml/ReadTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface-java-xml/src/test/java/org/apache/tuscany/interfacedef/java/xml/ReadTestCase.java?view=diff&rev=533040&r1=533039&r2=533040
==============================================================================
--- incubator/tuscany/java/sca/modules/interface-java-xml/src/test/java/org/apache/tuscany/interfacedef/java/xml/ReadTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/interface-java-xml/src/test/java/org/apache/tuscany/interfacedef/java/xml/ReadTestCase.java
Fri Apr 27 02:50:08 2007
@@ -87,7 +87,10 @@
         Composite composite = compositeProcessor.read(reader);
         assertNotNull(composite);
 
-        new CompositeUtil(composite).configure(new ArrayList<Base>());
+        CompositeUtil compositeUtil = new CompositeUtil(composite);
+        compositeUtil.fuseIncludes(new ArrayList<Base>());
+        compositeUtil.configureComponents(new ArrayList<Base>());
+        compositeUtil.wireReferences(new ArrayList<Base>());
 
         //new PrintUtil(System.out).print(composite);
     }

Modified: incubator/tuscany/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/interfacedef/wsdl/xml/ReadTestCase.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/interfacedef/wsdl/xml/ReadTestCase.java?view=diff&rev=533040&r1=533039&r2=533040
==============================================================================
--- incubator/tuscany/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/interfacedef/wsdl/xml/ReadTestCase.java
(original)
+++ incubator/tuscany/java/sca/modules/interface-wsdl-xml/src/test/java/org/apache/tuscany/interfacedef/wsdl/xml/ReadTestCase.java
Fri Apr 27 02:50:08 2007
@@ -87,7 +87,10 @@
         Composite composite = compositeProcessor.read(reader);
         assertNotNull(composite);
 
-        new CompositeUtil(composite).configure(new ArrayList<Base>());
+        CompositeUtil compositeUtil = new CompositeUtil(composite);
+        compositeUtil.fuseIncludes(new ArrayList<Base>());
+        compositeUtil.configureComponents(new ArrayList<Base>());
+        compositeUtil.wireReferences(new ArrayList<Base>());
 
         //new PrintUtil(System.out).print(composite);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message