~ci-train-bot/online-accounts-api/online-accounts-api-ubuntu-xenial-landing-033

« back to all changes in this revision

Viewing changes to tests/daemon/functional_tests/functional_tests.cpp

  • Committer: CI Train Bot
  • Author(s): Alberto Mardegan
  • Date: 2015-09-23 12:41:36 UTC
  • mfrom: (8.4.11 update)
  • Revision ID: ci-train-bot@canonical.com-20150923124136-43tthyu1l6lkqq3l
Docs, fixes, library install

- Docs
- Couple of bugfixes
- Package the daemon as a library

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
 */
20
20
 
21
 
#include "daemon/dbus_constants.h"
 
21
#include "OnlineAccountsDaemon/dbus_constants.h"
22
22
#include "daemon_interface.h"
23
23
#include "fake_dbus_apparmor.h"
24
24
#include "fake_online_accounts_service.h"
221
221
    QVERIFY(account3 != 0);
222
222
    account3->setEnabled(true);
223
223
    account3->setDisplayName("CoolAccount 3");
 
224
    account3->setValue("color", "red");
 
225
    account3->setValue("size", "big");
224
226
    account3->setCredentialsId(m_account3CredentialsId);
225
227
    account3->selectService(coolMail);
226
228
    account3->setEnabled(true);
410
412
    accountInfo["settings/auth/oauth2/user_agent/host"] = "coolmail.ex";
411
413
    accountInfo["settings/auto-explode-after"] = 10;
412
414
    accountInfo["settings/color"] = "green";
 
415
    accountInfo["settings/size"] = "big";
413
416
    credentials["host"] = "coolmail.ex";
414
417
    QTest::newRow("no auth params") <<
415
418
        "coolmail" <<