org.apache.maven.continuum
Class AddMaven2ProjectTest

Package class diagram package AddMaven2ProjectTest
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.maven.continuum.AddMaven2ProjectTest
All Implemented Interfaces:
junit.framework.Test

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

Since:
Version:
$Id: AddMaven2ProjectTest.java 764863 2009-04-14 16:28:12Z evenisse $
Author:
olamy

Field Summary
protected  org.apache.maven.continuum.model.project.BuildDefinition bd
           
protected  org.apache.maven.continuum.model.project.BuildDefinitionTemplate bdt
           
protected  org.slf4j.Logger log
           
 
Fields inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase
applicationContext
 
Constructor Summary
AddMaven2ProjectTest()
           
 
Method Summary
protected  String getPlexusConfigLocation()
           
protected  String getSpringConfigLocation()
           
protected  void setUp()
           
 void testAddProjectToExistingGroupDefaultBuildDef()
           
 void testAddProjectToExistingGroupWithBuildDefTemplate()
           
 void testAddProjectWithGroupCreationDefaultBuildDef()
           
 void testAddProjectWithGroupCreationWithBuildDefTemplate()
           
 
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, getResourceAsStream, 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

log

protected final org.slf4j.Logger log

bdt

protected org.apache.maven.continuum.model.project.BuildDefinitionTemplate bdt

bd

protected org.apache.maven.continuum.model.project.BuildDefinition bd
Constructor Detail

AddMaven2ProjectTest

public AddMaven2ProjectTest()
Method Detail

setUp

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

testAddProjectToExistingGroupWithBuildDefTemplate

public void testAddProjectToExistingGroupWithBuildDefTemplate()
                                                       throws Exception
Throws:
Exception

testAddProjectWithGroupCreationWithBuildDefTemplate

public void testAddProjectWithGroupCreationWithBuildDefTemplate()
                                                         throws Exception
Throws:
Exception

testAddProjectWithGroupCreationDefaultBuildDef

public void testAddProjectWithGroupCreationDefaultBuildDef()
                                                    throws Exception
Throws:
Exception

testAddProjectToExistingGroupDefaultBuildDef

public void testAddProjectToExistingGroupDefaultBuildDef()
                                                  throws Exception
Throws:
Exception

getPlexusConfigLocation

protected String getPlexusConfigLocation()
Overrides:
getPlexusConfigLocation in class org.codehaus.plexus.spring.PlexusInSpringTestCase

getSpringConfigLocation

protected String getSpringConfigLocation()
Overrides:
getSpringConfigLocation in class org.codehaus.plexus.spring.PlexusInSpringTestCase


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