|
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 | ModelMapperTest |
| Testing ModelMapper callbacks on basic model manipulations. More... | |
Functions | |
| TEST (ModelMapperTest, onClearRebuild) | |
| Testing signals on cleaning the model using rebuild function. More... | |
| TEST (ModelMapperTest, onDataChange) | |
| Setting item data and checking corresponding signal. More... | |
| TEST (ModelMapperTest, onDataChangeMultipleUnsubscribe) | |
| Testing signaling after subscribe/unsubscribe twice. More... | |
| TEST (ModelMapperTest, onDataChangeUnsubscribe) | |
| Testing signaling after unsubscribe. More... | |
| TEST (ModelMapperTest, onItemInserted) | |
| Inserting item and checking corresponding signals. More... | |
| TEST (ModelMapperTest, onItemRemoved) | |
| Inserting item and checking corresponding signals. More... | |
| TEST (ModelMapperTest, onModelDestroyed) | |
| Testing signals on model destruction. More... | |
| TEST (ModelMapperTest, onModelReset) | |
| Testing signals on model destruction. More... | |
Implements class CLASS?
Definition in file modelmapper.test.cpp.
| TEST | ( | ModelMapperTest | , |
| onClearRebuild | |||
| ) |
Testing signals on cleaning the model using rebuild function.
Definition at line 214 of file modelmapper.test.cpp.
References ModelView::TagRow::append().
| TEST | ( | ModelMapperTest | , |
| onDataChange | |||
| ) |
Setting item data and checking corresponding signal.
Definition at line 37 of file modelmapper.test.cpp.
References ModelView::ItemDataRole::DATA, ModelView::SessionModel::insertItem(), ModelView::SessionModel::rootItem(), and ModelView::SessionModel::setData().
| TEST | ( | ModelMapperTest | , |
| onDataChangeMultipleUnsubscribe | |||
| ) |
Testing signaling after subscribe/unsubscribe twice.
Definition at line 104 of file modelmapper.test.cpp.
References ModelView::ItemDataRole::DATA, ModelView::SessionModel::insertItem(), ModelView::SessionModel::rootItem(), ModelView::SessionModel::setData(), and MockWidgetForModel::setModel().
| TEST | ( | ModelMapperTest | , |
| onDataChangeUnsubscribe | |||
| ) |
Testing signaling after unsubscribe.
Definition at line 79 of file modelmapper.test.cpp.
References ModelView::SessionModel::insertItem(), ModelView::SessionModel::rootItem(), and MockWidgetForModel::setModel().
| TEST | ( | ModelMapperTest | , |
| onItemInserted | |||
| ) |
Inserting item and checking corresponding signals.
Definition at line 134 of file modelmapper.test.cpp.
References ModelView::SessionItemTags::defaultTag(), ModelView::SessionModel::insertItem(), ModelView::SessionItem::itemTags(), and ModelView::SessionModel::rootItem().
| TEST | ( | ModelMapperTest | , |
| onItemRemoved | |||
| ) |
Inserting item and checking corresponding signals.
Definition at line 154 of file modelmapper.test.cpp.
References ModelView::SessionItemTags::defaultTag(), ModelView::SessionModel::insertItem(), ModelView::SessionItem::itemTags(), ModelView::SessionModel::removeItem(), and ModelView::SessionModel::rootItem().
| TEST | ( | ModelMapperTest | , |
| onModelDestroyed | |||
| ) |
| TEST | ( | ModelMapperTest | , |
| onModelReset | |||
| ) |