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)
45
var provider = new WindowsSnapshotProvider(
_fakeLogger
, _meterFactoryMock.Object, _options);
57
var provider = new WindowsSnapshotProvider(
_fakeLogger
, _meterFactoryMock.Object, _options);
66
var provider = new WindowsSnapshotProvider(
_fakeLogger
, _meterFactoryMock.Object, _options);
67
var logRecords =
_fakeLogger
.Collector.GetSnapshot();
84
var snapshotProvider = new WindowsSnapshotProvider(
_fakeLogger
, meterFactoryMock.Object, options, fakeClock,
120
var snapshotProvider = new WindowsSnapshotProvider(
_fakeLogger
, meterFactoryMock.Object, options, fakeClock, static () => 1, static () => 0, () => memoryUsed, static () => 3000UL);
166
_ = new WindowsSnapshotProvider(
_fakeLogger
, meterFactory, _options);