#include <ClientTest.h>
Public Member Functions | |
CheckSyncReport (int clAdded=-1, int clUpdated=-1, int clDeleted=-1, int srAdded=-1, int srUpdated=-1, int srDeleted=-1) | |
virtual void | check (int res, SyncReport &report) const |
checks that the sync completed as expected and throws CPPUnit exceptions if something is wrong | |
Public Attributes | |
const int | clientAdded |
const int | clientUpdated |
const int | clientDeleted |
const int | serverAdded |
const int | serverUpdated |
const int | serverDeleted |
When constructed with default parameters, no checking will be done. Otherwise the sync report has to contain exactly the expected result. When multiple sync sources are active, all of them have to behave alike (which is how the tests are constructed).
No item is ever supposed to fail.