Make applyChangesToOpenFiles efficient to handle batch file opens, close and changes before updating projects

Fixes #29667
This commit is contained in:
Sheetal Nandi
2019-02-26 11:54:29 -08:00
parent 2258bb2fb7
commit e6068f405b
3 changed files with 80 additions and 27 deletions
@@ -59,7 +59,7 @@ ${file.content}`;
applyChangesToOpen(session);
// Verify again
verifyProjectVersion(project, 5);
verifyProjectVersion(project, 3);
// Open file contents
verifyText(service, commonFile1.path, fileContentWithComment(commonFile1));
verifyText(service, commonFile2.path, fileContentWithComment(commonFile2));