CheckSyncReport Class Reference
[Sync Client]

This class encapsulates logging and checking of a SyncReport. More...

#include <ClientTest.h>

List of all members.

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


Detailed Description

This class encapsulates logging and checking of a SyncReport.

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.


The documentation for this class was generated from the following files:
Generated on Fri Apr 27 12:29:20 2007 for Funambol C++ Client Library by  doxygen 1.5.2