You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by Apache Wiki <wi...@apache.org> on 2012/04/20 00:47:01 UTC
[Cordova Wiki] Update of "iOSManualTests" by FilMaj
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "iOSManualTests" page has been changed by FilMaj:
http://wiki.apache.org/cordova/iOSManualTests?action=diff&rev1=4&rev2=5
Comment:
Factoring out common manual test tasks into top-level article
= iOS Manual Tests =
- 1. Test for the '''"offline"''', '''"online"''', '''"pause"''', and '''"resume"''' events (plus iOS specific '''"resign"''', '''"active"''' events)
- * offline/online - remove/add SIM card and/or turn off/on WiFi
- * pause/resume - press the Home button when a multi-tasking app is running, launch it back again
- * resign/active - lock/unlock the iOS device
-
- 2. Test for the '''"orientationchange"''' event
+ 1. Test for the '''"orientationchange"''' event
* Make sure in the project's Summary tab, you enable all orientations
* Handle the event, and write out text to an element regarding the orientation angle while you rotate the device and observe the value
* The value is read from '''window.orientation''', and valid values are: '''0, 180, -90, 90'''. The first two are portrait, the second two are landscape.
* Make sure you test this in the iOS 4.3 Simulator/Device as well as iOS 5
- 3. Test that you '''can rotate the device to an orientation''' when specified in the project's Info.plist
+ 2. Test that you '''can rotate the device to an orientation''' when specified in the project's Info.plist
* Cordova overrides '''- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation'''