Changes: Add unit test to show that fetching works in general.
[qtcontacts-tracker:qtcontacts-tracker.git] / tests / ut_qtcontacts_fetch / ut_qtcontacts_fetch.pro
1 TARGET = ut_qtcontacts_fetch
2
3 test.depends = all
4 QMAKE_EXTRA_TARGETS += test
5 QCONTACTS_TRACKER_BACKENDDIR = ../../
6
7 CONFIG += test
8 QT += testlib
9
10 LIBS += -lqttracker
11 LIBS += -lQtContacts
12
13 MOC_DIR = .moc
14 OBJECTS_DIR = .obj
15
16 # CONFIG += contacts
17 INCLUDEPATH += /usr/include/qt4/QtContacts \
18                /usr/include \
19                $$QCONTACTS_TRACKER_BACKENDDIR
20
21 ## Include source files under test.
22 HEADERS += $$QCONTACTS_TRACKER_BACKENDDIR/qcontacttrackerbackend_p.h \
23            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactasyncrequest.h \
24            $$QCONTACTS_TRACKER_BACKENDDIR/trackerchangelistener.h \
25            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactslive.h \
26            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactsaverequest.h \
27            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackerrelationshipfetchrequest.h \
28            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackerrelationshipsaverequest.h \
29            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactidfetchrequest.h
30
31
32 SOURCES += $$QCONTACTS_TRACKER_BACKENDDIR/qcontacttrackerbackend.cpp \
33            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactasyncrequest.cpp \
34            $$QCONTACTS_TRACKER_BACKENDDIR/trackerchangelistener.cpp \
35            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactslive.cpp \
36            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactsaverequest.cpp \
37            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackerrelationshipfetchrequest.cpp \
38            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackerrelationshipsaverequest.cpp \
39            $$QCONTACTS_TRACKER_BACKENDDIR/qtrackercontactidfetchrequest.cpp
40
41
42 ## Include unit test files
43 HEADERS += ut_qtcontacts_fetch.h
44
45 SOURCES += ut_qtcontacts_fetch.cpp