private void UserControl_Loaded(object sender, RoutedEventArgs e)
        {
            // Display initial information so user sees something
            _textUI.DisplayHeader();
            _textUI.DisplayRuntimeEnvironment();
            _textUI.DisplayTestFiles(new string[] { AssemblyHelper.GetAssemblyName(_callingAssembly).Name });

            Dispatcher.BeginInvoke(() => ExecuteTests());
        }
Beispiel #2
0
        public void DisplayRuntimeEnvironment()
        {
            _textUI.DisplayRuntimeEnvironment();

            var lines = GetReportLines();

            Assert.That(lines.Count, Is.EqualTo(4));
            Assert.That(lines[1], Contains.Substring("OS Version"));
            Assert.That(lines[2], Contains.Substring("CLR Version"));
            Assert.That(lines[3], Is.Empty);
        }