1 write to _reporter
dotnet.Tests (1)
CommandTests\Tool\List\ToolListLocalCommandTests.cs (1)
29
_reporter
= new BufferedReporter();
29 references to _reporter
dotnet.Tests (29)
CommandTests\Tool\List\ToolListLocalCommandTests.cs (29)
54
_reporter
);
61
_reporter
.Lines.Count.Should().Be(4);
62
_reporter
.Lines.Should().Contain(l => l.Contains("package.id"));
63
_reporter
.Lines.Should().Contain(l => l.Contains("2.1.4"));
64
_reporter
.Lines.Should().Contain(l => l.Contains(_testManifestPath));
65
_reporter
.Lines.Should().Contain(l => l.Contains("package-name"));
66
_reporter
.Lines.Should().Contain(l => l.Contains("foo.bar"));
67
_reporter
.Lines.Should().Contain(l => l.Contains("1.0.8"));
68
_reporter
.Lines.Should().Contain(l => l.Contains(_testManifestPath));
69
_reporter
.Lines.Should().Contain(l => l.Contains("foo-bar"));
78
_reporter
).Execute();
79
_reporter
.Lines.Count.Should().Be(1);
81
var versionedData = JsonSerializer.Deserialize<VersionedDataContract<LocalToolListJsonContract[]>>(
_reporter
.Lines[0]);
103
_reporter
.Lines.Count.Should().Be(4);
104
_reporter
.Lines.Should().Contain(l => l.Contains("package.id"));
105
_reporter
.Lines.Should().Contain(l => l.Contains("2.1.4"));
106
_reporter
.Lines.Should().Contain(l => l.Contains(_testManifestPath));
107
_reporter
.Lines.Should().Contain(l => l.Contains("package-name"));
108
_reporter
.Lines.Should().Contain(l => l.Contains("foo.bar"));
109
_reporter
.Lines.Should().Contain(l => l.Contains("1.0.8"));
110
_reporter
.Lines.Should().Contain(l => l.Contains(_testManifestPath));
111
_reporter
.Lines.Should().Contain(l => l.Contains("foo-bar"));
118
_reporter
.Lines.Count.Should().Be(3);
119
_reporter
.Lines.Should().Contain(l => l.Contains("package.id"));
120
_reporter
.Lines.Should().Contain(l => l.Contains("2.1.4"));
121
_reporter
.Lines.Should().Contain(l => l.Contains(_testManifestPath));
122
_reporter
.Lines.Should().Contain(l => l.Contains("package-name"));
129
_reporter
.Lines.Count.Should().Be(2);
138
_reporter
);