continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1391348 - /continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java
Date Fri, 28 Sep 2012 07:39:07 GMT
Author: brett
Date: Fri Sep 28 07:39:06 2012
New Revision: 1391348

URL: http://svn.apache.org/viewvc?rev=1391348&view=rev
Log:
[CONTINUUM-2563] adjust test according to changes

Modified:
    continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java

Modified: continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java?rev=1391348&r1=1391347&r2=1391348&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java
(original)
+++ continuum/branches/CONTINUUM-2563/continuum-core/src/test/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilderTest.java
Fri Sep 28 07:39:06 2012
@@ -483,12 +483,16 @@ public class MavenTwoContinuumProjectBui
 
         // assert the default project build definition
         List<BuildDefinition> buildDefs = project.getBuildDefinitions();
+        assertEquals( 0, buildDefs.size() );
+
+        // assert the default project build definition
+        buildDefs = projectGroup.getBuildDefinitions();
         assertEquals( 1, buildDefs.size() );
         for ( BuildDefinition buildDef : buildDefs )
         {
             if ( buildDef.isDefaultForProject() )
             {
-                assertEquals( "--batch-mode ", buildDef.getArguments() );
+                assertEquals( "--batch-mode", buildDef.getArguments() );
                 assertEquals( "clean install", buildDef.getGoals() );
                 assertEquals( "pom.xml", buildDef.getBuildFile() );
             }



Mime
View raw message