88179ec9c1
The test_suite/helpers directory has been renamed to test_suite/FGTestApi/ and all the fgtest namespaces renamed to FGTestApi. The helper functions are now also placed into either a setUp or tearDown namespace depending on their function. And a new FGTestApi::PrivateAccessor::FDM namespace has been created for holding friend classes used to access private or protected variables or functions from solely within the test suite.
26 lines
413 B
C++
26 lines
413 B
C++
#ifndef FG_TEST_HELPERS_HXX
|
|
#define FG_TEST_HELPERS_HXX
|
|
|
|
#include <string>
|
|
#include <simgear/misc/sg_path.hxx>
|
|
|
|
namespace FGTestApi {
|
|
|
|
namespace setUp {
|
|
|
|
void initTestGlobals(const std::string& testName);
|
|
|
|
SGPath fgdataPath();
|
|
|
|
} // End of namespace setUp.
|
|
|
|
|
|
namespace tearDown {
|
|
|
|
void shutdownTestGlobals();
|
|
|
|
} // End of namespace tearDown.
|
|
|
|
} // End of namespace FGTestApi.
|
|
|
|
#endif // of FG_TEST_HELPERS_HXX
|