#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 | ~CheckSyncReport () |
| virtual void | check (int res, SyncReport &report) const |
| CheckSyncReport (int clAdded=-1, int clUpdated=-1, int clDeleted=-1, int srAdded=-1, int srUpdated=-1, int srDeleted=-1) | |
| virtual | ~CheckSyncReport () |
| virtual void | check (int res, SyncReport &report) const |
Public Attributes | |
| const int | clientAdded |
| const int | clientUpdated |
| const int | clientDeleted |
| const int | serverAdded |
| const int | serverUpdated |
| const int | serverDeleted |
No item is ever supposed to fail.
Definition at line 66 of file ClientTest.h.
| CheckSyncReport::CheckSyncReport | ( | int | clAdded = -1, |
|
| int | clUpdated = -1, |
|||
| int | clDeleted = -1, |
|||
| int | srAdded = -1, |
|||
| int | srUpdated = -1, |
|||
| int | srDeleted = -1 | |||
| ) | [inline] |
Definition at line 68 of file ClientTest.h.
| virtual CheckSyncReport::~CheckSyncReport | ( | ) | [inline, virtual] |
Definition at line 78 of file ClientTest.h.
| CheckSyncReport::CheckSyncReport | ( | int | clAdded = -1, |
|
| int | clUpdated = -1, |
|||
| int | clDeleted = -1, |
|||
| int | srAdded = -1, |
|||
| int | srUpdated = -1, |
|||
| int | srDeleted = -1 | |||
| ) | [inline] |
Definition at line 68 of file ClientTest.h.
| virtual CheckSyncReport::~CheckSyncReport | ( | ) | [inline, virtual] |
Definition at line 78 of file ClientTest.h.
| virtual void CheckSyncReport::check | ( | int | res, | |
| SyncReport & | report | |||
| ) | const [virtual] |
checks that the sync completed as expected and throws CPPUnit exceptions if something is wrong
| res | return code from SyncClient::sync() | |
| report | the sync report stored in the SyncClient |
| const int CheckSyncReport::clientAdded |
| const int CheckSyncReport::clientDeleted |
| const int CheckSyncReport::clientUpdated |
| const int CheckSyncReport::serverAdded |
| const int CheckSyncReport::serverDeleted |
| const int CheckSyncReport::serverUpdated |
1.5.7.1