|
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 | GraphItemTest |
| Testing GraphItem. More... | |
Functions | |
| TEST_F (GraphItemTest, binErrors) | |
| Setting dataItem with errors. More... | |
| TEST_F (GraphItemTest, binValues) | |
| Setting dataItem in model context. More... | |
| TEST_F (GraphItemTest, initialState) | |
| Initial state. More... | |
| TEST_F (GraphItemTest, onSetDataItem) | |
| Check signaling on set data item. More... | |
| TEST_F (GraphItemTest, penItem_setNamedColor) | |
| TEST_F (GraphItemTest, setDataItem) | |
| Setting dataItem in model context. More... | |
| TEST_F (GraphItemTest, setFromGraphItem) | |
| Sets GraphItem from another GraphItem. More... | |
| TEST_F (GraphItemTest, setNullData) | |
| Check unlinking when nullptr is set as Data1DItem. More... | |
Implements class CLASS?
Definition in file graphitem.test.cpp.
| TEST_F | ( | GraphItemTest | , |
| binErrors | |||
| ) |
Setting dataItem with errors.
Definition at line 83 of file graphitem.test.cpp.
References ModelView::Data1DItem::binCenters(), ModelView::Data1DItem::binErrors(), ModelView::Data1DItem::binValues(), and ModelView::SessionModel::insertItem().
| TEST_F | ( | GraphItemTest | , |
| binValues | |||
| ) |
Setting dataItem in model context.
Definition at line 64 of file graphitem.test.cpp.
References ModelView::Data1DItem::binCenters(), ModelView::Data1DItem::binValues(), and ModelView::SessionModel::insertItem().
| TEST_F | ( | GraphItemTest | , |
| initialState | |||
| ) |
Initial state.
Definition at line 39 of file graphitem.test.cpp.
References ModelView::GraphItem::binCenters(), ModelView::GraphItem::binErrors(), ModelView::GraphItem::binValues(), ModelView::GraphItem::colorName(), and ModelView::GraphItem::dataItem().
| TEST_F | ( | GraphItemTest | , |
| onSetDataItem | |||
| ) |
Check signaling on set data item.
Definition at line 130 of file graphitem.test.cpp.
References ModelView::SessionModel::insertItem(), and ModelView::GraphItem::P_LINK.
| TEST_F | ( | GraphItemTest | , |
| penItem_setNamedColor | |||
| ) |
Definition at line 172 of file graphitem.test.cpp.
References ModelView::GraphItem::colorName(), and ModelView::GraphItem::setNamedColor().
| TEST_F | ( | GraphItemTest | , |
| setDataItem | |||
| ) |
Setting dataItem in model context.
Definition at line 51 of file graphitem.test.cpp.
References ModelView::SessionModel::insertItem().
| TEST_F | ( | GraphItemTest | , |
| setFromGraphItem | |||
| ) |
Sets GraphItem from another GraphItem.
Definition at line 150 of file graphitem.test.cpp.
References ModelView::GraphItem::binCenters(), ModelView::GraphItem::binValues(), ModelView::SessionModel::insertItem(), ModelView::PenItem::P_COLOR, ModelView::GraphItem::penItem(), ModelView::SessionItem::property(), ModelView::GraphItem::setFromGraphItem(), and ModelView::SessionItem::setProperty().
| TEST_F | ( | GraphItemTest | , |
| setNullData | |||
| ) |
Check unlinking when nullptr is set as Data1DItem.
Definition at line 105 of file graphitem.test.cpp.
References ModelView::Data1DItem::binCenters(), ModelView::Data1DItem::binErrors(), ModelView::Data1DItem::binValues(), and ModelView::SessionModel::insertItem().