Exemple #1
0
        private void ProcessTestResult(string message)
        {
            Match match = testResultPattern.Match(message);

            TestInformation info = new TestInformation();

            info.name   = match.Groups[1].Value;
            info.result = TestResultFromString(match.Groups[2].Value);

            if (info.result == TestResult.PASSED)
            {
                ui.AddTest(info);
            }
        }
Exemple #2
0
        private void ProcessTestResult(string message)
        {
            Match           match = testResultPattern.Match(message);
            TestInformation info  = new TestInformation
            {
                Name   = match.Groups[1].Value,
                Result = TestResultFromString(match.Groups[2].Value)
            };

            if (info.Result == TestResult.Passed)
            {
                ui.AddTest(info);
            }
        }