コード例 #1
0
 public TestViewModel(TestCase testCase)
 {
     TestCase = testCase;
     Name = testCase.Name.PrettifyIdentifier();
     ClassName = testCase.TestClassName.PrettifyIdentifier();
     Description = "";
 }
コード例 #2
0
        private void Run(TestCase testCase)
        {
            TestCaseStarting(testCase);

            var result = testCase.Run();

            TestCaseFinished(testCase, result);
        }
コード例 #3
0
        private void OnTestCaseFinished(TestCase testCase, TestResult testResult)
        {
            InvokeUIAction(() => { IsProgressIndeterminate = false; });

            _executingTestViewModelsByTestCaseId[testCase.Id].OnTestCaseFinished(testResult);
        }
コード例 #4
0
 private void OnTestCaseStarting(TestCase testCase)
 {
     _executingTestViewModelsByTestCaseId[testCase.Id].OnTestCaseStarting();
 }