continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dand...@apache.org
Subject svn commit: r209915 - in /maven/continuum/trunk/continuum-xfire/src: main/java/org/apache/maven/continuum/xfire/ test/java/org/apache/maven/continuum/xfire/
Date Sat, 09 Jul 2005 01:02:50 GMT
Author: dandiep
Date: Fri Jul  8 18:02:48 2005
New Revision: 209915

URL: http://svn.apache.org/viewcvs?rev=209915&view=rev
Log:
don't sync developers over soap api for now.and more tests.

Modified:
    maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/DelegatingContinuumWebService.java
    maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/Project.java
    maven/continuum/trunk/continuum-xfire/src/test/java/org/apache/maven/continuum/xfire/ContinuumXFireTest.java

Modified: maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/DelegatingContinuumWebService.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/DelegatingContinuumWebService.java?rev=209915&r1=209914&r2=209915&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/DelegatingContinuumWebService.java
(original)
+++ maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/DelegatingContinuumWebService.java
Fri Jul  8 18:02:48 2005
@@ -191,6 +191,8 @@
         {
             ContinuumBuild build = continuum.getLatestBuildForProject(projectId);
             
+            if (build == null) return null;
+            
             return convertToRemote(build);
         }
         catch (ContinuumException e)

Modified: maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/Project.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/Project.java?rev=209915&r1=209914&r2=209915&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/Project.java
(original)
+++ maven/continuum/trunk/continuum-xfire/src/main/java/org/apache/maven/continuum/xfire/Project.java
Fri Jul  8 18:02:48 2005
@@ -15,13 +15,12 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-import java.util.List;
 
 public class Project
 {
     private String name;
     private String version;
-    private List developers;
+    // private List developers;
     // private List notifiers;
     private String scmUrl;
     private String url;
@@ -88,6 +87,7 @@
     {
         this.name = name;
     }
+    /*
     public List getDevelopers()
     {
         return developers;
@@ -96,6 +96,7 @@
     {
         this.developers = developers;
     }
+    */
     public String getScmUrl()
     {
         return scmUrl;

Modified: maven/continuum/trunk/continuum-xfire/src/test/java/org/apache/maven/continuum/xfire/ContinuumXFireTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-xfire/src/test/java/org/apache/maven/continuum/xfire/ContinuumXFireTest.java?rev=209915&r1=209914&r2=209915&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-xfire/src/test/java/org/apache/maven/continuum/xfire/ContinuumXFireTest.java
(original)
+++ maven/continuum/trunk/continuum-xfire/src/test/java/org/apache/maven/continuum/xfire/ContinuumXFireTest.java
Fri Jul  8 18:02:48 2005
@@ -69,7 +69,10 @@
         CheckOutScmResult result = ws.getCheckOutScmResult(id);
 
         Collection builds = ws.getBuilds(id);
+        assertEquals(0, builds.size());
         
+        Build build = ws.getLatestBuild(id);
+
         ws.removeProject(id);
         
         try



Mime
View raw message