Remove this method and its test

It is unused
There's no guarantee at all that the parent process is the terminal.
There are good reasons, including that one, why there's no simple way to do it in .net.
It's also of course a windows-only thing, if using WMI.
This commit is contained in:
Brandon Thetford
2024-02-16 01:18:12 -07:00
parent b2c05221bd
commit 776044b716
2 changed files with 1 additions and 54 deletions

View File

@@ -1142,19 +1142,6 @@ public class EscSeqUtilsTests
Assert.Equal (new Point (1, 2), pos);
}
[Fact]
public void GetParentProcess_Tests ()
{
if (RuntimeInformation.IsOSPlatform (OSPlatform.Windows))
{
Assert.NotNull (EscSeqUtils.GetParentProcess (Process.GetCurrentProcess ()));
}
else
{
Assert.Null (EscSeqUtils.GetParentProcess (Process.GetCurrentProcess ()));
}
}
[Fact]
public void ResizeArray_ConsoleKeyInfo ()
{