syncevolution/test
Patrick Ohly 3c01a1ebf6 PIM: enhanced progress notifications (FDO #72114)
This adds GetPeerStatus() and "progress" events.

To detect DB changes as they happen, the SyncSource operations are
monitored. Upon entry, a counter gets increased and transmitted
through to the PIM manager in syncevo-dbus-server using extended
SourceProgress structs (only visible internally - public API must not
be extended!). This will count operations which fail and count those
twice which get resumed, so the counts will be too high
occasionally. That is in line with the API definition; because it is
not exact, the API only exposes a "modified" flag.

Progress is reported based on the "item received" Synthesis event and
the total item count. A modified libsynthesis is needed where the
SyncML binfile client on the target side of the local sync actually
sends the total item count (via NumberOfChanges). This cannot be done
yet right at the start of the sync, only the second SyncML message
will have it. That is acceptable, because completion is reached very
quickly anyway for syncs involving only one message.

At the moment, SyncContext::displaySourceProgress() holds back "item
received" events until a different event needs to be emitted. Progress
reporting might get more fine-grained when adding allowing held back
events to be emitted at a fixed rate, every 0.1s. This is not done yet
because it seems to work well enough already.

For testing and demonstration purposes, sync.py gets command line
arguments for setting progress frequency and showing progress either
via listening to signals or polling.
2014-04-01 16:45:09 +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 testing: remove LANGUAGE from ATTENDEE 2014-03-26 09:48:53 +01:00
__init__.py D-Bus testing: allow 'import testdbus' 2012-10-25 16:43:47 +02:00
abort-redirect.cpp cppcheck: suppress warnings 2014-01-17 16:15:16 +01: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: avoid unitialized members after constructor 2014-01-17 16:15:15 +01:00
client.supp valgrind suppression rules 2008-03-16 08:48:26 +00:00
ClientTest.cpp testing: disable "NoID" tests when source does not support iCalendar 2.0 semantic 2014-03-26 09:48:52 +01:00
ClientTest.h testing: help scan-tool by adding noreturn annotations 2014-01-17 16:15:16 +01:00
ClientTestAssert.h testing: help scan-tool by adding noreturn annotations 2014-01-17 16:15:16 +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
cppcheck-wrapper.sh testing: include cppcheck 2014-01-17 16:15:16 +01:00
dbus-client-server.cpp glib: stricter ref counting 2013-05-16 11:19:32 +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: create XDG_RUNTIME_DIR in dbus-session.sh 2014-03-31 11:12:20 +02:00
evo.supp testing: ignore some more leaks 2014-03-19 19:26:15 +01:00
generate-html.xsl testing: fixed HTML results for suspend/resume tests (part of BMC #1367) 2012-04-26 11:46:27 +00:00
IcalTest.cpp testing: check that we get the right VTIMEZONE 2014-03-26 09:48:52 +01:00
log2html.py testing: generate HTML version of .log files and ClientTest.cpp 2011-11-09 10:37:05 +00:00
Makefile testing: update packaging and testing of pre-compiled binaries 2014-01-17 16:07:58 +01: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
resources.py testing: parallel runtests.py 2014-02-03 14:30:45 +01:00
resultchecker.py testing: split up local testing 2014-03-31 11:12:21 +02:00
run_src_client_test.sh Port build system to non-recursive Automake. 2011-08-30 16:38:34 +02:00
runtests.py testing: enable dbug mode when running syncevo-http-server 2014-03-31 11:12:21 +02:00
synccompare.pl testing: ignore harmless data changes in Akonadi 2014-03-26 09:48:53 +01: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: include time stamps in debug mode 2014-03-31 11:12:21 +02:00
syncevo-phone-config.py configuration: removed builtin templates 2011-06-08 12:19:51 +02:00
sys.supp testing: updated valgrind supressions for Debian Testing and Ubuntu Saucy 2014-03-31 11:12:21 +02:00
test-dbus-concurrency.txt command line: fixed --export <file name> 2012-08-02 13:58:20 +02:00
test-dbus.py PIM: enhanced progress notifications (FDO #72114) 2014-04-01 16:45:09 +02:00
test.am testing: wait for background daemon in wrappercheck 2014-02-02 19:32: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
testdbus.py D-Bus testing: allow 'import testdbus' 2012-10-25 16:43:47 +02:00
valgrindcheck.sh testing: use absolute path for valgrind log file 2014-03-31 11:12:20 +02:00
wrappercheck.sh testing: optimize sleep 60 in wrapperchecks.h 2014-03-26 09:48:52 +01: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