| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
- Remove trailing tabs.
- Add terminators to multi-line lists.
|
| |
|
|
|
|
| |
If the libical is installed in a different prefix than the one shared
by other CFLAGS, then the test compilation breaks due to failed search
for the <libical/ical.h> include file.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o test-sqlite-create-cursor
The new test case verifies that cursor creation is well protected
(cursor creation is denied for some queries and ordering requests).
o test-sqlite-cursor-move-by
This test case asserts that e_book_backend_sqlite_cursor_move_by()
works as expected. Consequently, a hand full of additional test
vcards were added for this.
o test-sqlite-cursor-set-target.c
This test case tests e_book_backend_sqlitedb_cursor_set_target().
The special case of setting a partial state is tested so that when
a cursor is setup to sort by "family_name, given_name" and the target
is set to "J", then we recieve results inclusive of the contact with
the family name "J".
o test-sqlite-cursor-calculate.c
This test verifies that e_book_backend_sqlitedb_cursor_calculate() report
the right position and total values when the cursor is moved, after the
target is set, after the addressbook is modified, for filtered and unfiltered
result sets.
o test-sqlite-cursor-set-sexp.c
This test verifies that invalid queries are rejected, and that a cursor
position is changed by the new sexp with the correct new filtered values
after applying a filter (sexp) to the cursor.
o Tests to ensure that localized data is properly migrated:
- test-sqlite-cursor-posix-initial
- test-sqlite-cursor-en-US-migrated
- test-sqlite-cursor-fr-CA-migrated
- test-sqlite-cursor-de-DE-migrated
- test-sqlite-cursor-posix-migrated
o A test case testing basic ECollator features.
This patch also changes the test case vcard data to
specify a contact UID in each vcard's .vcf file, this
allows us more flexability with the above added tests.
|
| |
|
|
| |
g_type_init() is deprecated in GLib 2.36.
|
| | |
|
| |
|
|
|
| |
Silence compiler warnings in tests which are already partially disabled.
Most of these still haven't been updated since the ESource API changes.
|
| |
|
|
|
| |
This is not a unit test, it cannot be run as a part of make check
because it relies on user input to complete.
|
| | |
|
| |
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=692639
|
| | |
|
| |
|
|
|
|
|
| |
This patch disables building of the user-prompter service and trust-prompt
module if GTK+ is not available, allowing alternative implementations of
the user prompter service to be installed on platforms where GTK+ is not
available.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
The source registry test checks if sources can be created in the
registry, this is already asserted by e-test-server-utils in
the fixture test. Removing the e-test-dbus-utils.[ch] and
tests/tools directory in favour of new testing framework added in
test-server-utils directory.
|
| | |
|
| |
|
|
|
|
| |
This is used to prompt users for input, mainly from book or calendar
backends. The service is extensible, thus the backend can provide its
own dialogs and use them.
|
| |
|
|
|
|
|
| |
This helps to really pick the locally built factories for tests,
without the need to fiddle with XDG_DATA_DIRS. Ideally we'd even use
service files for the currently build's uninstalled service binaries,
but that seems too much work right now.
|
| |
|
|
|
|
|
|
|
| |
The GNOME_CODE_COVERAGE macro in gnome-common automates the process
nicely. Just run "make check-code-coverage" from the top-level source
directory (or from any of the "tests" subdirectories) and open the nice
coverage analysis report:
evolution-data-server-x.y.z-coverage/index.html
|
| |
|
|
| |
Managed to reproduce the bug using the test case.
|
| |
|
|
|
|
|
|
| |
Add functions for programmatically overriding XDG base directories
and launching a private D-Bus session bus using GTestDBus.
This requires Evolution-Data-Server to be installed, since the test
harness references D-Bus service files by the installation prefix.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The top-level headers are named after the library:
#include <libebackend/libebackend.h>
#include <libebook/libebook.h>
#include <libecal/libecal.h>
#include <libedata-book/libedata-book.h>
#include <libedata-cal/libedata-cal.h>
#include <libedataserver/libedataserver.h>
#include <libedataserverui/libedataserverui.h>
Including individual headers will cause a compilation error.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Rename e_source_peek_uid() to e_source_get_uid(), and
e_source_peek_name() to e_source_get_display_name().
The old names are retained for now as deprecated aliases.
|
| | |
|
|
|
This includes both automated unit tests and standalone demo programs.
Test code is partitioned by library. So far we have:
tests/libebook
tests/libecal
tests/libedata-cal
tests/libedataserver
tests/libedataserverui
This makes for a natural place to put additional E-D-S test code, but
still have it compartmentalized in one place (excluding Camel, which is
still tagging along with E-D-S but is not really part of E-D-S).
|