public void ClearSelection() { bool success = controller.LoadInitialFile(TestUtil.GetTestFile("selectionmgr\\sampleevent1.coursescribe"), true); Assert.IsTrue(success); selectionMgr.ActiveTab = 0; selectionMgr.SelectDescriptionLine(4); CheckSelectedLines(4, 4); selectionMgr.ClearSelection(); CheckSelectedLines(-1, -1); selectionMgr.ActiveTab = 3; selectionMgr.SelectDescriptionLine(5); CheckSelectedLines(5, 5); selectionMgr.ClearSelection(); CheckSelectedLines(-1, -1); }