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 | PropertiesRowStrategyTest |
Functions | |
TEST_F (PropertiesRowStrategyTest, baseItemInModelContext) | |
Row construction for rootItem with single item inserted. Shouldn't generate any row. More... | |
TEST_F (PropertiesRowStrategyTest, initialState) | |
TEST_F (PropertiesRowStrategyTest, propertyItem) | |
Checks row construction for property item. It shouldn't generate any rows. More... | |
TEST_F (PropertiesRowStrategyTest, propertyItemTree) | |
Row construction for rootItem with single item inserted. Shouldn't generate any row. More... | |
TEST_F (PropertiesRowStrategyTest, topLevelItem) | |
Checks row construction for standard top level item. It shouldn't generate any rows. More... | |
TEST_F (PropertiesRowStrategyTest, vectorItemAutoLabels) | |
Checks row label construction for vector item. More... | |
TEST_F (PropertiesRowStrategyTest, vectorItemCustomLabels) | |
Checks row construction for vector item. More... | |
TEST_F (PropertiesRowStrategyTest, vectorItemInModelContext) | |
Row construction for rootItem when vectorItem is present. Shouldn't generate any row. More... | |
Implements class CLASS?
Definition in file propertiesrowstrategy.test.cpp.
TEST_F | ( | PropertiesRowStrategyTest | , |
baseItemInModelContext | |||
) |
Row construction for rootItem with single item inserted. Shouldn't generate any row.
Definition at line 115 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::SessionModel::insertItem(), and ModelView::SessionModel::rootItem().
TEST_F | ( | PropertiesRowStrategyTest | , |
initialState | |||
) |
Definition at line 32 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), and ModelView::PropertiesRowStrategy::horizontalHeaderLabels().
TEST_F | ( | PropertiesRowStrategyTest | , |
propertyItem | |||
) |
Checks row construction for property item. It shouldn't generate any rows.
Definition at line 53 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::PropertiesRowStrategy::horizontalHeaderLabels(), and ModelView::SessionItem::setData().
TEST_F | ( | PropertiesRowStrategyTest | , |
propertyItemTree | |||
) |
Row construction for rootItem with single item inserted. Shouldn't generate any row.
Definition at line 130 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::SessionModel::insertItem(), ModelView::TagInfo::propertyTag(), ModelView::Constants::PropertyType, ModelView::SessionItem::registerTag(), ModelView::SessionModel::rootItem(), and ModelView::TagInfo::universalTag().
TEST_F | ( | PropertiesRowStrategyTest | , |
topLevelItem | |||
) |
Checks row construction for standard top level item. It shouldn't generate any rows.
Definition at line 41 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), and ModelView::PropertiesRowStrategy::horizontalHeaderLabels().
TEST_F | ( | PropertiesRowStrategyTest | , |
vectorItemAutoLabels | |||
) |
Checks row label construction for vector item.
Definition at line 96 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::PropertiesRowStrategy::horizontalHeaderLabels(), ModelView::VectorItem::P_X, ModelView::VectorItem::P_Y, ModelView::VectorItem::P_Z, and ModelView::SessionItem::property().
TEST_F | ( | PropertiesRowStrategyTest | , |
vectorItemCustomLabels | |||
) |
Checks row construction for vector item.
There should be 3 view items looking to x, y, z properties.
Definition at line 67 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::SessionItem::getItem(), ModelView::VectorItem::P_X, ModelView::VectorItem::P_Y, ModelView::VectorItem::P_Z, and ModelView::SessionItem::property().
TEST_F | ( | PropertiesRowStrategyTest | , |
vectorItemInModelContext | |||
) |
Row construction for rootItem when vectorItem is present. Shouldn't generate any row.
Definition at line 154 of file propertiesrowstrategy.test.cpp.
References ModelView::PropertiesRowStrategy::constructRow(), ModelView::SessionModel::insertItem(), and ModelView::SessionModel::rootItem().