1 write to _reporter
dotnet.Tests (1)
CommandTests\Sdk\Check\GivenDotnetSdkCheck.cs (1)
30_reporter = new BufferedReporter();
16 references to _reporter
dotnet.Tests (16)
CommandTests\Sdk\Check\GivenDotnetSdkCheck.cs (16)
56new SdkCheckCommand(parseResult, new MockNETBundleProvider(newerBandExists ? oldSdks : newSdks), new MockProductCollectionProvider(fakeReleasesPath), _reporter).Execute(); 60_reporter.Lines 66string.Join(' ', _reporter.Lines) 78new SdkCheckCommand(parseResult, new MockNETBundleProvider(bundles), new MockProductCollectionProvider(fakeReleasesPath), _reporter).Execute(); 82string.Join(' ', _reporter.Lines) 89string.Join(' ', _reporter.Lines) 92string.Join(' ', _reporter.Lines) 111new SdkCheckCommand(parseResult, new MockNETBundleProvider(bundles), new MockProductCollectionProvider(fakeReleasesPath), _reporter).Execute(); 113var commandResult = string.Join(' ', _reporter.Lines); 137new SdkCheckCommand(parseResult, new MockNETBundleProvider(bundles), new MockProductCollectionProvider(fakeReleasesPath), _reporter).Execute(); 139var commandResult = string.Join(' ', _reporter.Lines); 171new SdkCheckCommand(parseResult, new MockNETBundleProvider(bundles), new MockProductCollectionProvider(fakeReleasesPath), _reporter).Execute(); 173var commandResult = string.Join('\n', _reporter.Lines); 204new SdkCheckCommand(parseResult, new MockNETBundleProvider(bundles), dotnetRoot: dotnetRoot, dotnetVersion: "6.0.100", reporter: _reporter).Execute(); 206_reporter.Lines.Count().Should().Be(3); 207_reporter.Lines.Should().Contain(replacementString);