swift
testdata.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_MISC_TEST_TESTDATA_H
7 #define SWIFT_MISC_TEST_TESTDATA_H
8 
9 #include "misc/swiftmiscexport.h"
10 
11 namespace swift::misc
12 {
13  class CVariantList;
14  class CPropertyIndexVariantMap;
15 
16  namespace aviation
17  {
18  class CAtcStation;
19  class CAtcStationList;
20  class CCallsign;
21  class CCallsignSet;
22  class CAircraftSituation;
23  class CAircraftIcaoCode;
24  class CAirlineIcaoCode;
25  class CLivery;
26  class CFlightPlan;
27  } // namespace aviation
28  namespace geo
29  {
30  class CCoordinateGeodetic;
31  }
32  namespace network
33  {
34  class CUser;
35  class CUserList;
36  class CServer;
37  } // namespace network
38  namespace simulation
39  {
40  class CAircraftModel;
41  class CSimulatedAircraft;
42  } // namespace simulation
43 
44  namespace test
45  {
51  {
52  public:
55 
58 
61 
64 
67 
70 
73 
76 
79 
82 
85 
88 
91 
94 
97 
100 
103 
106 
109 
112 
115 
118 
121 
124 
127 
130 
133 
136 
139 
142  };
143  } // namespace test
144 } // namespace swift::misc
145 
146 #endif // SWIFT_MISC_TEST_TESTDATA_H
Specialized value object compliant map for variants, based on indexes.
Value object encapsulating a list of variants.
Definition: variantlist.h:29
Value object for ICAO classification.
Value object encapsulating information of an aircraft's situation.
Value object for ICAO classification.
Value object encapsulating information about an ATC station.
Definition: atcstation.h:38
Value object for a list of ATC stations.
Value object encapsulating information of a callsign.
Definition: callsign.h:30
Value object for a set of callsigns.
Definition: callsignset.h:26
Value object for a flight plan.
Definition: flightplan.h:148
Value object encapsulating information about an airpot.
Definition: livery.h:29
Value object encapsulating information of a server.
Definition: server.h:28
Value object encapsulating information of a user.
Definition: user.h:28
Value object encapsulating a list of voice rooms.
Definition: userlist.h:26
Aircraft model (used by another pilot, my models on disk)
Definition: aircraftmodel.h:71
Comprehensive information of an aircraft.
Testdata for unit tests/data.
Definition: testdata.h:51
static const swift::misc::aviation::CCallsign & getRandomPilotCallsign()
Get a random callsign (aircraft)
static const swift::misc::geo::CCoordinateGeodetic & getCoordinateMunichTower()
Munich tower coordinate.
static const swift::misc::CVariantList & getCVariantList()
Get a variant list with various data.
static const swift::misc::aviation::CAirlineIcaoCode & getDbAirlineIcaoBAW()
BAW ICAO code (as from DB)
static const swift::misc::network::CServer & getTrafficServer()
Traffic server (dummy)
static const swift::misc::geo::CCoordinateGeodetic & getCoordinateFrankfurtTower()
Frankfurt tower coordinate.
static const swift::misc::aviation::CAtcStation & getRandomAtcStation()
Get ATC station.
static const swift::misc::network::CUser & getRandomPilot()
Get a random pilot user.
static const swift::misc::CPropertyIndexVariantMap & getCPropertyIndexVariantMap()
Get a variant map.
static const swift::misc::aviation::CCallsignSet & getControllerCallsigns()
Get controller callsigns.
static const swift::misc::aviation::CAircraftSituation & getAircraftSituationAboveMunichTower()
Aircraft situation (Munich)
static const swift::misc::network::CUserList & getControllers()
Get a random controller.
static const swift::misc::aviation::CAtcStation & getFrankfurtTower()
Frankfurt tower.
static const swift::misc::aviation::CCallsignSet & getPilotCallsigns()
Get aircraft callsigns.
static const swift::misc::aviation::CAtcStationList & getAtcStations()
Tower stations.
static const swift::misc::aviation::CLivery & getDbLiveryDLHStarAlliance()
Aircraft model.
static const swift::misc::aviation::CFlightPlan & getFlightPlan()
Prefilled flightplan from EDDM-EDDF.
static const swift::misc::aviation::CAirlineIcaoCode & getDbAirlineIcaoDLH()
DLH ICAO code (as from DB)
static const swift::misc::aviation::CAtcStation & getMunichApproach()
Munich approach.
static const swift::misc::aviation::CAircraftSituation & getAircraftSituationAboveFrankfurtTower()
Aircraft situation (Frankfurt)
static const swift::misc::simulation::CAircraftModel & getDbAircraftModelFsxA2AC172Skyhawk()
FSX aircraft model, a C172 Skyhawk.
static const swift::misc::aviation::CAircraftIcaoCode & getDBAircraftIcaoB737()
B737 ICAO code (as from DB)
static const swift::misc::simulation::CAircraftModel & getDbAircraftModelFsxAerosoftA320()
FSX aircraft model, an Airbus A320.
static const swift::misc::simulation::CSimulatedAircraft & getA320Aircraft()
A320 simulated aircraft, a A.
static const swift::misc::aviation::CAtcStation & getMunichTower()
Munich tower.
static const swift::misc::aviation::CCallsign & getRandomControllerCallsign()
Get a random callsign (ATC)
static const swift::misc::network::CUserList & getPilots()
Get a random pilot.
static const swift::misc::aviation::CAircraftIcaoCode & getDBAircraftIcaoC172()
C172 ICAO code (as from DB)
static const swift::misc::simulation::CSimulatedAircraft & getC172Aircraft()
C172 simulated aircraft, a C172.
static const swift::misc::network::CUser & getRandomController()
Get a random controller user.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.