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 | UndoScenarioTest |
Testing various undo/redo scenario. More... | |
Functions | |
TEST_F (UndoScenarioTest, undoViewportSetRange) | |
Check undo/redo of ViewportAxisItem range, when it is listened by the controller. More... | |
Implements class CLASS?
Definition in file undoscenario.test.cpp.
TEST_F | ( | UndoScenarioTest | , |
undoViewportSetRange | |||
) |
Check undo/redo of ViewportAxisItem range, when it is listened by the controller.
Real-life bug.
Definition at line 36 of file undoscenario.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::BasicAxisItem::P_MAX, ModelView::BasicAxisItem::P_MIN, ModelView::ItemListenerBase::setItem(), ModelView::SessionItem::setProperty(), ModelView::SessionModel::setUndoRedoEnabled(), and ModelView::SessionModel::undoStack().