aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* sync tests to new ctor arguments for TimedatedTimezone and LiveTimezonesCharles Kerr2021-07-061-4/+4
|
* update test-live-actions to last commit's TimedatedFixture changesCharles Kerr2021-07-061-18/+76
|
* in tests/, remove the handrolled timedate1 bus mock. It doesn't add anything ↵Charles Kerr2021-07-062-333/+96
| | | | over the dbusmock template
* in tests/test-timezone-timedated, fix copy-paste error in commentsCharles Kerr2021-07-061-1/+1
|
* in test-timezone-timedated, slightly cleaner mechanism for tzid waitingCharles Kerr2021-07-051-10/+15
|
* pull the timezone from timedate1 regardless of whether it appears on the bus ↵Charles Kerr2021-07-051-80/+104
| | | | before or after we startup
* Fixed sound file used by event alarms.Renato Araujo Oliveira Filho2021-07-051-8/+8
|
* Generate instance of object to get individual alarm information.Renato Araujo Oliveira Filho2021-07-051-1/+3
|
* Update non attending test with a recurrence example.Renato Araujo Oliveira Filho2021-07-052-12/+43
|
* Update tests.Renato Araujo Oliveira Filho2021-07-051-1/+1
|
* Update code as requested by reviewer.Renato Araujo Oliveira Filho2021-07-059-10/+19
|
* Update tests.Renato Araujo Oliveira Filho2021-07-052-9/+9
|
* Remove type property from Alarm.Renato Araujo Oliveira Filho2021-07-058-24/+23
|
* Removed unecessary code.Renato Araujo Oliveira Filho2021-07-051-17/+0
|
* Remove empty line.Renato Araujo Oliveira Filho2021-07-051-1/+0
|
* Update tests.Renato Araujo Oliveira Filho2021-07-058-25/+26
|
* Remove constructors from Alarm.Renato Araujo Oliveira Filho2021-07-051-1/+1
|
* Revert change.Renato Araujo Oliveira Filho2021-07-051-0/+1
|
* Update unit test.Renato Araujo Oliveira Filho2021-07-051-10/+10
|
* Only play a sound alert if the event contains a SOUND reminder.Renato Araujo Oliveira Filho2021-07-051-1/+1
|
* Created unit test.Renato Araujo Oliveira Filho2021-07-055-1/+136
|
* 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-051-2/+2
|
* 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-053-9/+12
| | | | external application.
* 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-052-0/+11
| | | | events. add unit tests to cover event priority and display order.
* update unit test.Renato Araujo Oliveira Filho2021-07-011-6/+8
|
* 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
* add notification title, icon checks to test-notification's battery of test ↵Charles Kerr2021-07-012-16/+43
| | | | combinations
* 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
|
* 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
|
* tests/CMakeLists.txt: Try to fix build failure on Debian Testing where cp -f ↵Robert Tari2021-06-271-1/+1
| | | | is performed.
* If possible, avoid deprecated g_time_zone_newRobert Tari2021-06-279-2/+99
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/34
* 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)...); }
* Various tests fixesNicholas Guriev2021-05-053-16/+20
| | | | | | | | | * 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