org.apache.continuum.profile
Class DefaultProfileServiceTest

Package class diagram package DefaultProfileServiceTest
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.AbstractContinuumTest
                  extended by org.apache.continuum.profile.DefaultProfileServiceTest
All Implemented Interfaces:
junit.framework.Test

public class DefaultProfileServiceTest
extends org.apache.maven.continuum.AbstractContinuumTest

Since:
15 juin 07
Version:
$Id: DefaultProfileServiceTest.java 764918 2009-04-14 18:34:43Z evenisse $
Author:
olamy

Field Summary
 
Fields inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase
applicationContext
 
Constructor Summary
DefaultProfileServiceTest()
           
 
Method Summary
 org.apache.maven.continuum.installation.InstallationService getInstallationService()
           
 org.apache.maven.continuum.profile.ProfileService getProfileService()
           
protected  void setUp()
           
 void testAddDuplicateProfile()
           
 void testaddEnvVarInProfile()
           
 void testAddProfile()
           
 void testDeleteProfile()
           
 void testgetAllProfile()
           
 void testRemoveEnvVarFromProfile()
           
 void testRemoveInstallationLinkedToAProfile()
           
 void testsetBuilderInProfile()
           
 void testsetJdkInProfile()
           
 void testupdateProfile()
           
 void testupdateProfileDuplicateName()
           
 
Methods inherited from class org.apache.maven.continuum.AbstractContinuumTest
addProject, addProject, addProject, assertProjectEquals, assertProjectEquals, assertProjectEquals, createDefaultProjectGroup, createMailNotifierList, createStubProjectGroup, getBuildExecutor, getDefaultProjectGroup, getProjectDao, getProjectGroupDao, getScheduleDao, makeProject, makeProject, makeStubProject, makeStubShellProject, setUpConfigurationService, 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
 

Constructor Detail

DefaultProfileServiceTest

public DefaultProfileServiceTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class org.apache.maven.continuum.AbstractContinuumTest
Throws:
Exception

getInstallationService

public org.apache.maven.continuum.installation.InstallationService getInstallationService()
                                                                                   throws Exception
Throws:
Exception

getProfileService

public org.apache.maven.continuum.profile.ProfileService getProfileService()
                                                                    throws Exception
Throws:
Exception

testAddProfile

public void testAddProfile()
                    throws Exception
Throws:
Exception

testAddDuplicateProfile

public void testAddDuplicateProfile()
                             throws Exception
Throws:
Exception

testDeleteProfile

public void testDeleteProfile()
                       throws Exception
Throws:
Exception

testgetAllProfile

public void testgetAllProfile()
                       throws Exception
Throws:
Exception

testupdateProfile

public void testupdateProfile()
                       throws Exception
Throws:
Exception

testupdateProfileDuplicateName

public void testupdateProfileDuplicateName()
                                    throws Exception
Throws:
Exception

testsetJdkInProfile

public void testsetJdkInProfile()
                         throws Exception
Throws:
Exception

testsetBuilderInProfile

public void testsetBuilderInProfile()
                             throws Exception
Throws:
Exception

testaddEnvVarInProfile

public void testaddEnvVarInProfile()
                            throws Exception
Throws:
Exception

testRemoveInstallationLinkedToAProfile

public void testRemoveInstallationLinkedToAProfile()
                                            throws Exception
Throws:
Exception

testRemoveEnvVarFromProfile

public void testRemoveEnvVarFromProfile()
                                 throws Exception
Throws:
Exception


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