cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <>
Subject [jira] [Resolved] (CB-4540) Improved battery test
Date Tue, 22 Jul 2014 18:36:38 GMT


Jesse MacFadyen resolved CB-4540.

    Resolution: Not a Problem

Tests have been updated and provide better coverage, as well as clarity.

> Improved battery test
> ---------------------
>                 Key: CB-4540
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Test
>          Components: mobile-spec
>    Affects Versions: 2.9.0
>            Reporter: Peter
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>         Attachments: index.html
> 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 was sent by Atlassian JIRA

View raw message