Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
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
Klaus Basan
87a0c75f43 refs #621, use getXX for setup members, no idea why I have not used our standard 2016-03-30 13:41:44 +02:00
Klaus Basan
f124412896 refs #605, fixed unit test itself
* threaded reader were normal members causing a crash when those were moved in their own thread
* we need own event processing for unit test
* Network request needs to be generated in main thread
* don`t shutdown readers on QCoreApplication::aboutToQuit, let CApplication handle it
* use CApplication in unit test (as in real world)

Unrelated:
* access global setup via application
2016-03-18 01:09:17 +00: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
46336e9cce refs #568, allow to read incremental data based on timestamp
* signatures with QDateTime
* flags
2016-01-28 16:31:44 +01:00
Klaus Basan
d131cd2d33 refs #507, changed setup reader and simplied global setup and setup reader
* a single base URL (shared), derived URLs by appended path
* simplified dir structure shared with sub directories
* renamed functions
* automatically synchronize setup with DB when initialized
* trigger download info loading when setup is completed
* allow to automatically read after setup data have been synchronized
* read DB data when setup has been loaded
* allow to reload from threaded reader
* improved handling (log messages, skip reading) when data are not available
2015-11-19 21:07:58 +00:00
Klaus Basan
85b7801bb9 refs #478, test adjust to new classes 2015-11-19 21:03:44 +00:00
Klaus Basan
2cfd3540b8 refs #469, renamed flags
* db to entity flags as it also features entities not from DB
* Flag enums singular (discussed with MS / slack)
2015-11-19 21:00:13 +00:00
Klaus Basan
3e1e1070c1 refs #452 updated tests/samples to reflect previous changes 2015-11-19 20:59:21 +00:00
Klaus Basan
938c0f3dc8 refs #445, settings for global network/readers values 2015-11-19 20:57:32 +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