Пример #1
0
 public void Default()
 {
     // watchOS does not allow `init` so we need to ensure that our default .ctor
     // match the existing `init*` with null values (so we can remove it)
     using (var mrzo = new CKFetchNotificationChangesOperation()) {
         Assert.That(op.PreviousServerChangeToken, Is.EqualTo(mrzo.PreviousServerChangeToken), "PreviousServerChangeToken");
         Assert.That(op.Completed, Is.EqualTo(mrzo.Completed), "Completed");
         Assert.That(op.NotificationChanged, Is.EqualTo(mrzo.NotificationChanged), "NotificationChanged");
     }
 }
Пример #2
0
 public void SetUp()
 {
     TestRuntime.AssertXcodeVersion(6, 0);
     op = new CKFetchNotificationChangesOperation(token);
 }
 public void SetUp()
 {
     TestRuntime.AssertXcodeVersion(6, 0);
     TestRuntime.AssertSystemVersion(PlatformName.MacOSX, 10, 10, throwIfOtherPlatform: false);
     op = new CKFetchNotificationChangesOperation(token);
 }