BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Implements class CLASS? More...
Go to the source code of this file.
Classes | |
class | Data1DPlotControllerTest |
Testing Data1DPlotController. More... | |
Functions | |
TEST_F (Data1DPlotControllerTest, axisAfter) | |
Testing controller when Data1DItem get it's axis after controller setup. More... | |
TEST_F (Data1DPlotControllerTest, dataItemInInitialState) | |
Testing controller when Data1DItem is not initialized properly. More... | |
TEST_F (Data1DPlotControllerTest, dataPoints) | |
Testing graph points update. More... | |
TEST_F (Data1DPlotControllerTest, errorBars) | |
Testing graph errors update. More... | |
TEST_F (Data1DPlotControllerTest, initialState) | |
Initial state. More... | |
TEST_F (Data1DPlotControllerTest, twoDataItems) | |
Testing two graph scenario. More... | |
Implements class CLASS?
Definition in file data1dplotcontroller.test.cpp.
TEST_F | ( | Data1DPlotControllerTest | , |
axisAfter | |||
) |
Testing controller when Data1DItem get it's axis after controller setup.
Definition at line 77 of file data1dplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binErrors(), TestUtils::binValues(), and ModelView::SessionModel::insertItem().
TEST_F | ( | Data1DPlotControllerTest | , |
dataItemInInitialState | |||
) |
Testing controller when Data1DItem is not initialized properly.
Definition at line 56 of file data1dplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binErrors(), TestUtils::binValues(), and ModelView::SessionModel::insertItem().
TEST_F | ( | Data1DPlotControllerTest | , |
dataPoints | |||
) |
Testing graph points update.
Definition at line 100 of file data1dplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binErrors(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), and ModelView::Data1DItem::setAxis().
TEST_F | ( | Data1DPlotControllerTest | , |
errorBars | |||
) |
Testing graph errors update.
Definition at line 129 of file data1dplotcontroller.test.cpp.
References TestUtils::binErrors(), ModelView::SessionModel::insertItem(), and ModelView::Data1DItem::setAxis().
TEST_F | ( | Data1DPlotControllerTest | , |
initialState | |||
) |
Initial state.
Definition at line 38 of file data1dplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binValues(), and ModelView::ItemListener< T >::currentItem().
TEST_F | ( | Data1DPlotControllerTest | , |
twoDataItems | |||
) |
Testing two graph scenario.
Definition at line 156 of file data1dplotcontroller.test.cpp.
References ModelView::FixedBinAxisItem::binCenters(), TestUtils::binCenters(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), and ModelView::Data1DItem::setAxis().