summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/test/test-serverinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/test/test-serverinfo.cpp')
-rw-r--r--rbutil/rbutilqt/test/test-serverinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/test/test-serverinfo.cpp b/rbutil/rbutilqt/test/test-serverinfo.cpp
index bda939676c..bc6024e843 100644
--- a/rbutil/rbutilqt/test/test-serverinfo.cpp
+++ b/rbutil/rbutilqt/test/test-serverinfo.cpp
@@ -110,11 +110,11 @@ void TestServerInfo::testMain()
tf.write(testinfo);
tf.close();
- ServerInfo::readBuildInfo(filename);
+ ServerInfo::instance()->readBuildInfo(filename);
unsigned int i;
for(i = 0; i < sizeof(testdata) / sizeof(struct testvector); i++) {
- QString result = ServerInfo::platformValue(testdata[i].entry, testdata[i].target).toString();
+ QString result = ServerInfo::instance()->platformValue(testdata[i].entry, testdata[i].target).toString();
QCOMPARE(result, QString(testdata[i].expected));
}
}