59 instantiations of HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (59)
Linux\AcceptanceTest.cs (6)
113.AddSingleton<IFileSystem>(new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 162.AddSingleton<IFileSystem>(new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 196var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 282var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 369var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 445var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
21var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 117var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (2)
25var parser = new LinuxNetworkUtilizationParser(new HardcodedValueFileSystem(line)); 34var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV1Tests.cs (16)
28var parser = new LinuxUtilizationParserCgroupV1(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 83var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 109var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 128var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 155var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 200var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 227var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 248var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 277var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 293var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 307var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 328var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 345var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 360var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 364var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (29)
30var parser = new LinuxUtilizationParserCgroupV2(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 87var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 111var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 128var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 146var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 161var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 177var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 188f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 204var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 230var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 248var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 273var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 290var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 308var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 323var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 349var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 364var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 390var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 404var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 420var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 439var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 460var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 477var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 494var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 512var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 528var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 545var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 559var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 563var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (4)
37var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 221var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
53 references to HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (53)
Linux\AcceptanceTest.cs (4)
196var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 282var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 369var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 445var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
21var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 117var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (1)
34var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV1Tests.cs (15)
83var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 109var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 128var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 155var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 200var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 227var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 248var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 277var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 293var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 307var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 328var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 345var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 360var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 364var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (27)
87var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 111var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 128var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 146var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 161var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 177var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 204var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 230var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 248var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 273var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 290var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 308var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 323var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 349var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 364var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 390var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 404var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 420var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 439var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 460var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 477var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 494var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 512var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 528var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 545var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 559var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 563var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (4)
37var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 221var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>