File indexing completed on 2024-04-21 11:13:59

0001 /*
0002     SPDX-License-Identifier: GPL-2.0-or-later
0003     SPDX-FileCopyrightText: 2015 Minh Ngo <minh@fedoraproject.org>
0004 */
0005 
0006 #ifndef _TESTPYTHON3_H
0007 #define _TESTPYTHON3_H
0008 
0009 #include <backendtest.h>
0010 
0011 class TestPython3 : public BackendTest
0012 {
0013   Q_OBJECT
0014   private Q_SLOTS:
0015     void testSimpleCommand();
0016     void testMultilineCommand();
0017     void testCodeWithComments();
0018     void testCommandQueue();
0019 
0020     void testSimplePlot();
0021 
0022     void testImportStatement();
0023     void testPython3Code();
0024     void testInvalidSyntax();
0025 
0026     void testSimpleExpressionWithComment();
0027     void testCommentExpression();
0028     void testMultilineCommandWithComment();
0029 
0030     void testVariablesCreatingFromCode();
0031     void testVariableChangeSizeType();
0032     void testVariableCleanupAfterRestart();
0033     void testDictVariable();
0034 
0035     void testCompletion();
0036     void testInterrupt();
0037 
0038     void testWarning();
0039   private:
0040     QString backendName() override;
0041 };
0042 
0043 #endif /* _TESTPYTHON3_H */