diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2018-01-19 11:53:41 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2018-01-22 06:09:00 +0000 |
commit | 32a511a667bab93d4fca2e71b38d89f8d76aa07c (patch) | |
tree | 3e16b4320b7241cb1c44a84365eacb93d9ee0851 /tests/auto/render/meshfunctors/tst_meshfunctors.cpp | |
parent | bf6d107b90b8a5e9f24da0c0f551c66952dbf57b (diff) |
Mesh loading: send status update
Change-Id: Id4b73655ee30c3c225ee804f1e9244cc2b16aebf
Task-number: QTBUG-60927
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'tests/auto/render/meshfunctors/tst_meshfunctors.cpp')
-rw-r--r-- | tests/auto/render/meshfunctors/tst_meshfunctors.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/render/meshfunctors/tst_meshfunctors.cpp b/tests/auto/render/meshfunctors/tst_meshfunctors.cpp index 5d89767c7..1142d1447 100644 --- a/tests/auto/render/meshfunctors/tst_meshfunctors.cpp +++ b/tests/auto/render/meshfunctors/tst_meshfunctors.cpp @@ -116,6 +116,7 @@ private Q_SLOTS: QVERIFY(functor.sourceData().isEmpty()); QCOMPARE(functor.mesh(), mesh.id()); QCOMPARE(functor.sourcePath(), mesh.source()); + QCOMPARE(functor.status(), Qt3DRender::QMesh::None); } void functorComparison() @@ -189,6 +190,7 @@ private Q_SLOTS: // THEN QVERIFY(g == nullptr); + QCOMPARE(functor.status(), Qt3DRender::QMesh::Error); } { @@ -202,6 +204,7 @@ private Q_SLOTS: // THEN QVERIFY(g == nullptr); + QCOMPARE(functor.status(), Qt3DRender::QMesh::Error); } { @@ -215,6 +218,7 @@ private Q_SLOTS: // THEN QVERIFY(g == nullptr); + QCOMPARE(functor.status(), Qt3DRender::QMesh::Error); } } }; |