Fixes: Unit tests for new fetch request
authorMathias Hasselmann <mathias@openismus.com>
Mon, 7 Jun 2010 21:03:13 +0000 (23:03 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Mon, 7 Jun 2010 21:03:13 +0000 (23:03 +0200)
commit7a6233f9256ba28635a9e9793cf636454d93cdc5
treeac36a41e35abd8c3e5597170773dd0dc47a2dc09
parent2f788e92b9d01a492362404624aa3115aa8353ef
Fixes: Unit tests for new fetch request

RevBy: TrustMe
Details:

 * src/dao/subject.cpp: isContentScheme():
 * src/dao/subject.h: isContentScheme(): Introduce isContentScheme() predicate.
 * src/engine/contactfetchrequest2.cpp: fetchBaseModel(), fetchDetailModel():
   Only set detail URI from tracker when the fetched detail uses content URIs.

 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/000-contacts.ttl:
 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/000-contacts.xml:
 * tests/ut_qtcontacts_trackerplugin_querybuilder/data/101-contact-address.rq:
   Update reference data.

 * tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.cpp:
   Filter expected warning.
src/dao/subject.cpp
src/dao/subject.h
src/engine/contactfetchrequest2.cpp
tests/ut_qtcontacts_trackerplugin_querybuilder/data/000-contacts.ttl
tests/ut_qtcontacts_trackerplugin_querybuilder/data/000-contacts.xml
tests/ut_qtcontacts_trackerplugin_querybuilder/data/101-contact-address.rq
tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.cpp