Skip to content
Snippets Groups Projects
Commit 5d170b53 authored by Pospelov, Gennady's avatar Pospelov, Gennady
Browse files

GUI unit tests are reenabled

parent 2ee3c484
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ if(ROOT_FOUND AND BORNAGAIN_APP) # TODO: find out whether this is still needed ...@@ -49,7 +49,7 @@ if(ROOT_FOUND AND BORNAGAIN_APP) # TODO: find out whether this is still needed
endif() endif()
if(BORNAGAIN_GUI) if(BORNAGAIN_GUI)
add_subdirectory(GUI) add_subdirectory(GUI)
# add_subdirectory(Tests/UnitTests/TestGUI) add_subdirectory(Tests/UnitTests/TestGUI)
endif() endif()
add_subdirectory(Tests/FunctionalTests) # functional tests (make check) add_subdirectory(Tests/FunctionalTests) # functional tests (make check)
......
...@@ -27,10 +27,6 @@ inline void TestParaCrystalItems::test_Para1D_InitialState() ...@@ -27,10 +27,6 @@ inline void TestParaCrystalItems::test_Para1D_InitialState()
QCOMPARE(item.getItemValue(InterferenceFunctionRadialParaCrystalItem::P_KAPPA).toDouble(), 0.0); QCOMPARE(item.getItemValue(InterferenceFunctionRadialParaCrystalItem::P_KAPPA).toDouble(), 0.0);
QCOMPARE(item.getGroupItem(InterferenceFunctionRadialParaCrystalItem::P_PDF)->modelType(), Constants::FTDistribution1DCauchyType); 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() inline void TestParaCrystalItems::test_Para1D_PDFGroupProperty()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment