52 instantiations of HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (52)
Linux\AcceptanceTest.cs (4)
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>
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)); 80var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 106var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 152var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 172var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 197var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 224var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 245var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 274var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 290var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 325var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 342var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 357var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 361var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (25)
30var parser = new LinuxUtilizationParserCgroupV2(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 83var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 124var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 142var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 157var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 173var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 184f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 200var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 226var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 244var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 269var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 284var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 310var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 325var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 351var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 365var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 379var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 400var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 417var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 434var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 452var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 468var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 482var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 486var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (3)
37var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
46 references to HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (46)
Linux\AcceptanceTest.cs (2)
196var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 282var 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)
80var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 106var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 152var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 172var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 197var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 224var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 245var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 274var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 290var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 325var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 342var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 357var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 361var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (23)
83var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 124var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 142var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 157var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 173var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 200var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 226var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 244var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 269var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 284var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 310var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 325var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 351var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 365var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 379var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 400var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 417var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 434var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 452var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 468var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 482var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 486var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (3)
37var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 107var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 175var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>