Ejemplo n.º 1
0
        private void OnRunFinished(object sender, TestEventArgs e)
        {
            if (e.Result != null)
            {
                this[e.Result].Expand();
            }

            if (propertiesDialog != null)
            {
                propertiesDialog.Invoke(new PropertiesDisplayHandler(propertiesDialog.DisplayProperties));
            }

            runCommandEnabled = true;
        }
Ejemplo n.º 2
0
        private void OnRunFinished(object sender, TestEventArgs e)
        {
            if (runningTests != null)
            {
                foreach (ITest test in runningTests)
                {
                    this[test].Expand();
                }
            }

            if (propertiesDialog != null)
            {
                propertiesDialog.Invoke(new PropertiesDisplayHandler(propertiesDialog.DisplayProperties));
            }

            runningTests      = null;
            runCommandEnabled = true;
        }