aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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-312-25/+10
|
* 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.
* add a test to make sure that the listener responds to a PropertiesChanged signalCharles Kerr2012-05-291-0/+62
|
* add tests for gsd GetDevices returning (a) no devices and (b) an errorCharles Kerr2012-05-291-130/+196
|
* add more tests to improve coverage: different device types, no primary deviceCharles Kerr2012-05-282-0/+62
|
* add a mock GSD.Power to handle the GetPower requestsCharles Kerr2012-05-281-1/+169
|
* use signals to decouple i-power and dbus-listenerCharles Kerr2012-05-271-32/+28
|
* Add skeleton test for IndicatorPowerDbusListenerCharles Kerr2012-05-272-0/+79
|
* add coverage for charging with >1 minute but <1 hour leftCharles Kerr2012-05-261-0/+9
|
* add coverage for DBusListener get_property()Charles Kerr2012-05-261-0/+17
|
* call g_object_run_dispose() in a standalone test to get coverage on the NULL ↵Charles Kerr2012-05-262-0/+2
| | | | / non-NULL branches of dispose()'s g_clear_pointer() calls
* extract-method to simplify testing the accessible textCharles Kerr2012-05-261-47/+45
|
* add coverage for various charging/discharging/charged statesCharles Kerr2012-05-261-3/+101
|
* first draft of adding tests for a discharging batteryCharles Kerr2012-05-261-0/+35
|
* make Jenkins happyCharles Kerr2012-05-251-2/+2
|
* modify IndicatorPower to use IndicatorPowerDevices internallyCharles Kerr2012-05-251-3/+28
|
* 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
|
* don't include the unit tests' code in coverage metricsCharles Kerr2012-05-241-3/+2
|
* add unit tests for getting/setting device propertiesCharles Kerr2012-05-241-0/+90
|
* first draft of getting GSettings working in the unit tests before the schema ↵Charles Kerr2012-05-242-4/+33
| | | | is installed.
* remove the g_clear_pointer() calls s.t. things will build and run on ↵Charles Kerr2012-05-242-5/+5
| | | | alesage's Jenkins setup running Precise
* add test-indicator.ccCharles Kerr2012-05-241-0/+52
|
* add a 'hello world' test for instantiating IndicatorPowerCharles Kerr2012-05-241-12/+25
|
* add private container struct IndicatorPowerDeviceCharles Kerr2012-05-243-0/+175