continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r480815 - in /maven/continuum/trunk: continuum-data-management/src/test/resources/expected.xml continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java
Date Thu, 30 Nov 2006 03:12:22 GMT
Author: brett
Date: Wed Nov 29 19:12:20 2006
New Revision: 480815

URL: http://svn.apache.org/viewvc?view=rev&rev=480815
Log:
add tests for missing profiles/schedules on a build definition

Modified:
    maven/continuum/trunk/continuum-data-management/src/test/resources/expected.xml
    maven/continuum/trunk/continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java

Modified: maven/continuum/trunk/continuum-data-management/src/test/resources/expected.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-data-management/src/test/resources/expected.xml?view=diff&rev=480815&r1=480814&r2=480815
==============================================================================
--- maven/continuum/trunk/continuum-data-management/src/test/resources/expected.xml (original)
+++ maven/continuum/trunk/continuum-data-management/src/test/resources/expected.xml Wed Nov
29 19:12:20 2006
@@ -309,6 +309,10 @@
               <schedule id="1" />
               <profile id="1" />
             </buildDefinition>
+            <buildDefinition>
+              <id>8</id>
+              <goals>deploy</goals>
+            </buildDefinition>
           </buildDefinitions>
         </project>
       </projects>
@@ -380,6 +384,10 @@
           <buildFile>buildFile3</buildFile>
           <schedule id="2" />
           <profile id="2" />
+        </buildDefinition>
+        <buildDefinition>
+          <id>7</id>
+          <goals>deploy</goals>
         </buildDefinition>
       </buildDefinitions>
     </projectGroup>

Modified: maven/continuum/trunk/continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java?view=diff&rev=480815&r1=480814&r2=480815
==============================================================================
--- maven/continuum/trunk/continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java
(original)
+++ maven/continuum/trunk/continuum-store/src/test/java/org/apache/maven/continuum/store/AbstractContinuumStoreTestCase.java
Wed Nov 29 19:12:20 2006
@@ -274,6 +274,7 @@
             createTestBuildDefinition( "arguments2", "buildFile2", "goals2", profile1, schedule1
);
         BuildDefinition testGroupBuildDefinition3 =
             createTestBuildDefinition( "arguments3", "buildFile3", "goals3", profile2, schedule1
);
+        BuildDefinition testGroupBuildDefinition4 = createTestBuildDefinition( null, null,
"deploy", null, null );
 
         BuildDefinition testBuildDefinition1 =
             createTestBuildDefinition( "arguments11", "buildFile11", "goals11", profile2,
schedule1 );
@@ -281,6 +282,7 @@
             createTestBuildDefinition( "arguments12", "buildFile12", "goals12", profile2,
schedule2 );
         BuildDefinition testBuildDefinition3 =
             createTestBuildDefinition( "arguments13", "buildFile13", "goals13", profile1,
schedule2 );
+        BuildDefinition testBuildDefinition4 = createTestBuildDefinition( null, null, "deploy",
null, null );
 
         ProjectGroup group = createTestProjectGroup( defaultProjectGroup );
 
@@ -326,6 +328,10 @@
         project2.addBuildDefinition( buildDefinition3 );
         testProject2.addBuildDefinition( testBuildDefinition3 );
 
+        BuildDefinition buildDefinition4 = createTestBuildDefinition( testBuildDefinition4
);
+        project2.addBuildDefinition( buildDefinition4 );
+        testProject2.addBuildDefinition( testBuildDefinition4 );
+
         ProjectDeveloper projectDeveloper2 = createTestDeveloper( testDeveloper2 );
         project2.addDeveloper( projectDeveloper2 );
         testProject2.addDeveloper( testDeveloper2 );
@@ -383,6 +389,10 @@
         BuildDefinition groupBuildDefinition3 = createTestBuildDefinition( testGroupBuildDefinition3
);
         group.addBuildDefinition( groupBuildDefinition3 );
         testProjectGroup2.addBuildDefinition( testGroupBuildDefinition3 );
+
+        BuildDefinition groupBuildDefinition4 = createTestBuildDefinition( testGroupBuildDefinition4
);
+        group.addBuildDefinition( groupBuildDefinition4 );
+        testProjectGroup2.addBuildDefinition( testGroupBuildDefinition4 );
 
         if ( addToStore )
         {



Mime
View raw message