Added test for volume buttons
1 file changed
tree: b5722c9ed7d8d9c7e2f191c9960866d3f8dd810e
  1. accelerometer/
  2. audio/
  3. autotest/
  4. battery/
  5. camera/
  6. compass/
  7. contacts/
  8. events/
  9. location/
  10. misc/
  11. network/
  12. notification/
  13. sql/
  14. storage/
  15. cordova.js
  16. index.html
  17. LICENSE
  18. main.js
  19. master.css
  20. README.md
README.md

Mobile Spec Suite

These specs are designed to run inside the mobile device that implements it - it will fail in the DESKTOP browser.

These set of tests is designed to be used with Cordova. You should initialize a fresh Cordova repository for a target platform and then toss these files into the www folder, replacing the contents.

Make sure you include cordova-*.js in the www folder. You also need to edit cordova.js to reference the version of cordova-*.js file you are testing. For example, to test with cordova-0.9.6.1, edit the VERSION variable in the cordova.js file as follows:

var VERSION='0.9.6.1';

This is done so that you don't have to modify every HTML file when you want to test a new version of Cordova.

The goal is to test mobile device functionality inside a mobile browser. Where possible, the Cordova API lines up with HTML 5 spec. Maybe down the road we could use this spec for parts of HTML 5, too :)