File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/libraries/System.Diagnostics.Process/tests Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void TestModuleProperties()
3030 }
3131 }
3232
33- [ Fact ]
33+ [ ConditionalFact ( typeof ( RemoteExecutor ) , nameof ( RemoteExecutor . IsSupported ) ) ]
3434 [ SkipOnPlatform ( TestPlatforms . iOS | TestPlatforms . tvOS , "libproc is not supported on iOS/tvOS" ) ]
3535 public void Modules_Get_ContainsHostFileName ( )
3636 {
Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ public void MachineName_GetNotStarted_ThrowsInvalidOperationException()
550550 Assert . Throws < InvalidOperationException > ( ( ) => process . MachineName ) ;
551551 }
552552
553- [ Fact ]
553+ [ ConditionalFact ( typeof ( RemoteExecutor ) , nameof ( RemoteExecutor . IsSupported ) ) ]
554554 [ SkipOnPlatform ( TestPlatforms . iOS | TestPlatforms . tvOS , "libproc is not supported on iOS/tvOS" ) ]
555555 public void TestMainModule ( )
556556 {
@@ -1396,7 +1396,7 @@ public void StartInfo_SetOnRunningProcess_ThrowsInvalidOperationException()
13961396 Assert . True ( process . WaitForExit ( WaitInMS ) ) ;
13971397 }
13981398
1399- [ Fact ]
1399+ [ ConditionalFact ( typeof ( RemoteExecutor ) , nameof ( RemoteExecutor . IsSupported ) ) ]
14001400 [ SkipOnPlatform ( TestPlatforms . iOS | TestPlatforms . tvOS , "libproc is not supported on iOS/tvOS" ) ]
14011401 public void StartInfo_SetGet_ReturnsExpected ( )
14021402 {
You can’t perform that action at this time.
0 commit comments