aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Manage DESKTOP_SESSION in unit testsRobert Tari2021-10-212-1/+40
|
* Fix tests to work when current desktop is the same as the one testedRobert Tari2021-09-172-1/+15
|
* GIR and Vala bindings: Properly detect GObjectIntrospection and Vala and ↵Mike Gabriel2021-09-021-6/+9
| | | | disable GIR and Vala if not found.
* tests/CMakeLists.txt: Add missing ${URL_DISPATCHER_LIBRARIES} to ↵Mike Gabriel2021-08-281-0/+1
| | | | target_link_libraries().
* tests/tst_utils.vala: Use older GLib.assert() API to make tests work ↵Mike Gabriel2021-08-281-18/+19
| | | | correctly when building against GLib 2.58.
* Add Vala BindingsRobert Tari2021-08-182-0/+87
| | | | | | | | | | | | - src/utils.h: Replace defined strings with static const chars - src/CMakeLists.txt: Add .gir and .vapi generation code - tetsts/CMakeLists.txt: Compile tst_utils_vala + add as test - CMakeLists.txt: Add tst_utils_vala to tests + add modules from cmake/ - cmake/FindGObjectIntrospection.cmake: Add file - cmake/FindVala.cmake.cmake: Add file - .build.yml: Add libgirepository1.0-dev, gobject-introspection, valac dependencies fixes https://github.com/AyatanaIndicators/libayatana-common/issues/22
* tests/CMakeLists.txt: Drop -no-pie from CXX_FLAGS and add it as a target ↵Mike Gabriel2021-08-051-2/+1
| | | | link option.
* Rename ayatana_common_utils_elipsize to ayatana_common_utils_ellipsizeRobert Tari2021-06-211-4/+4
|
* Skip elipsizing if max characters are 0Robert Tari2021-06-212-32/+40
| | | | | | | | | | | - data/org.ayatana.common.gschema.xml.in: Set min value to 0 + update description - src/utils.c: Include hadling max allowed length of 0 - tests/CMakeLists.txt: Compile schema locally for testing - tests/tst_utils.cpp: Include handling max allowed length of 0 - po/ayatana-common.pot: Update translation strings - po/*.po: Update translation strings fixes https://github.com/AyatanaIndicators/libayatana-common/issues/29
* Add ability to ellipsize dynamic menu item lengths.Robert Tari2021-06-162-1/+53
| | | | | | | | | | | | | Plus making the maximum length of non-ellipsized strings configurable via GSettings. - data/org.ayatana.common.gschema.xml.in: Add file. - data/CMakeLists.txt: Add file. - CMakeLists.txt: Add gio-2.0 dependency + 'data' build folder. - src/utils.*: Add ayatana_common_utils_elipsize function + include glib-object.h and gio.h - tests/tst_utils.cpp: Add StringFunctionsTest. - tests/CMakeLists.txt: Add GLIB_LIBRARIES to target.
* Prefix functions in utils with ayatana_common_utils_Robert Tari2021-05-121-14/+14
| | | | fixes https://github.com/AyatanaIndicators/libayatana-common/issues/18
* tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.Mike Gabriel2021-04-291-0/+2
|
* Add us to the copyright headersRobert Tari2021-03-301-0/+1
|
* Add Budgie desktop supportRobert Tari2021-03-301-0/+6
|
* Whitespace fixRobert Tari2021-03-301-5/+5
|
* Revert "tests/: Don't run Lomiri related unit test, if library hasn't been ↵Marius Gripsgard2021-02-032-6/+0
| | | | bu…"
* tests/: Don't run Lomiri related unit test, if library hasn't been built ↵Mike Gabriel2021-02-032-0/+6
| | | | against lomiri-uri-dispatcher.
* tests/CMakeLists.txt: Add GMOCK_LIBRARIES to target_link_libraries().Mike Gabriel2021-01-151-0/+1
|
* Inital commitMarius Gripsgard2021-01-122-0/+88