aboutsummaryrefslogtreecommitdiff
path: root/tests/test-device.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add indicator_power_device_get_icon_names().Charles Kerr2012-05-311-5/+196
| | | | | | | The main goal of this change is to make it possible to test the device's icon. A secondary goal is to clarify in the code how indicator-power's icons differ from the ones recommended by GSD.
* call g_object_run_dispose() in a standalone test to get coverage on the NULL ↵Charles Kerr2012-05-261-0/+1
| | | | / non-NULL branches of dispose()'s g_clear_pointer() calls
* ah, c++ is too smart for the last commit's implicit conversion.Charles Kerr2012-05-241-1/+1
|
* test passing bad non-NULL pointers to Device's accessorsCharles Kerr2012-05-241-6/+16
|
* add unit tests confirming that the device accessor functions won't crash ↵Charles Kerr2012-05-241-0/+14
| | | | when you pass NULL for the device
* remove the tests that attempted to exercise the code removed in r151Charles Kerr2012-05-241-33/+2
|
* add unit tests for getting/setting device propertiesCharles Kerr2012-05-241-0/+90
|
* remove the g_clear_pointer() calls s.t. things will build and run on ↵Charles Kerr2012-05-241-4/+4
| | | | alesage's Jenkins setup running Precise
* add private container struct IndicatorPowerDeviceCharles Kerr2012-05-241-0/+99