49 instantiations of FakeUserHz
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (49)
Linux\AcceptanceTest.cs (4)
112
.AddSingleton<IUserHz>(new
FakeUserHz
(100))
161
.AddSingleton<IUserHz>(new
FakeUserHz
(100))
230
.AddSingleton<IUserHz>(new
FakeUserHz
(100))
313
.AddSingleton<IUserHz>(new
FakeUserHz
(100))
Linux\LinuxUtilizationParserCgroupV1Tests.cs (17)
28
var parser = new LinuxUtilizationParserCgroupV1(new HardcodedValueFileSystem(line), new
FakeUserHz
(100));
43
var parser = new LinuxUtilizationParserCgroupV1(new FileNamesOnlyFileSystem(TestResources.TestFilesLocation), new
FakeUserHz
(100));
55
var parser = new LinuxUtilizationParserCgroupV1(fs, new
FakeUserHz
(100));
85
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
112
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
131
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
157
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
177
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
204
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
231
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
252
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
280
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
295
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
310
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
330
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
347
var p = new LinuxUtilizationParserCgroupV1(f, new
FakeUserHz
(100));
383
var p = new LinuxUtilizationParserCgroupV1(fs.Object, new
FakeUserHz
(100));
Linux\LinuxUtilizationParserCgroupV2Tests.cs (25)
31
var parser = new LinuxUtilizationParserCgroupV2(new HardcodedValueFileSystem(line), new
FakeUserHz
(100));
46
var parser = new LinuxUtilizationParserCgroupV2(new FileNamesOnlyFileSystem(TestResources.TestFilesLocation), new
FakeUserHz
(100));
58
var parser = new LinuxUtilizationParserCgroupV2(fs, new
FakeUserHz
(100));
89
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
114
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
131
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
148
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
163
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
178
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
196
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
221
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
239
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
265
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
280
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
306
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
321
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
346
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
360
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
375
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
395
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
412
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
429
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
447
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
463
var p = new LinuxUtilizationParserCgroupV2(f, new
FakeUserHz
(100));
498
var p = new LinuxUtilizationParserCgroupV2(fs.Object, new
FakeUserHz
(100));
Linux\LinuxUtilizationProviderTests.cs (3)
51
var parser = new LinuxUtilizationParserCgroupV1(fileSystem: fileSystem, new
FakeUserHz
(100));
120
var parser = new LinuxUtilizationParserCgroupV2(fileSystem: fileSystem, new
FakeUserHz
(100));
188
var parser = new LinuxUtilizationParserCgroupV2(fileSystem: fileSystem, new
FakeUserHz
(100));