aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* use a symbolic constant for the low battery sound's filenamecharles kerr2021-08-281-1/+6
|
* create a data/sounds/ directory in the repo to hold Low battery.oggcharles kerr2021-08-281-6/+3
| | | | | We may be adding sounds for when we transition to battery charging/discharging, so set up a sounds/ directory now.
* update copyright years on changed/new filescharles kerr2021-08-281-1/+1
|
* add play-sound tests to test-notifycharles kerr2021-08-282-3/+39
|
* Use -no-pie build flag for tests onlyRobert Tari2021-08-101-2/+1
|
* tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.Mike Gabriel2021-05-031-0/+2
|
* Fix deprecations and build warnings.Robert Tari2020-09-042-3/+2
| | | | Fixes AyatanaIndicators/ayatana-indicator-power#9.
* Whitespace fixRobert Tari2020-09-031-4/+4
|
* tests/glib-fixture.h: Fix printf macro (%d -> %lu).Mike Gabriel2018-03-251-1/+1
|
* Use coverage support from cmake-extras.Rodney Dawes2018-03-161-1/+7
|
* Use gmock module from cmake-extras.Rodney Dawes2018-03-162-45/+3
|
* Make URL dispatcher build-dependency optional and handle battery settings ↵Mike Gabriel2018-03-121-1/+1
| | | | request appropriately.
* tests/CMakeLists.txt: Prohibit gschemas.compiled to be generated multiple times.Mike Gabriel2018-03-121-2/+6
| | | | Spotted by James Cowgill, see https://bugs.debian.org/892091.
* tests/test-device.cc: Fix failing tests after we have renamed DG_LOG_DOMAIN.Mike Gabriel2017-12-061-2/+2
|
* tests/CMakeLists.txt: Fix namespace in add_dependencies() call.Mike Gabriel2017-12-061-1/+1
|
* Fixup previous commit. More x-canonical-* type changes.Mike Gabriel2017-05-161-1/+1
|
* Make device with power supply has higher sorting priority. (LP: #1100546)Charles Kerr2017-05-152-50/+59
|
* Fix bug that chose the wrong header icon if a connected device has a charge ↵Charles Kerr2017-05-151-108/+268
| | | | but its charging/discharging state is unknown. (LP: #1470080).
* Fix the fallback power icon so the battery icon doesn't show red above 20% ↵Charles Kerr2017-05-151-27/+39
| | | | even when the Suru icon theme isn't present. Fixes: LP:#1559731.
* Fork from Ubuntu's indicator-power code project.Mike Gabriel2015-11-124-18/+18
|
* update manual testsCharles Kerr2015-01-121-1/+8
|
* round power level to the nearest 10% to take advantage of higher-resolution ↵Charles Kerr2015-01-121-2/+20
| | | | power level icons
* move the mock battery from GSettings to DBusCharles Kerr2014-10-141-7/+27
|
* update manual test notes for the mock batteryCharles Kerr2014-10-101-12/+8
|
* add gsettings for a mock battery to make QA tester's lives easierCharles Kerr2014-10-104-322/+0
|
* fix typo in manual testsCharles Kerr2014-09-111-3/+3
|
* add device-brightness-slider manual testCharles Kerr2014-09-111-0/+16
|
* run manual tests through test-case-format tidierCharles Kerr2014-09-111-42/+42
|
* add manual testsCharles Kerr2014-09-111-15/+47
|
* When the phone's battery goes down past a certain level, pop up a snap ↵Charles Kerr2014-09-091-4/+7
|\ | | | | | | | | | | decision to warn the user. Fixes: 1296431 Approved by: Ted Gould, PS Jenkins bot
| * on phone, add nonexpiring snap-decision popup on low battery events.Charles Kerr2014-09-081-4/+7
| |
* | fix typo introduced while trying to fix clang -Weverything warningsCharles Kerr2014-09-081-1/+1
| |
* | silence warnings generated by clang -WeverythingCharles Kerr2014-09-074-33/+33
|/
* sync with trunk.Charles Kerr2014-08-227-1/+894
|\
| * on the bus, publish the battery's power_level as strings rather than intsCharles Kerr2014-07-241-10/+10
| |
| * in notifier.c, fix potential callchain loop when closing a notificationCharles Kerr2014-07-241-5/+28
| |
| * d'ohCharles Kerr2014-07-241-1/+1
| |
| * in tests/glib-fixture.h, sync with the glib-fixture.h from ↵Charles Kerr2014-07-241-37/+40
| | | | | | | | indicator-transfer, it's got less '#if 0' cruft
| * add manual test case for using the indicator-power-service-cmdline-battery ↵Charles Kerr2014-07-221-0/+17
| | | | | | | | test utility
| * Make the when-does-power-level-change tests work whether or not Ephemeral ↵Charles Kerr2014-07-221-2/+2
| | | | | | | | notifications are being used.
| * add indicator-power-service-cmdline-battery, a manual test utility to test ↵Charles Kerr2014-07-224-0/+318
| | | | | | | | the indicator's behavior when a battery's state changes
| * copyediting: code cleanupCharles Kerr2014-07-221-69/+94
| |
| * add tests for events that change whether or not a 'low battery' notification ↵Charles Kerr2014-07-211-6/+91
| | | | | | | | is being shown
| * add tests to confirm that the DBus object's PowerLevel property changes at ↵Charles Kerr2014-07-211-77/+131
| | | | | | | | the right times (and only at the right times) when the battery is draining
| * copy the dbus-test-runner/dbusmock scaffolding for freedesktop Notifications ↵Charles Kerr2014-07-212-14/+316
| | | | | | | | from the indicator-datetime tests
| * add dbus-test-runner as a build dependency for testsCharles Kerr2014-07-211-1/+6
| |
| * sync with lp:indicator-powerCharles Kerr2014-07-211-1/+1
| |\
| * | add first draft of low battery notificationsCharles Kerr2014-07-162-0/+61
| | |
* | | 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
|/