BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Tests JsonDocument class. More...
Classes | |
class | TestModel1 |
class | TestModel2 |
Public Member Functions | |
JsonDocumentTest () | |
~JsonDocumentTest () | |
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 |
Tests JsonDocument class.
Definition at line 30 of file jsondocument.test.cpp.
|
inline |
Definition at line 32 of file jsondocument.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().