Changeset View
Changeset View
Standalone View
Standalone View
Tests/auxiliary/testgeolocation.h
- This file was added.
1 | /* KStars UI tests | ||||
---|---|---|---|---|---|
2 | Copyright (C) 2020 | ||||
3 | Eric Dejouhanet <eric.dejouhanet@gmail.com> | ||||
4 | | ||||
5 | This application is free software; you can redistribute it and/or | ||||
6 | modify it under the terms of the GNU General Public | ||||
7 | License as published by the Free Software Foundation; either | ||||
8 | version 2 of the License, or (at your option) any later version. | ||||
9 | */ | ||||
10 | | ||||
11 | #ifndef TESTGEOLOCATION_H | ||||
12 | #define TESTGEOLOCATION_H | ||||
13 | | ||||
14 | #include <QtTest> | ||||
15 | #include <QObject> | ||||
16 | | ||||
17 | class TestGeolocation : public QObject | ||||
18 | { | ||||
19 | Q_OBJECT | ||||
20 | public: | ||||
21 | explicit TestGeolocation(QObject *parent = nullptr); | ||||
22 | | ||||
23 | private slots: | ||||
24 | void initTestCase(); | ||||
25 | void cleanupTestCase(); | ||||
26 | | ||||
27 | void init(); | ||||
28 | void cleanup(); | ||||
29 | | ||||
30 | void testGeolocation_data(); | ||||
31 | void testGeolocation(); | ||||
32 | void testParseCityDatabase(); | ||||
33 | void testCoordinates(); | ||||
34 | }; | ||||
35 | | ||||
36 | #endif // TESTGEOLOCATION_H |