Klaus Basan
78e61e25ac
Formatting
2018-02-16 12:13:35 +01:00
Klaus Basan
c80d12c357
Unit test
2018-01-30 20:31:00 +01:00
Roland Winklmeier
de4fe44156
Fix sending the correct pressure altitude for a pilot position
...
* Before this commit, only the true altitude was known for an aircraft situation. The pressure altitude was not available anywhere yet.
* This caused a wrong altitude in radar clients.
* We fix this reading the pressure altitude from the simulators and set it in the own aircraft situation.
* MS Flight Simulators have the pressure altitude in the APIs available.
* For X-Plane and emulated simulator, we need to calculate it from the pressure at sea level.
* Finally, we use the new available pressure altitude to send it to the FSD server.
Maniphest Tasks: Ref T223
2018-01-15 22:49:08 +01: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
68dccbefa6
Formatting, renaming, Doxygen, minor UI adjustments
2017-02-24 00:18:51 +00:00
Mathew Sutcliffe
7e85422da7
refs #837 CAircraftSituation altitude is part of its position.
2017-01-10 23:44:40 +00:00
Roland Winklmeier
4f8205e585
Fix unit test header includes
...
* Include only what is used
* Use forward declaration when possible
* Sorted includes
refs #598
2016-05-20 01:32:26 +02:00
Roland Winklmeier
d1eb0bb9c3
Add tests to doxygen group 'tests' and subgroups
...
refs #594
2016-02-16 20:01:44 +01:00
Roland Winklmeier
1ea2f34f75
Fix doxygen documentation in src, samples and tests
...
refs #594
2016-02-16 20:01:33 +01:00
Klaus Basan
3e1e1070c1
refs #452 updated tests/samples to reflect previous changes
2015-11-19 20:59:21 +00:00
Klaus Basan
edf8191969
refs #445 , unit tests
...
* tests for DB reading
* adjusted other unit tests (livery, formatting, doxygen)
2015-11-19 20:57:18 +00:00
Klaus Basan
dc918dfaba
Moved some samples into unit tests
2015-05-30 18:18:47 +02:00
Klaus Basan
104122023c
Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied
2015-05-17 20:29:06 +02:00
Mathew Sutcliffe
b65232b202
MS & KB workshop: ICAO class renamings.
2015-05-12 22:47:54 +01:00
Mathew Sutcliffe
c136724cd0
MS & KB workshop: removed CAvionicsBase.
2015-05-12 22:47:52 +01:00
Michał Garapich
985a1caecf
refs #396 BlackMisc: nw* goes to network/, hw* goes to hardware/
2015-04-07 19:22:37 +02:00
Mathew Sutcliffe
2363fab8c1
refs #396 move Blackmisc PQ classes into subfolder
2015-04-07 19:22:30 +02:00
Klaus Basan
0ab755d510
refs #396 subfolders and renamed callsign list to callsign set
...
* subfolder audio
* subfolder geo
* adjusted samples, tests ....
2015-04-07 19:22:23 +02:00
Roland Winklmeier
78d3350bf3
refs #396 move Blackmisc Aviation classes into subfolder
2015-04-07 18:20:20 +02:00
Klaus Basan
bd58475436
refs #369 , unit test for interpolator
2015-03-20 16:49:11 +01:00
Klaus Basan
00a89fbbd7
refs #314 , modulator based classes to latest style
...
* removed exceptions
* removed tryGet methods
* adjusted samples
2014-08-24 02:46:55 +02:00
Klaus Basan
f989acb42e
Removed validation by exception (no longer what we use) from com/xpdr
2014-07-04 22:56:50 +02:00
Mathew Sutcliffe
c847237505
Using nested tie to workaround implementations with a maximum tuple size of 10.
...
refs #182
2014-03-28 17:07:36 +00:00
Klaus Basan
57435b2a73
refs #192 , some housekeeping during the JSON introduction
...
* removed unused tryGet methods for transponder / COM
* adjusted unit tests
2014-03-26 20:18:47 +01:00
Klaus Basan
6a24626c79
refs #146 , Minor changes and cleanup tasks
...
* CCallsign::getCallsignPronounced -> getTelephonyDesignator
* CAircraft , comments renamed to 1 line style //!
* CAtcStation, comments renamed to 1 line style //! and added method hasValidFrequency()
* CAvioTransponder changed formatting
* CUser, comments renamed to 1 line style //!
* CCallsign, m_callsignPronounced -> m_telephonyDesignator , comments renamed to 1 line style //!
2014-02-26 03:44:31 +01:00
Klaus Basan
34c75c7505
Fixed unit tests, only minor changes
2014-02-05 23:16:17 +00:00
Klaus Basan
6962a764be
Regression test for removeIf, used to identify issue #114
2014-02-05 23:15:53 +00:00
Klaus Basan
dc38565a8d
Added unit test for callsign list, enabled unit tests
2014-01-27 16:10:02 +01:00
Klaus Basan
0e7c71f91b
Unit test for callsign list
2014-01-26 23:14:43 +01:00
Klaus Basan
0bdccd34c7
Unit test: Callsign test
2014-01-25 01:40:20 +01:00
Klaus Basan
ab17dabd5b
samples and tests for all kbatclist branch changes
...
refs #81
2014-01-08 01:00:28 +00:00
Klaus Basan
978f3c88e5
style changes and removals of typeid
...
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
cec9de5cc5
use enums instead of bools to distinguish true/magnetic headings and tracks and MSL/AGL altitudes
2013-08-19 18:11:54 +01:00
Mathew Sutcliffe
da8ba9aac3
First major wave of PQ refactoring, including but not limited to:
...
* Default unit is more clearly stated in one place, not restated in many different places, and is not always the SI unit
* Converter strategy pattern in CMeasurementUnit, covering linear, affine, and different kinds of sexagesimal units
* General reorganization of CMeasurementUnit construction and CPhysicalQuantity methods, not removing any behvaiour
* Move duplicated method unitFromSymbol from derived classes into base class CMeasurementUnit
* For DBus, CPhysicalQuantity marshals both in its own unit and in the default unit
2013-08-19 03:05:08 +01:00
Mathew Sutcliffe
586be27502
update unit tests
2013-08-14 18:05:13 +01:00
Klaus Basan
8f5d9263fd
Fixed all issues detected by the test cases under MinGW - such as usage of abs() -> changed to qAbs(), rounding issues detected during calculations, and changed streaming methods with qDebug() (QDebug vs &QDebug issue).
2013-04-30 01:43:14 +02:00
Klaus Basan
c6426a0759
Move Math constants into class (to be consistent with other constants), tested against minGW / gcc 4.7.2 and fixed various issues (mainly initializer lists, unused variables). BlackMisc compiles now in MinGW, but still issues (especially with qDebug() friend methods)
2013-04-29 16:00:41 +02:00
Klaus Basan
a31e405b6b
Implemented commutative multiplications as friends in the templates, further test cases (unit tests), fixed Doxygen attributes, renamed test classes
2013-04-25 01:56:18 +02:00