File indexing completed on 2024-04-21 04:39:54

0001 /* AtCore Unit Tests
0002  * SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003  * SPDX-FileCopyrightText: 2017-2019 Chris Rizzitello <rizzitello@kde.org>
0004  * SPDX-FileCopyrightText: 2018 Patrick José Pereira <patrickjp@kde.org>
0005  */
0006 
0007 #include <QObject>
0008 
0009 #include "../src/core/gcodecommands.h"
0010 
0011 class GCodeTests : public QObject
0012 {
0013     Q_OBJECT
0014 private slots:
0015     bool testGCodeNeedsArg(GCode::GCommands code);
0016     void command_G0();
0017     void command_G1();
0018     void command_G28();
0019     void command_G32();
0020     void command_G90();
0021     void command_G91();
0022     void command_unsupportedG();
0023 
0024     bool testMCodeNeedsArg(GCode::MCommands code);
0025     void command_M20();
0026     void command_M21();
0027     void command_M22();
0028     void command_M23();
0029     void command_M24();
0030     void command_M25();
0031     void command_M26();
0032     void command_M27();
0033     void command_M28();
0034     void command_M29();
0035     void command_M30();
0036     void command_M84();
0037     void command_M104();
0038     void command_M105();
0039     void command_M106();
0040     void command_M107();
0041     void command_M109();
0042     void command_M112();
0043     void command_M114();
0044     void command_M115();
0045     void command_M116();
0046     void command_M117();
0047     void command_M119();
0048     void command_M140();
0049     void command_M155();
0050     void command_M190();
0051     void command_M220();
0052     void command_M221();
0053     void command_unsupportedM();
0054 };