syncevolution/test
Chen Congwu 52f736fc37 Goolge + vcard21: bugzilla #2423, ignore some properties
ignore some properties that google server will get lost
not comparing PHOTO encoded data because google always return jpg format

Ignore value mismatch in FN, NOTE, ORG and TEL
Add google specific case to workaround a test failure because of delele failed
to clean the previous data (A know issue in server)

slightly change a test case to workaround google
google server can not delete cleanly; if a later test sends a contact with the
same N field, the server will trigger a client side update which is not
expected.
2009-07-17 17:27:07 +08:00
..
Algorithm copyright updated 2009-03-25 15:21:04 +01:00
testcases Goolge + vcard21: bugzilla #2423, ignore some properties 2009-07-17 17:27:07 +08:00
abort-redirect.cpp logging: catch more redirected output when shutting down 2009-07-10 08:43:37 +02:00
client-test-main.cpp license: merged LGPL v2.1 -> LGPL v2.1 + v3 change 2009-04-30 18:35:56 +02:00
client-test.cpp license: merged LGPL v2.1 -> LGPL v2.1 + v3 change 2009-04-30 18:35:56 +02:00
client.supp valgrind suppression rules 2008-03-16 08:48:26 +00:00
ClientTest.cpp Goolge + vcard21: bugzilla #2423, ignore some properties 2009-07-17 17:27:07 +08:00
ClientTest.h testing: skip certain tests by listing them in CLIENT_TEST_SKIP 2009-07-13 18:31:48 +02:00
COPYING license: changed to LGPL v2.1 + v3 2009-04-30 18:26:27 +02:00
dbus-session.sh testing: valgrindcheck and dbus-session scripts 2009-07-15 17:03:33 +02:00
evo.supp testing: added suppressions 2009-07-14 08:50:49 +02:00
Makefile.am testing: skip certain tests by listing them in CLIENT_TEST_SKIP 2009-07-13 18:31:48 +02:00
README.funambol Funambol: add a declaration of lost parameter 'X-EVOLUTION-UI-SLOT' (Bug #2422) 2009-07-16 11:37:17 +02:00
README.google Goolge + vcard21: bugzilla #2423, ignore some properties 2009-07-17 17:27:07 +08:00
runtests.py testing: fixed typo in recent commit 2009-07-15 17:03:33 +02:00
synccompare.pl Goolge + vcard21: bugzilla #2423, ignore some properties 2009-07-17 17:27:07 +08:00
sys.supp testing: updated valgrind regression rules 2009-07-09 13:49:32 +02:00
test.cpp testing: skip certain tests by listing them in CLIENT_TEST_SKIP 2009-07-13 18:31:48 +02:00
test.h testing: skip certain tests by listing them in CLIENT_TEST_SKIP 2009-07-13 18:31:48 +02:00
valgrindcheck.sh testing: valgrindcheck and dbus-session scripts 2009-07-15 17:03:33 +02:00

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

* The google Server's device information 
    Man=Google
    Mod=Sync
    SwV=0.01
    HwV=-
    OEM=-
    DevID=Google
    DevTyp=server
    VerDTD=1.2
    UTC=
    SupportLargeObjs=true
    SupportNumberOfChanges=true

* Test Environment Variables Settings
  CLIENT_TEST_SERVER=google CLIENT_TEST_XML=0 CLIENT_TEST_MAX_ITEMSIZE=2048 \
  CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/test/                             \
  CLIENT_TEST_SKIP=Client::Sync::vcard21::testRefreshFromClientSync,         \
  Client::Sync::vcard21::testRefreshFromClientSemantic,                       \
  Client::Sync::vcard21::testRefreshStatus,                                   \
  Client::Sync::vcard21::testOneWayFromClient,                                \
  Client::Sync::vcard21::testItemsXML,                                         \
  Client::Sync::vcard21::testRetry,Client::Sync::vcard21::Suspend


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

* Know Limitations in google server:
Only supports Contact Sync over SyncML and only supports vcard2.1 format. 
Only supports WBXML for transmitting.
Don't support one-way-from-client and refresh-from-client sync.
Return 200(OK) instead of 201(Added) for replace operation from client.
Delete operation does not permanently remove items.

VCard21
  -- Below properties are lost:
     X-EVOLUTION-FILE-AS X-AIM X-EVOLUTION-UI-SLOT X-ANNIVERSARY X-ASSISTANT
     X-EVOLUTION-BLOG-URL X-EVOLUTION-VIDEO-URL X-GROUPWISE X-ICQ X-MANAGER
     X-SPOUSE X-MOZILLA-HTML X-YAHOO CATEGORIES NICKNAME BDAY URL FBURL CALURI
     ROLE  
  -- 'FN' value mismatch
  -- 'NOTE' lost ';'
  -- 'TEL' do not support 'CAR' sub type
  -- 'ORG' lost ';' as the delimiter

* Known test failures:
Client::Sync::vcard21
  -- Client::Sync::vcard21::testRefreshFromClientSync
     Client::Sync::vcard21::testRefreshFromClientSemantic
     Client::Sync::vcard21::testRefreshStatus
     Client::Sync::vcard21::testOneWayFromClient
     Client::Sync::vcard21::testItemsXML
     Client::Sync::vcard21::Retry
     Client::Sync::vcard21::Suspend