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:
parent
ed19df3c6f
commit
046d4c31a9
|
@ -210,6 +210,7 @@ def step2(resultdir, result, servers, indents, srcdir, shellprefix, backenddir):
|
|||
'yahoo',
|
||||
'davical',
|
||||
'googlecalendar',
|
||||
'googlecontacts',
|
||||
'googleeas',
|
||||
'apple',
|
||||
'egroupware-dav',
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue