/// <summary> /// Make sure task comments in a file show up in the task list window. /// </summary> public void CommentTaskList(VisualStudioApp app) { var project = app.OpenProject(app.CopyProjectForTest(@"TestData\ErrorProject.sln")); var projectNode = project.GetPythonProject(); var expectedDocument = Path.Combine(projectNode.ProjectHome, "Program.py"); var expectedCategory = VSTASKCATEGORY.CAT_COMMENTS; var expectedItems = new[] { new TaskItemInfo(expectedDocument, 4, 5, VSTASKPRIORITY.TP_NORMAL, expectedCategory, null, "TODO 123"), new TaskItemInfo(expectedDocument, 5, 0, VSTASKPRIORITY.TP_HIGH, expectedCategory, null, "456 UnresolvedMergeConflict"), }; app.OpenDocument(expectedDocument); app.OpenTaskList(); TaskListTest(app, typeof(SVsTaskList), expectedItems, navigateTo: new[] { 0, 1 }); }