diff options
author | Dominik Holland <dominik.holland@pelagicore.com> | 2017-04-04 17:56:16 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@pelagicore.com> | 2017-04-06 07:02:18 +0000 |
commit | 8f2568ce40074098752266e17c39d0071e84a183 (patch) | |
tree | 42d19cbc374b8a2accb060fab5f1644525664216 /tests/auto | |
parent | d321008febf3a8ce7d51dd188b28dc3352b6c25e (diff) | |
download | qtivi-8f2568ce40074098752266e17c39d0071e84a183.tar.gz |
Fix all comments to use the same format
Change-Id: I63be6a65c03422034e2792835c9308961bbb6cd2
Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/core/servicemanagertest/tst_servicemanagertest.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/auto/core/servicemanagertest/tst_servicemanagertest.cpp b/tests/auto/core/servicemanagertest/tst_servicemanagertest.cpp index 669036b..3f2e23e 100644 --- a/tests/auto/core/servicemanagertest/tst_servicemanagertest.cpp +++ b/tests/auto/core/servicemanagertest/tst_servicemanagertest.cpp @@ -145,17 +145,17 @@ do { \ } while (0) /* - * Test the hasInterface method - */ + Test the hasInterface method +*/ void ServiceManagerTest::testHasInterface() { - QCOMPARE(manager->hasInterface("Foo"), false); + QCOMPARE(manager->hasInterface("Foo"), false); - MockServiceBackend *backend0 = new MockServiceBackend(manager); - bool regResult = manager->registerService(backend0, QStringList() << "Foo" << "Bar"); - QCOMPARE(regResult, true); - QCOMPARE(manager->hasInterface("Foo"), true); - QCOMPARE(manager->hasInterface("Bar"), true); + MockServiceBackend *backend0 = new MockServiceBackend(manager); + bool regResult = manager->registerService(backend0, QStringList() << "Foo" << "Bar"); + QCOMPARE(regResult, true); + QCOMPARE(manager->hasInterface("Foo"), true); + QCOMPARE(manager->hasInterface("Bar"), true); } void ServiceManagerTest::testFindServiceObjectsReturnInValidInstance() @@ -192,9 +192,9 @@ void ServiceManagerTest::testFindServiceObjects() } /* - * Test that the registerService method returns false if the user tries - * to register a service with an empty list of interfaces. - */ + Test that the registerService method returns false if the user tries + to register a service with an empty list of interfaces. +*/ void ServiceManagerTest::testRegisterWithNoInterfaces() { MockServiceBackend *backend = new MockServiceBackend(manager); @@ -203,9 +203,9 @@ void ServiceManagerTest::testRegisterWithNoInterfaces() } /* - * Test that the registerService method returns false if the user tries - * to register a service which doesn't implement the ServiceBackendInterface. - */ + Test that the registerService method returns false if the user tries + to register a service which doesn't implement the ServiceBackendInterface. +*/ void ServiceManagerTest::testRegisterNonServiceBackendInterfaceObject() { QObject *anyObject = new QObject(manager); @@ -215,8 +215,8 @@ void ServiceManagerTest::testRegisterNonServiceBackendInterfaceObject() } /* - * Test typical QAbstractListModel behavior - */ + Test typical QAbstractListModel behavior +*/ void ServiceManagerTest::testManagerListModel() { QSignalSpy managerModelSpy(manager, SIGNAL(rowsInserted(QModelIndex,int,int))); |