1
0
Fork 0
flightgear/test_suite/unit_tests/Navaids
James Turner 6baa55b36b Waypoint hiding support (for the A320, etc)
To support FMS which delete ‘past’ waypoints, add some helpers:
 - waypoints can be flagged as hidden, this property is exposed to Nasal
 - currentWP() accepts an offset parameter, allowing FlightPlan indexing
   to treat the current WP as index 0
 - a ‘numRemainingWaypoints()’ function on flightPlan in Nasal, again
   to range how many waypoints are left, starting from the current WP

Add some basic tests of these new features to the route-manager tests.
2020-05-01 09:28:42 +01:00
..
CMakeLists.txt FlightPlans: fix save/load of restrictions, deleting legs from Nasal 2020-03-10 14:00:40 +00:00
test_aircraftPerformance.cxx Rename test globals to testGlobals [.cxx|.hxx] 2019-09-24 11:39:34 +01:00
test_aircraftPerformance.hxx Move aircraft-performance code into a public API 2018-08-26 14:39:42 +01:00
test_flightplan.cxx GPS/FLightPlan test updates 2020-04-21 15:48:41 +01:00
test_flightplan.hxx GPS/FP radial-intercept tests 2020-04-20 11:03:35 +01:00
test_fpNasal.cxx FlightPlans: fix save/load of restrictions, deleting legs from Nasal 2020-03-10 14:00:40 +00:00
test_fpNasal.hxx FlightPlans: fix save/load of restrictions, deleting legs from Nasal 2020-03-10 14:00:40 +00:00
test_navaids2.cxx Rename test globals to testGlobals [.cxx|.hxx] 2019-09-24 11:39:34 +01:00
test_navaids2.hxx TestSuite: Migration of the Navaids tests into the CppUnit infrastructure. 2018-06-06 20:39:25 +02:00
test_routeManager.cxx Waypoint hiding support (for the A320, etc) 2020-05-01 09:28:42 +01:00
test_routeManager.hxx Waypoint hiding support (for the A320, etc) 2020-05-01 09:28:42 +01:00
TestSuite.cxx FlightPlans: fix save/load of restrictions, deleting legs from Nasal 2020-03-10 14:00:40 +00:00