コード例 #1
0
 private async void OnSolutionClosing(object sender, EventArgs e)
 {
     if (_testRunner.IsBusy)
     {
         await _testRunner.AbortTestsAsync();
     }
     IsSolutionLoaded = false;
     Update(null as TestSolution);
     StateGroups.Clear();
 }
コード例 #2
0
        private async void OnSolutionClosing(object sender, EventArgs e)
        {
            if (_testRunner.IsBusy)
            {
                await _testRunner.AbortTestsAsync();
            }

            IsReportAvailable = false;
            if (IsReportTabSelected)
            {
                IsTestsTabSelected = true;
            }

            IsSolutionLoaded = false;
            Update(null as TestSolution);
            ClearStateGroups();
        }