File indexing completed on 2024-04-28 03:48:17

0001 /*
0002     File                 : ROOTFilterTest.h
0003     Project              : LabPlot
0004     Description          : Tests for the ROOT 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 ROOTFILTERTEST_H
0011 #define ROOTFILTERTEST_H
0012 
0013 #include "../../CommonTest.h"
0014 #include <QtTest>
0015 
0016 class ROOTFilterTest : public CommonTest {
0017     Q_OBJECT
0018 
0019 private Q_SLOTS:
0020     void importFile1();
0021     void importFile2();
0022 
0023     /*  TODO:
0024      *  void benchDoubleImport_data();
0025         // this is called multiple times (warm-up of BENCHMARK)
0026         // see https://stackoverflow.com/questions/36916962/qtest-executes-test-case-twic
0027         void benchDoubleImport();
0028         void benchDoubleImport_cleanup(); // delete data
0029         */
0030 private:
0031     QString benchDataFileName;
0032     const long lines = 1e6;
0033     static const int paths = 5;
0034 };
0035 #endif