[monotouch-test] Disable NSUbiquitousKeyValueStore test, since it doesn't work on watchOS.

This commit is contained in:
Rolf Bjarne Kvinge 2016-06-06 13:14:27 +02:00
Родитель df640e61cd
Коммит 26b1c27b81
1 изменённых файлов: 7 добавлений и 0 удалений

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

@ -28,6 +28,13 @@ namespace MonoTouchFixtures.Foundation {
[Test]
public void Indexer ()
{
#if __WATCHOS__
// Looks like NSUbiquitousKeyValueStore doesn't work on watchOS:
// http://stackoverflow.com/questions/37412775/nsubiquitouskeyvaluestore-is-unavailable-watchos-2
// https://forums.developer.apple.com/thread/47564
Assert.Ignore ("Doesn't work on watchOS");
#endif
using (var store = new NSUbiquitousKeyValueStore ()) {
using (var key = new NSString ("key")) {
using (var value = new NSString ("value")) {