continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r377692 - /maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java
Date Tue, 14 Feb 2006 11:07:03 GMT
Author: evenisse
Date: Tue Feb 14 03:07:00 2006
New Revision: 377692

URL: http://svn.apache.org/viewcvs?rev=377692&view=rev
Log:
Add a test for CONTINUUM-518

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java?rev=377692&r1=377691&r2=377692&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-core-it/src/test/java/org/apache/maven/continuum/it/MavenTwoIntegrationTest.java
Tue Feb 14 03:07:00 2006
@@ -105,6 +105,18 @@
 
         assertEquals( "The 'build forced' flag wasn't true", ContinuumProjectState.TRIGGER_FORCED,
build.getTrigger() );
 
+        progress( "Test that a forced build with a pom deleted executes the executor" );
+
+        File pom = new File(getContinuum().getWorkingDirectory( projectId), "pom.xml");
+
+        assertTrue( pom.delete() );
+
+        buildId = buildProject( projectId, ContinuumProjectState.TRIGGER_FORCED ).getId();
+
+        build = assertSuccessfulMaven2Build( buildId, projectId );
+
+        assertEquals( "The 'build forced' flag wasn't true", ContinuumProjectState.TRIGGER_FORCED,
build.getTrigger() );
+
         removeProject( projectId );
     }
 



Mime
View raw message