Refactor NativeMethods into PlatformUtil class which only exposes helper functions

This commit is contained in:
Caelan Sayler
2022-05-25 13:00:41 +01:00
parent d3751710de
commit 23e60cb0c1
18 changed files with 711 additions and 836 deletions

View File

@@ -178,7 +178,7 @@ namespace Squirrel.Tests
[Fact]
public void WeCanFetchAllProcesses()
{
var result = Utility.EnumerateProcesses();
var result = PlatformUtil.GetRunningProcesses();
Assert.True(result.Count > 1);
Assert.True(result.Count != 2048);
}