@Test( expected = ScmException.class ) public void testReCheckoutSubdirectoryOfExistingWorkspaceThrowsException() throws Exception { info.setWorkSpace( "someOldStream_someUser" ); info.setBasis( "myStream" ); info.setTop( basedir.getParentFile().getAbsolutePath() ); AccuRevCheckOutCommand command = new AccuRevCheckOutCommand( getLogger() ); CommandParameters params = new CommandParameters(); params.setScmVersion( CommandParameter.SCM_VERSION, new ScmTag( "mySnapShot" ) ); command.checkout( repo, new ScmFileSet( basedir ), params ); fail( "Expected exception" ); }
public CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckOutScmResult) execute( repository, fileSet, parameters ); }
AccuRevCheckOutCommand extends AbstractAccuRevExtractSourceCommand { public CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckOutScmResult) execute( repository, fileSet, parameters ); } }
AccuRevCheckOutCommand extends AbstractAccuRevExtractSourceCommand { public CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckOutScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckOutCommand( ScmLogger logger ); }
AccuRevCheckOutCommand extends AbstractAccuRevExtractSourceCommand { public CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckOutScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckOutCommand( ScmLogger logger ); CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet,
                                       CommandParameters parameters ); static String getWorkSpaceName( File basedir, String basisStream ); }
AccuRevCheckOutCommand extends AbstractAccuRevExtractSourceCommand { public CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckOutScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckOutCommand( ScmLogger logger ); CheckOutScmResult checkout( ScmProviderRepository repository, ScmFileSet fileSet,
                                       CommandParameters parameters ); static String getWorkSpaceName( File basedir, String basisStream );  }