org.apache.maven.continuum.store
Class ContinuumStoreTest

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

public class ContinuumStoreTest
extends AbstractContinuumStoreTestCase

Version:
$Id: ContinuumStoreTest.java 915760 2010-02-24 11:50:15Z brett $
Author:
Brett Porter

Field Summary
protected  org.apache.continuum.dao.BuildDefinitionDao buildDefinitionDao
           
protected  org.apache.continuum.dao.BuildResultDao buildResultDao
           
 
Fields inherited from class org.apache.maven.continuum.store.AbstractContinuumStoreTestCase
buildQueueDao, daoUtilsImpl, defaultProjectGroup, directoryPurgeConfigurationDao, installationDao, localRepositoryDao, profileDao, projectDao, projectGroupDao, projectScmRootDao, releaseResultDao, repositoryPurgeConfigurationDao, scheduleDao, systemConfigurationDao, testBuildQueue1, testBuildQueue2, testBuildQueue3, testBuildResult1, testBuildResult2, testBuildResult3, testCheckoutResult1, testContinuumReleaseResult, testDirectoryPurgeConfig, testInstallationEnvVar, testInstallationJava13, testInstallationJava14, testInstallationMaven20a3, testLocalRepository1, testLocalRepository2, testLocalRepository3, testProfile1, testProfile2, testProfile3, testProfile4, testProject1, testProject2, testProjectGroup2, testProjectScmRoot, testRepoPurgeConfiguration1, testRepoPurgeConfiguration2, testRepoPurgeConfiguration3, testSchedule1, testSchedule2, testSchedule3
 
Fields inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase
applicationContext
 
Constructor Summary
ContinuumStoreTest()
           
 
Method Summary
protected  void setUp()
           
 void testAddBuildDefinitionToProject()
           
 void testAddBuildDefinitionToProjectGroup()
           
 void testAddDependencyToProject()
           
 void testAddDeveloperToProject()
           
 void testAddDirectoryPurgeConfiguration()
           
 void testAddLocalRepository()
           
 void testAddNotifierToProject()
           
 void testAddNotifierToProjectGroup()
           
 void testAddProfile()
           
 void testAddProjectGroup()
           
 void testAddProjectScmRoot()
           
 void testAddRepositoryPurgeConfiguration()
           
 void testAddSchedule()
           
 void testDeleteBuildDefinition()
           
 void testDeleteBuildResult()
           
 void testDeleteDependency()
           
 void testDeleteDeveloper()
           
 void testDeleteGroupBuildDefinition()
           
 void testDeleteGroupNotifier()
           
 void testDeleteNotifier()
           
 void testDeleteProject()
           
 void testDeleteProjectGroup()
           
 void testEditBuildDefinition()
           
 void testEditDependency()
           
 void testEditDeveloper()
           
 void testEditGroupBuildDefinition()
           
 void testEditGroupNotifier()
           
 void testEditNotifier()
           
 void testEditProfile()
           
 void testEditProject()
           
 void testEditProjectGroup()
           
 void testEditSchedule()
           
 void testGetAllBuildsForAProject()
           
 void testGetAllInstallations()
           
 void testGetAllLocalRepositories()
           
 void testGetAllProfiles()
           
 void testGetAllProjectGroups()
           
 void testGetAllProjects()
           
 void testGetAllProjectsGroupWithDetails()
           
 void testGetAllSchedules()
           
 void testGetBuildResult()
           
 void testGetInvalidBuildResult()
           
 void testGetInvalidProject()
           
 void testGetInvalidProjectGroup()
           
 void testGetProject()
           
 void testGetProjectGroup()
           
 void testGetProjectGroupWithDetails()
           
 void testGetProjectSummaryByProjectGroup()
           
 void testGetProjectWithCheckoutResult()
           
 void testGetProjectWithDetails()
           
 void testGetPurgeConfigurationsBySchedule()
           
 void testgetTemplatesBuildDefinitions()
           
 void testRemoveDirectoryPurgeConfiguration()
           
 void testRemoveInstallation()
           
 void testRemoveLinkedInstallations()
           
 void testRemoveLocalRepository()
           
 void testRemoveProfile()
           
 void testRemoveProjectScmRoot()
           
 void testRemoveProjectWithReleaseResult()
           
 void testRemoveRepositoryPurgeConfiguration()
           
 void testRemoveSchedule()
           
 void testUpdateInstallation()
           
 void testUpdateUndetachedGroup()
           
 void testUpdateUndetachedProject()
           
 
Methods inherited from class org.apache.maven.continuum.store.AbstractContinuumStoreTestCase
assertBuildDatabase, assertBuildDefinitionEquals, assertBuildDefinitionsEqual, assertBuildQueueEquals, assertBuildResultEquals, assertDependenciesEqual, assertDependencyEquals, assertDeveloperEquals, assertDevelopersEqual, assertDirectoryPurgeConfigurationEquals, assertEmpty, assertInstallationEquals, assertLocalRepositoryEquals, assertNotifierEquals, assertNotifiersEqual, assertProfileEquals, assertProjectEquals, assertProjectGroupEquals, assertProjectScmRootEquals, assertReleaseResultEquals, assertRepositoryPurgeConfigurationEquals, assertScheduleEquals, assertScmResultEquals, createBuildDatabase, createBuildDatabase, createStore, createTestBuildDefinition, createTestBuildDefinition, createTestBuildDefinitionTemplate, createTestBuildQueue, createTestBuildQueue, createTestContinuumReleaseResult, createTestContinuumReleaseResult, createTestDependency, createTestDependency, createTestDeveloper, createTestDeveloper, createTestDirectoryPurgeConfiguration, createTestDirectoryPurgeConfiguration, createTestInstallation, createTestInstallation, createTestLocalRepository, createTestLocalRepository, createTestNotifier, createTestNotifier, createTestProfile, createTestProfile, createTestProfile, createTestProject, createTestProject, createTestProjectGroup, createTestProjectGroup, createTestProjectScmRoot, createTestProjectScmRoot, createTestRepositoryPurgeConfiguration, createTestRepositoryPurgeConfiguration, createTestSchedule, createTestSchedule, createTestSchedule, tearDown
 
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
 

Field Detail

buildDefinitionDao

protected org.apache.continuum.dao.BuildDefinitionDao buildDefinitionDao

buildResultDao

protected org.apache.continuum.dao.BuildResultDao buildResultDao
Constructor Detail

ContinuumStoreTest

public ContinuumStoreTest()
Method Detail

testAddProjectGroup

public void testAddProjectGroup()
                         throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetProjectGroup

public void testGetProjectGroup()
                         throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetInvalidProjectGroup

public void testGetInvalidProjectGroup()
                                throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditProjectGroup

public void testEditProjectGroup()
                          throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testUpdateUndetachedGroup

public void testUpdateUndetachedGroup()

testGetAllProjectGroups

public void testGetAllProjectGroups()

testGetProject

public void testGetProject()
                    throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetProjectWithDetails

public void testGetProjectWithDetails()
                               throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetProjectWithCheckoutResult

public void testGetProjectWithCheckoutResult()
                                      throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetInvalidProject

public void testGetInvalidProject()
                           throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditProject

public void testEditProject()
                     throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testUpdateUndetachedProject

public void testUpdateUndetachedProject()

testGetAllProjects

public void testGetAllProjects()

testAddSchedule

public void testAddSchedule()
                     throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditSchedule

public void testEditSchedule()
                      throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testRemoveSchedule

public void testRemoveSchedule()

testGetAllSchedules

public void testGetAllSchedules()
                         throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddProfile

public void testAddProfile()
                    throws Exception
Throws:
Exception

testEditProfile

public void testEditProfile()
                     throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testRemoveProfile

public void testRemoveProfile()

testGetAllProfiles

public void testGetAllProfiles()

testGetAllInstallations

public void testGetAllInstallations()
                             throws Exception
Throws:
Exception

testUpdateInstallation

public void testUpdateInstallation()
                            throws Exception
Throws:
Exception

testRemoveInstallation

public void testRemoveInstallation()
                            throws Exception
Throws:
Exception

testRemoveLinkedInstallations

public void testRemoveLinkedInstallations()
                                   throws Exception
Throws:
Exception

testDeleteProject

public void testDeleteProject()
                       throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteProjectGroup

public void testDeleteProjectGroup()
                            throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteBuildResult

public void testDeleteBuildResult()
                           throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetInvalidBuildResult

public void testGetInvalidBuildResult()
                               throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetAllBuildsForAProject

public void testGetAllBuildsForAProject()

testGetBuildResult

public void testGetBuildResult()
                        throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetProjectGroupWithDetails

public void testGetProjectGroupWithDetails()
                                    throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testGetAllProjectsGroupWithDetails

public void testGetAllProjectsGroupWithDetails()

testAddDeveloperToProject

public void testAddDeveloperToProject()
                               throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditDeveloper

public void testEditDeveloper()
                       throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteDeveloper

public void testDeleteDeveloper()
                         throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddDependencyToProject

public void testAddDependencyToProject()
                                throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditDependency

public void testEditDependency()
                        throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteDependency

public void testDeleteDependency()
                          throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddNotifierToProject

public void testAddNotifierToProject()
                              throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditNotifier

public void testEditNotifier()
                      throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteNotifier

public void testDeleteNotifier()
                        throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddBuildDefinitionToProject

public void testAddBuildDefinitionToProject()
                                     throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditBuildDefinition

public void testEditBuildDefinition()
                             throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteBuildDefinition

public void testDeleteBuildDefinition()
                               throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddNotifierToProjectGroup

public void testAddNotifierToProjectGroup()
                                   throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditGroupNotifier

public void testEditGroupNotifier()
                           throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteGroupNotifier

public void testDeleteGroupNotifier()
                             throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testAddBuildDefinitionToProjectGroup

public void testAddBuildDefinitionToProjectGroup()
                                          throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testEditGroupBuildDefinition

public void testEditGroupBuildDefinition()
                                  throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testDeleteGroupBuildDefinition

public void testDeleteGroupBuildDefinition()
                                    throws org.apache.maven.continuum.store.ContinuumStoreException
Throws:
org.apache.maven.continuum.store.ContinuumStoreException

testgetTemplatesBuildDefinitions

public void testgetTemplatesBuildDefinitions()
                                      throws Exception
Throws:
Exception

testAddLocalRepository

public void testAddLocalRepository()
                            throws Exception
Throws:
Exception

testRemoveLocalRepository

public void testRemoveLocalRepository()
                               throws Exception
Throws:
Exception

testGetAllLocalRepositories

public void testGetAllLocalRepositories()
                                 throws Exception
Throws:
Exception

testAddRepositoryPurgeConfiguration

public void testAddRepositoryPurgeConfiguration()
                                         throws Exception
Throws:
Exception

testRemoveRepositoryPurgeConfiguration

public void testRemoveRepositoryPurgeConfiguration()
                                            throws Exception
Throws:
Exception

testAddDirectoryPurgeConfiguration

public void testAddDirectoryPurgeConfiguration()
                                        throws Exception
Throws:
Exception

testRemoveDirectoryPurgeConfiguration

public void testRemoveDirectoryPurgeConfiguration()
                                           throws Exception
Throws:
Exception

testGetPurgeConfigurationsBySchedule

public void testGetPurgeConfigurationsBySchedule()
                                          throws Exception
Throws:
Exception

testAddProjectScmRoot

public void testAddProjectScmRoot()
                           throws Exception
Throws:
Exception

testRemoveProjectScmRoot

public void testRemoveProjectScmRoot()
                              throws Exception
Throws:
Exception

testRemoveProjectWithReleaseResult

public void testRemoveProjectWithReleaseResult()
                                        throws Exception
Throws:
Exception

testGetProjectSummaryByProjectGroup

public void testGetProjectSummaryByProjectGroup()
                                         throws Exception
Throws:
Exception

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractContinuumStoreTestCase
Throws:
Exception


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