private void testCommandLineRevs( String commandLine, ScmVersion version1, ScmVersion version2 )
throws Exception
{
ScmRepository repository = getScmManager().makeScmRepository( "scm:perforce://depot/projects/pathname");
PerforceScmProviderRepository repo = (PerforceScmProviderRepository) repository.getProviderRepository();
Commandline cl = PerforceChangeLogCommand.createCommandLine( repo, workingDirectory, System.getProperty(
PerforceScmProvider.DEFAULT_CLIENTSPEC_PROPERTY ), null, null, null, version1, version2 );
assertCommandLine( commandLine, null, cl );