Пример #1
0
    public SVNWCDescriptor getExpectedState() throws SVNException {
      SVNWCDescriptor descriptor = new SVNWCDescriptor();
      descriptor.addFile("A");

      String content = "this is A/file\n" + "this line added to file file at r4.";
      SVNTestFileDescriptor file = descriptor.addFile("A/file2", content);
      file.setVersioned(true);
      file.setConflicted(false);
      file.setAdded(false);
      file.setReplaced(false);
      file.setNodeKind(SVNNodeKind.FILE);
      file.setCopyFromLocation(getTrunk().appendPath("A/file", false));
      file.setCopyFromRevision(getEndRevision());
      return descriptor;
    }
Пример #2
0
 public SVNWCDescriptor getInitialFS() {
   SVNWCDescriptor fs = new SVNWCDescriptor();
   fs.addFile(new SVNTestFileDescriptor("A"));
   fs.addFile(new SVNTestFileDescriptor("A/file", "this is A/file"));
   return fs;
 }