continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From och...@apache.org
Subject svn commit: r938761 - /continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
Date Wed, 28 Apr 2010 03:01:44 GMT
Author: oching
Date: Wed Apr 28 03:01:43 2010
New Revision: 938761

URL: http://svn.apache.org/viewvc?rev=938761&view=rev
Log:
remove duplicate stubs

Modified:
    continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java

Modified: continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java?rev=938761&r1=938760&r2=938761&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
(original)
+++ continuum/trunk/continuum-core/src/test/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManagerTest.java
Wed Apr 28 03:01:43 2010
@@ -27,6 +27,7 @@ import java.util.Map;
 
 import org.apache.continuum.builder.distributed.executor.ThreadedDistributedBuildTaskQueueExecutor;
 import org.apache.continuum.builder.distributed.stubs.SlaveBuildAgentTransportClientStub;
+import org.apache.continuum.builder.distributed.stubs.DefaultDistributedBuildManagerStub;
 import org.apache.continuum.configuration.BuildAgentConfiguration;
 import org.apache.continuum.configuration.BuildAgentGroupConfiguration;
 import org.apache.continuum.dao.BuildDefinitionDao;
@@ -527,14 +528,4 @@ public class DefaultDistributedBuildMana
             }
         } );
     }
-}
-
-class DefaultDistributedBuildManagerStub
-    extends DefaultDistributedBuildManager
-{
-    @Override
-    public SlaveBuildAgentTransportService createSlaveBuildAgentTransportClientConnection(
String buildAgentUrl )
-    {
-        return new SlaveBuildAgentTransportClientStub();
-    }
 }
\ No newline at end of file



Mime
View raw message