// src/main/java/org/Foo.java is added
// /pom.xml is modified
// check that readme and project.xml are not updated/created
// ----------------------------------------------------------------------
StatusScmResult result = scmManager.getProviderByUrl( getScmUrl() )
.status( repository, new ScmFileSet( getUpdatingCopy() ) );
if ( this.commitUpdateCopy() )
{
//this is needed for perforce so that teardown can remove its client workspace, no harm for cvs/svn/git
commit( getUpdatingCopy(), repository );
}
assertNotNull( "The command returned a null result.", result );
assertResultIsSuccess( result );
List<ScmFile> changedFiles = result.getChangedFiles();
assertEquals( "Expected 2 files in the updated files list " + changedFiles, 2, changedFiles.size() );
// ----------------------------------------------------------------------
// Assert the files in the updated files list