|
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 | JsonItemConverterTest |
| Checks JsonItem class and its ability to convert SessionItems to json and back. More... | |
| class | JsonItemConverterTest::TestItem |
| class | JsonItemConverterTest::TestModel |
Functions | |
| TEST_F (JsonItemConverterTest, parentAndChildToFileAndBack) | |
| Parent and child to json file and back. More... | |
| TEST_F (JsonItemConverterTest, parentAndChildToJsonAndBack) | |
| Parent and child to json object. More... | |
| TEST_F (JsonItemConverterTest, propertyItemToFileAndBack) | |
| PropertyItem to json file and back. More... | |
| TEST_F (JsonItemConverterTest, propertyItemToJson) | |
| PropertyItem to json object. More... | |
| TEST_F (JsonItemConverterTest, propertyItemToJsonAndBack) | |
| PropertyItem to json object and back. More... | |
| TEST_F (JsonItemConverterTest, testItemToFileAndBack) | |
| TestItem to json file and back. More... | |
Implements class CLASS?
Definition in file jsonitemconverter.test.cpp.
| TEST_F | ( | JsonItemConverterTest | , |
| parentAndChildToFileAndBack | |||
| ) |
Parent and child to json file and back.
Definition at line 170 of file jsonitemconverter.test.cpp.
References ModelView::TagRow::append(), ModelView::Constants::BaseType, UnitConverterUtils::createConverter(), ModelView::JsonItemFormatAssistant::isSessionItem(), TestUtils::LoadJson(), TestUtils::SaveJson(), TestUtils::TestFileName(), and ModelView::TagInfo::universalTag().
| TEST_F | ( | JsonItemConverterTest | , |
| parentAndChildToJsonAndBack | |||
| ) |
Parent and child to json object.
Definition at line 130 of file jsonitemconverter.test.cpp.
References ModelView::TagRow::append(), ModelView::Constants::BaseType, UnitConverterUtils::createConverter(), ModelView::JsonItemFormatAssistant::isSessionItem(), and ModelView::TagInfo::universalTag().
| TEST_F | ( | JsonItemConverterTest | , |
| propertyItemToFileAndBack | |||
| ) |
PropertyItem to json file and back.
Definition at line 108 of file jsonitemconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItem::displayName(), ModelView::SessionItem::identifier(), TestUtils::LoadJson(), ModelView::SessionItem::modelType(), TestUtils::SaveJson(), and TestUtils::TestFileName().
| TEST_F | ( | JsonItemConverterTest | , |
| propertyItemToJson | |||
| ) |
PropertyItem to json object.
Definition at line 76 of file jsonitemconverter.test.cpp.
References UnitConverterUtils::createConverter(), and ModelView::JsonItemFormatAssistant::isSessionItem().
| TEST_F | ( | JsonItemConverterTest | , |
| propertyItemToJsonAndBack | |||
| ) |
PropertyItem to json object and back.
Definition at line 90 of file jsonitemconverter.test.cpp.
References UnitConverterUtils::createConverter(), ModelView::SessionItem::displayName(), ModelView::SessionItem::identifier(), ModelView::SessionItem::modelType(), and ModelView::SessionItem::setToolTip().
| TEST_F | ( | JsonItemConverterTest | , |
| testItemToFileAndBack | |||
| ) |
TestItem to json file and back.
Definition at line 215 of file jsonitemconverter.test.cpp.
References UnitConverterUtils::createConverter(), TestUtils::LoadJson(), TestUtils::SaveJson(), and TestUtils::TestFileName().