aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adding basic acceptance testsTed Gould2014-01-311-0/+24
|
* 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-223-25/+25
|
* 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-173-59/+63
|
* first steps at fixing the tests that broke during GMenuificationCharles Kerr2013-06-162-9/+6
|
* Make use of XORG_GTEST_LDFLAGS that xorg-gtest can export to know whether ↵Mathieu Trudel-Lapierre2013-03-051-0/+1
| | | | there are extra libraries we should link against.
* Fix path to gtest sources.Mathieu Trudel-Lapierre2013-01-221-2/+2
|
* remove g_type_init() calls and bump glib minimum to 2.35.4, where ↵Charles Kerr2013-01-173-46/+0
| | | | g_type_init() is deprecated
* explicitly cast integral values to the correct type when passing them to a ↵Charles Kerr2012-11-161-4/+4
| | | | varargs function.
* modify DeviceTest.Labels s.t. it fails (currently failing) if the 'short' ↵Charles Kerr2012-11-071-1/+1
| | | | string for an AC Adapter is nonempty.
* in TestDevice.ChoosePrimary, add another test (currently failing) to confirm ↵Charles Kerr2012-11-061-0/+1
| | | | that when indicator-datetime is choosing from devices that are neither charging nor discharging, batteries are more interesting than other devices, and other devices are more interesting than UP_DEVICE_KIND_LINE_POWER
* add unit test (currently failing) to test for the bug reported in LP bug ↵Charles Kerr2012-11-061-11/+15
| | | | #1075192
* 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 ↵Charles Kerr2012-10-281-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 Kerr2012-10-281-67/+44
| | | | device states.
* 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
|
* silence the known/nonbug gtk and glib warningsCharles Kerr2012-10-261-0/+12
|
* add unit tests to confirm the device refcounts are correct s.t. ↵Charles Kerr2012-10-261-0/+2
| | | | IndicatorPower isn't leaking devices
* 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 ↵Charles Kerr2012-10-031-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 readableCharles Kerr2012-09-051-3/+6
|
* disable test-dbus-listener for nowCharles Kerr2012-07-031-5/+5
|
* reimplement indicator_power_device_get_icon_names() since our CA is ↵Charles Kerr2012-06-061-17/+17
| | | | incompatible with reusing code from GSD.
* 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 ↵Charles Kerr2012-06-011-1/+13
| | | | being passed in.
* Fix edge case in indicator_power_device_get_icon_names() that returned a bad ↵Charles Kerr2012-06-011-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 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
|