File indexing completed on 2024-10-13 06:30:13
0001 /* 0002 File : ImportSqlDatabaseTest.h 0003 Project : LabPlot 0004 Description : Tests for the import from SQL databases 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2023 Alexander Semke <alexander.semke@web.de> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 #ifndef IMPORTSQLDATABASETEST_H 0011 #define IMPORTSQLDATABASETEST_H 0012 0013 #include "../../CommonTest.h" 0014 #include <QtTest> 0015 0016 class ImportSqlDatabaseTest : public CommonTest { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void initTestCase(); 0021 0022 // import full table 0023 void testFullTableReplace(); 0024 void testFullTableAppend(); 0025 void testFullTablePrepend(); 0026 void testFullTableCustomRowRange(); 0027 void testFullTableCustomColumnRange01(); 0028 void testFullTableCustomColumnRange02(); 0029 void testFullTableCustomColumnRange03(); 0030 void testFullTableCustomRowColumnRange(); 0031 0032 // import the result of a custom query 0033 void testQuery(); 0034 }; 0035 #endif