build-client-api/test/test/ClientTest.h File Reference

#include <string>
#include <vector>
#include <list>
#include "spds/SyncSource.h"
#include "spds/SyncReport.h"
#include <cppunit/TestSuite.h>
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>
#include "base/globalsdef.h"

Include dependency graph for ClientTest.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CheckSyncReport
class  ClientTest
struct  ClientTest::Config
class  CreateSource
class  LocalTests
class  SyncTests

Defines

#define LINKED_ITEMS_RELAXED_SEMANTIC   1
#define CLIENT_TEST_EQUAL(_prefix, _expected, _actual)
#define SOURCE_ASSERT_NO_FAILURE(_source, _x)
#define SOURCE_ASSERT(_source, _x)
#define SOURCE_ASSERT_EQUAL(_source, _value, _x)
#define SOURCE_ASSERT_MESSAGE(_message, _source, _x)
#define ADD_TEST(_class, _function)   addTest(new CppUnit::TestCaller<_class>(getName() + "::" #_function, &_class::_function, *this))

Typedefs

typedef std::list< std::string > UIDList

Enumerations

enum  itemType {
  NEW_ITEMS, UPDATED_ITEMS, DELETED_ITEMS, TOTAL_ITEMS,
  NEW_ITEMS, UPDATED_ITEMS, DELETED_ITEMS, TOTAL_ITEMS
}

Functions

int countItemsOfType (SyncSource *source, itemType type)
UIDList listItemsOfType (SyncSource *source, itemType type)


Define Documentation

#define LINKED_ITEMS_RELAXED_SEMANTIC   1

define to 0 to disable tests which slightly violate the semantic of linked items by inserting children before/without their parent

Definition at line 362 of file ClientTest.h.


Generated on Sat Oct 18 17:17:02 2008 for SyncEvolution and Funambol by  doxygen 1.5.7.1