1 /* ============================================================ 2 * 3 * This file is a part of digiKam project 4 * https://www.digikam.org 5 * 6 * Date : 2010-05-07 7 * Description : Test for the geonames based altitude lookup class 8 * 9 * Copyright (C) 2010-2011 by Michael G. Hansen <mike at mghansen dot de> 10 * 11 * This program is free software; you can redistribute it 12 * and/or modify it under the terms of the GNU General 13 * Public License as published by the Free Software Foundation; 14 * either version 2, or (at your option) 15 * any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * ============================================================ */ 23 24 #ifndef DIGIKAM_LOOKUP_ALTITUDE_GEONAMES_UTEST_H 25 #define DIGIKAM_LOOKUP_ALTITUDE_GEONAMES_UTEST_H 26 27 // Qt includes 28 29 #include <QTest> 30 31 class TestLookupAltitudeGeonames : public QObject 32 { 33 Q_OBJECT 34 35 public: 36 37 explicit TestLookupAltitudeGeonames(QObject* const parent = nullptr) QObject(parent)38 : QObject(parent) 39 { 40 } 41 42 private Q_SLOTS: 43 44 void testNoOp(); 45 void testSimpleLookup(); 46 }; 47 48 #endif // DIGIKAM_LOOKUP_ALTITUDE_GEONAMES__UTESTH 49