Klaus Basan
1d72d89461
[FSD] Fix UNIT tests, as pilot rating now is correctly send
2020-06-12 18:42:51 +01:00
Klaus Basan
1ab1e8ca70
[FG] Fixed UnitTest which got broken by the FG "modelstring" changes
2020-06-12 18:42:46 +01:00
Klaus Basan
92d53a4077
[FG] Do not send modelstring or a shorter livery string for FG
...
* FG does not support modelstrings for "flyable" planes
* remove unused setSimInfo functions, consolidated, cleanup
* simulator dependent "getSwiftLiveryString"
* encapsulated in getConfiguredLiveryString, getConfiguredModelString
* see https://discordapp.com/channels/539048679160676382/567091362030419981/698124094482415616
2020-06-12 18:42:45 +01:00
Roland Rossgotterer
f98e8f00e1
Add missing linker library
2020-06-12 18:42:40 +01:00
Klaus Basan
f840244bdb
[FSD] Adjust UNIT tests for *-1 fix
2020-06-12 18:42:38 +01:00
Mat Sutcliffe
4a0d8e9864
Fixed most Qt 5.14 deprecation warnings
2020-01-07 19:57:25 +00:00
Klaus Basan
3a4f114308
[FSD] In order to get the UNIT tests working, we need to call the "FSD direct message" send function
...
* added sendDirectMessage and renamed other function to sendQueudedMessage
* UNIT tests call "direct message" sending
* minor style changes
2020-01-07 19:57:20 +00:00
Klaus Basan
f38bfc5cf9
[FSD] Style
2020-01-07 19:57:19 +00:00
Roland Rossgotterer
0b8db1a612
[FSD] Don't use CCallsign object to send incremental parts update to special receiver
...
A client query can be sent to any type of receiver,
not only to valid callsigns. For example also to "@94835".
This fixes the corrupted receiver for incremental aircraft parts.
2020-01-07 19:05:42 +00:00
Roland Rossgotterer
0a730ff5dd
[FSD] Make sure sysuid is properly zero terminated
2019-10-23 00:38:26 +02:00
Klaus Basan
4f4474336d
[FSD], use consolidateTextMessage again
2019-10-23 00:38:25 +02:00
Klaus Basan
afe72b029f
Doxygen/style
2019-10-23 00:38:24 +02:00
Klaus Basan
de75cdc214
[AFV] Ref T730 incorporated MS fixes
...
see https://discordapp.com/channels/539048679160676382/623947987822837779/633025547999510530
2019-10-16 17:40:32 +02:00
Klaus Basan
1d9cd50463
[AFV] Fix context UNIT test crash
...
* crash: A crash occurred in C:\jenkins\workspace\swift_wip_fsd_and_afv_client\build\out\release\bin\testcontext.exe.
* ASSERT in const QList<QAudioDeviceInfo> allQtDevices2 = QAudioDeviceInfo::availableDevices(QAudio::AudioInput)
* figured out it fails in a Qt console app, runs in a widget app
* see https://discordapp.com/channels/539048679160676382/623947987822837779/631939335255752704
2019-10-11 19:00:54 +01:00
Mat Sutcliffe
ad627fa351
[FSD] Fixed failing test and crashing test
2019-10-11 19:00:39 +01:00
Mat Sutcliffe
077476c138
[FSD] Style
2019-10-11 19:00:39 +01:00
Klaus Basan
81ade55cb5
Ref T730, added QT multimedia in some projects, as it is now needed in blackmisc
2019-10-11 18:59:58 +01:00
Klaus Basan
5e3b758e44
Ref T732, renamed to CFsdClient adjustments
2019-10-11 18:59:05 +01:00
Roland Rossgotterer
b5a2f2ad13
AFV initial commit
2019-10-11 18:58:47 +01:00
Roland Rossgotterer
acf540be34
Long live FsdClient
2019-09-18 13:49:37 +02:00
Klaus Basan
821e7e73c9
Ref T698, added remote aircraft context to network class
2019-09-16 22:40:15 +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
9f85a7b560
Fixed clazy warnings: pass large objects by reference to const.
2019-02-22 20:23:33 +00: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
Klaus Basan
c282d4e1f8
Ref T295, network watchdog optimizations
...
* constructor can pass network accessibility as default
* ping URL now constructed in global setup
* watchdog will prevent unnecessary signals by checking if state has really changed (there are redundant QAM signals for QNetworkAccessManager::networkAccessibleChanged)
* refactorings, thread checks
2018-07-31 01:43:32 +02:00
Klaus Basan
4eeaf1adc4
Smaller adjustments of unit test and application
2018-06-01 01:30:26 +02:00
Klaus Basan
c7d11975f0
Ref T261, unit tests
2018-05-08 16:06:44 +02:00
Klaus Basan
66bf45eb9c
Unit tests, skip if DB is not reachable
2018-05-08 16:06:37 +02:00
Klaus Basan
2a0b81de5b
Ref T259, Ref T243 client provider used with network classes
...
Also adds a dummy testing class
2018-04-05 02:54:46 +02:00
Klaus Basan
2c60dfd133
Ref T172, using centralized swift test server
...
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
2017-12-29 19:49:30 +01:00
Klaus Basan
8b74acb3a9
Ref T210, moved "guess" into CApplicationInfo
...
* core unit test, set correct type
* guess application type now in CApplicationInfo
2017-12-21 19:50:09 +01:00
Klaus Basan
1aa842ad5a
Ref T150, Ref T156 unit test for connectivity, watchdog etc.
2017-09-24 20:28:49 +01:00
Klaus Basan
2b638caf80
Renamed to connectServer
2017-09-24 20:28:47 +01:00
Roland Winklmeier
4b34aff39d
Update FSD url in network unit test
2017-09-24 19:52:39 +01:00
Klaus Basan
b6b1b96ec4
Ref T105, use new style with threaded readers
...
* use doWorkCheck
* relaxed doWorkCheck in unit tests
* removed isShuttingDown, gracefulShutdown
* set timer object name (in case something is wrong, we might see the name in the log)
2017-09-24 19:50:08 +01:00
Klaus Basan
7f3643fb0e
Ref T105, use enabled in CContinuousWorker
...
* removed slots
* getName
2017-09-24 19:50:06 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
fce1513dae
refs #937 Resolved clazy warnings: unnecessary detaching of containers.
2017-04-19 19:31:38 +01:00
Klaus Basan
5c32a912f3
Based on unit test failure (clang):
...
* now ignore incomplete entities for airline/aircraft ICAOs from DB
* utility functions to find invalid designators
* adjusted unit test, avoid taking a random element
* and fixed 4 wrong ICAO entries in DB
2017-04-18 00:08:08 +01:00
Klaus Basan
ed820da20d
refs #875 , refs #879 , class for test data
...
(will be consolidated with existing utility classes)
2017-02-24 15:21:16 +00:00
Klaus Basan
09ea40a1f7
refs #875 , skip context unit test (DBus related) with no session bus
2017-02-24 15:21:13 +00:00
Klaus Basan
e28056ac2f
refs #875 , unit tests for DBus
2017-02-24 15:21:03 +00:00
Klaus Basan
3c588e61fa
refs #875 , moved classes for DBus unit tests and samples to BlackCore::Test
2017-02-24 15:21:00 +00:00
Klaus Basan
5b08363179
refs #875 , unit test for proxies
...
tests init and signal connects
2017-02-24 15:20:58 +00:00
Klaus Basan
c1482dca36
Formatting, help text beautifyHelpMessage, improved convertToQString
2017-02-24 15:20:55 +00:00
Klaus Basan
61e7f23847
refs #858 , todo review (demoted, commented)
2017-02-24 00:09:00 +00:00
Klaus Basan
ec3fc93a19
refs #846 , core: shutdown when failure and assert for missing facade
2017-01-10 23:46:06 +00:00
Mathew Sutcliffe
062289bc69
refs #838 Move interpolator unittest from testblackcore to testblackmisc.
2017-01-10 23:44:43 +00:00
Mathew Sutcliffe
7e85422da7
refs #837 CAircraftSituation altitude is part of its position.
2017-01-10 23:44:40 +00:00
Mathew Sutcliffe
6c36cd202b
refs #837 ICoordinateGeodetic::geodeticHeight is a CAltitude.
2017-01-10 23:44:34 +00:00