File indexing completed on 2024-04-28 15:11:57

0001 /*  KStars UI tests
0002     SPDX-FileCopyrightText: 2020 Eric Dejouhanet <eric.dejouhanet@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #ifndef TESTGEOLOCATION_H
0008 #define TESTGEOLOCATION_H
0009 
0010 #include <QTest>
0011 #include <QObject>
0012 
0013 class TestGeolocation : public QObject
0014 {
0015     Q_OBJECT
0016 public:
0017     explicit TestGeolocation(QObject *parent = nullptr);
0018 
0019 private slots:
0020     void initTestCase();
0021     void cleanupTestCase();
0022 
0023     void init();
0024     void cleanup();
0025 
0026     void testGeolocation_data();
0027     void testGeolocation();
0028     void testParseCityDatabase();
0029     void testCoordinates();
0030 };
0031 
0032 #endif // TESTGEOLOCATION_H