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
Mathew Sutcliffe
544a1cca45
refs #837 Don't misuse coordinate height as ground elevation, use a separate member instead.
2017-01-10 23:44:31 +00:00
Klaus Basan
8f779fff35
refs #787 , fixed unit test
...
* flag update for non cached scenarios was missing
* some minor adjustments of test readers
2016-12-13 19:01:37 +01:00
Mathew Sutcliffe
6f972035ab
refs #800 Fixed some declaration shadows variable in outer scope warnings.
2016-12-13 19:00:27 +01:00
Klaus Basan
dff8db131f
refs #780 , "qUtf8Printable" fixes
...
https://dev.vatsim-germany.org/issues/780#note-9 number 2
2016-12-13 19:00:11 +01:00
Klaus Basan
9deedf1e10
refs #789 , improvements when addressing FSX driver issue
...
* added new utility funtion is model list / aircraft list
* added setters/getters for CSimConnectObject
* added setters/getters for InterpolationStatus / PartsStatus
* added CSimConnectObjects (better encapsulation)
2016-12-06 09:47:04 +01:00
Klaus Basan
9bf1833aac
Improved messages in reader UNIT test
...
* info about URL connected
* reflect changes in global setup for airport reader
2016-12-06 09:33:39 +01:00
Michał Garapich
9acfb89e65
refs #748 Add operating attribute to CAirport
2016-10-17 14:34:33 +01:00
Michał Garapich
cf3e9f1f67
refs #748 Support database format in CAirportDataReader
...
* CAirport is now database object
* CAirportList is now datastore object list
* CAirportDataReader adjustments
2016-10-17 14:34:31 +01:00
Michał Garapich
a4b5b28cc1
refs #748 Move CAirportDataReader to the db/ subdirectory
...
* BlackCore::CAirportDataReader -> BlackCore::Db::CAirportDataReader
* fix typo in CDatabaseReader
2016-10-17 14:34:30 +01:00
Klaus Basan
67fdfd228a
Minor improvements for reader unit test
...
* URL in verify msg.
* qWait when reading
2016-09-19 16:18:56 +02:00
Michał Garapich
1032b2f506
refs #650 Implement CAirportDataReader
...
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Klaus Basan
19040af654
refs #704 , moved VATSIM specific stuff to ns VATSIM/subdir
2016-07-14 18:49:11 +02:00
Roland Winklmeier
ef1b7b2c21
Use QSKIP to flag a test 'skipped', if server is not reachable
...
refs #682
2016-06-22 14:23:07 +02:00
Mathew Sutcliffe
fdfc5256eb
Configure additional xml output for each unit test via a BlackMisc utility class
...
refs #682
2016-06-22 14:22:22 +02:00
Mathew Sutcliffe
7ae453b532
refs #666 Moved interpolator to BlackMisc so xbus doesn't need to link BlackCore.
2016-06-08 23:54:13 +01:00
Mathew Sutcliffe
c64851aeba
refs #570 Removed the hardcoded 6 seconds, interpolator honors the offsets of the situations.
2016-06-08 23:54:13 +01:00
Klaus Basan
54b1234f7f
refs #649 , refs #658 fixed includes to new subfolders "db"
...
some style changes in same step
2016-06-08 18:20:23 +02:00