~unity-team/libqtdbusmock/trunk

« back to all changes in this revision

Viewing changes to src/libqtdbusmock/DBusMock.cpp

  • Committer: Bileto Bot
  • Date: 2016-12-06 12:08:47 UTC
  • mfrom: (43.1.5 trunk)
  • Revision ID: ci-train-bot@canonical.com-20161206120847-cyftgdq8c72wvhgo
* Add AddDeviceConnection, SettingsAddConnection methods to network manager mock interface.
* Switch to cmake-extras version of FindGMock.
* CHange to pragma once for header guard macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        Method::registerMetaType();
67
67
        MethodCall::registerMetaType();
68
68
        NamedMethodCall::registerMetaType();
 
69
 
 
70
    qRegisterMetaType<VariantDictMap>("QtDBusMock::VariantDictMap");
 
71
    qDBusRegisterMetaType<VariantDictMap>();
69
72
}
70
73
 
71
74
void DBusMock::registerTemplate(const QString &service,