File indexing completed on 2023-10-01 07:35:56
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 SPDX-FileCopyrightText: 2019 Sirgienko Nikita <warquark@gmail.com> 0004 */ 0005 0006 #ifndef _TESTR_H 0007 #define _TESTR_H 0008 0009 #include "backendtest.h" 0010 0011 class TestR : public BackendTest 0012 { 0013 Q_OBJECT 0014 private Q_SLOTS: 0015 void testSimpleCommand(); 0016 void testMultilineCommand(); 0017 void testCommandQueue(); 0018 0019 void testVariableDefinition(); 0020 void testMatrixDefinition(); 0021 0022 void testCodeWithComments(); 0023 void testCommentExpression(); 0024 void testMultilineCommandWithComment(); 0025 0026 void testInvalidSyntax(); 0027 0028 void testCompletion(); 0029 void testHelpRequest(); 0030 void testSyntaxHelp(); 0031 void testInformationRequest(); 0032 0033 void testSimplePlot(); 0034 void testComplexPlot(); 0035 0036 //tests variable model 0037 void testVariablesCreatingFromCode(); 0038 void testVariableCleanupAfterRestart(); 0039 0040 void testLoginLogout(); 0041 void testRestartWhileRunning(); 0042 private: 0043 QString backendName() override; 0044 }; 0045 0046 #endif /* _TESTR_H */