File indexing completed on 2024-10-13 06:30:12

0001 /*
0002     File                 : ProjectImportTest.h
0003     Project              : LabPlot
0004     Description          : Tests for project imports
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2018-2023 Alexander Semke <alexander.semke@web.de>
0007 
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 #ifndef PROJECTIMPORTTEST_H
0011 #define PROJECTIMPORTTEST_H
0012 
0013 #include "tests/CommonTest.h"
0014 #include <QtTest>
0015 
0016 class ProjectImportTest : public CommonTest {
0017     Q_OBJECT
0018 
0019 private Q_SLOTS:
0020     // TODO: import of LabPlot projects
0021 
0022 #ifdef HAVE_LIBORIGIN
0023     // import of Origin projects
0024     void testOrigin01();
0025     void testOrigin02();
0026     void testOrigin03();
0027     void testOrigin04();
0028     void testOriginTextNumericColumns();
0029     void testOrigin_2folder_with_graphs();
0030     void testOrigin_2graphs();
0031 
0032     // signgle/multi graph layers
0033     void testOriginSingleLayerTwoAxes();
0034     void testOriginSingleLayerTwoAxesWithoutLines();
0035     void testOriginMultiLayersAsPlotAreas();
0036     void testOriginMultiLayersAsCoordinateSystems();
0037     void testOriginMultiLayersAsCoordinateSystemsWithLegend();
0038 
0039     // test tags
0040     void testParseOriginTags_data();
0041     void testParseOriginTags();
0042 #endif
0043 };
0044 #endif