17 lines
409 B
C++
17 lines
409 B
C++
|
|
||
|
#include "config.h"
|
||
|
|
||
|
// implement various test-only methods on classes
|
||
|
|
||
|
#include <Airports/groundnetwork.hxx>
|
||
|
#include <Airports/airport.hxx>
|
||
|
#include <Airports/xmlloader.hxx>
|
||
|
|
||
|
void FGAirport::testSuiteInjectGroundnetXML(const SGPath& path)
|
||
|
{
|
||
|
_groundNetwork.reset(new FGGroundNetwork(const_cast<FGAirport*>(this)));
|
||
|
XMLLoader::loadFromPath(_groundNetwork.get(), path);
|
||
|
_groundNetwork->init();
|
||
|
}
|
||
|
|