1
0
Fork 0
Commit graph

20 commits

Author SHA1 Message Date
Julian Smith
cfe5ed0ef4 test_suite/unit_tests/AI/test_traffic.cxx: minor improvements to sprintf code.
Use snprintf() instead of sprintf() to avoid potential memory corruption.

Fixed sprintf time_t call - cast to long long.
2022-01-08 16:11:53 +00:00
PortreeKid
f1a44c98df AI Improvements
* Relax runway exit route requirement to 80°
* Ensure parking is only reset if airport for AI aircraft has changed
* Heading Error signed and arrival lead distance
2021-08-31 09:43:24 +01:00
portree_kid
61ced0e86f Change filewriting to simgear 2021-07-13 10:52:30 +01:00
portree_kid
f4bc2913c1 Flightplan Test 2021-07-13 10:52:30 +01:00
James Turner
a3c9f3163e Traffic tests: use shared pointers and new APIs 2021-07-13 10:49:06 +01:00
portree_kid
45ac50d2b7 Time moving 2021-07-13 10:49:06 +01:00
portree_kid
80e553f05c Departure gate test 2021-07-13 10:49:06 +01:00
portree_kid
3d3ff623cd Add dump() method to AIAircaft 2021-07-13 10:41:30 +01:00
portree_kid
cb3f8056ff Test AI shuttle flight 2021-07-13 10:41:30 +01:00
portree_kid
3318e09441 Test for TrafficMgr 2021-07-13 10:29:04 +01:00
portree_kid
9121e8bcef Test Complete Flight 2021-07-13 10:29:04 +01:00
portree_kid
bef7af0bc0 testPushforwardSpeedy 2021-07-13 10:29:03 +01:00
PortreeKid
19b910775e Runway Tests 2021-07-13 10:29:03 +01:00
portree_kid
620dd9ee48 YSCB AI parking test 2021-07-12 16:21:19 +01:00
portree_kid
dccea87cea AI Test Windchange 2021-07-12 16:21:19 +01:00
portree_kid
84258c79a0 Flightplan Test draft 2021-07-12 16:21:09 +01:00
James Turner
e8952b6c0f Update tests for revised Subsystem API 2021-04-25 19:18:56 +01:00
James Turner
02814ebe35 Tests: mark some expected-fail tests
Disable GPS::finalLegCourseTest, and one of the View index tests,
so that tests pass successfully. 

Also add some default properties so the skeleton traffic tests start
up without crashing.
2021-01-18 11:45:13 +00:00
James Turner
783212b954 Traffic: add a trivial test of createPushback
No validation yet, but creates all the needed pieces and doesn’t crash.
2020-12-21 13:25:15 +00:00
James Turner
d1fc4b58cb Start creating tests of AIModel code
First test just creates the manager, and ensures the user aircraft
updates in sync with the real aircraft.
2020-09-03 17:51:40 +01:00