aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update notification tests to wait for the needed bus events instead of ↵Charles Kerr2021-07-013-513/+48
| | | | waiting for arbitrary time intervals
* add a DBusMock test Fixture with helper functions to wait for arbitrary bus ↵Charles Kerr2021-07-012-47/+162
| | | | method calls
* in the GLib test Fixture, add helper functions to wait for arbitrary events ↵Charles Kerr2021-07-011-0/+88
| | | | and bus events
* in settings-live.cpp, use std::string instead of auto to make g++ 4.9.2 ↵Charles Kerr2021-07-011-2/+2
| | | | happy on vivid
* add notification title, icon checks to test-notification's battery of test ↵Charles Kerr2021-07-012-16/+43
| | | | combinations
* adjust title and notification icon according to the event typeDavid Barth2021-07-011-2/+9
|
* Move notifications tests into a new unit test. Extract notifications test ↵Charles Kerr2021-07-015-349/+823
| | | | fixture into a reusable header.
* add explanation comments to test-snapCharles Kerr2021-07-011-10/+11
|
* in test-snap, move new tests to bottom to avoid confusing diffCharles Kerr2021-07-011-0/+71
|
* add combinatorial tests to check how snap behaves under system settings, ↵Charles Kerr2021-07-011-17/+86
| | | | event types, etc
* add Settings tests for blacklisting apps' notificationsCharles Kerr2021-06-301-0/+49
|
* in LiveSettings, add gschema support for notification app blacklistingCharles Kerr2021-06-303-10/+81
|
* don't show calendar event notifications if com.ubuntu.calendar's ↵Charles Kerr2021-06-302-0/+18
| | | | notifications are blacklisted
* re-enable sound tests in test-snapCharles Kerr2021-06-301-1/+1
|
* in test-snap, wait a moment after creating the Snap to allow its async dbus ↵Charles Kerr2021-06-301-7/+21
| | | | internals to finish bootstrapping
* rather than commenting out a test, use Google Test's DISABLED_ feature to ↵Charles Kerr2021-06-301-3/+1
| | | | disable it
* disable broken testCharles Kerr2021-06-301-0/+2
|
* Merge branch 'tari01-pr/fix-copy-failure'Mike Gabriel2021-06-271-1/+1
|\ | | | | | | Attributs GH PR #43: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/43
| * tests/CMakeLists.txt: Try to fix build failure on Debian Testing where cp -f ↵Robert Tari2021-06-271-1/+1
|/ | | | is performed.
* Merge branch 'tari01-pr/documentation'Mike Gabriel2021-06-273-83/+108
|\ | | | | | | Attributes GH PR #42: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/42
| * Add install instructions + update documentationRobert Tari2021-06-273-83/+108
|/ | | | | | - README.md: Update documentation - INSTALL.md: Add file - INSTALL: Drop old file
* Merge branch 'tari01-pr/fix-g-time-zone-new'Mike Gabriel2021-06-2713-3/+148
|\ | | | | | | Attributes GH PR #41: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/41
| * If possible, avoid deprecated g_time_zone_newRobert Tari2021-06-2713-3/+148
|/ | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/34
* Merge branch 'tari01-pr/ayatana-standard-cmake'Mike Gabriel2021-06-272-4/+16
|\ | | | | | | Attributes GH PR #40: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/40
| * Add all Ayatana standard CMakeLists.txt bitsRobert Tari2021-06-272-4/+16
|/ | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/36
* Merge branch 'tari01-pr/fix-libaccounts-glib-include-warning'Mike Gabriel2021-06-271-1/+7
|\ | | | | | | Attributes GH PR #39: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/39
| * src/myself.cpp: Fix libaccounts-glib.h include warningRobert Tari2021-06-261-1/+7
|/ | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/12
* .build.yml: Disable unit tests for now, until test timeouts on Debian 11 ↵Mike Gabriel2021-06-261-11/+11
| | | | have been resolved.
* Merge branch 'tari01-pr/use-appointment-text-width-from-gsettings'Mike Gabriel2021-06-241-4/+19
|\ | | | | | | Attributes GH PR #38: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/38
| * src/menu.cpp: Pipe appointment strings through ↵Mike Gabriel2021-06-241-4/+19
|/ | | | ayatana_common_utils_ellipsize + add GSettings watcher for max-menu-text-length.
* CMakeLists.txt: Add libayatana-common (>= 0.9.3) dependency.Mike Gabriel2021-06-241-0/+2
|
* .build.yml: Build libayatana-common from Git.Mike Gabriel2021-06-241-0/+10
|
* Merge branch 'tari01-pr/fix-gtest-path'Robert Tari2021-05-111-1/+7
|\ | | | | | | Attributes GH PR #35: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/35
| * tests/test-dbus-fixture.h: Turn TestDBusFixture::TestDBusFixture into an ↵Mike Gabriel2021-05-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | explicitly declared constructor. Resolves issues like these: ``` In file included from /rootdir/tests/test-actions.cpp:22: In file included from /rootdir/tests/state-fixture.h:23: In file included from /rootdir/tests/test-dbus-fixture.h:23: In file included from /rootdir/tests/glib-fixture.h:29: In file included from /usr/include/gtest/gtest.h:62: /usr/include/gtest/internal/gtest-internal.h:472:44: error: call to implicitly-deleted default constructor of 'ActionsFixture_DesktopOpenCalendarApp_Test' Test* CreateTest() override { return new TestClass; } ^ /rootdir/tests/test-actions.cpp:188:1: note: in instantiation of member function 'testing::internal::TestFactoryImpl<ActionsFixture_DesktopOpenCalendarApp_Test>::CreateTest' requested here TEST_F(ActionsFixture, DesktopOpenCalendarApp) ^ /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1565:15: note: expanded from macro 'GTEST_TEST_' new ::testing::internal::TestFactoryImpl<GTEST_TEST_CLASS_NAME_( \ ^ /rootdir/tests/test-actions.cpp:188:1: note: explicitly defaulted function was implicitly deleted here /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1544:5: note: expanded from macro 'GTEST_TEST_' GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() = default; \ ^ /usr/include/gtest/internal/gtest-internal.h:1533:3: note: expanded from macro 'GTEST_TEST_CLASS_NAME_' test_suite_name##_##test_name##_Test ^ <scratch space>:101:1: note: expanded from here ActionsFixture_DesktopOpenCalendarApp_Test ^ /rootdir/tests/test-actions.cpp:188:1: note: default constructor of 'ActionsFixture_DesktopOpenCalendarApp_Test' is implicitly deleted because base class 'ActionsFixture' has a deleted default constructor /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1542:9: note: expanded from macro 'GTEST_TEST_' : public parent_class { \ ^ /rootdir/tests/test-actions.cpp:26:23: note: default constructor of 'ActionsFixture' is implicitly deleted because base class 'ayatana::indicator::datetime::StateFixture' has a deleted default constructor class ActionsFixture: public StateFixture ^ /rootdir/tests/state-fixture.h:36:21: note: default constructor of 'StateFixture' is implicitly deleted because base class 'TestDBusFixture' has a deleted default constructor class StateFixture: public TestDBusFixture ^ /rootdir/tests/test-dbus-fixture.h:33:5: note: explicitly defaulted function was implicitly deleted here TestDBusFixture() =default; ^ /rootdir/tests/test-dbus-fixture.h:70:36: note: default constructor of 'TestDBusFixture' is implicitly deleted because field 'service_dirs' of const-qualified type 'const std::vector<std::string>' (aka 'const vector<basic_string<char>>') would not be initialized const std::vector<std::string> service_dirs; ^ ```
| * tests/test-eds-ics-missing-trigger.cpp: Include engine-eds.h prio to ↵Mike Gabriel2021-05-111-1/+1
| | | | | | | | | | | | | | | | | | alarm-queue-simple.h. Addresses this issue occuring when building with clang++: /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ext/new_allocator.h:150:23: error: no matching constructor for initialization of 'ayatana::indicator::datetime::EdsEngine' { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| * debian/rules: Adjust previous commit to renamed ENABLE_TESTS build option.Mike Gabriel2021-05-111-4/+2
| |
| * debian/rules: Run tests while building DEB package.Nicholas Guriev2021-05-112-7/+9
| |
| * Various tests fixesNicholas Guriev2021-05-116-19/+28
| | | | | | | | | | | | | | | | | | * Provide default EdsEngine constructor for autotests. * Temporary disable DST related tests. Something strange happens there. * Do not create locale datetime for more reliable result on non-UTC systems. * Specify audio_url for sample Alarms. Fixes AyatanaIndicators/ayatana-indicator-datetime#32
| * CMakeLists.txt: Drop GNUInstallDirs. Use PREFIX initialization hack.Mike Gabriel2021-05-111-1/+3
| |
| * CMakeLists.txt: Rename CMake options 'enable_tests' to 'ENABLE_TESTS' and ↵Mike Gabriel2021-05-111-5/+5
| | | | | | | | 'enable_lcov' to 'ENABLE_COVERAGE' (both defaulting to 'OFF').
| * src/clock-live.cpp: Replace 'signed size_t' by 'ssize_t'.Mike Gabriel2021-05-111-1/+1
| |
| * CMakeLists.txt: Add Clang support.Mike Gabriel2021-05-113-8/+17
| |
| * Travis-CI: Initial draft for CI builds.Mike Gabriel2021-05-112-0/+203
| |
| * CMakeLists.txt: Fix GTest pathRobert Tari2021-05-041-1/+7
| |
* | Merge branch 'sunweaver-pr/travis-ci'Robert Tari2021-05-1116-46/+269
|\ \ | |/ |/| | | Attributes GH PR #33: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/33
| * Translated using Weblate (Occitan)Quentin PAGÈS2021-05-111-3/+3
| | | | | | | | | | | | | | Currently translated at 100.0% (34 of 34 strings) Translation: Ayatana Indicators/Datetime Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/datetime-applet/oc/
| * Translated using Weblate (Hungarian)Ács Zoltán2021-05-111-10/+6
| | | | | | | | | | | | | | Currently translated at 97.0% (33 of 34 strings) Translation: Ayatana Indicators/Datetime Applet Translate-URL: https://hosted.weblate.org/projects/ayatana-indicators/datetime-applet/hu/
| * tests/test-dbus-fixture.h: Turn TestDBusFixture::TestDBusFixture into an ↵Mike Gabriel2021-05-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | explicitly declared constructor. Resolves issues like these: ``` In file included from /rootdir/tests/test-actions.cpp:22: In file included from /rootdir/tests/state-fixture.h:23: In file included from /rootdir/tests/test-dbus-fixture.h:23: In file included from /rootdir/tests/glib-fixture.h:29: In file included from /usr/include/gtest/gtest.h:62: /usr/include/gtest/internal/gtest-internal.h:472:44: error: call to implicitly-deleted default constructor of 'ActionsFixture_DesktopOpenCalendarApp_Test' Test* CreateTest() override { return new TestClass; } ^ /rootdir/tests/test-actions.cpp:188:1: note: in instantiation of member function 'testing::internal::TestFactoryImpl<ActionsFixture_DesktopOpenCalendarApp_Test>::CreateTest' requested here TEST_F(ActionsFixture, DesktopOpenCalendarApp) ^ /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1565:15: note: expanded from macro 'GTEST_TEST_' new ::testing::internal::TestFactoryImpl<GTEST_TEST_CLASS_NAME_( \ ^ /rootdir/tests/test-actions.cpp:188:1: note: explicitly defaulted function was implicitly deleted here /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1544:5: note: expanded from macro 'GTEST_TEST_' GTEST_TEST_CLASS_NAME_(test_suite_name, test_name)() = default; \ ^ /usr/include/gtest/internal/gtest-internal.h:1533:3: note: expanded from macro 'GTEST_TEST_CLASS_NAME_' test_suite_name##_##test_name##_Test ^ <scratch space>:101:1: note: expanded from here ActionsFixture_DesktopOpenCalendarApp_Test ^ /rootdir/tests/test-actions.cpp:188:1: note: default constructor of 'ActionsFixture_DesktopOpenCalendarApp_Test' is implicitly deleted because base class 'ActionsFixture' has a deleted default constructor /usr/include/gtest/gtest.h:2381:3: note: expanded from macro 'TEST_F' GTEST_TEST_(test_fixture, test_name, test_fixture, \ ^ /usr/include/gtest/internal/gtest-internal.h:1542:9: note: expanded from macro 'GTEST_TEST_' : public parent_class { \ ^ /rootdir/tests/test-actions.cpp:26:23: note: default constructor of 'ActionsFixture' is implicitly deleted because base class 'ayatana::indicator::datetime::StateFixture' has a deleted default constructor class ActionsFixture: public StateFixture ^ /rootdir/tests/state-fixture.h:36:21: note: default constructor of 'StateFixture' is implicitly deleted because base class 'TestDBusFixture' has a deleted default constructor class StateFixture: public TestDBusFixture ^ /rootdir/tests/test-dbus-fixture.h:33:5: note: explicitly defaulted function was implicitly deleted here TestDBusFixture() =default; ^ /rootdir/tests/test-dbus-fixture.h:70:36: note: default constructor of 'TestDBusFixture' is implicitly deleted because field 'service_dirs' of const-qualified type 'const std::vector<std::string>' (aka 'const vector<basic_string<char>>') would not be initialized const std::vector<std::string> service_dirs; ^ ```
| * tests/test-eds-ics-missing-trigger.cpp: Include engine-eds.h prio to ↵Mike Gabriel2021-05-051-1/+1
| | | | | | | | | | | | | | | | | | alarm-queue-simple.h. Addresses this issue occuring when building with clang++: /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ext/new_allocator.h:150:23: error: no matching constructor for initialization of 'ayatana::indicator::datetime::EdsEngine' { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
| * debian/rules: Adjust previous commit to renamed ENABLE_TESTS build option.Mike Gabriel2021-05-051-4/+2
| |