1 write to _fakeLogger
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Windows\WindowsSnapshotProviderTests.cs (1)
39_fakeLogger = new FakeLogger<WindowsSnapshotProvider>();
7 references to _fakeLogger
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (7)
Windows\WindowsSnapshotProviderTests.cs (7)
45var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options); 57var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options); 66var provider = new WindowsSnapshotProvider(_fakeLogger, _meterFactoryMock.Object, _options); 67var logRecords = _fakeLogger.Collector.GetSnapshot(); 84var snapshotProvider = new WindowsSnapshotProvider(_fakeLogger, meterFactoryMock.Object, options, fakeClock, 120var snapshotProvider = new WindowsSnapshotProvider(_fakeLogger, meterFactoryMock.Object, options, fakeClock, static () => 1, static () => 0, () => memoryUsed, static () => 3000UL); 166_ = new WindowsSnapshotProvider(_fakeLogger, meterFactory, _options);