diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-03-30 15:52:26 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-03-30 15:52:26 +0200 |
commit | 4cba4714cb1df0252da2ea63311c9b933b9c4fdf (patch) | |
tree | 7a468d1cc4837d275adf66b726e9d216e3663194 /tests | |
parent | e3cb90d2da86fa15aaad0f42af398468d2fa4899 (diff) | |
parent | bc3517bb367cd789e75f788757367d2b468f1ba6 (diff) | |
download | libayatana-common-4cba4714cb1df0252da2ea63311c9b933b9c4fdf.tar.gz libayatana-common-4cba4714cb1df0252da2ea63311c9b933b9c4fdf.tar.bz2 libayatana-common-4cba4714cb1df0252da2ea63311c9b933b9c4fdf.zip |
Merge branch 'revert-1-pr/no-lomiri-tests-without-url-dispatcher'
Attributes GH PR #7: https://github.com/AyatanaIndicators/libayatana-common/pull/7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tests/tst_utils.cpp | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index fb77924..1c5d318 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,9 +1,5 @@ find_package(GMock) -if(URLDISPATCHER_FOUND) - add_definitions( -DHAS_URLDISPATCHER ) -endif() - include_directories( ${CMAKE_SOURCE_DIR}/src ) diff --git a/tests/tst_utils.cpp b/tests/tst_utils.cpp index ac671f0..d7a4946 100644 --- a/tests/tst_utils.cpp +++ b/tests/tst_utils.cpp @@ -35,14 +35,12 @@ public: } }; -#ifdef HAS_URLDISPATCHER TEST_F(XdgCurrentDesktopUtilsTest, isLomiri) { EXPECT_FALSE(is_lomiri()); setenv("XDG_CURRENT_DESKTOP", "Lomiri", 1); EXPECT_TRUE(is_lomiri()); } -#endif TEST_F(XdgCurrentDesktopUtilsTest, isGnome) { |