basic-all-types-of-events-expected.txt 849 Bytes
Newer Older
1 2 3 4 5 6
Tests the basic operation of all BatteryStatus events.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


chargingchange event is raised
7 8 9 10
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
11
chargingtimechange event is raised
12 13 14 15
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
16
dischargingtimechange event is raised
17 18 19 20
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
21
levelchange event is raised
22 23 24 25
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
26 27 28 29
PASS successfullyParsed is true

TEST COMPLETE