@Test( expected = ScmException.class ) public void testCheckinRecursiveSubDirectoryNotSupported() throws AccuRevException, ScmException { final ScmFileSet testFileSet = new ScmFileSet( basedir ); final AccuRevInfo info = new AccuRevInfo( basedir ); info.setTop( basedir.getParent() ); when( accurev.info( basedir ) ).thenReturn( info ); AccuRevCheckInCommand command = new AccuRevCheckInCommand( getLogger() ); CommandParameters commandParameters = new CommandParameters(); commandParameters.setString( CommandParameter.MESSAGE, "Commit message" ); command.checkIn( repo, testFileSet, commandParameters ); fail( "Expected ScmException" ); }
public CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckInScmResult) execute( repository, fileSet, parameters ); }
AccuRevCheckInCommand extends AbstractAccuRevCommand { public CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckInScmResult) execute( repository, fileSet, parameters ); } }
AccuRevCheckInCommand extends AbstractAccuRevCommand { public CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckInScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckInCommand( ScmLogger logger ); }
AccuRevCheckInCommand extends AbstractAccuRevCommand { public CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckInScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckInCommand( ScmLogger logger ); CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet,
                                     CommandParameters parameters ); }
AccuRevCheckInCommand extends AbstractAccuRevCommand { public CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters ) throws ScmException { return (CheckInScmResult) execute( repository, fileSet, parameters ); } AccuRevCheckInCommand( ScmLogger logger ); CheckInScmResult checkIn( ScmProviderRepository repository, ScmFileSet fileSet,
                                     CommandParameters parameters );  }