summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2014-11-16 17:30:51 +0000
committerSean Harmer <sean.harmer@kdab.com>2014-11-19 08:59:11 +0100
commit0eb4792685539fb0f8417a8004101ec41acac3df (patch)
tree9caa961d61633d0b65bb53aac605c612124c0dac /tests
parent12b7d45bc60bd413e74c5ec7cdf0f1e097088875 (diff)
Rename QNodeUuid to QNodeId
Change-Id: I0450a4d4708af1ccd3d4c8f2ddc5c9a5c9deca27 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/core/qscene/tst_qscene.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/core/qscene/tst_qscene.cpp b/tests/auto/core/qscene/tst_qscene.cpp
index 7197f5286..1445645af 100644
--- a/tests/auto/core/qscene/tst_qscene.cpp
+++ b/tests/auto/core/qscene/tst_qscene.cpp
@@ -192,7 +192,7 @@ void tst_QScene::removeObservable()
scene->removeObservable(observables.at(0), node2->uuid());
QCOMPARE(scene->lookupObservables(node2->uuid()).count(), 5);
- QVERIFY(scene->nodeIdFromObservable(observables.at(0)) == Qt3D::QNodeUuid());
+ QVERIFY(scene->nodeIdFromObservable(observables.at(0)) == Qt3D::QNodeId());
}
void tst_QScene::removeNodeObservable()
@@ -227,7 +227,7 @@ void tst_QScene::removeNodeObservable()
QVERIFY(scene->lookupNode(node1->uuid()) == Q_NULLPTR);
QVERIFY(scene->lookupObservables(node1->uuid()).empty());
- QVERIFY(scene->nodeIdFromObservable(observables.at(0)) == Qt3D::QNodeUuid());
+ QVERIFY(scene->nodeIdFromObservable(observables.at(0)) == Qt3D::QNodeId());
QVERIFY(scene->lookupNode(node2->uuid()) == node2);
QCOMPARE(scene->lookupObservables(node2->uuid()).count(), 5);
@@ -314,7 +314,7 @@ void tst_QScene::addEntityForComponent()
}
for (int i = 0; i < 10; i++) {
- QList<Qt3D::QNodeUuid> uuids = scene->entitiesForComponent(components.at(i)->uuid());
+ QList<Qt3D::QNodeId> uuids = scene->entitiesForComponent(components.at(i)->uuid());
QCOMPARE(uuids.count(), 10);
}
}