Warning, file /education/labplot/tests/import_export/HDF5/HDF5FilterTest.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     File                 : HDF5FilterTest.h
0003     Project              : LabPlot
0004     Description          : Tests for the HDF5 I/O-filter.
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2021-2022 Stefan Gerlach <stefan.gerlach@uni.kn>
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #ifndef HDF5FILTERTEST_H
0011 #define HDF5FILTERTEST_H
0012 
0013 #include "../../CommonTest.h"
0014 #include <QtTest>
0015 
0016 class HDF5FilterTest : public CommonTest {
0017     Q_OBJECT
0018 
0019 private Q_SLOTS:
0020     void testImportDouble();
0021     void testImportDoublePortion();
0022     void testImportInt();
0023     void testImportIntPortion();
0024     void testImportVLEN();
0025     void testImportVLENPortion();
0026 
0027     void benchDoubleImport_data();
0028     // this is called multiple times (warm-up of BENCHMARK)
0029     // see https://stackoverflow.com/questions/36916962/qtest-executes-test-case-twic
0030     void benchDoubleImport();
0031     void benchDoubleImport_cleanup(); // delete data
0032 
0033 private:
0034     QString benchDataFileName;
0035     const size_t lines = 1e6;
0036     static const int paths = 5;
0037 };
0038 
0039 #endif