|
Nektar++
|
The TestData class is responsible for parsing a test XML file and storing the data. More...
#include <TestFile.h>
Public Member Functions | |
| TestFile (const fs::path &pFilename, po::variables_map &pVm) | |
| TestData constructor. | |
| TestFile (const TestFile &pSrc) | |
| void | Parse (TiXmlDocument *pDoc) |
| Parse the test file and populate member variables for the test. | |
| void | SaveFile () |
| std::vector< TestData * > | GetTests () |
Private Attributes | |
| po::variables_map | m_cmdoptions |
| TiXmlDocument * | m_doc |
| std::vector< TestData * > | m_tests |
| Vector of one or more tests to run. | |
The TestData class is responsible for parsing a test XML file and storing the data.
Definition at line 58 of file TestFile.h.
| Nektar::TestFile::TestFile | ( | const fs::path & | pFilename, |
| po::variables_map & | pVm | ||
| ) |
TestData constructor.
The class is constructed with the path to the test XML file and a po::variables_map object containing the command-line options passed to the program.
| pFilename | |
| pVm |
Definition at line 57 of file TestFile.cpp.
| Nektar::TestFile::TestFile | ( | const TestFile & | pSrc | ) |
Definition at line 72 of file TestFile.cpp.
|
inline |
Definition at line 68 of file TestFile.h.
References m_tests.
Referenced by main().
| void Nektar::TestFile::Parse | ( | TiXmlDocument * | pDoc | ) |
Parse the test file and populate member variables for the test.
Definition at line 78 of file TestFile.cpp.
References ASSERTL0, m_cmdoptions, and m_tests.
Referenced by TestFile().
| void Nektar::TestFile::SaveFile | ( | ) |
|
private |
Definition at line 74 of file TestFile.h.
Referenced by Parse().
|
private |
Definition at line 75 of file TestFile.h.
Referenced by SaveFile(), and TestFile().
|
private |
Vector of one or more tests to run.
Definition at line 78 of file TestFile.h.
Referenced by GetTests(), and Parse().