Commit 0bdcf4693a11300c7168e6ac08462eb5bda78c2a
- Diff rendering mode:
- inline
- side by side
src/contacts/contacts.pro
(1 / 1)
|   | |||
| 98 | 98 | DEPLOYMENT += CONTACTS_DEPLOYMENT | |
| 99 | 99 | } | |
| 100 | 100 | ||
| 101 | !isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=CONTACTS_DEFAULT_ENGINE | ||
| 101 | !isEmpty(CONTACTS_DEFAULT_ENGINE): DEFINES += Q_CONTACTS_DEFAULT_ENGINE=$$CONTACTS_DEFAULT_ENGINE | ||
| 102 | 102 | ||
| 103 | 103 | CONFIG += app | |
| 104 | 104 | include(../../features/deploy.pri) |
|   | |||
| 576 | 576 | QCOMPARE(em4->managerParameters(), tst_QContactManager_QStringMap()); | |
| 577 | 577 | QCOMPARE(em5->managerParameters(), tst_QContactManager_QStringMap()); | |
| 578 | 578 | QCOMPARE(em3.managerParameters(), em6->managerParameters()); // memory engine discards the given params, replaces with id. | |
| 579 | |||
| 580 | |||
| 581 | // Finally test the platform specific engines are actually the defaults | ||
| 582 | #if defined(Q_OS_SYMBIAN) | ||
| 583 | QCOMPARE(defaultStore, QString("symbian")); | ||
| 584 | #elif defined(Q_WS_MAEMO_6) | ||
| 585 | QCOMPARE(defaultStore, QString("tracker")); | ||
| 586 | #elif defined(Q_WS_MAEMO_5) | ||
| 587 | QCOMPARE(defaultStore, QString("maemo5")); | ||
| 588 | #elif defined(Q_OS_WINCE) | ||
| 589 | QCOMPARE(defaultStore, QString("wince")); | ||
| 590 | #else | ||
| 591 | QCOMPARE(defaultStore, QString("memory")); | ||
| 592 | #endif | ||
| 579 | 593 | } | |
| 580 | 594 | ||
| 581 | 595 | void tst_QContactManager::doDump() |

