summaryrefslogtreecommitdiff
path: root/tests/test-server-utils
Commit message (Collapse)AuthorAgeFilesLines
* Meta backend tests required system-running evolution-source-registryMilan Crha2018-02-232-7/+21
| | | | | | | Before this change, both test-book-meta-backend and test-cal-meta-backend failed when there was no evolution-source-registry running. This change fixes it and makes sure correct source registry is used, like the one from the build directory, not the system one.
* No more '.libs' directory in the build directoryMilan Crha2018-02-231-10/+10
| | | | | There is no '.libs' in the build directory since the move to CMake, but some tests still referenced it.
* Bug 785647 - Fix some warnings within the documentationCorentin Noël2017-08-011-2/+2
|
* Fix some of the gtk-doc warningsMilan Crha2016-11-101-0/+2
|
* Correct typos/overlooks in a build scriptMilan Crha2016-10-121-2/+7
|
* Reorganize directory structureMilan Crha2016-10-114-11/+12
| | | | | Let's have it as it's common to be, which means top level src/ for sources, single data/ for data, and so on.
* Convert from autotools to CMakeMilan Crha2016-10-108-97/+123
|
* Address some Coveriry Scan detected issuesMilan Crha2015-05-221-1/+1
|
* Bug 705268 - Run 'make check' within the build treeMilan Crha2015-04-222-0/+40
|
* Let the 'make check' pass againMilan Crha2015-02-031-7/+7
| | | | | | | | | Couple related changes: a) no need to wait for a connected state in tests, it only makes thing slower b) have larger interval for finalize wait c) avoid memory leak (and test failure) in test-book-client-view-operations d) update ko_KR alphabet in test-book-client-cursor-operations e) skip test-book-client-cursor-operations from 'make check', due it being too slow
* Move authentication of backends back to the clientMilan Crha2015-02-021-6/+6
| | | | | | Since this change the client is responsible to provide credentials to use to authenticate backends (through ESource-s, to be more precise), unless the credentials are already saved.
* Misceallenous Win32 build related fixesMilan Crha2014-06-011-0/+10
|
* Bug #727237 - Correct LGPL license information in sourcesMilan Crha2014-04-143-10/+10
| | | | | | | | | | | | | | | | | | | I also added license information to source files where it was missing and changed the way the license block is organized. All the sources' license information comments follow the same pattern: /* [ Optional short file description ] * * [ Optional copyright notices] * * License information block * * [ Optional 'Authors:' section ] */ The LGPL is references consistently now; source files with main() function, like tests or D-Bus services, use 'program' in the license information block, while the other sources use 'library' word.
* Bug 721527 - License text contains obsolete FSF postal addressMatthew Barnes2014-01-073-30/+27
|
* Coding style and whitespace cleanups.Matthew Barnes2013-12-082-17/+18
|
* ETestServerFixture: Fixing gtk-doc comments.Tristan Van Berkom2013-12-062-3/+25
|
* Better handling of the TEST_INSTALLED_SERVICES variableTristan Van Berkom2013-12-031-3/+6
| | | | Don't set the encapsulated environment variables when running installed.
* test-server-utils: Only create the work directory when running with `make check'Tristan Van Berkom2013-12-031-1/+2
|
* Use EDS_INSTALLED_TESTS macros to install testsTristan Van Berkom2013-12-021-0/+12
| | | | | This commit adds the usage of EDS_INSTALLED_TESTS and a few lines to all the test directories which can run installed.
* e-test-server-utils.c: Behave differently when running installed.Tristan Van Berkom2013-12-021-2/+27
| | | | | When running installed, use mkstemp to generate a unique addressbook source uid.
* ETestServerFixture: Fixed fixture futher for finalization.Tristan Van Berkom2013-12-022-170/+160
| | | | | | | | Last related commit did not fix the problem correctly, now care is taken to ensure there are no races while checking for client and registry finalization, as the clients tend not only to finalize asynchronously, but choose to do so in a different thread in which they were created.
* test-server-utils: Fixed to wait for clients to finalizeTristan Van Berkom2013-11-301-38/+158
| | | | | | | | | Previously we would get sporadic errors from tests when clients do not finalize synchronously in response to g_object_unref(). However this syncrhonous finalization is not really mandated by the API, so instead we give them a grace period to finalize and error out if they fail to finalize eventually.
* Revert "test-server-utils: Disable the cache-reaper in the test environment"Tristan Van Berkom2013-11-301-8/+1
| | | | This reverts commit fcdad7cc7779692d6a63d194c55ed3ac1bca0f3c.
* test-server-utils: Disable the cache-reaper in the test environmentTristan Van Berkom2013-11-291-1/+8
| | | | | | This causes races, when changing the locale, the previous/complete test (which is not shut down properly) is getting I/O errors because the cache-reaper comes to screw up the day.
* Makefile.am cleanups.Matthew Barnes2013-11-172-3/+4
| | | | | - Remove trailing tabs. - Add terminators to multi-line lists.
* Switch from g_timeout_add to g_timeout_add_secondsAlexandre Franke2013-11-141-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=712244
* Add missing CFLAGS/LIBS in the tests/ Makefile.am-sMilan Crha2013-11-051-0/+2
| | | | | | 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.
* test-server-utils: Add e_test_server_utils_run_full()Mathias Hasselmann2013-10-232-1/+19
| | | | | | | | | Basically this is to tell e_test_server_utils_run() to not wipe the working directory before start. Conflicts: tests/test-server-utils/e-test-server-utils.h
* Miscellaneous cleanups.Matthew Barnes2013-10-201-18/+25
|
* test-utils: Added argumement to the fixture closure data to open asyncTristan Van Berkom2013-10-142-21/+89
| | | | | If a closure specifies async then the EBookClient or ECalClient will be opened using async APIs instead of sync APIs.
* Remove all g_type_init() calls.Matthew Barnes2013-09-271-3/+0
| | | | g_type_init() is deprecated in GLib 2.36.
* Coding style and whitespace cleanup.Matthew Barnes2013-05-081-2/+3
|
* test-server-utils: Allow reuse of existing addressbook.Tristan Van Berkom2013-04-231-2/+18
| | | | | | | | | | | | If committing the new scratch source ends with an error that the addressbook/calendar already exists, then just use the existing source instead of bailing out. This is needed for tests which reuse the addressbook from a previous test. Conflicts: tests/test-server-utils/e-test-server-utils.c
* Test suite cleanups.Matthew Barnes2013-04-142-24/+50
|
* Fix implicit declaration of WIFEXITED.Antoine Jacoutot2013-03-301-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696858
* Clean testing work directoryTristan Van Berkom2013-03-171-0/+9
| | | | | | Added clean-local hook to properly cleanup the testing cache directory, this causes distcheck to finaly pass !
* e-test-server-utils.[ch]: Making the test fixture more strict.Tristan Van Berkom2013-03-162-0/+42
| | | | | | | | Now the fixture also asserts that any client/registry created by the fixture is properly finalized after the final g_object_unref() while tearing down the fixture. The checks are performed by added g_object_weak_ref() callbacks.
* test-server-utils: Allow to keep sourcesMathias Hasselmann2013-03-061-4/+4
| | | | | Don't call e_client_remove() and such when keep_work_directory is set. This aids reuse and debugging of sources.
* Coding style and whitespace cleanup.Matthew Barnes2013-03-022-17/+23
|
* test-server-utils: Permit custom source namesMathias Hasselmann2013-02-281-2/+4
| | | | This is needed for testing behavior after reopening a source.
* Added EDS_TESTING env var to silence messagesTristan Van Berkom2013-02-281-0/+4
| | | | | | This commit avoids initializing GTK+ in a 'make check' environment, as well as avoiding printing of any non-critical messages from the services running in a 'make check' environment.
* Some changes to the isolated test fixtureTristan Van Berkom2013-02-253-13/+35
| | | | | | | | | | | a.) Setup EDS_REGISTRY_MODULES to use the local cache-reaper module b.) Setup EDS_CAMEL_PROVIDER_DIR to use the local provider c.) Added "source_name" and use separate ESource uids between tests, each test in the suite uses a separate ESource name Note that 'c' is a stop-gap solution to the problem of not being able to properly shut-down the whole test D-Bus environment between tests, it should be removed once we can address that problem.
* e-test-server-utils: Add support for testing Direct Read Access books.Tristan Van Berkom2013-02-202-2/+22
|
* e-test-server-utils: Added DEBUG_DIRECT env varTristan Van Berkom2013-02-151-10/+10
| | | | | | This is a temporary workaround to test Direct Read Access, a later patch will ensure all tests check both Direct/Normal read access modes.
* test-server-utils.c: Added TEST_INSTALLED_SERVICES env varTristan Van Berkom2013-02-081-35/+56
| | | | | | This allows us to run tests individually using the installed services, this makes it easier to trace the server process response to test cases using instrumentation tools such as gdb and valgrind.
* e-test-server-utils: Destroy dynamic closuresMathias Hasselmann2013-02-072-1/+6
| | | | | Adds a callback to the closure structure that describes its concept of self-destruction.
* tests: Enfore local GVFS backend in isolated testsMathias Hasselmann2013-02-011-0/+1
| | | | | | | | As we don't copy all GVFS' D-Bus services and plugins the local this is the only available VFS anyway. So let's avoid warnings about missing GVFS backends. https://bugzilla.gnome.org/show_bug.cgi?id=692998
* Make ETestServerFixture more reliable.Tristan Van Berkom2013-01-242-70/+89
| | | | | | | | | | Since e_source_registry_commit_source_sync() does not delay execution until the source is actually added, use the "source-added" signal instead to wait for the source to actually be added. Also, created loops in the fixture test and run more iterations (should help to catch problems with the fixture early, in case there are still races).
* test-server-utils: Permit to preserve working directoryMathias Hasselmann2013-01-172-1/+3
|
* Coding style and whitespace cleanups.Matthew Barnes2013-01-123-42/+39
|