~ci-train-bot/history-service/history-service-ubuntu-yakkety-landing-052

« back to all changes in this revision

Viewing changes to tests/plugins/sqlite/SqlitePluginTest.cpp

Request contact information for all known participants on history-daemon initialization, and use this cached information on the models.
Approved by: Tiago Salem Herrmann, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
    // check that the variant map is properly filled
101
101
    QCOMPARE(thread[History::FieldAccountId].toString(), accountId);
102
102
    QCOMPARE(thread[History::FieldType].toInt(), (int) eventType);
103
 
    QCOMPARE(thread[History::FieldParticipants].toStringList(), participants);
 
103
    QCOMPARE(History::Participants::fromVariantList(thread[History::FieldParticipants].toList()).identifiers(), participants);
104
104
    QVERIFY(!thread[History::FieldThreadId].toString().isEmpty());
105
105
 
106
106
    // now check that the thread is properly saved in the database