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); 81var 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);