PortreeKid
d783008c08
* Improved YSSY.groundnet.xml
2021-09-30 11:19:41 +01:00
James Turner
4236cee7b2
Another waypoint selection test from MikeD
...
Currently selects the wrong VOR, bvut the code is working as
designed, we think.
2021-09-02 11:29:02 +01: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
James Turner
45d969f319
Add tests cases around bug 2616
...
Can't reproduce this, but capturing in a unit-test just to make sure.
SF-Ticket: https://sourceforge.net/p/flightgear/codetickets/2616/
2021-08-21 13:09:39 +01:00
James Turner
4bf88a0b67
Extend unit-test for route-manager waypoint selection
...
SF-Ticket: https://sourceforge.net/p/flightgear/codetickets/2372/
2021-08-20 12:08:17 +01:00
James Turner
18e7bfc4b0
Fix tests build
2021-08-04 15:10:18 +01:00
Julian Smith
d91bc730b6
test_suite/unit_tests/Autopilot/testPidController*: test startup_current=0 or 1.
2021-08-02 22:38:11 +01:00
James Turner
3082789582
Disable the traffic tests for now
2021-07-21 10:59:22 +01:00
James Turner
870dbc04f5
Test infrastrucutre tweaks
2021-07-21 10:59:08 +01:00
portree_kid
8c7ff0a486
GA Test
2021-07-13 10:52:30 +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
James Turner
6ab1fdbe0f
Fixes for Keith’s tests
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
986d061004
Move view moving to end of loop
2021-07-13 10:49:06 +01:00
portree_kid
54de08a3b6
Fix #2576 Added findWithHeading
2021-07-13 10:41:30 +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
7c1bd07ed6
New KML Logging
2021-07-13 10:29:04 +01:00
portree_kid
5489a3bfd7
Basic Airport tests
2021-07-13 10:29:03 +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
8493e0bbd2
Testdata for loading of AI Aircraft
2021-07-12 16:21:19 +01:00
portree_kid
9b4cb56cc9
Set Simtime correctly
2021-07-12 16:21:19 +01:00
portree_kid
84258c79a0
Flightplan Test draft
2021-07-12 16:21:09 +01:00
portree_kid
03574442c0
AI Tests
2021-07-12 16:19:44 +01:00
portree_kid
9dd5c0e055
Moved AI FlightPlan Tests to seperate test class
2021-07-12 16:19:44 +01:00
portree_kid
d96602fc90
Tests for groundnet.cxx
2021-07-12 16:19:44 +01:00
Julian Smith
81e12d7c2e
test_suite/unit_tests/Scripting/testGC.cxx: Restore nasal state when closing down.
...
Need to restore global_nasalMinimalInit to false in NasalGCTests::tearDown(),
otherwise later run of NasalSysTests::testCommands fails.
2021-06-07 22:24:56 +01:00
James Turner
9297f62d2f
Fix some missed renames for sg_random.hxx
...
Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2595/
2021-05-28 11:58:57 +01:00
James Turner
e8952b6c0f
Update tests for revised Subsystem API
2021-04-25 19:18:56 +01:00
James Turner
adae75821d
CommRadio frequency updates from Sascha Reißner
...
Reject invalid frequencies from apt.dat in the loader, and fix
25Khz encoding to be the exact value (i.e round frequencies ending
in 20 and 70 to 25 and 75)
Fix ATCdialog to show 3 digits of comm radio frequency at all times,
and remove its rounding-conversion.
Finally, expand the tests to capture the new behaviour. Test for
EPLL is disabled for now because it contains an invalid frequency.
2021-04-01 14:46:21 +01:00
Julian Smith
2dda76b831
test_suite/unit_tests/Main/test_posinit.*: added test with AI disabled.
2021-03-27 21:55:35 +00:00
James Turner
4542691772
Add unit-test coverage for the transponder
2021-03-18 13:56:05 +00:00
James Turner
251b3aeb2b
TimeManager: add unit-test for ETC time zones
...
Ensure when entering/exiting oceanic areas, we switch to/from an ETC
time-zone correctly
2021-03-13 15:57:05 +00:00
James Turner
4eecd088e8
TimeManager: handle reposition better
...
Extend the timeManager unit-tests to check for some movements, all
seems to work correctly now.
2021-03-12 14:45:25 +00:00
James Turner
c92c41a50f
Switch test_suite build to use an OBJECT library
...
Remove use of BUILDING_TESTSUITE from headers. Where possible, move
test APIs to their own file in the test_suite dir (testApis.cxx). For
some others, add them to a special list of ‘sources which depend on
the build mode’. This will hopefully go away with some further
refactoring.
2021-03-08 16:59:15 +00:00
James Turner
81df48b858
Add tests for MP-runway start, and fix behaviour.
...
Fix a bug in how taxi-nodes were classified, which meant that MP start
on a runway was not applied correctly.
2021-03-08 10:23:43 +00:00
Julian Smith
84f95fe3c2
test_suite/unit_tests/Autopilot/: added unit test of pid-controller.
...
E.g.:
test-suite -u PidControllerTests
test-suite -u PidControllerTests::test
2021-03-07 21:57:50 +00:00
Julian Smith
3a754799c2
test_suite/testSuite.cxx: added example -u <unit-test-name>.
2021-03-07 21:57:50 +00:00
James Turner
4ca929fa61
Fix test for Jano’s dtRemainder init change
2021-03-07 13:08:29 +00:00
James Turner
8716801c8c
Unit-test for Nasal parsing bug
2021-03-07 13:08:29 +00:00
Scott Giese
21330d2f31
Minor typo
2021-02-26 20:48:43 -06:00
Scott Giese
66ad9d8373
Check for nullptr.
...
Safety during invoke() and start() to ensure global_eventManager is valid.
Use unique_ptr for cleanup.
2021-02-26 20:48:03 -06:00