1
0
Fork 0
flightgear/test_suite/FGTestApi/globals.hxx
Edward d'Auvergne 88179ec9c1 TestSuite: Implementation of FGTestApi.
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.
2018-07-26 15:52:06 +02:00

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