ZYB: add README.zyb and customize test cases(MB#2424)

Add README.zyb file for ZYB interoperability test and
customize specified test cases for ZYB.

Now ZYB only supports contacts(vcard2.1). Now all test
cases of contacts are passed.
This commit is contained in:
Zhu, Yongsheng 2009-07-15 14:16:47 +08:00 committed by Patrick Ohly
parent 7f17cc02e6
commit 3855f132c7
2 changed files with 61 additions and 0 deletions

29
test/README.zyb Normal file
View File

@ -0,0 +1,29 @@
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

View File

@ -0,0 +1,32 @@
@@ -32,7 +32,7 @@
BEGIN:VCARD
VERSION:3.0
NICKNAME:user12
-NOTE:ampersand entity &amp\; less-than entity &lt\;
+NOTE:ampersand entity & less-than entity >
FN:xml entities
N:xml;entities;;;
X-EVOLUTION-FILE-AS:xml\, entities
@@ -175,11 +175,11 @@
X-EVOLUTION-VIDEO-URL:chat
X-MOZILLA-HTML:TRUE
ADR;TYPE=WORK:Test Box #2;;Test Drive 2;Test Town;Upper Test County;12346;O
- ld Testovia
+ ld
LABEL;TYPE=WORK:Test Drive 2\nTest Town\, Upper Test County\n12346\nTest Bo
x #2\nOld Testovia
ADR;TYPE=HOME:Test Box #1;;Test Drive 1;Test Village;Lower Test County;1234
- 5;Testovia
+ 5;Te
LABEL;TYPE=HOME:Test Drive 1\nTest Village\, Lower Test County\n12345\nTest
Box #1\nTestovia
ADR:Test Box #3;;Test Drive 3;Test Megacity;Test County;12347;New Testonia
@@ -282,7 +282,7 @@
X-EVOLUTION-SPOUSE:
NOTE:The first name is "First \; special \;".
FN:Mr. First \; special \; middle Last
-N:Last;First \; special \;;middle;Mr.;
+N:Last;First special ;middle;Mr.;
X-EVOLUTION-FILE-AS:Last\, First \; special \;
X-EVOLUTION-BLOG-URL:
CALURI: