Replace com.trolltech with org.qtproject in D-Bus's performance tests
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 20 Apr 2012 12:34:15 +0000 (14:34 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 22 Apr 2012 19:32:24 +0000 (21:32 +0200)
I had missed these, apparently.

Task-number: QTBUG-23274
Change-Id: I6455dc34b18ec9cefccfe527b3fd3ad34fb61aa3
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
tests/benchmarks/dbus/qdbusperformance/server/server.cpp
tests/benchmarks/dbus/qdbusperformance/serverobject.h
tests/benchmarks/dbus/qdbusperformance/tst_qdbusperformance.cpp

index 765852c..556de71 100644 (file)
@@ -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[])
index bc173aa..857f31f 100644 (file)
@@ -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)
index bd7f09d..e93a101 100644 (file)
@@ -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());
 }