testing: cover Google CardDAV

This adds testing of Google Contacts syncing via CardDAV. It passes
only thanks to the simplified EDS contacts test cases, with one exception:
removing extensions is known to fail because the server keeps them even
when receiving an update without them.
This commit is contained in:
Patrick Ohly 2013-09-17 01:01:44 -07:00
parent ed19df3c6f
commit 046d4c31a9
2 changed files with 13 additions and 0 deletions

View File

@ -210,6 +210,7 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir):
'yahoo',
'davical',
'googlecalendar',
'googlecontacts',
'googleeas',
'apple',
'egroupware-dav',

View File

@ -1130,6 +1130,18 @@ test = SyncEvolutionTest("googlecalendar", compile,
testPrefix=options.testprefix)
context.add(test)
test = SyncEvolutionTest("googlecontacts", compile,
"", options.shell,
"Client::Sync::eds_contact::testItems Client::Source::google_carddav",
[ "google_carddav", "eds_contact" ],
"CLIENT_TEST_WEBDAV='google carddav testcases=testcases/eds_contact.vcf' "
"CLIENT_TEST_NUM_ITEMS=10 " # don't stress server
"CLIENT_TEST_MODE=server " # for Client::Sync
"CLIENT_TEST_FAILURES="
,
testPrefix=options.testprefix)
context.add(test)
test = SyncEvolutionTest("yahoo", compile,
"", options.shell,
"Client::Sync::eds_contact::testItems Client::Sync::eds_event::testItems Client::Source::yahoo_caldav Client::Source::yahoo_carddav",