tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r662479 - /incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java
Date Mon, 02 Jun 2008 16:33:00 GMT
Author: lresende
Date: Mon Jun  2 09:33:00 2008
New Revision: 662479

URL: http://svn.apache.org/viewvc?rev=662479&view=rev
Log:
Small change on still broken test case to build the domain composite, instead of each deployable
individually

Modified:
    incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java

Modified: incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java?rev=662479&r1=662478&r2=662479&view=diff
==============================================================================
--- incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java
(original)
+++ incubator/tuscany/java/sca/itest/contribution-multiple/src/test/java/test/ContributionMultipleTestCaseFIXME.java
Mon Jun  2 09:33:00 2008
@@ -72,33 +72,19 @@
 
         for (Composite deployable : helloContribution.getDeployables()) {
             domain.getDomainComposite().getIncludes().add(deployable);
-            domain.buildComposite(deployable);
         }
                 
         for (Composite deployable : helloWorldContribution_one.getDeployables()) {
             domain.getDomainComposite().getIncludes().add(deployable);
-            domain.buildComposite(deployable);
         }
 
         for (Composite deployable : helloWorldContribution_two.getDeployables()) {
             domain.getDomainComposite().getIncludes().add(deployable);
-            domain.buildComposite(deployable);
         }
-        
-        for (Composite deployable : helloContribution.getDeployables()) {
-            domain.getCompositeActivator().activate(deployable);
-            domain.getCompositeActivator().start(deployable);
-        }
-        
-        for (Composite deployable : helloWorldContribution_one.getDeployables()) {
-            domain.getCompositeActivator().activate(deployable);
-            domain.getCompositeActivator().start(deployable);
-        }
-        
-        for (Composite deployable : helloWorldContribution_two.getDeployables()) {
-            domain.getCompositeActivator().activate(deployable);
-            domain.getCompositeActivator().start(deployable);
-        }        
+
+        domain.buildComposite(domain.getDomainComposite());
+        domain.getCompositeActivator().activate(domain.getDomainComposite());
+        domain.getCompositeActivator().start(domain.getDomainComposite());
 
     }
 



Mime
View raw message