|
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 | GraphViewportItemTest |
| Testing AxesItems. More... | |
Functions | |
| TEST_F (GraphViewportItemTest, addItem) | |
| Add graph to viewport. More... | |
| TEST_F (GraphViewportItemTest, initialState) | |
| Initial state. More... | |
| TEST_F (GraphViewportItemTest, onAddItem) | |
| Check signaling on set data item. More... | |
| TEST_F (GraphViewportItemTest, onSetDataItem) | |
| Check signaling on set data item. More... | |
| TEST_F (GraphViewportItemTest, setViewportToContentWithMargins) | |
| Add graph to viewport. More... | |
Implements class CLASS?
Definition in file graphviewportitem.test.cpp.
| TEST_F | ( | GraphViewportItemTest | , |
| addItem | |||
| ) |
Add graph to viewport.
Definition at line 47 of file graphviewportitem.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::BasicAxisItem::P_MAX, and ModelView::BasicAxisItem::P_MIN.
| TEST_F | ( | GraphViewportItemTest | , |
| initialState | |||
| ) |
Initial state.
Definition at line 37 of file graphviewportitem.test.cpp.
References ModelView::GraphViewportItem::graphItems(), ModelView::SessionItem::modelType(), ModelView::Constants::ViewportAxisItemType, ModelView::ViewportItem::xAxis(), and ModelView::ViewportItem::yAxis().
| TEST_F | ( | GraphViewportItemTest | , |
| onAddItem | |||
| ) |
Check signaling on set data item.
Definition at line 81 of file graphviewportitem.test.cpp.
References ModelView::SessionModel::insertItem(), and ModelView::ViewportItem::T_ITEMS.
| TEST_F | ( | GraphViewportItemTest | , |
| onSetDataItem | |||
| ) |
Check signaling on set data item.
Definition at line 101 of file graphviewportitem.test.cpp.
References ModelView::SessionModel::insertItem(), and ModelView::GraphItem::P_LINK.
| TEST_F | ( | GraphViewportItemTest | , |
| setViewportToContentWithMargins | |||
| ) |
Add graph to viewport.
Definition at line 130 of file graphviewportitem.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::BasicAxisItem::P_MAX, and ModelView::BasicAxisItem::P_MIN.