1 /* 2 SPDX-License-Identifier: GPL-2.0-or-later 3 SPDX-FileCopyrightText: 2015 Minh Ngo <minh@fedoraproject.org> 4 */ 5 6 #ifndef _TESTPYTHON3_H 7 #define _TESTPYTHON3_H 8 9 #include <backendtest.h> 10 11 class TestPython3 : public BackendTest 12 { 13 Q_OBJECT 14 private Q_SLOTS: 15 void testSimpleCommand(); 16 void testMultilineCommand(); 17 void testCodeWithComments(); 18 void testCommandQueue(); 19 20 void testSimplePlot(); 21 22 void testImportStatement(); 23 void testPython3Code(); 24 void testInvalidSyntax(); 25 26 void testSimpleExpressionWithComment(); 27 void testCommentExpression(); 28 void testMultilineCommandWithComment(); 29 30 void testVariablesCreatingFromCode(); 31 void testVariableCleanupAfterRestart(); 32 void testDictVariable(); 33 34 void testCompletion(); 35 void testInterrupt(); 36 37 void testWarning(); 38 private: 39 QString backendName() override; 40 }; 41 42 #endif /* _TESTPYTHON3_H */ 43