[tests] Fix MoviePlayerControllerTest for it's classic only test (broke on iOS 10 beta 3) (#443)

This commit is contained in:
Sebastien Pouliot 2016-07-20 08:15:09 -04:00 коммит произвёл GitHub
Родитель c87be8b279
Коммит 5fd99350df
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -36,6 +36,10 @@ namespace MonoTouchFixtures.MediaPlayer {
if (!UIDevice.CurrentDevice.CheckSystemVersion (7,0))
Assert.Inconclusive ("Requires 7.0+");
// NSInvalidArgumentException +[MPMoviePlayerController preparePrerollAds]: unrecognized selector sent to class 0x109c46b48
if (UIDevice.CurrentDevice.CheckSystemVersion (10, 0))
Assert.Ignore ("Broken on iOS 10 beta 3");
MPMoviePlayerController mpc = null;
mpc.PreparePrerollAds ();
}