aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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().
* Add Vala BindingsRobert Tari2021-08-181-0/+30
| | | | | | | | | | | | - 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.
* Skip elipsizing if max characters are 0Robert Tari2021-06-211-2/+20
| | | | | | | | | | | - 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-161-1/+1
| | | | | | | | | | | | | 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.
* tests/CMakeLists.txt: Build unit tests with --no-pie CXXFLAG.Mike Gabriel2021-04-291-0/+2
|
* Revert "tests/: Don't run Lomiri related unit test, if library hasn't been ↵Marius Gripsgard2021-02-031-4/+0
| | | | bu…"
* tests/: Don't run Lomiri related unit test, if library hasn't been built ↵Mike Gabriel2021-02-031-0/+4
| | | | against lomiri-uri-dispatcher.
* tests/CMakeLists.txt: Add GMOCK_LIBRARIES to target_link_libraries().Mike Gabriel2021-01-151-0/+1
|
* Inital commitMarius Gripsgard2021-01-121-0/+14