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> 196var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 282var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
20var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 116var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (2)
26var parser = new LinuxNetworkUtilizationParser(new HardcodedValueFileSystem(line)); 35var 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 (24)
31var parser = new LinuxUtilizationParserCgroupV2(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 84var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 108var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 143var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 158var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 173var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 190var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 216var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 234var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 259var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 274var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 300var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 315var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 341var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 355var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 369var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 390var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 407var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 424var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 442var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 458var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 472var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 476var 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)
20var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 116var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (1)
35var 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)
84var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 108var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 143var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 158var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 173var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 190var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 216var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 234var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 259var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 274var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 300var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 315var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 341var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 355var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 369var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 390var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 407var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 424var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 442var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 458var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 472var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 476var 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>