diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-04-20 14:34:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-22 21:32:24 +0200 |
commit | c4a457f8e48cbd6202da7c567988975b568615c0 (patch) | |
tree | 9946236db98507d4fef8dc9d8b028ef834b53661 /tests/benchmarks/dbus | |
parent | 910b446fb22c9c5ab3cc65d4025efc5102d0c45e (diff) |
Replace com.trolltech with org.qtproject in D-Bus's performance tests
I had missed these, apparently.
Task-number: QTBUG-23274
Change-Id: I6455dc34b18ec9cefccfe527b3fd3ad34fb61aa3
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'tests/benchmarks/dbus')
3 files changed, 5 insertions, 5 deletions
diff --git a/tests/benchmarks/dbus/qdbusperformance/server/server.cpp b/tests/benchmarks/dbus/qdbusperformance/server/server.cpp index 765852cfca..556de71568 100644 --- a/tests/benchmarks/dbus/qdbusperformance/server/server.cpp +++ b/tests/benchmarks/dbus/qdbusperformance/server/server.cpp @@ -43,7 +43,7 @@ #include "../serverobject.h" -static const char serviceName[] = "com.trolltech.autotests.performance"; +static const char serviceName[] = "org.qtproject.autotests.performance"; static const char objectPath[] = "/"; int main(int argc, char *argv[]) diff --git a/tests/benchmarks/dbus/qdbusperformance/serverobject.h b/tests/benchmarks/dbus/qdbusperformance/serverobject.h index bc173aa762..857f31fec8 100644 --- a/tests/benchmarks/dbus/qdbusperformance/serverobject.h +++ b/tests/benchmarks/dbus/qdbusperformance/serverobject.h @@ -49,7 +49,7 @@ class ServerObject: public QObject { Q_OBJECT - Q_CLASSINFO("D-Bus Interface", "com.trolltech.autotests.Performance") + Q_CLASSINFO("D-Bus Interface", "org.qtproject.autotests.Performance") public: ServerObject(const QString &objectPath, QDBusConnection conn, QObject *parent = 0) : QObject(parent) diff --git a/tests/benchmarks/dbus/qdbusperformance/tst_qdbusperformance.cpp b/tests/benchmarks/dbus/qdbusperformance/tst_qdbusperformance.cpp index bd7f09d660..e93a1013e7 100644 --- a/tests/benchmarks/dbus/qdbusperformance/tst_qdbusperformance.cpp +++ b/tests/benchmarks/dbus/qdbusperformance/tst_qdbusperformance.cpp @@ -44,7 +44,7 @@ #include "./serverobject.h" -static const char serviceName[] = "com.trolltech.autotests.performance"; +static const char serviceName[] = "org.qtproject.autotests.performance"; static const int runTime = 500; class tst_QDBusPerformance: public QObject @@ -98,11 +98,11 @@ void tst_QDBusPerformance::initTestCase() QTestEventLoop::instance().enterLoop(5); QVERIFY(con.interface()->isServiceRegistered(serviceName)); - remote = new QDBusInterface(serviceName, "/", "com.trolltech.autotests.Performance", con, this); + remote = new QDBusInterface(serviceName, "/", "org.qtproject.autotests.Performance", con, this); QVERIFY(remote->isValid()); new ServerObject("/", con, this); - local = new QDBusInterface(con.baseService(), "/", "com.trolltech.autotests.Performance", con, this); + local = new QDBusInterface(con.baseService(), "/", "org.qtproject.autotests.Performance", con, this); QVERIFY(local->isValid()); } |