Assert.Throws<InvalidOperationException>(() => process.MachineName);
}
- [Fact]
+ [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[SkipOnPlatform(TestPlatforms.iOS | TestPlatforms.tvOS, "libproc is not supported on iOS/tvOS")]
public void TestMainModule()
{
Assert.True(process.WaitForExit(WaitInMS));
}
- [Fact]
+ [ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[SkipOnPlatform(TestPlatforms.iOS | TestPlatforms.tvOS, "libproc is not supported on iOS/tvOS")]
public void StartInfo_SetGet_ReturnsExpected()
{