Changeset View
Changeset View
Standalone View
Standalone View
unittests/atcoretests.h
Show All 13 Lines | 1 | /* | |||
---|---|---|---|---|---|
14 | GNU General Public License for more details. | 14 | GNU General Public License for more details. | ||
15 | 15 | | |||
16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | */ | 18 | */ | ||
19 | #include <QtTest> | 19 | #include <QtTest> | ||
20 | #include <QObject> | 20 | #include <QObject> | ||
21 | 21 | | |||
22 | #include "../src/atcore.h" | 22 | #include "../src/core/atcore.h" | ||
23 | #include "../src/core/seriallayer.h" | ||||
23 | 24 | | |||
24 | class AtCoreTests: public QObject | 25 | class AtCoreTests: public QObject | ||
25 | { | 26 | { | ||
26 | Q_OBJECT | 27 | Q_OBJECT | ||
27 | private slots: | 28 | private slots: | ||
28 | void initTestCase(); | 29 | void initTestCase(); | ||
29 | void testInitState(); | 30 | void testInitState(); | ||
30 | void testPluginDetect(); | 31 | void testPluginDetect(); | ||
patrickelectric: alphabetic order. | |||||
All the Tests have the functions in the same order as in the CPP file. rizzitello: All the Tests have the functions in the same order as in the CPP file. | |||||
31 | void testConnectInvalidDevice(); | 32 | void testConnectInvalidDevice(); | ||
32 | void cleanupTestCase(); | 33 | void cleanupTestCase(); | ||
34 | void testStateChange(); | ||||
35 | void testSdMountChanged(); | ||||
36 | void testSdFileList(); | ||||
37 | void testSerialTimerIntervalChanged(); | ||||
38 | void testExtruderCountChanged(); | ||||
33 | void testPluginAprinter_load(); | 39 | void testPluginAprinter_load(); | ||
34 | void testPluginAprinter_validate(); | 40 | void testPluginAprinter_validate(); | ||
35 | void testPluginGrbl_load(); | 41 | void testPluginGrbl_load(); | ||
36 | void testPluginGrbl_validate(); | 42 | void testPluginGrbl_validate(); | ||
43 | void testPluginGrbl_translate(); | ||||
37 | void testPluginMarlin_load(); | 44 | void testPluginMarlin_load(); | ||
38 | void testPluginMarlin_validate(); | 45 | void testPluginMarlin_validate(); | ||
39 | void testPluginRepetier_load(); | 46 | void testPluginRepetier_load(); | ||
40 | void testPluginRepetier_validate(); | 47 | void testPluginRepetier_validate(); | ||
41 | void testPluginSmoothie_load(); | 48 | void testPluginSmoothie_load(); | ||
42 | void testPluginSmoothie_validate(); | 49 | void testPluginSmoothie_validate(); | ||
43 | void testPluginSprinter_load(); | 50 | void testPluginSprinter_load(); | ||
44 | void testPluginSprinter_validate(); | 51 | void testPluginSprinter_validate(); | ||
45 | void testPluginTeacup_load(); | 52 | void testPluginTeacup_load(); | ||
46 | void testPluginTeacup_validate(); | 53 | void testPluginTeacup_validate(); | ||
47 | void testPluginTeacup_translate(); | 54 | void testPluginTeacup_translate(); | ||
48 | private: | 55 | private: | ||
49 | AtCore *core = nullptr; | 56 | AtCore *core = nullptr; | ||
50 | }; | 57 | }; |
alphabetic order.