OLD | NEW |
1 Test battery status API with multiple windows. | 1 Test battery status API with multiple windows. |
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 resolution in window | 6 resolution in window |
7 PASS batteryInfo is defined. | 7 PASS batteryInfo is defined. |
8 PASS mockBatteryInfo is defined. | 8 PASS lastSetMockBatteryInfo is defined. |
9 PASS batteryInfo.charging is mockBatteryInfo.charging | 9 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging |
10 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime | 10 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime |
11 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime | 11 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime |
12 PASS batteryInfo.level is mockBatteryInfo.level | 12 PASS batteryInfo.level is lastSetMockBatteryInfo.level |
13 resolution in secondWindow | 13 resolution in secondWindow |
14 PASS batteryInfo is defined. | 14 PASS batteryInfo is defined. |
15 PASS mockBatteryInfo is defined. | 15 PASS lastSetMockBatteryInfo is defined. |
16 PASS batteryInfo.charging is mockBatteryInfo.charging | 16 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging |
17 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime | 17 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime |
18 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime | 18 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime |
19 PASS batteryInfo.level is mockBatteryInfo.level | 19 PASS batteryInfo.level is lastSetMockBatteryInfo.level |
20 PASS successfullyParsed is true | 20 PASS successfullyParsed is true |
21 | 21 |
22 TEST COMPLETE | 22 TEST COMPLETE |
23 | 23 |
OLD | NEW |