51 instantiations of HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (51)
Linux\AcceptanceTest.cs (4)
113
.AddSingleton<IFileSystem>(new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
162
.AddSingleton<IFileSystem>(new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
196
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
282
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
20
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
116
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (2)
26
var parser = new LinuxNetworkUtilizationParser(new
HardcodedValueFileSystem
(line));
35
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV1Tests.cs (16)
28
var parser = new LinuxUtilizationParserCgroupV1(new
HardcodedValueFileSystem
(line), new FakeUserHz(100));
80
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
106
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
125
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
152
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
172
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
197
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
224
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
245
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
274
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
290
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
304
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
325
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
342
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
357
var f1 = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
361
var f2 = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (24)
31
var parser = new LinuxUtilizationParserCgroupV2(new
HardcodedValueFileSystem
(line), new FakeUserHz(100));
84
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
108
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
125
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
143
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
158
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
173
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
190
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
216
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
234
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
259
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
274
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
300
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
315
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
341
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
355
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
369
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
390
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
407
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
424
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
442
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
458
var f = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
472
var f1 = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
476
var f2 = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (3)
37
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
107
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
175
var fileSystem = new
HardcodedValueFileSystem
(new Dictionary<FileInfo, string>
46 references to HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (46)
Linux\AcceptanceTest.cs (2)
196
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
282
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
20
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
116
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (1)
35
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV1Tests.cs (15)
80
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
106
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
125
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
152
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
172
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
197
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
224
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
245
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
274
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
290
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
304
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
325
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
342
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
357
var
f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
361
var
f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (23)
84
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
108
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
125
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
143
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
158
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
173
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
190
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
216
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
234
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
259
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
274
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
300
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
315
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
341
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
355
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
369
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
390
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
407
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
424
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
442
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
458
var
f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
472
var
f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
476
var
f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (3)
37
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
107
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
175
var
fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>