Beispiel #1
0
 public void CasePassed(PassResult result)
 {
     tdnet.TestFinished(new TestResult
     {
         Name = result.Name,
         State = TestState.Passed
     });
 }
        public void CasePassed(PassResult result)
        {
            var testResult = new TestResult(TestCase(result.MethodGroup))
            {
                DisplayName = result.Name,
                Outcome = Map(CaseStatus.Passed),
                Duration = result.Duration,
                ComputerName = Environment.MachineName
            };

            AttachCapturedConsoleOutput(result.Output, testResult);

            log.RecordResult(testResult);
        }
Beispiel #3
0
        public void CasePassed(PassResult result)
        {
            var caseResult = (CaseResult)result;

            Post(new TestResult
            {
                testFramework = "Fixie",
                fileName = fileName,
                testName = caseResult.Name,
                outcome = "Passed",
                durationMilliseconds = caseResult.Duration.TotalMilliseconds.ToString("0"),
                StdOut = caseResult.Output,
                ErrorMessage = null,
                ErrorStackTrace = null
            });
        }
Beispiel #4
0
 public void CasePassed(PassResult result)
 {
     Message("testStarted name='{0}'", result.Name);
     Output(result.Name, result.Output);
     Message("testFinished name='{0}' duration='{1}'", result.Name, DurationInMilliseconds(result.Duration));
 }
 public void CasePassed(PassResult result)
 {
 }
Beispiel #6
0
 CaseResult Pass(Case @case)
 {
     var result = new PassResult(@case);
     listener.CasePassed(result);
     return result;
 }
Beispiel #7
0
 public void CasePassed(PassResult result) => Log.Add(result);
Beispiel #8
0
 public void CasePassed(PassResult result)
 {
     log.Add(string.Format("{0} passed.", result.Name));
 }
Beispiel #9
0
 public void CasePassed(PassResult result)
 {
     log.Add($"{result.Name} passed");
 }
 public void CasePassed(PassResult result)
 {
    _proxy.TestCompleted(GetTestResult(result.MethodGroup, TestStatus.Pass));
 }