Esempio n. 1
0
        /// <summary>
        /// Handle the end of tests event
        /// </summary>
        private void runner_AllTestsComplete(object sender, AllTestsCompleteEventArgs args)
        {
            string overview = string.Format("\n{0} passed, {1} failed, {2} skipped, duration: {3} seconds\n",
                                            args.PassCount,
                                            args.FailCount,
                                            args.SkipCount,
                                            args.Duration);

            WriteToTestPane(overview);
            CodeRush.Windows.Active.DTE.StatusBar.Text = overview;

            CreateFailedTestList();
            DxCoreUtil.Invalidate(CodeRush.Source.ActiveClass);
        }
        /// <summary>
        /// Handle the end of tests event
        /// </summary>
        private void runner_AllTestsComplete(object sender, AllTestsCompleteEventArgs args)
        {
            string overview = string.Format("\n{0} passed, {1} failed, {2} skipped, duration: {3} seconds\n",
                                                                                          args.PassCount,
                                                                                          args.FailCount,
                                                                                          args.SkipCount,
                                                                                          args.Duration);
            WriteToTestPane(overview);
            CodeRush.Windows.Active.DTE.StatusBar.Text = overview;

            CreateFailedTestList();
            DxCoreUtil.Invalidate(CodeRush.Source.ActiveClass);
        }