summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* I#276 - alarm-notify: Incorrectly handles changes in recurring eventsMilan Crha2023-02-231-5/+31
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/276
* Calendar: Extract categories parsing into a utility functionMilan Crha2022-11-231-0/+138
| | | | | | | | This can be used by code which doesn't need to use an ECalComponent wrapper just to get to the categories. The change also sanitizes the categories by removing trailing white-spaces and ignores empty strings.
* M!106 - Fix few memory leaksДилян Палаузов2022-11-031-1/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/106
* I#421 - libedataserver: Enhance two-digit year parsingMilan Crha2022-10-061-0/+39
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/421
* Calendar: Add functions to handle LANGUAGE parameter on propertiesMilan Crha2022-06-081-8/+320
| | | | | | This helps to read properties related only to certain language/locale. Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/876
* I#393 - Calendar: Correct UNTIL recurrence with midnight startMilan Crha2022-06-071-0/+152
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/393
* I#391 - Tests fail with libphonenumber 8.12.49Milan Crha2022-05-302-2/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/391
* ECalComponent: Add safety checks on get/set of DTEND/DUE propertiesMilan Crha2022-01-051-1/+1
| | | | | | These are available only on certain component types, thus test for it. Let the getters return NULL silently, but warn when the setter is used with an invalid component type (though still allow to do it).
* I#371 - e-cal-util: Fix timezone clamp with DUE date onlyMilan Crha2022-01-041-0/+15
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/371
* M!84 - Correct typos of doesnt/dontДилян Палаузов2021-11-082-2/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/84
* I#366 - Calendar: Correct 'occur-in-time-range?' for zero-length eventsMilan Crha2021-11-084-2/+26
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/366
* Use `g_assert_true()` instead of `g_assert()` in the unit testsMilan Crha2021-09-2951-624/+624
| | | | | | The `g_assert()` can be disabled by `G_DISABLE_ASSERT` when compiling, which is not desired for the unit tests, thus use the `g_assert_true()` in the tests instead.
* evo-I#1639 - Filter messages by condition if sender is in address bookMilan Crha2021-09-241-0/+43
| | | | Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1639
* M!72 - Typos its <=> it'sДилян Палаузов2021-07-112-3/+3
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/72
* test-book-client-write-write: Fix occasional test failureMilan Crha2021-06-111-35/+50
| | | | | | | Let it use the global main loop, to avoid stale GSource-s being lost in the private context scheduled by GDBus, which could cause a crash due to the GDBusConnection not being finalized at the end of the test.
* tests: Workaround libphonenumber behavior changeMilan Crha2021-06-104-4/+8
| | | | | | Turn off the sub-test, because different libphonenumber behaves differently. Having a (runtime) way to check the libphonenumber version it could be adapted in a better way.
* Calendar: Support THIS_AND_FUTURE range for the Recurrence-IDMilan Crha2021-06-081-8/+9
| | | | | | | | The ECalComponent needs to read/write the range kind, thus it's preserved. The backends need to read the kind and update the local components properly, when an update of the component is received. Related to https://gitlab.gnome.org/GNOME/evolution/-/issues/1527
* Fix e_webdav_session_util_item_href_equal()Milan Crha2021-06-031-1/+8
| | | | | There had been some issues with the compare code, which could match two href-s, which were not equal.
* tests: Run book-migration Berkeley DB tests only if libdb had been foundMilan Crha2021-04-091-1/+1
| | | | | | Run old book migration tests from the Berkeley DB databases only if being compiled with libdb, otherwise there is not done any migration and the tests fail.
* tests: Change how timezone is verified in CalMetaBackend testMilan Crha2021-04-071-1/+148
| | | | | | | A new stable version of libical (3.10) can change order or values in the RRULE string representation, which breaks the test. Rather than special-case the test according to libical version change the way the timezone component is compared.
* I#309 - EContact: Inline locally stored image does not retain its mime typeMilan Crha2021-03-084-8/+41
| | | | | | | | This broke with commit 0394a3bd9cd0b0cbf3a9bc1eac70f5a4849f6df6 for the file backend, because the EContact's e_contact_inline_local_photos() could not decipher the original MIME type from the file extension. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/309
* ews-I#144 - Calendar: Dismiss of a reminder doesn't provide recurrence IDMilan Crha2021-02-231-5/+11
| | | | Related to https://gitlab.gnome.org/GNOME/evolution-ews/-/issues/144
* test-cal-utils: Add test to clamp a VTIMEZONE by a future timeMilan Crha2021-02-181-2/+39
|
* Calendar: Add functions to clamp a VTIMEZONE componentMilan Crha2021-02-182-0/+183
| | | | | Can be used to limit the data transfer for simple events where the whole history of the timezone shifts doesn't matter.
* MetaBackend tests: Relax a runtime requirementMilan Crha2021-02-182-4/+0
| | | | | | The g_main_loop_quit() can continue its execution, in contrast to what the code needed. It stroke when running the test under valgrind, thus when things were slowed down significantly.
* I#295 - Calendar: Use ACKNOWLEDGED VALARM propertyMilan Crha2021-02-091-9/+32
| | | | | | | | Touches the 'file' and the 'CalDAV' backends, storing the current time when the reminder had been dismissed. The reminder watcher ignores any reminders, which are scheduled before the acknowledged time. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/295
* M!65 - Correct typos in a/anДилян Палаузов2021-02-013-6/+6
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/65
* I#282 - tests: Avoid build/source directories in executablesMilan Crha2021-01-05101-224/+522
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/282
* M!53 - calendar: Mention ECalOperationFlags directly instead of using guint32Corentin Noël2020-11-201-2/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/53
* I#272 - WebDAV: Decode URI-s before comparing themMilan Crha2020-11-191-3/+19
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/272
* I#260 - DAV: Relax collection's item href comparisonMilan Crha2020-11-112-0/+82
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/260
* I#254 - Calendar: Add 'has-end?', 'has-due?' and 'has-duration?' into SExpMilan Crha2020-10-083-1/+55
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/issues/254
* M!43 - Calendar: Add SExp function to filter with DTSTARTHelmut Pozimski2020-08-261-0/+10
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/43
* ews-I#87 - Meta backends not moved back online after connect failureMilan Crha2020-03-172-0/+42
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-ews/issues/87
* I#194 - e-cal-recur: Incorrect timezone used for DTEND from DURATIONMilan Crha2020-02-251-0/+115
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/194
* I#162 - e-cal-recur: Ignores recurrence exceptionsMilan Crha2019-10-151-0/+106
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/162
* I#148 - Alarm for the end of a task not workingMilan Crha2019-08-292-0/+522
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/148
* I#136 - Meta backends: Fails to remove locally created object in online modeMilan Crha2019-08-212-0/+192
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/136
* I#142 - EContact: Define defaults for attributes without TYPEMilan Crha2019-08-162-0/+656
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/142
* M!22 - Ignore the return value of g_string_append()Дилян Палаузов2019-07-121-1/+1
| | | | | | | | | | | | | | | | | Calling “x = g_string_append (x, y)” is equivalent to “g_string (x, y)”. Or take it into account, when this leads to shorter code. Likewise for g_string_append_unichar(). Use the return value fo g_string_append(), when this makes the code sherter. In camel_content_disposition_format: skip a realloc() call. In camel-sasl-ntlm.c: skip a g_string_append_len() call. Closes https://gitlab.gnome.org/GNOME/evolution-data-server/merge_requests/22
* Add workaround for D-Bus property change into get-revision testsMilan Crha2019-05-232-0/+26
| | | | | | | Even with the previous commit there still could happen some issue with D-Bus property change notifications, thus add a workaround to the related book and calendar tests, because it's not a problem on the evolution-data-server side, but somewhere deeper.
* I#117 - Fix clang warnings (mostly [-Wenum-conversion])Milan Crha2019-05-211-2/+2
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/117
* Rename ECalBackendClass methods to address some gir warningsMilan Crha2019-05-171-2/+2
|
* Change libebook and libedata-book APIsMilan Crha2019-05-1721-192/+271
| | | | | Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/83 and https://gitlab.gnome.org/GNOME/evolution-data-server/issues/85
* I#33 - Port to libical-glibMilan Crha2019-05-1760-3758/+6036
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/33
* I#91 - Verify database presence in test-migration testMilan Crha2019-03-121-6/+9
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/91
* Make sure libdb addressbooks are available before book-migration testMilan Crha2019-03-121-3/+5
| | | | | | | This will make sure the required databases are available before the migration test itself is built, which is not strictly necessary for the test build, but it also doesn't hurt and makes the dependency explicit.
* I#61 - Cannot search contacts for existence of boolean fieldsMilan Crha2018-12-043-3/+50
| | | | Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/61
* [test-cal-client-get-free-busy] Enhance the test executionMilan Crha2018-12-031-0/+54
| | | | | | | | | | | | | Couple changes in the test: 1) add also a component into the calendar, thus the returned Free/Busy component is not empty 2) let the sync variant wait for the D-Bus signal with Free/Busy data again 3) wait for the D-Bus signal in case it's not received in time of the method execution finish. Especially the 3) is important, because the D-Bus signal can be delivered after the method invocation is received, which could break the test.
* [test-server-utils] Correct when open of deprecated book/calendar is retriedMilan Crha2018-12-031-4/+17
| | | | | | The test could fail when creating the instance, not when opening it, thus retry also when the instance creation fails. Left the code for the open() too, just in case.