You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/08/08 04:04:47 UTC
[jira] [Created] (CB-4540) Improved battery test
Peter created CB-4540:
-------------------------
Summary: Improved battery test
Key: CB-4540
URL: https://issues.apache.org/jira/browse/CB-4540
Project: Apache Cordova
Issue Type: Test
Components: mobile-spec
Affects Versions: 2.9.0
Reporter: Peter
Assignee: Filip Maj
Priority: Minor
We have been doing some battery tests recently and I found it necessary to re-write the mobile-spec battery test to see better exactly what was happening.
The current mobile-spec battery test was difficult to use for a number of reasons, including:
* No indication which listeners are active made it hard to know what to expect
* No if/else in updateInfo function, so "crit" and "low" values were sometimes not updated
* No way to clear the displayed info so not always sure when it was updating
I would like to donate my updated test code (attached)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira