Retired Document
Important: The information in this document is deprecated in Mac OS X v10.7 and should not be used for new development.
Cancellation Tests
Tests canceling syncs during different states. Read Common Steps for how to turn on data change alerts before running these tests.
These are common steps specific to this chapter:
To perform an initial merge sync, choose “Merge data on computer and device” from the “For first sync” menu in the iSync window.
To perform an initial erase sync, choose “Erase data on device and then sync” from the “For first sync” menu in the iSync window.
Cancel Erase Sync from Computer
Tests canceling an initial erase sync with contacts and events on the computer.
Steps
Add contacts to the computer.
Add events to the computer.
Perform an initial erase sync.
When a connection is made to the device, immediately cancel the sync using iSync.
Add a contact to the device.
Sync.
The device should recover from the first sync—that is, from the device’s point of view, abort between SyncML package 1 and package 3.
Cancel Merge Sync from Computer
Tests canceling an initial merge sync with contacts and events on the computer.
Steps
Add contacts to the computer.
Add events to the computer.
Perform an initial merge sync.
When a connection is made to the device, immediately cancel the sync using iSync.
Add a contact to the device.
Sync.
The device should recover from the first sync—that is, from the device’s point of view, abort between SyncML package 1 and package 3.
Cancel Merge Sync from DCA and Sync
Tests canceling a merge sync with records on both the device and the computer.
Steps
Add contacts and events to the device.
Add contacts and events to the computer.
Perform an initial merge sync.
When the data change alert (DCA) panel appears, press the Cancel button.
Sync.
The device should recover from the first sync that is, from the device’s point of view, aborted after the end of the SyncML package 3 but before receiving package 4.
Cancel Merge Sync from Device
Tests what should happen when a user cancels an initial merge sync from the device.
Steps
Add contacts and events to the computer.
Perform an initial merge sync.
When a connection is made to the device, immediately cancel the sync from the device (if possible).
Add a contact to the device.
Sync.
The device should recover and correctly perform the last sync.
Repeat steps 1-6 and cancel at various stages during the sync.
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-06-13