~ubuntu-branches/ubuntu/vivid/libusermetrics/vivid

« back to all changes in this revision

Viewing changes to tests/testutils/DBusTest.cpp

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Pete Woods, Ubuntu daily release
  • Date: 2013-10-02 02:10:48 UTC
  • mfrom: (1.1.19)
  • Revision ID: package-import@ubuntu.com-20131002021048-9a2817y13xze516i
Tags: 1.1.1+13.10.20131002-0ubuntu1
[ Pete Woods ]
* Prevent apps and users from modifying data they shouldn't be able to
  modify.
* Handle exceptions in the QML API.
* Support reading colors from gconf.
* Ignore leak in QXmlPatterns on i386 (must be fixed at source)
* Add wildcards to suppress reported leak in Qt. (LP: #1233003)
* Repond to security team's review.

[ Ubuntu daily release ]
* Automatic snapshot from revision 139

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
using namespace QtDBusTest;
26
26
 
27
27
DBusTest::DBusTest() {
 
28
        qputenv("USERMETRICS_NO_AUTH", "1");
 
29
        qputenv("USERMETRICS_NO_COLOR_SETTINGS", "1");
 
30
        qputenv("USERMETRICS_COLOR_SCHEMA_BASEDIR", USERMETRICS_TEST_COLOR_BASEDIR);
 
31
        qputenv("USERMETRICS_COLOR_THEME_BASEDIR", USERMETRICS_TEST_COLOR_BASEDIR);
28
32
        DBusServicePtr userMetricsService(
29
33
                        new QProcessDBusService("com.canonical.UserMetrics",
30
34
                                        QDBusConnection::SystemBus, USERMETRICSSERVICE_BINARY,