Skip to content

Commit

Permalink
Skip tests that need RemoteExecutor (#81231)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrozsival authored Jan 27, 2023
1 parent 9e7d3c0 commit 1022253
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void TestModuleProperties()
}
}

[Fact]
[ConditionalFact(typeof(RemoteExecutor), nameof(RemoteExecutor.IsSupported))]
[SkipOnPlatform(TestPlatforms.iOS | TestPlatforms.tvOS, "libproc is not supported on iOS/tvOS")]
public void Modules_Get_ContainsHostFileName()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ public void MachineName_GetNotStarted_ThrowsInvalidOperationException()
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()
{
Expand Down Expand Up @@ -1396,7 +1396,7 @@ public void StartInfo_SetOnRunningProcess_ThrowsInvalidOperationException()
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()
{
Expand Down

0 comments on commit 1022253

Please sign in to comment.