use of com.intellij.diff.actions.DocumentFragmentContent in project intellij-community by JetBrains.
the class SelectionHistoryDialogTest method testDiffContentsAndTitleForCurrentRevision.
public void testDiffContentsAndTitleForCurrentRevision() throws IOException {
initModelOnSecondLineAndSelectRevisions(0, 0);
assertEquals("Current", dm.getRightTitle(new NullRevisionsProgress()));
DiffContent right = dm.getRightDiffContent(new NullRevisionsProgress());
assertContent("bcd", right);
assertTrue(right instanceof DocumentFragmentContent);
}
Aggregations