Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: timelapse
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.849 kB
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
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
chargingtimechange event is raised
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
dischargingtimechange event is raised
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
levelchange event is raised
PASS battery.charging is false
PASS battery.chargingTime is Infinity
PASS battery.dischargingTime is 6000
PASS battery.level is 0.7
PASS successfullyParsed is true
TEST COMPLETE
Jump to Line
Something went wrong with that request. Please try again.