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 | JsonItemContainerConverterTest |
Checks JsonItemContainerConverter class and its ability to convert SessionItemContainer to json and back. More... | |
Functions | |
TEST_F (JsonItemContainerConverterTest, propertyContainerToFileAndBack) | |
SessionItemContainer (with single property item) to json file and back. More... | |
TEST_F (JsonItemContainerConverterTest, propertyContainerToJson) | |
SessionItemContainer (with single property item) to json object. More... | |
TEST_F (JsonItemContainerConverterTest, propertyContainerToJsonAndBack) | |
SessionItemContainer (with single property item) to json object and back. More... | |
TEST_F (JsonItemContainerConverterTest, universalContainerToJsonAndBack) | |
SessionItemContainer (with universal tag and several items) to json object and back. More... | |
Implements class CLASS?
Definition in file jsonitemcontainerconverter.test.cpp.
TEST_F | ( | JsonItemContainerConverterTest | , |
propertyContainerToFileAndBack | |||
) |
SessionItemContainer (with single property item) to json file and back.
Definition at line 135 of file jsonitemcontainerconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItemContainer::insertItem(), ModelView::SessionItemContainer::itemAt(), TestUtils::LoadJson(), ModelView::TagInfo::propertyTag(), ModelView::Constants::PropertyType, TestUtils::SaveJson(), ModelView::SessionItem::setData(), and TestUtils::TestFileName().
TEST_F | ( | JsonItemContainerConverterTest | , |
propertyContainerToJson | |||
) |
SessionItemContainer (with single property item) to json object.
Definition at line 83 of file jsonitemcontainerconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItemContainer::insertItem(), ModelView::JsonItemFormatAssistant::isSessionItemContainer(), ModelView::TagInfo::propertyTag(), ModelView::Constants::PropertyType, and ModelView::SessionItem::setData().
TEST_F | ( | JsonItemContainerConverterTest | , |
propertyContainerToJsonAndBack | |||
) |
SessionItemContainer (with single property item) to json object and back.
Definition at line 104 of file jsonitemcontainerconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItemContainer::insertItem(), ModelView::SessionItemContainer::itemAt(), ModelView::TagInfo::propertyTag(), ModelView::Constants::PropertyType, and ModelView::SessionItem::setData().
TEST_F | ( | JsonItemContainerConverterTest | , |
universalContainerToJsonAndBack | |||
) |
SessionItemContainer (with universal tag and several items) to json object and back.
Definition at line 173 of file jsonitemcontainerconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItem::data(), ModelView::SessionItem::identifier(), ModelView::SessionItemContainer::insertItem(), ModelView::SessionItemContainer::itemAt(), ModelView::SessionItemContainer::itemCount(), ModelView::SessionItem::setData(), and ModelView::TagInfo::universalTag().