File indexing completed on 2024-04-28 03:48:15
0001 /* 0002 File : FITSFilterTest.h 0003 Project : LabPlot 0004 Description : Tests for the FITS filter 0005 -------------------------------------------------------------------- 0006 SPDX-FileCopyrightText: 2022 Stefan Gerlach <stefan.gerlach@uni.kn> 0007 0008 SPDX-License-Identifier: GPL-2.0-or-later 0009 */ 0010 #ifndef FITSFILTERTEST_H 0011 #define FITSFILTERTEST_H 0012 0013 #include "../../CommonTest.h" 0014 #include <QtTest> 0015 0016 class FITSFilterTest : public CommonTest { 0017 Q_OBJECT 0018 0019 private Q_SLOTS: 0020 void importFile1(); 0021 void importFile2(); 0022 0023 void benchDoubleImport_data(); 0024 // this is called multiple times (warm-up of BENCHMARK) 0025 // see https://stackoverflow.com/questions/36916962/qtest-executes-test-case-twic 0026 void benchDoubleImport(); 0027 void benchDoubleImport_cleanup(); // delete data 0028 private: 0029 QString benchDataFileName; 0030 const long lines = 1e6; 0031 static const int paths = 5; 0032 }; 0033 #endif