mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
hg: add CLM ensure update to test
GitOrigin-RevId: 7cdd85d411108f1600d66daf8f6158bcd740acb8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
314976bf47
commit
4c7e36bc2a
@@ -149,6 +149,7 @@ public class HgUpdateTest extends HgCollaborativeTest {
|
||||
fillFile(projectRepo, new String[]{"com", "b.txt"}, "local change");
|
||||
createFileInCommand(projectRepoVirtualFile.findChild("com"), "c.txt", "other file");
|
||||
|
||||
myChangeListManager.ensureUpToDate();
|
||||
|
||||
assertIsChanged(HgFileStatusEnum.MODIFIED, "com", "b.txt");
|
||||
assertIsChanged(HgFileStatusEnum.ADDED, "com", "c.txt");
|
||||
@@ -162,6 +163,7 @@ public class HgUpdateTest extends HgCollaborativeTest {
|
||||
HgRevisionNumber parentAfterUpdate = new HgParentsCommand(myProject).executeInCurrentThread(projectRepoVirtualFile).get(0);
|
||||
assertEquals(parentAfterUpdate, incomingHead);
|
||||
|
||||
myChangeListManager.ensureUpToDate();
|
||||
assertIsChanged(HgFileStatusEnum.MODIFIED, "com", "b.txt");
|
||||
assertIsChanged(HgFileStatusEnum.ADDED, "com", "c.txt");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user