aboutsummaryrefslogtreecommitdiff
path: root/tests/unit
Commit message (Collapse)AuthorAgeFilesLines
* data/: Rename org.ayatana.display.gschema.xml.in to ↵Mike Gabriel2022-09-081-2/+2
| | | | org.ayatana.indicator.display.gschema.xml. Fix and simplify translations of .gschema.xml strings with it.
* tests/unit: fix cmake custom command race conditionRatchanan Srirattanamet2022-03-071-1/+8
| | | | | | | | | | | | | | | | | | | CMake's documentation says [1]: > Do not list the output in more than one independent target that may > build in parallel or the two instances of the rule may conflict > (instead use the add_custom_target() command to drive the command and > make the other targets depend on that one). Because gschemas.compiled will be referenced multiple times independently, a level of redirection is needed to prevent CMake from generating the rule for the file multiple times. This is encountered in ayatana-indicator-power as well, and fixed in a similar way [2]. [1] https://cmake.org/cmake/help/latest/command/add_custom_command.html#generating-files [2] https://github.com/AyatanaIndicators/ayatana-indicator-power/commit/9a90f932e51db486b166dd38f00e4186e40a1aee
* GSettings: Use org.ayatana.display.gschema.xml for non-Lomiri sessions and ↵Mike Gabriel2021-11-191-5/+2
| | | | | | | | unit tests. Additionally, internationalize the org.ayatana.display GSettings schema. Fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/39
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-091-3/+3
|
* Rename com.ubuntu.touch.system to com.lomiri.touch.systemRobert Tari2021-11-011-2/+2
|
* Raname x-canonical properties to x-ayatanaRobert Tari2021-10-271-3/+3
|
* Fix failing buildRobert Tari2021-08-121-1/+4
| | | | | | | | - src/rotation-lock.cpp: Fix double declaration of create_desktop_menu - tests/CMakeLists.txt: Add uninitDerivedMemberVar and unmatchedSuppression suppressions to cppcheck - tests/unit/rotation-lock-test.cpp: Fix and expand test fixes https://github.com/AyatanaIndicators/ayatana-indicator-display/issues/24
* Use -no-pie build flag for tests onlyRobert Tari2021-08-101-0/+2
|
* tests/unit/adbd-client-test.cpp: white-space fixMike Gabriel2021-08-041-1/+1
|
* cppcheck: Add several missing override statements to make cppcheck happy ↵Mike Gabriel2021-08-042-3/+3
| | | | (which is one of our unit tests).
* Fork from Ubuntus' indicator-display project.Mike Gabriel2017-11-282-8/+36
|
* Make coverage reporting work.Rodney Dawes2017-02-071-0/+7
|
* remove the temporary tracers from r34 and r35Charles Kerr2016-10-191-8/+0
|
* sync with lp:~charlesk/indicator-display/lp-1572545-prompt-in-lockscreenCharles Kerr2016-09-223-9/+167
|\
| * sync tests to r33 changesCharles Kerr2016-04-271-8/+3
| |
| * don't prompt when the greeter's not running yet: change greeter's payload ↵Charles Kerr2016-04-221-12/+17
| | | | | | | | from an 'is_active' bool to a three-value state of active, inactive, and unavailable
| * tell glib not to exit when the gdbusconnection is closedCharles Kerr2016-04-211-0/+13
| |
| * code cleanup to prepare for MRCharles Kerr2016-04-211-25/+15
| |
| * don't pass a GDBusConnection to the Greeter ctorCharles Kerr2016-04-211-5/+5
| |
| * add unit tests for greeterCharles Kerr2016-04-202-0/+156
| |
* | more g_debug() tracersCharles Kerr2016-09-221-5/+8
| |
* | in UsbSnapTest, explicitly disconnect the core::Signals at the end of the testCharles Kerr2016-09-221-1/+2
| |
* | in AdbdClientTest, raise the test timeout interval from 2s to 5sCharles Kerr2016-09-221-1/+1
| |
* | in AdbdClientDest, explicitly disconnect the core::Signals at the end of the ↵Charles Kerr2016-09-221-1/+2
| | | | | | | | test
* | more g_debug() tracersCharles Kerr2016-09-221-0/+5
|/
* replace text 'Deny' with 'Don't Allow' for consistency with other permission ↵Charles Kerr2016-03-231-1/+1
| | | | prompts
* if our USB device is disconnected while prompting the user for ADBD, cancel ↵Charles Kerr2016-03-211-1/+0
| | | | the prompt.
* introduce a QtFixture gtest base class to reduce redundancy in test ↵Charles Kerr2016-03-172-30/+6
| | | | fixtures' helper/util code
* de-dupe use of dbus namesCharles Kerr2016-03-171-6/+7
|
* add tests/utils/qdbus-helpers.h so that we only define qDBusArgumentToMap() ↵Charles Kerr2016-03-171-14/+1
| | | | in one place
* use cmake's find_package(Threads) output everywhere instead of just in src/Charles Kerr2016-03-151-2/+2
|
* oops, last commit's diagnosis was incorrect. The timing test issue came from ↵Charles Kerr2016-03-151-1/+1
| | | | async dbus handling interfering with fast setup/teardown of automated tests. Revert the last change and fix by setting up the dbus signal subscription immediately upon getting the dbus connection.
* fix test timing issue, had max timeout at 1 sec for listening for fdo ↵Charles Kerr2016-03-151-1/+1
| | | | notification user response, but the tests on the phone are sometimes too slow for that timeout
* in tests/unit/adbd-client-test.cpp, fix tmpl character buffer intialization ↵Charles Kerr2016-03-151-4/+2
| | | | for g++ 4.9x
* add new CMakeLists.txt files in tests/utils/ and tests/unit/Charles Kerr2016-03-151-0/+34
|
* add UsbManagerCharles Kerr2016-03-102-48/+12
|
* cmake and test directory cleanupCharles Kerr2016-03-103-0/+374