From ded8492fccb1f57dd344997eb12d134200ef9e0a Mon Sep 17 00:00:00 2001 From: Matthias Puchner <github@mpuchner.de> Date: Wed, 20 Oct 2021 19:11:55 +0200 Subject: [PATCH] adapt unit tests --- Tests/Unit/GUI/TestComponentProxyModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Unit/GUI/TestComponentProxyModel.cpp b/Tests/Unit/GUI/TestComponentProxyModel.cpp index b2fef3e5073..3cbd9e2c445 100644 --- a/Tests/Unit/GUI/TestComponentProxyModel.cpp +++ b/Tests/Unit/GUI/TestComponentProxyModel.cpp @@ -373,7 +373,7 @@ TEST_F(TestComponentProxyModel, test_setRootIndexLayer) EXPECT_FALSE(multilayerProxyIndex.isValid()); QModelIndex layerProxyIndex = proxy.mapFromSource(model.indexOfItem(layer1)); - EXPECT_EQ(proxy.rowCount(layerProxyIndex), 4); // thickness, material, slices, roughness + EXPECT_EQ(proxy.rowCount(layerProxyIndex), 5); // thickness, material, slices, roughness, color EXPECT_EQ(proxy.columnCount(layerProxyIndex), 2); EXPECT_TRUE(layerProxyIndex.isValid()); EXPECT_TRUE(layerProxyIndex.parent() == QModelIndex()); -- GitLab