Retired Document
Important: The information in this document is deprecated in Mac OS X v10.7 and should not be used for new development.
Stress Tests
Tests in this chapter involve hardware states such as power loss and the computer going to sleep. Read Common Steps for how to turn on data change alerts before running these tests.
Device Loses Power
Tests syncing while the device is low on power.
Steps
Add contacts and events in the computer.
Start a sync.
During sync, power off device (turn off the device or remove the battery).
After iSync reports a failed sync due to connection loss or not being able to connect, turn device on.
Sync.
Verify that the new contacts and events are on the device.
Computer Goes to Sleep
Tests syncing when the computer goes to sleep.
Steps
Sync.
Put computer to sleep while syncing.
Wake up computer.
Sync.
Verify that the device recovers from the lost connection and syncs correctly.
Sync to Device with Low Memory
Tests syncing when the device is low on memory.
Steps
Fill up the memory on the device to it’s capacity.
It should have no space for additional contacts or events.
Add contacts and events to the computer that exceeds the available memory on the device.
Sync.
iSync should report that the device is out of memory. If it fails to do so, it probably means that the device did not acknowledge the changes coming from the computer with the appropriate SyncML status code.
Device Out of Bluetooth Range
Tests syncing when the device is moved out of Bluetooth range.
Steps
Add contacts and events to the computer.
Start a sync.
During the sync, move the device out of Bluetooth range.
Verify that iSync displays an alert panel saying the device is out of Bluetooth range.
After a few moments, bring the device into Bluetooth range.
Sync.
Verify that the device recovers from the lost connection and syncs correctly.
Copyright © 2011 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2011-06-13