Search in sources :

Example 1 with RecentChangeDialog

use of com.intellij.history.integration.ui.views.RecentChangeDialog in project intellij-community by JetBrains.

the class RecentChangeDialogTest method testDialogWork.

public void testDialogWork() throws IOException {
    getVcs().beginChangeSet();
    createChildData(myRoot, "f.txt");
    getVcs().endChangeSet("change");
    RecentChange c = getVcs().getRecentChanges(getRootEntry()).get(0);
    RecentChangeDialog d = null;
    try {
        d = new RecentChangeDialog(myProject, myGateway, c);
    } finally {
        if (d != null) {
            Disposer.dispose(d);
        }
    }
}
Also used : RecentChange(com.intellij.history.core.revisions.RecentChange) RecentChangeDialog(com.intellij.history.integration.ui.views.RecentChangeDialog)

Aggregations

RecentChange (com.intellij.history.core.revisions.RecentChange)1 RecentChangeDialog (com.intellij.history.integration.ui.views.RecentChangeDialog)1