Commit graph

7 commits

Author SHA1 Message Date
Patrick Ohly
24665a97c9 ActiveSync: fixed change tracking in testing
When testing with "Client::Source::*::testChanges", two different
accounts must be used. Otherwise the two simulated SyncEvolution
clients share the same sync keys and testing fails.

The solution is to switch to a different account, derived by appending
_B to the original account ID, for the second client.

With this fix, the testing continues. But it also needs change in
client-test itself: "testChanges" had a check that all items can be
read, which is not the case for ActiveSync because there unmodified
item data is not available.

activesyncd commit ID:
6300b3ea9184e114b521ef2e5eafda476c836e5c
2011-08-30 09:18:38 +02:00
Patrick Ohly
b07b80677c ActiveSync: enable client-test testing
The test framework itself attempts to use named databases, but because
that isn't currently supported, the first database is mapped to the
default database in the ActiveSync backend. For ActiveSync testing,
one database is enough to run all tests.

See README for instructions.

activesyncd commit ID:
cb40467f138b6d5c65007351a10cb243b5eff6c2
2011-08-30 09:18:38 +02:00
Patrick Ohly
d357d1d0e6 ActiveSync: backend type must be set for testing
Creating configs by client-test must know the right backend value.
Adding it for events, tasks and memos.

activesyncd commit ID:
cda470c2277e9dd63652b9fd1cbf762c851a13fd
2011-08-30 09:18:38 +02:00
Patrick Ohly
054f1f157e ActiveSync: fixed naming of tasks
The test cases are named eds_task, not eds_todo.

activesyncd commit ID:
b383d4795397a35be1902b1cbdda5208ac3fe6e9
2011-08-30 09:18:38 +02:00
Salvatore Iovene
4abe883d49 ActiveSync: more explicit check for config.h
Don't depend on config.h being included indirectly.
2011-08-30 09:18:38 +02:00
Patrick Ohly
55f0789c4a ActiveSync: use activesyncd header files
After adding the missing G_END_DECLS in libeassync.h it is possible
to use the header files by specifying the paths explicitly in
configure.

activesyncd commit ID:
3557477ad79c0113a2a3f7ea3b250cf5ff4ac020
2011-08-30 09:18:38 +02:00
Patrick Ohly
6ba4b8680d ActiveSync: boiler plate code with empty function bodies
Compiles inside SyncEvolution, see README.
Sync session and design outlined in the ActiveSyncSource.h
header file for the main class, ActiveSyncSource.

activesyncd commit ID:
ec8071ae67c107f32305c6d47f176210421c17c7
2011-08-30 09:18:38 +02:00