mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2026-01-02 01:03:29 +01:00
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:
@@ -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 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user