use of org.apache.maven.scm.provider.perforce.repository.PerforceScmProviderRepository in project maven-scm by apache.
the class PerforceAddCommandTest method testCommandLine.
// ----------------------------------------------------------------------
//
// ----------------------------------------------------------------------
private void testCommandLine(String scmUrl, String commandLine) throws Exception {
ScmRepository repository = getScmManager().makeScmRepository(scmUrl);
PerforceScmProviderRepository svnRepository = (PerforceScmProviderRepository) repository.getProviderRepository();
ScmFileSet files = new ScmFileSet(new File("."), Arrays.asList(new File[] { new File("foo.xml"), new File("bar.xml") }));
Commandline cl = PerforceAddCommand.createCommandLine(svnRepository, workingDirectory, files);
assertCommandLine(commandLine, null, cl);
}
Aggregations