| OLD | NEW |
| (Empty) |
| 1 Tests that adding a new devicemotion event listener from a callback works as exp
ected. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 TEST MODE enabled | |
| 7 PASS deviceMotionEvent.acceleration.x is mockAccelerationX | |
| 8 PASS deviceMotionEvent.acceleration.y is mockAccelerationY | |
| 9 PASS deviceMotionEvent.acceleration.z is mockAccelerationZ | |
| 10 PASS deviceMotionEvent.accelerationIncludingGravity.x is mockAccelerationIncludi
ngGravityX | |
| 11 PASS deviceMotionEvent.accelerationIncludingGravity.y is mockAccelerationIncludi
ngGravityY | |
| 12 PASS deviceMotionEvent.accelerationIncludingGravity.z is mockAccelerationIncludi
ngGravityZ | |
| 13 PASS deviceMotionEvent.rotationRate.alpha is mockRotationRateAlpha | |
| 14 PASS deviceMotionEvent.rotationRate.beta is mockRotationRateBeta | |
| 15 PASS deviceMotionEvent.rotationRate.gamma is mockRotationRateGamma | |
| 16 PASS deviceMotionEvent.interval is mockInterval | |
| 17 PASS successfullyParsed is true | |
| 18 | |
| 19 TEST COMPLETE | |
| 20 | |
| OLD | NEW |