/** * Standard initialization of one test * @throws Exception */ protected void setUp() throws Exception { super.setUp(); createDirectories(); // create and configure the needed subversion objects admin = new SVNAdmin(); initClient(); // build and dump the sample repository File greekFiles = buildGreekFiles(); greekRepos = new File(localTmp, "repos"); greekDump = new File(localTmp, "greek_dump"); admin.create(greekRepos.getAbsolutePath(), true,false, null, this.fsType); addExpectedCommitItem(greekFiles.getAbsolutePath(), null, null, NodeKind.none, CommitItemStateFlags.Add); client.doImport(greekFiles.getAbsolutePath(), makeReposUrl(greekRepos), null, true ); admin.dump(greekRepos.getAbsolutePath(), new FileOutputer(greekDump), new IgnoreOutputer(), null, null, false); }
/** * Standard initialization of one test * @throws Exception */ protected void setUp() throws Exception { super.setUp(); createDirectories(); // create and configure the needed subversion objects admin = new SVNAdmin(); initClient(); // build and dump the sample repository File greekFiles = buildGreekFiles(); greekRepos = new File(localTmp, "repos"); greekDump = new File(localTmp, "greek_dump"); admin.create(greekRepos.getAbsolutePath(), true,false, null, this.fsType); addExpectedCommitItem(greekFiles.getAbsolutePath(), null, null, NodeKind.none, CommitItemStateFlags.Add); client.doImport(greekFiles.getAbsolutePath(), makeReposUrl(greekRepos), null, true ); admin.dump(greekRepos.getAbsolutePath(), new FileOutputer(greekDump), new IgnoreOutputer(), null, null, false); }