extends AbstractIntegrationTest
{
public void testBasic()
throws Exception
{
Continuum continuum = getContinuum();
initializeCvsRoot();
progress( "Initializing Maven 1 CVS project" );
File root = getItFile( "maven-1" );
initMaven1Project( root, "maven-1", "cvs", getCvsRoot() );
progress( "Adding Maven 1 project" );
int projectId = getProjectId( continuum.addMavenOneProject( getFileUrl( root ) + "/project.xml" ) );
waitForSuccessfulCheckout( projectId );
assertEquals(1, continuum.getProjectWithAllDetails( projectId ).getBuildDefinitions().size());
Project project = continuum.getProjectWithCheckoutResult( projectId );
assertProject( projectId, "Maven 1 Project", "1.0", "", MavenOneBuildExecutor.ID, project );
assertCheckedOutFiles( project, new String[]{"/project.xml", "/src/main/java/Foo.java"} );
// ----------------------------------------------------------------------
//
// ----------------------------------------------------------------------
progress( "Building Maven 1 project" );
int buildId = buildProject( projectId, ContinuumProjectState.TRIGGER_SCHEDULED ).getId();
assertSuccessfulMaven1Build( buildId, projectId );
assertEquals(1, continuum.getProjectWithAllDetails( projectId ).getBuildDefinitions().size());
// ----------------------------------------------------------------------
//
// ----------------------------------------------------------------------