Classes | |
class | CheckSyncReport |
This class encapsulates logging and checking of a SyncReport. More... | |
class | ClientTest |
This is the interface expected by the testing framework for sync clients. More... | |
class | CreateSource |
helper class to encapsulate ClientTest::Config::createsource_t pointer and the corresponding parameters More... | |
class | LocalTests |
local test of one sync source and utility functions also used by sync tests More... | |
class | SyncTests |
Tests synchronization with one or more sync sources enabled. More... | |
Typedefs | |
typedef std::list< std::string > | UIDList |
Enumerations | |
enum | itemType { NEW_ITEMS, UPDATED_ITEMS, DELETED_ITEMS, TOTAL_ITEMS } |
Functions | |
int | countItemsOfType (SyncSource *source, itemType type) |
utility function which counts items of a certain kind known to the sync source | |
UIDList | listItemsOfType (SyncSource *source, itemType type) |
generates list of UIDs in the specified kind of items |
int countItemsOfType | ( | SyncSource * | source, | |
itemType | type | |||
) |
utility function which counts items of a certain kind known to the sync source
source | valid source ready to iterate; NULL triggers an assert | |
itemType | determines which iterator functions are used |
References listItemsOfType().