2 writes to FailedTests
dotnet (2)
Commands\Test\MTP\Terminal\TestProgressState.cs (2)
78
FailedTests
-= value.Failed;
120
}, static @this => @this.
FailedTests
++);
19 references to FailedTests
dotnet (9)
Commands\Test\MTP\Terminal\AnsiTerminalTestProgressFrame.cs (1)
30
int failed = progress.
FailedTests
;
Commands\Test\MTP\Terminal\SimpleTerminalBase.cs (1)
71
int failed = p.
FailedTests
;
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (6)
208
int totalFailedTests = _assemblies.Values.Sum(a => a.
FailedTests
);
265
int failed = _assemblies.Values.Sum(t => t.
FailedTests
);
275
int error = _assemblies.Values.Count(t => !t.Success && t.
FailedTests
== 0) + _handshakeFailuresCount;
373
string text = (state.
FailedTests
> 0, state.TotalTests == 0) switch
375
(true, _) => string.Format(CultureInfo.CurrentCulture, CliCommandStrings.FailedWithErrors, state.
FailedTests
),
732
assemblyRun.Success = exitCode == 0 && assemblyRun.
FailedTests
== 0;
Commands\Test\MTP\Terminal\TestProgressState.cs (1)
33
public int TotalTests => PassedTests + SkippedTests +
FailedTests
;
dotnet.Tests (10)
CommandTests\Test\TestProgressStateTests.cs (10)
85
state.
FailedTests
.Should().Be(callCount);
106
state.
FailedTests
.Should().Be(1);
153
state.
FailedTests
.Should().Be(1);
200
state.
FailedTests
.Should().Be(1);
210
state.
FailedTests
.Should().Be(1);
219
state.
FailedTests
.Should().Be(0);
241
state.
FailedTests
.Should().Be(2);
251
state.
FailedTests
.Should().Be(0);
273
state.
FailedTests
.Should().Be(1);
284
state.
FailedTests
.Should().Be(1);