Commit Graph

30 Commits

Author SHA1 Message Date
Lars Toenning
a27c2b3f51 refactor: Move OnGround information to own class 2024-10-21 20:33:21 +02:00
Lars Toenning
784bf75e0d refactor: Require semicolon at end of test macros 2024-10-21 20:33:19 +02:00
Lars Toenning
5e0f3a05d3 refactor: Read AFV URLs from bootstrap.json
This also removes the possibility to change the URL on the fly via the
UI.
Fixes #257
2024-02-18 16:33:16 +01:00
Lars Toenning
9f50aaaa4a fix: Remove broken ATC station booking overview
Related to #252
2024-01-27 08:55:46 +01:00
Lars Toenning
cdd4690adf feat: Add ICAO equipment code classes 2024-01-23 20:25:30 +01:00
Lars Toenning
1f4f60d793 feat: Add wake turbulence category enum 2024-01-23 20:25:30 +01:00
Lars Toenning
fae215ba26 refactor: Move FSD Test server information to test case 2024-01-23 20:25:30 +01:00
Lars Toenning
67073d0193 Expand unittests for aviation frequency comparisons 2023-11-12 21:36:27 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
ba41d4887b clang-format tests 2023-04-18 16:07:19 +02:00
Mat Sutcliffe
09b58b8084 Issue #22 Error when FL doesn't end in 0 or 5 should be warning 2021-08-21 18:38:55 +01:00
Mat Sutcliffe
33209fa1eb Use std::as_const (C++17 feature) 2021-07-13 17:56:31 +01:00
Mat Sutcliffe
b80114213d Issue #77 Move mixin classes to separate files
By separating them from unrelated code, their dependents
can use them without depending on unrelated code, which
in turn helps to reduce cyclic dependencies.
2020-08-29 14:16:17 +01:00
Klaus Basan
a1ea9a2e10 Fixed unit test warnings as discussed, see https://discordapp.com/channels/539048679160676382/539925070550794240/663426372651319336 2020-01-07 19:57:28 +00:00
Mat Sutcliffe
4a0d8e9864 Fixed most Qt 5.14 deprecation warnings 2020-01-07 19:57:25 +00:00
Klaus Basan
9965fd039e Ref T704, improved airline prefix parsing (from callsign) 2019-09-16 22:40:31 +01:00
Klaus Basan
74be3fa8c2 Added network to UNIT tests (needed for CUrl
Other includes where needed
2019-09-16 22:40:09 +01:00
Klaus Basan
693c94c87a Send FP altitude without unit
https://discordapp.com/channels/539048679160676382/539846348275449887/593211815559823367
https://discordapp.com/channels/539048679160676382/539846348275449887/593063154238619649
2019-09-16 22:40:01 +01:00
Mat Sutcliffe
5d75d58784 Ref T570 Measure sortHint using true CPU time routines. 2019-04-12 14:54:47 +01:00
Klaus Basan
804dcbf5b8 Temp disable sortHint UNIT test (until we know why it sporadically fails) 2019-04-11 22:11:41 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Mat Sutcliffe
73d8cf392b Ref T275 testaircraftsituation: repeat test 20 times to mitigate external influences. 2019-02-22 20:34:59 +00:00
Mat Sutcliffe
4f2579b812 Ref T275 testaircraftsituation: detach lists to get meaningful benchmark results. 2019-02-22 20:34:58 +00:00
Roland Winklmeier
ee8af9f4c6 Filter other pilots ghost aircraft when flying in shared cockpit mode
When flying in shared cockpit mode, both pilots log into the network.
One as pilot to be visible to ATC and other pilots. The other one as
observer. For the observing user, the pilots aircraft needs to be filtered.
Filter algorithm is using the same schema as vPilot does.

ref T427
2018-11-16 02:49:54 +01:00
Klaus Basan
c056d74820 Ref T424, FP unit test 2018-11-16 02:49:51 +01:00
Klaus Basan
0dbaf989e9 Ref T424, renamed altitude string functions and added "roundedToNearest100ft" 2018-11-06 01:41:48 +01:00
Klaus Basan
5dbf4468f2 COM frequency rounding + testcase 2018-10-05 17:39:56 +02:00
Mat Sutcliffe
d2d27a8eac Rework sortHint test to pre-construct 500k separate situationlist objects
and then test each one, instead of just testing a single list object 500k times.
As a result, performance on Mac is comparable to Windows and Linux.
2018-09-12 17:40:40 +02:00
Roland Winklmeier
77ce9f8b8a Split the giant test binaries into smaller unit tests
This is an intermediate step to have smaller unit tests. It is a trade off
between having many many test executables compared to a few bigger ones. But
this comes a lot closer to what QtTest is meant to be used.
2018-08-25 22:12:01 +02:00