org.apache.continuum.buildmanager
Class ParallelBuildsManagerTest

Package class diagram package ParallelBuildsManagerTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.spring.PlexusInSpringTestCase
              extended by org.apache.continuum.buildmanager.ParallelBuildsManagerTest
All Implemented Interfaces:
junit.framework.Test

public class ParallelBuildsManagerTest
extends org.codehaus.plexus.spring.PlexusInSpringTestCase

ParallelBuildsManagerTest

Author:
Maria Odea Ching

Field Summary
 
Fields inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase
applicationContext
 
Constructor Summary
ParallelBuildsManagerTest()
           
 
Method Summary
 void setUp()
           
 void setupMockOverallBuildQueues()
           
 void tearDown()
           
 void testBuildProjectNoProjectQueuedInAnyOverallBuildQueues()
           
 void testBuildProjectProjectsAreAlreadyQueuedInOverallBuildQueues()
           
 void testCheckoutProjectMultiple()
           
 void testCheckoutProjectSingle()
           
 void testContainer()
           
 void testGetProjectsInBuildQueue()
           
 void testGetProjectsInCheckoutQueue()
           
 void testNoBuildQueuesConfigured()
           
 void testRemoveDefaultOverallBuildQueue()
           
 void testRemoveOverallBuildQueueNoTasksCurrentlyExecuting()
           
 void testRemoveOverallBuildQueueTasksCurrentlyExecuting()
           
 void testRemoveProjectFromBuildQueue()
           
 void testRemoveProjectFromCheckoutQueue()
           
 void testRemoveProjectFromCheckoutQueueProjectNotFound()
           
 void testRemoveProjectsFromBuildQueue()
           
 void testRemoveProjectsFromCheckoutQueue()
           
 
Methods inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase
getApplicationContext, getBasedir, getConfigLocations, getContainer, getPlexusConfigLocation, getResourceAsStream, getSpringConfigLocation, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParallelBuildsManagerTest

public ParallelBuildsManagerTest()
Method Detail

setUp

public void setUp()
           throws Exception
Overrides:
setUp in class org.codehaus.plexus.spring.PlexusInSpringTestCase
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class org.codehaus.plexus.spring.PlexusInSpringTestCase
Throws:
Exception

setupMockOverallBuildQueues

public void setupMockOverallBuildQueues()
                                 throws Exception
Throws:
Exception

testContainer

public void testContainer()
                   throws Exception
Throws:
Exception

testBuildProjectNoProjectQueuedInAnyOverallBuildQueues

public void testBuildProjectNoProjectQueuedInAnyOverallBuildQueues()
                                                            throws Exception
Throws:
Exception

testBuildProjectProjectsAreAlreadyQueuedInOverallBuildQueues

public void testBuildProjectProjectsAreAlreadyQueuedInOverallBuildQueues()
                                                                  throws Exception
Throws:
Exception

testRemoveProjectFromBuildQueue

public void testRemoveProjectFromBuildQueue()
                                     throws Exception
Throws:
Exception

testRemoveProjectsFromBuildQueue

public void testRemoveProjectsFromBuildQueue()
                                      throws Exception
Throws:
Exception

testCheckoutProjectSingle

public void testCheckoutProjectSingle()
                               throws Exception
Throws:
Exception

testCheckoutProjectMultiple

public void testCheckoutProjectMultiple()
                                 throws Exception
Throws:
Exception

testRemoveProjectFromCheckoutQueue

public void testRemoveProjectFromCheckoutQueue()
                                        throws Exception
Throws:
Exception

testRemoveProjectsFromCheckoutQueue

public void testRemoveProjectsFromCheckoutQueue()
                                         throws Exception
Throws:
Exception

testRemoveProjectFromCheckoutQueueProjectNotFound

public void testRemoveProjectFromCheckoutQueueProjectNotFound()
                                                       throws Exception
Throws:
Exception

testRemoveDefaultOverallBuildQueue

public void testRemoveDefaultOverallBuildQueue()
                                        throws Exception
Throws:
Exception

testRemoveOverallBuildQueueNoTasksCurrentlyExecuting

public void testRemoveOverallBuildQueueNoTasksCurrentlyExecuting()
                                                          throws Exception
Throws:
Exception

testRemoveOverallBuildQueueTasksCurrentlyExecuting

public void testRemoveOverallBuildQueueTasksCurrentlyExecuting()
                                                        throws Exception
Throws:
Exception

testNoBuildQueuesConfigured

public void testNoBuildQueuesConfigured()
                                 throws Exception
Throws:
Exception

testGetProjectsInBuildQueue

public void testGetProjectsInBuildQueue()
                                 throws Exception
Throws:
Exception

testGetProjectsInCheckoutQueue

public void testGetProjectsInCheckoutQueue()
                                    throws Exception
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.