@@ -52,9 +52,9 @@ public void GetMlaunchInstallArguments (ApplePlatform platform, string runtimeId
5252 public static object [ ] GetMlaunchRunArgumentsTestCases ( )
5353 {
5454 return new object [ ] {
55- new object [ ] { ApplePlatform . iOS , "iossimulator-x64;iossimulator-arm64" , $ ":v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-{ SdkVersions . iOS . Replace ( '.' , '-' ) } ,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-16e " } ,
55+ new object [ ] { ApplePlatform . iOS , "iossimulator-x64;iossimulator-arm64" , $ ":v2:runtime=com.apple.CoreSimulator.SimRuntime.iOS-{ SdkVersions . iOS . Replace ( '.' , '-' ) } ,devicetype=com.apple.CoreSimulator.SimDeviceType.iPhone-.* " } ,
5656 new object [ ] { ApplePlatform . iOS , "ios-arm64" , "" } ,
57- new object [ ] { ApplePlatform . TVOS , "tvossimulator-arm64" , $ ":v2:runtime=com.apple.CoreSimulator.SimRuntime.tvOS-{ SdkVersions . TVOS . Replace ( '.' , '-' ) } ,devicetype=com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-3rd-generation-1080p " } ,
57+ new object [ ] { ApplePlatform . TVOS , "tvossimulator-arm64" , $ ":v2:runtime=com.apple.CoreSimulator.SimRuntime.tvOS-{ SdkVersions . TVOS . Replace ( '.' , '-' ) } ,devicetype=com.apple.CoreSimulator.SimDeviceType.Apple-TV-.* " } ,
5858 } ;
5959 }
6060
@@ -93,11 +93,11 @@ public void GetMlaunchRunArguments (ApplePlatform platform, string runtimeIdenti
9393 expectedArguments . Append ( device ) ;
9494 }
9595 expectedArguments . Append ( $ " --wait-for-exit:true") ;
96- Assert . AreEqual ( expectedArguments . ToString ( ) , mlaunchRunArguments ) ;
96+ Assert . That ( mlaunchRunArguments , Does . Match ( expectedArguments . ToString ( ) ) , "arguments" ) ;
9797
9898 var scriptContents = File . ReadAllText ( outputPath ) . Trim ( '\n ' ) ;
9999 var expectedScriptContents = mlaunchPath + " " + expectedArguments . ToString ( ) ;
100- Assert . AreEqual ( expectedScriptContents , scriptContents , "Script contents" ) ;
100+ Assert . That ( scriptContents , Does . Match ( expectedScriptContents ) , "Script contents" ) ;
101101 }
102102 }
103103}
0 commit comments