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