syncevolution/test
Patrick Ohly f7718ebb48 D-Bus server + GIO D-Bus: fix auto-activation (Debian bug #599247)
When syncevo-dbus-server was started on demand by the D-Bus daemon,
then it registered itself with the daemon before it was ready to
serve requests. Only happened in combination with GIO D-Bus and
thus was not a problem before 1.2.99.x.

One user-visible effect was that the GTK UI did select the default
service when it was started for the first time, because it could not
retrieve that information from syncevo-dbus-server.

The fix consists of delaying the name acquisition. That gives the
caller a chance to register D-Bus objects first, before completing the
connection setup. The semantic change is that
dbus_bus_connection_undelay() must be called on new connections which
have a name (a NOP with libdbus).

This patch tries to minimize code changes. The downside of not
changing the GDBusCXX API more radically is that the bus name must be
attached to DBusConnectionPtr, where it will be copied into each
reference to the connection. Hopefully std::string is smart enough to
share the (small) data in this case. Should be solved cleaner once
libdbus support can be deprecated.

A test for auto-activation and double start of syncevo-dbus-server
is also added.
2012-08-13 22:17:38 +02:00
..
Algorithm Remove redundant file 2010-01-22 18:00:49 +01:00
keys syncevo-http-server: added SSL support 2010-12-28 11:31:36 +01:00
test-dbus D-Bus testing: start with auto sync on, auto terminate once it is off 2012-05-08 09:14:09 +02:00
testcases command line: fixed --export <file name> 2012-08-02 13:58:20 +02:00
abort-redirect.cpp files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
bluetooth-device-id-inspector.py Add script to query for the bluetooth device id 2011-09-06 11:58:21 +02:00
client-test-main.cpp testing: ignored failures could lead to false overall success 2012-06-26 08:25:21 +00:00
client.supp valgrind suppression rules 2008-03-16 08:48:26 +00:00
ClientTest.cpp EDS: added support for EDS 3.5.x 2012-07-24 08:25:20 +00:00
ClientTest.h testing: check result of "item already exists" during insert 2012-07-02 14:58:10 +02:00
ClientTestAssert.h testing: extended assert macros to include text message for each call location 2011-11-17 08:56:31 +01:00
compare.xsl Testing: show evolution-prebuilt in html output(bug#7160) 2009-12-01 21:45:33 +01:00
COPYING license: changed to LGPL v2.1 + v3 2009-04-30 18:26:27 +02:00
dbus-client-server.cpp dbus-client-server: added test code for client or server dying 2012-05-10 22:08:45 +02:00
dbus-server-config.py syncevo-dbus-server: add test script for getConfigs 2009-10-29 10:08:27 +01:00
dbus-server-connect.py syncevo-dbus-server: moved to gdbus with C++ bridge 2009-10-07 18:03:16 +02:00
dbus-server-http.py syncevo-dbus-server: implemented syncs via Connection API 2009-10-07 18:12:21 +02:00
dbus-server-sync.py syncevo-dbus-server: implemented Session.Sync() parameter handling 2009-10-07 18:10:06 +02:00
dbus-session.sh testing: setup-syncevolution needs D-Bus 2012-08-02 06:35:16 +00:00
evo.supp testing: ignore object_path leak in GDBus Object Proxy #680505 2012-07-24 07:58:03 +00:00
generate-html.xsl testing: fixed HTML results for suspend/resume tests (part of BMC #1367) 2012-04-26 11:46:27 +00:00
log2html.py testing: generate HTML version of .log files and ClientTest.cpp 2011-11-09 10:37:05 +00:00
notification-daemon.py testing: verify that auto sync triggers notifications 2011-08-24 18:42:14 +02:00
proxy.py nightly testing: added HTTP resend tests based on an external proxy script 2011-01-03 21:04:07 +01:00
README.funambol Funambol: no longer supports COMPLETED 2010-06-02 08:30:10 +02:00
README.google documentation: Google drops photos larger than a certain threshold (Bugzilla #4638) 2009-07-23 13:13:41 +02:00
README.googlecalendar CalDAV + Google: testImport passes 2011-05-10 15:59:12 +02:00
README.memotoo Memotoo: Add new suppressions to synccompare, README.memotoo and 2009-09-15 11:31:22 +02:00
README.mobical testing: make Mobical eds_events testItems test pass 2011-08-18 09:32:13 +00:00
README.nokia_7210c Testing+Nokia_7210c: fix a typo 2009-12-21 13:15:19 +08:00
README.Ovi Ovi README fixes. 2010-04-15 11:15:36 +02:00
README.qtcontacts buteo-testing: add README.qtcontacts 2010-12-08 10:56:16 +01:00
README.scheduleworld NEWS + README.scheduleworld: updated for 0.9 2009-08-11 19:22:18 +02:00
README.syncevolution-server README.syncevolution-server: explains testing SyncEvolution<->SyncEvolution 2010-03-22 15:50:19 +01:00
README.yahoo CardDAV + Yahoo: Client::Sync::eds_contact::testItems passes 2011-05-10 15:59:50 +02:00
README.zyb ZYB: add README.zyb and customize test cases(MB#2424) 2009-12-01 21:45:42 +01:00
resultchecker.py testing: added googleeas = Google Contacts via ActiveSync 2012-07-18 13:35:46 +00:00
run_src_client_test.sh Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
runtests.py ActiveSync: added delay for Google testing 2012-07-20 12:54:11 +00:00
synccompare.pl ActiveSync: ignore ANIVERSARY and BDAY for both Google and Exchange 2012-08-02 06:36:25 +00:00
syncevo-http-server-logging.conf syncevo-http-server: improved logging 2010-12-27 17:40:58 +01:00
syncevo-http-server.py HTTP server: extended debugging + resource tracking 2012-05-22 09:03:14 +00:00
syncevo-phone-config.py configuration: removed builtin templates 2011-06-08 12:19:51 +02:00
sys.supp testing: generalized libdl suppression 2012-07-12 15:51:37 +00:00
test-dbus-concurrency.txt command line: fixed --export <file name> 2012-08-02 13:58:20 +02:00
test-dbus.py D-Bus server + GIO D-Bus: fix auto-activation (Debian bug #599247) 2012-08-13 22:17:38 +02:00
test.am autotools: fixed combination of unit tests + shared linking 2012-01-20 10:51:42 +01:00
test.cpp testing: allow regex in CLIENT_TEST_SKIP/FAILURES 2011-11-28 10:18:19 +01:00
test.h files and classes renamed, include statements cleaned up 2009-10-05 14:49:32 +02:00
valgrindcheck.sh added debug logging for signal and process handling 2012-02-17 14:21:51 +00:00
wrappercheck.sh testing: added testing of syncevo-http-server 2011-12-16 16:26:10 +00:00

This document is used to show interoperability test information with zyb server.
http://bugzilla.moblin.org/show_bug.cgi?id=2424

* The zyb Server's device information 
  ZYB HTTP SyncML Server
  Version:3.9.18
  Build:3.9.18b572

* Test Environment Variables Settings
  CLIENT_TEST_SERVER=zyb CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/test/
 
* Test Profiles Settings
  -- N/A

* Data formats we need to test:
  -- Client::Sync::vcard21

* Know Limitations in ZYB server:
VCard21
  -- Only below properties are accepted:
     FN, N, PHOTO, BDAY, ADR, LABEL, TEL, EMAIL, TZ, GEO, TITLE, ROLE, LOGO, ORG, NOTE, REV, SOUND, URL 
  -- The property 'N' parser error: treat "\;" as the delimiter
  -- The property 'ADR': if it is long, three extra chars '\r', '\n' and ' 'will be added in the property value.
  -- Server does escaped text processing, e.g, "&lt\;" is converted to "<"
  -- Server sends mismatch anchors between two sync even if there is no failure. 

* Known test failures:
  -- NONE