continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r349677 - in /maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it: AntIntegrationTest.java ShellIntegrationTest.java
Date Tue, 29 Nov 2005 09:06:43 GMT
Author: evenisse
Date: Tue Nov 29 01:06:38 2005
New Revision: 349677

URL: http://svn.apache.org/viewcvs?rev=349677&view=rev
Log:
Define build definitions as default

Modified:
    maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AntIntegrationTest.java
    maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/ShellIntegrationTest.java

Modified: maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AntIntegrationTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AntIntegrationTest.java?rev=349677&r1=349676&r2=349677&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AntIntegrationTest.java
(original)
+++ maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/AntIntegrationTest.java
Tue Nov 29 01:06:38 2005
@@ -62,6 +62,8 @@
         bd.setArguments( "-v" );
         bd.setBuildFile( "build.xml" );
         bd.setGoals( "clean build" );
+        bd.setDefaultForProject( true );
+        
         p.addBuildDefinition( bd );
 
         int projectId = continuum.addProject( p, AntBuildExecutor.ID );
@@ -74,7 +76,7 @@
 
         progress( "Building SVN Ant project" );
 
-        int buildId = buildProject( project.getId(), ContinuumProjectState.TRIGGER_UNKNOWN
).getId();
+        int buildId = buildProject( projectId, ContinuumProjectState.TRIGGER_UNKNOWN ).getId();
 
         assertSuccessfulAntBuild( buildId, project.getId() );
 
@@ -106,6 +108,7 @@
         bd.setArguments( "-debug" );
         bd.setBuildFile( "build.xml" );
         bd.setGoals( "clean build" );
+        bd.setDefaultForProject( true );
         p.addBuildDefinition( bd );
 
         int projectId = continuum.addProject( p, AntBuildExecutor.ID );

Modified: maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/ShellIntegrationTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/ShellIntegrationTest.java?rev=349677&r1=349676&r2=349677&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/ShellIntegrationTest.java
(original)
+++ maven/continuum/trunk/continuum-core-it/src/test/java/org/apache/maven/continuum/it/ShellIntegrationTest.java
Tue Nov 29 01:06:38 2005
@@ -62,6 +62,7 @@
         BuildDefinition bd = new BuildDefinition();
         bd.setArguments( "" );
         bd.setBuildFile( getScriptName() );
+        bd.setDefaultForProject( true );
         p.addBuildDefinition( bd );
 
         int projectId = continuum.addProject( p, ShellBuildExecutor.ID );



Mime
View raw message