summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/entity/tst_entity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/entity/tst_entity.cpp')
-rw-r--r--tests/auto/render/entity/tst_entity.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/render/entity/tst_entity.cpp b/tests/auto/render/entity/tst_entity.cpp
index 96a9683d3..6ad958451 100644
--- a/tests/auto/render/entity/tst_entity.cpp
+++ b/tests/auto/render/entity/tst_entity.cpp
@@ -122,6 +122,7 @@ private slots:
QVERIFY(entity.componentUuid<Armature>().isNull());
QVERIFY(!entity.isBoundingVolumeDirty());
QVERIFY(entity.childrenHandles().isEmpty());
+ QVERIFY(entity.layerIds().isEmpty());
// WHEN
Q_FOREACH (QComponent *component, components) {
@@ -151,6 +152,7 @@ private slots:
QVERIFY(!entity.componentUuid<Armature>().isNull());
QVERIFY(entity.isBoundingVolumeDirty());
QVERIFY(!entity.childrenHandles().isEmpty());
+ QVERIFY(!entity.layerIds().isEmpty());
QVERIFY(renderer.dirtyBits() != 0);
bool containsAll = entity.containsComponentsOfType<Transform,
CameraLens, Material, GeometryRenderer, ObjectPicker, ComputeCommand, Armature>();
@@ -172,6 +174,7 @@ private slots:
QVERIFY(entity.componentUuid<Armature>().isNull());
QVERIFY(!entity.isBoundingVolumeDirty());
QVERIFY(entity.childrenHandles().isEmpty());
+ QVERIFY(entity.layerIds().isEmpty());
containsAll = entity.containsComponentsOfType<Transform,
CameraLens, Material, GeometryRenderer, ObjectPicker, ComputeCommand, Armature>();
QVERIFY(!containsAll);