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 | CustomVariantsTest |
Functions | |
TEST_F (CustomVariantsTest, CompatibleVariantTypes) | |
Variant compatibility. More... | |
TEST_F (CustomVariantsTest, IsTheSameComboProperty) | |
Checks if ComboProperty based variant is the same. More... | |
TEST_F (CustomVariantsTest, IsTheSameVariant) | |
Test variant equality reported by SessionItemUtils::isTheSame. More... | |
TEST_F (CustomVariantsTest, isVariantType) | |
Checks all functions related to variant types. More... | |
TEST_F (CustomVariantsTest, toCustomVariant) | |
Test translation of variants. More... | |
TEST_F (CustomVariantsTest, toQtVariant) | |
Test toQtVAriant function. More... | |
TEST_F (CustomVariantsTest, VariantFromTemplateArgument) | |
To keep under control implicit type conversion. More... | |
TEST_F (CustomVariantsTest, VariantName) | |
Variant compatibility. More... | |
Implements class CLASS?
Definition in file customvariants.test.cpp.
TEST_F | ( | CustomVariantsTest | , |
CompatibleVariantTypes | |||
) |
Variant compatibility.
Definition at line 76 of file customvariants.test.cpp.
References ModelView::Utils::CompatibleVariantTypes(), ModelView::ComboProperty::createFrom(), and ModelView::Utils::VariantType().
TEST_F | ( | CustomVariantsTest | , |
IsTheSameComboProperty | |||
) |
Checks if ComboProperty based variant is the same.
Definition at line 161 of file customvariants.test.cpp.
References ModelView::ComboProperty::createFrom(), ModelView::Utils::IsTheSame(), and ModelView::ComboProperty::setValue().
TEST_F | ( | CustomVariantsTest | , |
IsTheSameVariant | |||
) |
Test variant equality reported by SessionItemUtils::isTheSame.
Definition at line 111 of file customvariants.test.cpp.
References ModelView::ComboProperty::createFrom(), ModelView::Utils::IsTheSame(), ModelView::RealLimits::limited(), and ModelView::ComboProperty::setValue().
TEST_F | ( | CustomVariantsTest | , |
isVariantType | |||
) |
Checks all functions related to variant types.
Definition at line 221 of file customvariants.test.cpp.
References ModelView::Utils::IsBoolVariant(), ModelView::Utils::IsColorVariant(), ModelView::Utils::IsComboVariant(), ModelView::Utils::IsDoubleVariant(), ModelView::Utils::IsDoubleVectorVariant(), ModelView::Utils::IsExtPropertyVariant(), ModelView::Utils::IsIntVariant(), ModelView::Utils::IsRealLimitsVariant(), and ModelView::Utils::IsStdStringVariant().
TEST_F | ( | CustomVariantsTest | , |
toCustomVariant | |||
) |
Test translation of variants.
Definition at line 199 of file customvariants.test.cpp.
References ModelView::Utils::toCustomVariant().
TEST_F | ( | CustomVariantsTest | , |
toQtVariant | |||
) |
Test toQtVAriant function.
Definition at line 179 of file customvariants.test.cpp.
References ModelView::Utils::toQtVariant().
TEST_F | ( | CustomVariantsTest | , |
VariantFromTemplateArgument | |||
) |
To keep under control implicit type conversion.
Definition at line 44 of file customvariants.test.cpp.
References ModelView::Constants::bool_type_name, ModelView::Constants::double_type_name, ModelView::Constants::int_type_name, and ModelView::Constants::string_type_name.
TEST_F | ( | CustomVariantsTest | , |
VariantName | |||
) |
Variant compatibility.
Definition at line 54 of file customvariants.test.cpp.
References ModelView::Constants::bool_type_name, ModelView::Constants::comboproperty_type_name, ModelView::ComboProperty::createFrom(), ModelView::Constants::double_type_name, ModelView::Constants::extproperty_type_name, ModelView::Constants::int_type_name, ModelView::Constants::invalid_type_name, ModelView::Constants::qcolor_type_name, ModelView::Constants::reallimits_type_name, ModelView::Constants::string_type_name, ModelView::Utils::VariantName(), and ModelView::Constants::vector_double_type_name.