aboutsummaryrefslogtreecommitdiff
path: root/tests/test-device.cc
Commit message (Expand)AuthorAgeFilesLines
* tests/test-device.cc: Add missing headerRobert Tari2022-09-021-1/+3
* Whitespace fixRobert Tari2022-09-021-2/+2
* fix cmake warning of the test apps' dependency on the service libraryCharles Kerr2021-08-281-2/+2
* tests/test-device.cc: Fix failing tests after we have renamed DG_LOG_DOMAIN.Mike Gabriel2017-12-061-2/+2
* Make device with power supply has higher sorting priority. (LP: #1100546)Charles Kerr2017-05-151-47/+53
* Fix bug that chose the wrong header icon if a connected device has a charge b...Charles Kerr2017-05-151-108/+268
* Fix the fallback power icon so the battery icon doesn't show red above 20% ev...Charles Kerr2017-05-151-27/+39
* Fork from Ubuntu's indicator-power code project.Mike Gabriel2015-11-121-2/+2
* round power level to the nearest 10% to take advantage of higher-resolution p...Charles Kerr2015-01-121-2/+20
* fix typo introduced while trying to fix clang -Weverything warningsCharles Kerr2014-09-081-1/+1
* silence warnings generated by clang -WeverythingCharles Kerr2014-09-071-29/+29
* sync unit tests.Charles Kerr2014-07-291-8/+8
* replace 'std::vector<unsigned>' with 'std::vector<unsigned int>' for readabilityCharles Kerr2014-07-171-1/+1
* fix some compiler warnings generated by clang static analyzerCharles Kerr2014-07-131-2/+2
* prefer the 'battery-020-charging' icon to the 'battery-low-charging' one beca...Charles Kerr2014-05-051-5/+10
* sync to lp:indicator-powerCharles Kerr2014-03-251-21/+36
|\
| * when expecting a NULL string, use EXPECT_EQ(NULL, str)Charles Kerr2014-03-131-5/+17
| * in the new indicator_power_device_get_*() functions, use heap-allocated strin...Charles Kerr2014-03-131-21/+24
* | when choosing a primary device and more than one battery is found, accumulate...Charles Kerr2014-03-191-65/+95
|/
* update the header / menuitem text / accessible text to reflect the changes in...Charles Kerr2014-03-041-40/+112
* use the correct battery icon when charging/dischargingCharles Kerr2013-10-011-12/+12
* update the tests to look at the 24 hour thresholdCharles Kerr2013-08-231-3/+3
* copyediting: remove trailing spaces in source codeCharles Kerr2013-08-221-11/+11
* add show-percentage feature, basing off Haw Loeung's patch.Charles Kerr2013-08-221-33/+79
* get test-devices building and passing again.Charles Kerr2013-06-171-10/+10
* first steps at fixing the tests that broke during GMenuificationCharles Kerr2013-06-161-3/+4
* remove g_type_init() calls and bump glib minimum to 2.35.4, where g_type_init...Charles Kerr2013-01-171-26/+0
* explicitly cast integral values to the correct type when passing them to a va...Charles Kerr2012-11-161-4/+4
* modify DeviceTest.Labels s.t. it fails (currently failing) if the 'short' str...Charles Kerr2012-11-071-1/+1
* in TestDevice.ChoosePrimary, add another test (currently failing) to confirm ...Charles Kerr2012-11-061-0/+1
* add unit test (currently failing) to test for the bug reported in LP bug #107...Charles Kerr2012-11-061-11/+15
* in TestDevice, make the log variable names a little more consistentCharles Kerr2012-10-281-14/+14
* set DeviceTest's gwarning/gcritical log func to one that prints no messages b...Charles Kerr2012-10-281-0/+31
* expand DeviceTest.ChoosePrimary to test choosing from a wider variety of devi...Charles Kerr2012-10-281-67/+44
* add test (currently failing) to detect the logic error reported in bug #1071757Charles Kerr2012-10-261-0/+16
* fix comment typoCharles Kerr2012-10-261-1/+1
* Select the primary device based on the spec's criteria. Add tests to confirm.Charles Kerr2012-10-261-0/+75
* the device kind string wasn't being used in some icon names.Charles Kerr2012-10-251-145/+196
* when discharging the battery, prefer the percent-charged icons over the full,...Charles Kerr2012-10-031-7/+15
* copyediting: text formatting to make the icon list more readableCharles Kerr2012-09-051-3/+6
* reimplement indicator_power_device_get_icon_names() since our CA is incompati...Charles Kerr2012-06-061-17/+17
* use C++-style comments in test-device.ccCharles Kerr2012-06-011-32/+32
* In indicator_power_device_get_time_details(), add a test for non-devices bein...Charles Kerr2012-06-011-1/+13
* Fix edge case in indicator_power_device_get_icon_names() that returned a bad ...Charles Kerr2012-06-011-0/+3
* Add coverage test for AC Adapters in indicator_power_device_get_time_details()Charles Kerr2012-06-011-0/+8
* Add unit tests for indicator_power_device_get_time_details()Charles Kerr2012-06-011-2/+87
* remove IndicatorPowerDevice's now-unused device icon string.Charles Kerr2012-05-311-12/+0
* Add indicator_power_device_get_icon_names().Charles Kerr2012-05-311-5/+196
* call g_object_run_dispose() in a standalone test to get coverage on the NULL ...Charles Kerr2012-05-261-0/+1
* ah, c++ is too smart for the last commit's implicit conversion.Charles Kerr2012-05-241-1/+1