aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to fix test on xenial.Renato Araujo Oliveira Filho2021-07-051-6/+5
|
* temporarily disable the formatter tests. This is a test harness error that ↵Charles Kerr2021-07-051-4/+4
| | | | doesn't need to block work on 1560188
* revert r426 & r427 to remove the calendar from the phone profileCharles Kerr2021-07-052-4/+4
|
* Fixed test.Renato Araujo Oliveira Filho2021-07-051-1/+1
|
* Create unit test.Renato Araujo Oliveira Filho2021-07-053-0/+113
|
* Make sure that the ocurrence time is used to build the url to launch ↵Renato Araujo Oliveira Filho2021-07-058-33/+40
| | | | external application.
* Lauch calendar app using the event start time.Renato Araujo Oliveira Filho2021-07-051-12/+3
|
* add the new unit testsCharles Kerr2021-07-051-0/+263
|
* get event selection up-to-date with the spec, including showing in-progress ↵Charles Kerr2021-07-056-18/+122
| | | | events. add unit tests to cover event priority and display order.
* update unit test.Renato Araujo Oliveira Filho2021-07-011-6/+8
|
* calls 'calendar://eventId=<event-id>' when clicking on an event in the ↵Renato Araujo Oliveira Filho2021-07-011-3/+17
| | | | indicator.
* resolve some test timing issues by deferring Snap object creation until it's ↵Charles Kerr2021-07-011-10/+8
| | | | needed
* in test-notifications we do need one wait() wart after all, because the Snap ↵Charles Kerr2021-07-011-24/+1
| | | | is building its impl proxies asynchronously and hasn't any public way of notifying when they're built
* 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
| |