Changes: unit tests: Use QLatin1String for correctness and really filter.
authorMurray Cumming <murrayc@openismus.com>
Thu, 25 Feb 2010 12:00:50 +0000 (13:00 +0100)
committerMurray Cumming <murrayc@openismus.com>
Thu, 25 Feb 2010 12:00:50 +0000 (13:00 +0100)
commitad6e332dd44171ac01c8bf3abc4fcef6fcb23b98
tree348b9c9cfe39fc724311ba9dd052e5af531a3996
parent0eeaa2a55ae0b3b10c97925b4c1fbb0ad51b728f
Changes: unit tests: Use QLatin1String for correctness and really filter.

RevBy: TrustMe
Details:
* tests/ut_qtcontacts_add_async/: Use QLatin1String with string literals,
  because that is generally correct, because QString can be globally told
  to interpret string literals as non-ASCII (which is annoying).
* tests/ut_qtcontacts_fetch/: Use QLatin1String here to.
  getExistingContact(): Only check if any_contact is false and actually
  set a value for the filter, as already done in ut_qtcontacts_ad_async.
tests/ut_qtcontacts_add_async/ut_qtcontacts_add_async.cpp
tests/ut_qtcontacts_fetch/ut_qtcontacts_fetch.cpp