Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in TestDevice, make the log variable names a little more consistent | Charles Kerr | 2012-10-28 | 1 | -14/+14 |
| | |||||
* | set DeviceTest's gwarning/gcritical log func to one that prints no messages ↵ | Charles Kerr | 2012-10-28 | 1 | -0/+31 |
| | | | | but accumulates the log count. This way we can both (a) silence in-console warnings that look like bugs in the test but are actually desirable warnings generated by fuzz testing, and (b) assert that we get exactly as many warnings/criticals as we expect to get. | ||||
* | expand DeviceTest.ChoosePrimary to test choosing from a wider variety of ↵ | Charles Kerr | 2012-10-28 | 1 | -67/+44 |
| | | | | device states. | ||||
* | add test (currently failing) to detect the logic error reported in bug #1071757 | Charles Kerr | 2012-10-26 | 1 | -0/+16 |
| | |||||
* | fix comment typo | Charles Kerr | 2012-10-26 | 1 | -1/+1 |
| | |||||
* | Select the primary device based on the spec's criteria. Add tests to confirm. | Charles Kerr | 2012-10-26 | 1 | -0/+75 |
| | |||||
* | the device kind string wasn't being used in some icon names. | Charles Kerr | 2012-10-25 | 1 | -145/+196 |
| | |||||
* | when discharging the battery, prefer the percent-charged icons over the ↵ | Charles Kerr | 2012-10-03 | 1 | -7/+15 |
| | | | | full,good,low icons because the former show a more accurate view of the charge. | ||||
* | copyediting: text formatting to make the icon list more readable | Charles Kerr | 2012-09-05 | 1 | -3/+6 |
| | |||||
* | reimplement indicator_power_device_get_icon_names() since our CA is ↵ | Charles Kerr | 2012-06-06 | 1 | -17/+17 |
| | | | | incompatible with reusing code from GSD. | ||||
* | use C++-style comments in test-device.cc | Charles Kerr | 2012-06-01 | 1 | -32/+32 |
| | |||||
* | In indicator_power_device_get_time_details(), add a test for non-devices ↵ | Charles Kerr | 2012-06-01 | 1 | -1/+13 |
| | | | | being passed in. | ||||
* | Fix edge case in indicator_power_device_get_icon_names() that returned a bad ↵ | Charles Kerr | 2012-06-01 | 1 | -0/+3 |
| | | | | value if the caller passed in a NULL pointer as a device. Added regression test. | ||||
* | Add coverage test for AC Adapters in indicator_power_device_get_time_details() | Charles Kerr | 2012-06-01 | 1 | -0/+8 |
| | |||||
* | Add unit tests for indicator_power_device_get_time_details() | Charles Kerr | 2012-06-01 | 1 | -2/+87 |
| | |||||
* | remove IndicatorPowerDevice's now-unused device icon string. | Charles Kerr | 2012-05-31 | 1 | -12/+0 |
| | |||||
* | Add indicator_power_device_get_icon_names(). | Charles Kerr | 2012-05-31 | 1 | -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 Kerr | 2012-05-26 | 1 | -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 Kerr | 2012-05-24 | 1 | -1/+1 |
| | |||||
* | test passing bad non-NULL pointers to Device's accessors | Charles Kerr | 2012-05-24 | 1 | -6/+16 |
| | |||||
* | add unit tests confirming that the device accessor functions won't crash ↵ | Charles Kerr | 2012-05-24 | 1 | -0/+14 |
| | | | | when you pass NULL for the device | ||||
* | remove the tests that attempted to exercise the code removed in r151 | Charles Kerr | 2012-05-24 | 1 | -33/+2 |
| | |||||
* | add unit tests for getting/setting device properties | Charles Kerr | 2012-05-24 | 1 | -0/+90 |
| | |||||
* | remove the g_clear_pointer() calls s.t. things will build and run on ↵ | Charles Kerr | 2012-05-24 | 1 | -4/+4 |
| | | | | alesage's Jenkins setup running Precise | ||||
* | add private container struct IndicatorPowerDevice | Charles Kerr | 2012-05-24 | 1 | -0/+99 |