use of com.intellij.testFramework.vcs.MockContentRevision in project intellij-community by JetBrains.
the class LocalChangesUnderRootsTest method createChangeForPath.
private Change createChangeForPath(String path) {
VirtualFile file = VfsTestUtil.createFile(myBaseDir, path);
FilePath filePath = VcsUtil.getFilePath(file);
ContentRevision beforeRevision = new MockContentRevision(filePath, new VcsRevisionNumber.Int(1));
ContentRevision afterRevision = new MockContentRevision(filePath, new VcsRevisionNumber.Int(2));
return new Change(beforeRevision, afterRevision);
}
Aggregations