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>
This commit is contained in:
parent
910b446fb2
commit
c4a457f8e4
@ -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[])
|
||||
|
@ -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)
|
||||
|
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user