Changes: Add relatively-simple test code to show adding and checking of a contact.
authorMurray Cumming <murrayc@murrayc.com>
Tue, 23 Feb 2010 11:00:34 +0000 (12:00 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Wed, 24 Feb 2010 10:14:01 +0000 (11:14 +0100)
commitf40225fa5e79256c6c7fe885545db6e5978c41f0
treed46440650caa53bb9c9956375668cfb2c3a91799
parent083b4e87fb62c5ac2d86cd99cf9a54ed2acc750c
Changes: Add relatively-simple test code to show adding and checking of a contact.

RevBy: people-review
Details:
* tests/ut_qtcontacts_add_async.[h|cpp|pro]: New test files.
  This uses the QContactManager API asynchronously, sometimes
  using QTimeout::singleShot() to achieve that.
  Commented out TODO lines in onTimeoutAddContact() show a problem
  when saving a copy of a contact.
tests/ut_qtcontacts_add_async/ut_qtcontacts_add_async.cpp [new file with mode: 0644]
tests/ut_qtcontacts_add_async/ut_qtcontacts_add_async.h [new file with mode: 0644]
tests/ut_qtcontacts_add_async/ut_qtcontacts_add_async.pro [new file with mode: 0644]