File indexing completed on 2024-04-21 11:21:57

0001 /*
0002     File                 : MultiRangeTest.h
0003     Project              : LabPlot
0004     Description          : Tests for project imports
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2018 Alexander Semke <alexander.semke@web.de>
0007     SPDX-FileCopyrightText: 2021 Stefan Gerlach <stefan.gerlach@uni.kn>
0008 
0009     SPDX-License-Identifier: GPL-2.0-or-later
0010 */
0011 #ifndef MULTIRANGETEST_H
0012 #define MULTIRANGETEST_H
0013 
0014 #include "tests/CommonTest.h"
0015 
0016 class MultiRangeTest : public CommonTest {
0017     Q_OBJECT
0018 
0019 private Q_SLOTS:
0020     void applyActionToSelection_CurveSelected_ZoomSelection();
0021 
0022     // zoom selection tests
0023     void zoomXSelection_AllRanges();
0024     void zoomXSelection_SingleRange();
0025     void zoomYSelection_AllRanges();
0026     void zoomYSelection_SingleRange();
0027     void zoomSelection_AllRanges();
0028     void zoomSelection_SingleRange();
0029 
0030     // zoom tests (including auto scale)
0031     void zoomInX_SingleRange();
0032     void zoomInX_SingleRangeDateTimeMonotonicIncrease();
0033     void zoomInX_SingleRangeDateTimeNonMonotonic();
0034     void zoomInX_AllRanges();
0035     void zoomInY_SingleRange();
0036     void zoomInY_AllRanges();
0037     void zoomOutX_SingleRange();
0038     void zoomOutX_AllRanges();
0039     void zoomOutY_SingleRange();
0040     void zoomOutY_AllRanges();
0041 
0042     // shift tests (including auto scale)
0043     void shiftLeft_SingleRange();
0044     void shiftLeft_AllRanges();
0045     void shiftRight_SingleRange();
0046     void shiftRight_AllRanges();
0047     void shiftUp_SingleRange();
0048     void shiftDown_SingleRange();
0049     void shiftUp_AllRanges();
0050     void shiftDown_AllRanges();
0051 };
0052 #endif