File indexing completed on 2024-06-16 10:41:19

0001 /* AtCore Unit Tests
0002  * SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003  * SPDX-FileCopyrightText: 2017 Tomaz Canabrava <tcanabrava@kde.org>
0004  * SPDX-FileCopyrightText: 2017, 2018 Chris Rizzitello <rizzitello@kde.org>
0005  * SPDX-FileCopyrightText: 2018 Patrick José Pereira <patrickjp@kde.org>
0006  */
0007 #include <QObject>
0008 
0009 #include "../src/core/atcore.h"
0010 #include "../src/core/seriallayer.h"
0011 
0012 class AtCoreTests : public QObject
0013 {
0014     Q_OBJECT
0015 private slots:
0016     void initTestCase();
0017     void testInitState();
0018     void testPluginDetect();
0019     void testConnectInvalidDevice();
0020     void cleanupTestCase();
0021     void testStateChange();
0022     void testSdMountChanged();
0023     void testSdFileList();
0024     void testSerialTimerIntervalChanged();
0025     void testExtruderCountChanged();
0026     void testPluginAprinter_load();
0027     void testPluginAprinter_validate();
0028     void testPluginGrbl_load();
0029     void testPluginGrbl_validate();
0030     void testPluginGrbl_translate();
0031     void testPluginMarlin_load();
0032     void testPluginMarlin_validate();
0033     void testPluginRepetier_load();
0034     void testPluginRepetier_validate();
0035     void testPluginSmoothie_load();
0036     void testPluginSmoothie_validate();
0037     void testPluginSprinter_load();
0038     void testPluginSprinter_validate();
0039     void testPluginTeacup_load();
0040     void testPluginTeacup_validate();
0041     void testPluginTeacup_translate();
0042 
0043 private:
0044     AtCore *core = nullptr;
0045 };