syncevolution/src
Patrick Ohly 6399bd8181 testing: cleaned up ClientTestConfig
The memset/memcpy of the embedded boost::function instances inside the
old ClientTestConfig was causing segfaults at the end of a client-test
run if compiled with optimization.

Therefore this commit turns ClientTestConfig into a proper class
containing members which initialize themselves (Bool wrapper class,
std::string), thus memset is no longer needed and used. Also added the
standard m_ prefix.

m_numItems is gone, was never set by any backend anyway and even
expected to be consistent in one test. Now CLIENT_TEST_NUM_ITEMS is
read by defNumItems() each time it is needed.

Removed "const char *" strings from method parameters. This revealed
that config.itemType (a const char *) was incorrectly passed to
insert() where the boolean "relax" parameter should have been given.
Replaced by "false" (= strict checking) even though the old code
must have run with an implicit "true" (= relaxed checking). Let's see
whether any tests fail now.
2011-09-02 09:42:19 +02:00
..
backends testing: cleaned up ClientTestConfig 2011-09-02 09:42:19 +02:00
dbus Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
gdbus GDBusCXX: fix boost::intrusive_ptr compile problem with clang 2011-09-02 09:31:57 +02:00
gnome-bluetooth Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
gtk-ui Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
syncevo testing: cleaned up ClientTestConfig 2011-09-02 09:42:19 +02:00
synthesis-includes autotools: --disable-core --enable-gui => build only sync-ui and its D-Bus lib 2010-03-23 19:04:06 +01:00
templates Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
async.patch patch switches to async version of the Evolution API 2007-02-22 19:33:21 +00:00
client-test-app.cpp testing: cleaned up ClientTestConfig 2011-09-02 09:42:19 +02:00
client-test-buteo.cpp buteo-test: update tracker database file name 2010-12-15 15:45:23 +01:00
client-test-buteo.h buteo-test: update tracker database file name 2010-12-15 15:45:23 +01:00
CmdlineSyncClient.cpp KWallet: KDE detection was flawed 2011-04-15 08:39:48 +02:00
CmdlineSyncClient.h SyncConfig: "username/password" ambiguous, changed to "sync username/password" 2011-04-11 21:05:35 +02:00
README.h added missing copyright and license headers 2009-05-11 16:31:17 +02:00
README.templates Merge remote branch 'origin/syncevolution-0-9-branch' 2009-11-30 21:41:53 +01:00
shlibs.local reverted to 0.7 packaging 2008-07-03 19:56:15 +00:00
src.am Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
syncevolution.cpp testing: cleaned up ClientTestConfig 2011-09-02 09:42:19 +02:00
testcases.am Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
valgrind.supp ObexTransportAgent: Fix valgrind warnings (MB#10091) 2010-03-12 06:33:13 -08:00

The configuration templates in "templates" get installed into
$(datadir)/syncevolution/templates.

When adding/changing a new server, then only enter the properties
which need to be changed here so that the default values can
be used for the remaining properties.

An icon can be added here for servers. The file name must start with
"icon".

Server configurations must be kept in sync in three different places:
- here (if a server is installed as files)
- in SyncEvolutionConfig.cpp's EvolutionSyncConfig::createServerTemplate()
- in SyncEvolutionCmdline.cpp's test server configs
- in test/test-dbus.py testGetConfigsTemplates()

Note that server icons must come with a suitable license that allows
redistribution.