File indexing completed on 2024-04-28 03:45:19
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 TESTKSUSERDB_H 0008 #define TESTKSUSERDB_H 0009 0010 #include <QTest> 0011 #include <QObject> 0012 0013 class TestKSUserDB : public QObject 0014 { 0015 Q_OBJECT 0016 public: 0017 explicit TestKSUserDB(QObject *parent = nullptr); 0018 0019 private slots: 0020 void initTestCase(); 0021 void cleanupTestCase(); 0022 0023 void init(); 0024 void cleanup(); 0025 0026 void testInitializeDB(); 0027 0028 void testCreateScopes_data(); 0029 void testCreateScopes(); 0030 void testCreateEyepieces_data(); 0031 void testCreateEyepieces(); 0032 void testCreateLenses_data(); 0033 void testCreateLenes(); 0034 void testCreateFilters_data(); 0035 void testCreateFilters(); 0036 void testCreateProfiles_data(); 0037 void testCreateProfilees(); 0038 void testCreateDatabase(); 0039 void testCoordinates(); 0040 }; 0041 0042 #endif // TESTKSUSERDB_H