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 deviceOrientationEvent.acceleration.x is mockAccelerationX |
| 8 PASS deviceOrientationEvent.acceleration.y is mockAccelerationY |
| 9 PASS deviceOrientationEvent.acceleration.z is mockAccelerationZ |
| 10 PASS deviceOrientationEvent.accelerationIncludingGravity.x is mockAccelerationIn
cludingGravityX |
| 11 PASS deviceOrientationEvent.accelerationIncludingGravity.y is mockAccelerationIn
cludingGravityY |
| 12 PASS deviceOrientationEvent.accelerationIncludingGravity.z is mockAccelerationIn
cludingGravityZ |
| 13 PASS deviceOrientationEvent.rotationRate.alpha is mockRotationRateAlpha |
| 14 PASS deviceOrientationEvent.rotationRate.beta is mockRotationRateBeta |
| 15 PASS deviceOrientationEvent.rotationRate.gamma is mockRotationRateGamma |
| 16 PASS deviceOrientationEvent.interval is mockInterval |
| 17 PASS successfullyParsed is true |
| 18 |
| 19 TEST COMPLETE |
OLD | NEW |