Changeset View
Changeset View
Standalone View
Standalone View
src/backends/R/testr.h
- This file was copied from src/backends/python2/testpython2.h.
Show All 9 Lines | 1 | /* | |||
---|---|---|---|---|---|
10 | GNU General Public License for more details. | 10 | GNU General Public License for more details. | ||
11 | 11 | | |||
12 | You should have received a copy of the GNU General Public License | 12 | You should have received a copy of the GNU General Public License | ||
13 | along with this program; if not, write to the Free Software | 13 | along with this program; if not, write to the Free Software | ||
14 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | 14 | Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
15 | Boston, MA 02110-1301, USA. | 15 | Boston, MA 02110-1301, USA. | ||
16 | 16 | | |||
17 | --- | 17 | --- | ||
18 | Copyright (C) 2013 Tuukka Verho <tuukka.verho@aalto.fi> | 18 | Copyright (C) 2019 Sirgienko Nikita <warquark@gmail.com> | ||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef _TESTPYTHON2_H | 21 | #ifndef _TESTR_H | ||
22 | #define _TESTPYTHON2_H | 22 | #define _TESTR_H | ||
23 | 23 | | |||
24 | #include "backendtest.h" | 24 | #include "backendtest.h" | ||
25 | 25 | | |||
26 | 26 | class TestR : public BackendTest | |||
27 | class TestPython2 : public BackendTest | | |||
28 | { | 27 | { | ||
29 | Q_OBJECT | 28 | Q_OBJECT | ||
29 | | ||||
30 | private Q_SLOTS: | 30 | private Q_SLOTS: | ||
31 | void testImportNumpy(); | 31 | //tests variable model | ||
32 | void testCodeWithComments(); | 32 | void testVariablesCreatingFromCode(); | ||
33 | void testSimpleCode(); | 33 | void testVariableCleanupAfterRestart(); | ||
34 | void testMultilineCode(); | | |||
35 | 34 | | |||
36 | private: | 35 | private: | ||
37 | QString backendName() override; | 36 | QString backendName() override; | ||
38 | }; | 37 | }; | ||
39 | 38 | | |||
40 | #endif /* _TESTPYTHON2_H */ | 39 | #endif /* _TESTR_H */ |