BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Test convertion of SessionItemData from/to QJsonObject. More...
Public Member Functions | |
JsonItemDataConverterTest () | |
~JsonItemDataConverterTest () | |
std::string | createEmptyDir (const std::string &subdir) const |
Creates an empty directory in main test folder. More... | |
std::string | testDir () const |
std::string | testPath () const |
Return full path to the test folder. Located in CMAKE_BINARY_DIR/test_output/<m_test_dir>. More... | |
Protected Attributes | |
std::string | m_test_dir |
Test convertion of SessionItemData from/to QJsonObject.
Definition at line 32 of file jsonitemdataconverter.test.cpp.
|
inline |
Definition at line 34 of file jsonitemdataconverter.test.cpp.
|
default |
|
inherited |
Creates an empty directory in main test folder.
Remove recursively previous one with the same name, if exist.
Definition at line 39 of file folderbasedtest.cpp.
References ModelView::Utils::create_directory(), ModelView::Utils::join(), ModelView::Utils::remove_all(), and FolderBasedTest::testPath().
|
inherited |
|
inherited |
Return full path to the test folder. Located in CMAKE_BINARY_DIR/test_output/<m_test_dir>.
Definition at line 31 of file folderbasedtest.cpp.
References FolderBasedTest::m_test_dir, and TestUtils::TestDirectoryPath().
Referenced by FolderBasedTest::createEmptyDir().
|
protectedinherited |
Definition at line 35 of file folderbasedtest.h.
Referenced by FolderBasedTest::FolderBasedTest(), FolderBasedTest::testDir(), and FolderBasedTest::testPath().