65 instantiations of HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (65)
Linux\AcceptanceTest.cs (5)
120.AddSingleton<IFileSystem>(new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 170.AddSingleton<IFileSystem>(new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 205var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 411var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\Disk\DiskStatsReaderTests.cs (3)
43var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 104var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 149var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
23var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 119var 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)
32var parser = new LinuxUtilizationParserCgroupV1(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 87var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 114var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 134var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 162var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 183var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 208var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 235var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 257var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 287var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 318var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 339var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 357var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 373var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 377var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (29)
34var parser = new LinuxUtilizationParserCgroupV2(new HardcodedValueFileSystem(line), new FakeUserHz(100)); 91var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 116var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 134var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 152var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 168var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 185var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 196f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 212var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 239var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 258var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 283var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 300var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 320var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 340var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 354var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 380var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 396var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 423var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 438var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 454var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 473var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 494var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 512var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 530var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 549var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 567var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 581var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 585var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (8)
41var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 198var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 245var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 454var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 531var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 608var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 681var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
59 references to HardcodedValueFileSystem
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (59)
Linux\AcceptanceTest.cs (3)
205var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 411var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\Disk\DiskStatsReaderTests.cs (3)
43var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 104var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 149var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxCountersTests.cs (2)
23var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 119var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxNetworkUtilizationParserTests.cs (1)
34var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV1Tests.cs (15)
87var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 114var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 134var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 162var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 183var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 208var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 235var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 257var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 287var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 304var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 318var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 339var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 357var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 373var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 377var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationParserCgroupV2Tests.cs (27)
91var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 116var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 134var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 152var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 168var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 185var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 212var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 239var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 258var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 283var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 300var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 320var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 340var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 354var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 380var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 396var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 423var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 438var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 454var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 473var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 494var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 512var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 530var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 549var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 567var f = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 581var f1 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 585var f2 = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>
Linux\LinuxUtilizationProviderTests.cs (8)
41var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 125var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 198var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 245var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 454var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 531var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 608var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string> 681var fileSystem = new HardcodedValueFileSystem(new Dictionary<FileInfo, string>