@@ -255,8 +255,8 @@ - (void)testRunTestsAction
255
255
tool.arguments = @[@" -project" , TEST_DATA @" TestProject-Library/TestProject-Library.xcodeproj" ,
256
256
@" -scheme" , @" TestProject-Library" ,
257
257
@" -configuration" , @" Debug" ,
258
- @" -sdk" , @" iphonesimulator6.0 " ,
259
- @" -destination" , @" arch=i386" ,
258
+ @" -sdk" , @" iphonesimulator " ,
259
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
260
260
@" run-tests" ,
261
261
@" -reporter" , @" plain" ,
262
262
];
@@ -270,8 +270,8 @@ - (void)testRunTestsAction
270
270
assertThat ([launchedTasks[0 ] arguments ],
271
271
equalTo (@[
272
272
@" -configuration" , @" Debug" ,
273
- @" -sdk" , @" iphonesimulator6.0 " ,
274
- @" -destination" , @" arch=i386" ,
273
+ @" -sdk" , @" iphonesimulator6.1 " ,
274
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
275
275
@" -destination-timeout" , @" 10" ,
276
276
@" PLATFORM_NAME=iphonesimulator" ,
277
277
@" -project" , TEST_DATA @" TestProject-Library/TestProject-Library.xcodeproj" ,
@@ -414,7 +414,7 @@ - (void)testRunTestsActionAgainstProjectWithNonExistingTargetInScheme
414
414
@" -scheme" , scheme,
415
415
@" -configuration" , @" Debug" ,
416
416
@" -sdk" , @" iphonesimulator" ,
417
- @" -destination" , @" arch=i386" ,
417
+ @" -destination" , @" arch=i386,name=iPhone 5 " ,
418
418
@" run-tests" ,
419
419
@" -reporter" , @" plain" ,
420
420
];
@@ -428,7 +428,7 @@ - (void)testRunTestsActionAgainstProjectWithNonExistingTargetInScheme
428
428
assertThat ([launchedTasks[0 ] arguments ], equalTo (@[
429
429
@" -configuration" , @" Debug" ,
430
430
@" -sdk" , @" iphonesimulator6.1" ,
431
- @" -destination" , @" arch=i386" ,
431
+ @" -destination" , @" arch=i386,name=iPhone 5 " ,
432
432
@" -destination-timeout" , @" 10" ,
433
433
@" PLATFORM_NAME=iphonesimulator" ,
434
434
@" -project" , projectPath,
@@ -489,8 +489,8 @@ - (void)testRunTestsActionWithListTestsOnlyOption
489
489
@" -project" , projectPath,
490
490
@" -scheme" , scheme,
491
491
@" -configuration" , @" Debug" ,
492
- @" -sdk" , @" iphonesimulator6.0 " ,
493
- @" -destination" , @" arch=i386" ,
492
+ @" -sdk" , @" iphonesimulator " ,
493
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
494
494
@" run-tests" ,
495
495
@" listTestsOnly" ,
496
496
@" -reporter" , @" json-stream"
@@ -559,8 +559,8 @@ - (void)testCanRunTestsAgainstDifferentTestSDK
559
559
@" -project" , projectPath,
560
560
@" -scheme" , scheme,
561
561
@" -configuration" , @" Debug" ,
562
- @" -sdk" , @" iphonesimulator6.0 " ,
563
- @" -destination" , @" arch=i386" ,
562
+ @" -sdk" , @" iphonesimulator " ,
563
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
564
564
@" run-tests" , @" -test-sdk" , @" iphonesimulator5.0" ,
565
565
@" -reporter" , @" plain" ,
566
566
];
@@ -575,7 +575,7 @@ - (void)testCanRunTestsAgainstDifferentTestSDK
575
575
assertThat ([launchedTasks[0 ] arguments ], equalTo (@[
576
576
@" -configuration" , @" Debug" ,
577
577
@" -sdk" , @" iphonesimulator5.0" ,
578
- @" -destination" , @" arch=i386" ,
578
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
579
579
@" -destination-timeout" , @" 10" ,
580
580
@" PLATFORM_NAME=iphonesimulator" ,
581
581
@" -project" , projectPath,
@@ -645,8 +645,8 @@ - (void)testCanSelectSpecificTestClassOrTestMethodsWithOnlyAndOmit
645
645
@" -project" , projectPath,
646
646
@" -scheme" , scheme,
647
647
@" -configuration" , @" Debug" ,
648
- @" -sdk" , @" iphonesimulator6.0 " ,
649
- @" -destination" , @" arch=i386" ,
648
+ @" -sdk" , @" iphonesimulator " ,
649
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
650
650
@" run-tests"
651
651
] mutableCopy ];
652
652
for (NSString *value in values) {
@@ -963,7 +963,7 @@ - (void)testConfigurationIsTakenFromScheme
963
963
@" -scheme" , @" TestProject-Library" ,
964
964
@" -sdk" , @" iphonesimulator" ,
965
965
@" -arch" , @" i386" ,
966
- @" -destination" , @" arch=i386" ,
966
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
967
967
@" run-tests" ,
968
968
@" -reporter" , @" plain" ,
969
969
];
@@ -980,7 +980,7 @@ - (void)testConfigurationIsTakenFromScheme
980
980
@" iphonesimulator6.1" ,
981
981
@" -arch" ,
982
982
@" i386" ,
983
- @" -destination" , @" arch=i386" ,
983
+ @" -destination" , @" arch=i386,name=iPhone 5s " ,
984
984
@" -destination-timeout" , @" 10" ,
985
985
@" PLATFORM_NAME=iphonesimulator" ,
986
986
@" -project" ,
0 commit comments