Retired Document
Important: The information in this document is deprecated in Mac OS X v10.7 and should not be used for new development.
Sync Mode Tests
The tests in this chapter cover the different sync modes. Read Common Steps for how to turn on data change alerts before running these tests.
These are the common steps specific to this chapter:
To perform an initial erase sync, choose “Erase data on device then sync” from the “For first sync” pop-up menu on the iSync window.
To perform a master reset device, follow the instructions in the device manufacturer’s manual.
To force a slow sync, launch Syncrospector, select the device from the Clients table, choose Slow Sync from the Sync Mode menu, and sync the device.
Master Reset Device and Sync
Tests syncing after a master reset of the device.
At the SyncML level, the device should reset its anchors for all the data classes. If it fails to do this properly, then iSync cannot determine if the device was reset and assumes that the user deliberately deleted all the records and iSync deletes all the records on the computer.
Steps
Add contacts, events, and tasks to the computer.
Perform an initial erase sync.
Perform a master reset of the device.
Force a slow sync.
No data change alert panels should appear during syncing.
Slow Sync Using Syncrospector
Tests slow syncing.
Steps
Add some contacts and events to the computer.
Sync.
Add a contact and an event to the device.
Sync.
Verify that a data change alert panel appears during syncing.
Force a slow sync.
Verify that no data change alert panel appears during syncing.
Pull the Truth Using Syncrospector
Tests the ability to refresh sync one data class or database while fast syncing the other.
Steps
Add contacts and events to the computer.
Sync.
Add contacts and events to the device.
Add contacts and events to the computer.
Launch Syncrospector.
Select the device in the Clients table.
Click Sync State in the lower pane and select all the Contacts entities—entity names that begin with
com.apple.contacts
.Choose Sync Mode > Pull the Truth.
Click the Sync button in Syncrospector.
The device should reset its contacts but not its calendars. The contacts on the device should be deleted and the changes to the calendars should be correctly applied to the computer. All the changes from the computer should be applied to the device.
Repeat steps 1-9 except select all the Calendars entities—entity names that begin with
com.apple.calendars
.
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-06-13