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 | ToyLayerItemTest |
Tests for toy Layer in the context of model and view model. More... | |
Functions | |
TEST_F (ToyLayerItemTest, displayNameInMultiLayer) | |
Validates display name. More... | |
TEST_F (ToyLayerItemTest, initialState) | |
Initial state. More... | |
TEST_F (ToyLayerItemTest, inModel) | |
Toy layer as prodused by toy SampleModel. More... | |
TEST_F (ToyLayerItemTest, inViewModel) | |
TEST_F (ToyLayerItemTest, layerItemDataChanged) | |
Constructing ViewModel from a Layer with one "thickness" property. More... | |
TEST_F (ToyLayerItemTest, setRootItemContext) | |
LayerItem as rootItem. More... | |
Implements class CLASS?
Definition in file TestToyLayerItem.cpp.
TEST_F | ( | ToyLayerItemTest | , |
displayNameInMultiLayer | |||
) |
Validates display name.
Definition at line 126 of file TestToyLayerItem.cpp.
References ModelView::CompoundItem::displayName(), and ModelView::SessionModel::insertItem().
TEST_F | ( | ToyLayerItemTest | , |
initialState | |||
) |
Initial state.
Definition at line 38 of file TestToyLayerItem.cpp.
References ModelView::Utils::IsSinglePropertyTag(), ToyItems::LayerItem::P_COLOR, ToyItems::LayerItem::P_THICKNESS, and ToyItems::LayerItem::T_PARTICLES.
TEST_F | ( | ToyLayerItemTest | , |
inModel | |||
) |
Toy layer as prodused by toy SampleModel.
Definition at line 48 of file TestToyLayerItem.cpp.
References ModelView::SessionModel::insertItem(), and ToyItems::Constants::LayerItemType.
TEST_F | ( | ToyLayerItemTest | , |
inViewModel | |||
) |
Definition at line 57 of file TestToyLayerItem.cpp.
References ModelView::SessionModel::insertItem(), and ToyItems::LayerItem::P_THICKNESS.
TEST_F | ( | ToyLayerItemTest | , |
layerItemDataChanged | |||
) |
Constructing ViewModel from a Layer with one "thickness" property.
Change thickness property in SessionItem, control dataChanged signals from ViewModel.
Definition at line 99 of file TestToyLayerItem.cpp.
References ModelView::SessionModel::insertItem(), and ToyItems::LayerItem::P_THICKNESS.
TEST_F | ( | ToyLayerItemTest | , |
setRootItemContext | |||
) |
LayerItem as rootItem.
Definition at line 141 of file TestToyLayerItem.cpp.
References ModelView::SessionModel::insertItem(), and ToyItems::LayerItem::P_THICKNESS.