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 | GraphPlotControllerTest |
Testing GraphPlotController. More... | |
Functions | |
TEST_F (GraphPlotControllerTest, changeGraphAppearance) | |
TEST_F (GraphPlotControllerTest, controllerDelete) | |
Deletion of controller should lead to graph removal. More... | |
TEST_F (GraphPlotControllerTest, graphDelete) | |
Deletion of graphItem should lead to the dissapearance of graph. More... | |
TEST_F (GraphPlotControllerTest, initialState) | |
Initial state. More... | |
TEST_F (GraphPlotControllerTest, setDataAfter) | |
Setting data to graph after. More... | |
TEST_F (GraphPlotControllerTest, setItem) | |
Setting GraphItem with data and checking that plottable contains correct data. More... | |
TEST_F (GraphPlotControllerTest, setPointwiseItem) | |
Setting GraphItem with data and checking that plottable contains correct data. More... | |
TEST_F (GraphPlotControllerTest, unlinkFromItem) | |
Unlinking from Data1DItem or GraphItem. More... | |
Implements class CLASS?
Definition in file graphplotcontroller.test.cpp.
TEST_F | ( | GraphPlotControllerTest | , |
changeGraphAppearance | |||
) |
Definition at line 80 of file graphplotcontroller.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::PenItem::P_COLOR, ModelView::PenItem::P_STYLE, ModelView::PenItem::P_WIDTH, ModelView::Data1DItem::setAxis(), ModelView::ComboProperty::setCurrentIndex(), ModelView::GraphItem::setDataItem(), and ModelView::ItemListenerBase::setItem().
TEST_F | ( | GraphPlotControllerTest | , |
controllerDelete | |||
) |
Deletion of controller should lead to graph removal.
Definition at line 224 of file graphplotcontroller.test.cpp.
References ModelView::SessionModel::insertItem().
TEST_F | ( | GraphPlotControllerTest | , |
graphDelete | |||
) |
Deletion of graphItem should lead to the dissapearance of graph.
Definition at line 248 of file graphplotcontroller.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::SessionItem::parent(), ModelView::SessionModel::removeItem(), and ModelView::SessionItem::tagRow().
TEST_F | ( | GraphPlotControllerTest | , |
initialState | |||
) |
Initial state.
Definition at line 40 of file graphplotcontroller.test.cpp.
References ModelView::ItemListener< T >::currentItem().
TEST_F | ( | GraphPlotControllerTest | , |
setDataAfter | |||
) |
Setting data to graph after.
Definition at line 151 of file graphplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), ModelView::Data1DItem::setAxis(), and ModelView::ItemListenerBase::setItem().
TEST_F | ( | GraphPlotControllerTest | , |
setItem | |||
) |
Setting GraphItem with data and checking that plottable contains correct data.
Definition at line 50 of file graphplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), ModelView::Data1DItem::setAxis(), ModelView::GraphItem::setDataItem(), and ModelView::ItemListenerBase::setItem().
TEST_F | ( | GraphPlotControllerTest | , |
setPointwiseItem | |||
) |
Setting GraphItem with data and checking that plottable contains correct data.
Same as aboe, except that the data is based on PointWiseAxis.
Definition at line 118 of file graphplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), ModelView::PenItem::P_COLOR, ModelView::GraphItem::penItem(), ModelView::Data1DItem::setAxis(), ModelView::ItemListenerBase::setItem(), and ModelView::SessionItem::setProperty().
TEST_F | ( | GraphPlotControllerTest | , |
unlinkFromItem | |||
) |
Unlinking from Data1DItem or GraphItem.
Definition at line 184 of file graphplotcontroller.test.cpp.
References TestUtils::binCenters(), TestUtils::binValues(), ModelView::SessionModel::insertItem(), ModelView::PenItem::P_COLOR, ModelView::GraphItem::penItem(), ModelView::Data1DItem::setAxis(), ModelView::ItemListenerBase::setItem(), and ModelView::SessionItem::setProperty().