1
0
Fork 0
flightgear/test_suite/FGTestApi/globals.hxx

41 lines
852 B
C++
Raw Normal View History

#ifndef FG_TEST_GLOBALS_HELPERS_HXX
#define FG_TEST_GLOBALS_HELPERS_HXX
#include <string>
2019-04-23 17:10:39 +00:00
#include <simgear/structure/SGSharedPtr.hxx>
class SGGeod;
2019-04-23 17:10:39 +00:00
namespace flightgear
{
class FlightPlan;
typedef SGSharedPtr<FlightPlan> FlightPlanRef;
}
namespace FGTestApi {
namespace setUp {
void initTestGlobals(const std::string& testName);
2019-04-23 17:10:39 +00:00
void populateFP(flightgear::FlightPlanRef f,
const std::string& depICAO, const std::string& depRunway,
const std::string& destICAO, const std::string& destRunway,
const std::string& waypoints);
} // End of namespace setUp.
void setPosition(const SGGeod& g);
void runForTime(double t);
namespace tearDown {
void shutdownTestGlobals();
} // End of namespace tearDown.
} // End of namespace FGTestApi.
#endif // of FG_TEST_GLOBALS_HELPERS_HXX