Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sync tests to new ctor arguments for TimedatedTimezone and LiveTimezones | Charles Kerr | 2021-07-06 | 1 | -4/+4 |
| | |||||
* | update test-live-actions to last commit's TimedatedFixture changes | Charles Kerr | 2021-07-06 | 1 | -18/+76 |
| | |||||
* | in tests/, remove the handrolled timedate1 bus mock. It doesn't add anything ↵ | Charles Kerr | 2021-07-06 | 2 | -333/+96 |
| | | | | over the dbusmock template | ||||
* | in tests/test-timezone-timedated, fix copy-paste error in comments | Charles Kerr | 2021-07-06 | 1 | -1/+1 |
| | |||||
* | in test-timezone-timedated, slightly cleaner mechanism for tzid waiting | Charles Kerr | 2021-07-05 | 1 | -10/+15 |
| | |||||
* | pull the timezone from timedate1 regardless of whether it appears on the bus ↵ | Charles Kerr | 2021-07-05 | 1 | -80/+104 |
| | | | | before or after we startup | ||||
* | Fixed sound file used by event alarms. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -8/+8 |
| | |||||
* | Generate instance of object to get individual alarm information. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+3 |
| | |||||
* | Update non attending test with a recurrence example. | Renato Araujo Oliveira Filho | 2021-07-05 | 2 | -12/+43 |
| | |||||
* | Update tests. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+1 |
| | |||||
* | Update code as requested by reviewer. | Renato Araujo Oliveira Filho | 2021-07-05 | 9 | -10/+19 |
| | |||||
* | Update tests. | Renato Araujo Oliveira Filho | 2021-07-05 | 2 | -9/+9 |
| | |||||
* | Remove type property from Alarm. | Renato Araujo Oliveira Filho | 2021-07-05 | 8 | -24/+23 |
| | |||||
* | Removed unecessary code. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -17/+0 |
| | |||||
* | Remove empty line. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+0 |
| | |||||
* | Update tests. | Renato Araujo Oliveira Filho | 2021-07-05 | 8 | -25/+26 |
| | |||||
* | Remove constructors from Alarm. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+1 |
| | |||||
* | Revert change. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -0/+1 |
| | |||||
* | Update unit test. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -10/+10 |
| | |||||
* | Only play a sound alert if the event contains a SOUND reminder. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+1 |
| | |||||
* | Created unit test. | Renato Araujo Oliveira Filho | 2021-07-05 | 5 | -1/+136 |
| | |||||
* | Attempt to fix test on xenial. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -6/+5 |
| | |||||
* | temporarily disable the formatter tests. This is a test harness error that ↵ | Charles Kerr | 2021-07-05 | 1 | -4/+4 |
| | | | | doesn't need to block work on 1560188 | ||||
* | revert r426 & r427 to remove the calendar from the phone profile | Charles Kerr | 2021-07-05 | 1 | -2/+2 |
| | |||||
* | Fixed test. | Renato Araujo Oliveira Filho | 2021-07-05 | 1 | -1/+1 |
| | |||||
* | Create unit test. | Renato Araujo Oliveira Filho | 2021-07-05 | 3 | -0/+113 |
| | |||||
* | Make sure that the ocurrence time is used to build the url to launch ↵ | Renato Araujo Oliveira Filho | 2021-07-05 | 3 | -9/+12 |
| | | | | external application. | ||||
* | add the new unit tests | Charles Kerr | 2021-07-05 | 1 | -0/+263 |
| | |||||
* | get event selection up-to-date with the spec, including showing in-progress ↵ | Charles Kerr | 2021-07-05 | 2 | -0/+11 |
| | | | | events. add unit tests to cover event priority and display order. | ||||
* | update unit test. | Renato Araujo Oliveira Filho | 2021-07-01 | 1 | -6/+8 |
| | |||||
* | resolve some test timing issues by deferring Snap object creation until it's ↵ | Charles Kerr | 2021-07-01 | 1 | -10/+8 |
| | | | | needed | ||||
* | in test-notifications we do need one wait() wart after all, because the Snap ↵ | Charles Kerr | 2021-07-01 | 1 | -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 Kerr | 2021-07-01 | 3 | -513/+48 |
| | | | | waiting for arbitrary time intervals | ||||
* | add a DBusMock test Fixture with helper functions to wait for arbitrary bus ↵ | Charles Kerr | 2021-07-01 | 2 | -47/+162 |
| | | | | method calls | ||||
* | in the GLib test Fixture, add helper functions to wait for arbitrary events ↵ | Charles Kerr | 2021-07-01 | 1 | -0/+88 |
| | | | | and bus events | ||||
* | add notification title, icon checks to test-notification's battery of test ↵ | Charles Kerr | 2021-07-01 | 2 | -16/+43 |
| | | | | combinations | ||||
* | Move notifications tests into a new unit test. Extract notifications test ↵ | Charles Kerr | 2021-07-01 | 5 | -349/+823 |
| | | | | fixture into a reusable header. | ||||
* | add explanation comments to test-snap | Charles Kerr | 2021-07-01 | 1 | -10/+11 |
| | |||||
* | in test-snap, move new tests to bottom to avoid confusing diff | Charles Kerr | 2021-07-01 | 1 | -0/+71 |
| | |||||
* | add combinatorial tests to check how snap behaves under system settings, ↵ | Charles Kerr | 2021-07-01 | 1 | -17/+86 |
| | | | | event types, etc | ||||
* | add Settings tests for blacklisting apps' notifications | Charles Kerr | 2021-06-30 | 1 | -0/+49 |
| | |||||
* | re-enable sound tests in test-snap | Charles Kerr | 2021-06-30 | 1 | -1/+1 |
| | |||||
* | in test-snap, wait a moment after creating the Snap to allow its async dbus ↵ | Charles Kerr | 2021-06-30 | 1 | -7/+21 |
| | | | | internals to finish bootstrapping | ||||
* | rather than commenting out a test, use Google Test's DISABLED_ feature to ↵ | Charles Kerr | 2021-06-30 | 1 | -3/+1 |
| | | | | disable it | ||||
* | disable broken test | Charles Kerr | 2021-06-30 | 1 | -0/+2 |
| | |||||
* | tests/CMakeLists.txt: Try to fix build failure on Debian Testing where cp -f ↵ | Robert Tari | 2021-06-27 | 1 | -1/+1 |
| | | | | is performed. | ||||
* | If possible, avoid deprecated g_time_zone_new | Robert Tari | 2021-06-27 | 9 | -2/+99 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-datetime/issues/34 | ||||
* | tests/test-dbus-fixture.h: Turn TestDBusFixture::TestDBusFixture into an ↵ | Mike Gabriel | 2021-05-05 | 1 | -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 Gabriel | 2021-05-05 | 1 | -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 fixes | Nicholas Guriev | 2021-05-05 | 3 | -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 |