diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cb5efd219016c3cb97ec1fee7016f3cdac6700e..6029e359fe37e77fd47947bc51a096b5e8da0c00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,7 +49,7 @@ if(ROOT_FOUND AND BORNAGAIN_APP) # TODO: find out whether this is still needed endif() if(BORNAGAIN_GUI) add_subdirectory(GUI) -# add_subdirectory(Tests/UnitTests/TestGUI) + add_subdirectory(Tests/UnitTests/TestGUI) endif() add_subdirectory(Tests/FunctionalTests) # functional tests (make check) diff --git a/Tests/UnitTests/TestGUI/TestParaCrystalItems.h b/Tests/UnitTests/TestGUI/TestParaCrystalItems.h index 71c92fc8ab2e092fb34b3285b7c12727e0b4e1a5..7f893a2872e31f77d8cdd9e7c4978d15ce765c9d 100644 --- a/Tests/UnitTests/TestGUI/TestParaCrystalItems.h +++ b/Tests/UnitTests/TestGUI/TestParaCrystalItems.h @@ -27,10 +27,6 @@ inline void TestParaCrystalItems::test_Para1D_InitialState() QCOMPARE(item.getItemValue(InterferenceFunctionRadialParaCrystalItem::P_KAPPA).toDouble(), 0.0); QCOMPARE(item.getGroupItem(InterferenceFunctionRadialParaCrystalItem::P_PDF)->modelType(), Constants::FTDistribution1DCauchyType); - - GroupProperty_t group_property = item.getItemValue(InterferenceFunctionRadialParaCrystalItem::P_PDF).value<GroupProperty_t>(); - QCOMPARE(group_property->type(), GroupProperty::SELECTABLE); - } inline void TestParaCrystalItems::test_Para1D_PDFGroupProperty()