File indexing completed on 2024-04-21 04:36:03
0001 /* 0002 * XDebug Debugger Support 0003 * 0004 * Copyright 2009 Niko Sams <niko.sams@gmail.com> 0005 * 0006 * This program is free software; you can redistribute it and/or modify 0007 * it under the terms of the GNU General Public License as 0008 * published by the Free Software Foundation; either version 2 of the 0009 * License, or (at your option) any later version. 0010 * 0011 * This program is distributed in the hope that it will be useful, 0012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0014 * GNU General Public License for more details. 0015 * 0016 * You should have received a copy of the GNU General Public 0017 * License along with this program; if not, write to the 0018 * Free Software Foundation, Inc., 0019 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0020 */ 0021 0022 #ifndef QTEST_CONNECTIONTEST 0023 #define QTEST_CONNECTIONTEST 0024 0025 #include <QtCore/QObject> 0026 namespace KDevelop { 0027 class TestCore; 0028 } 0029 class ConnectionTest 0030 : public QObject 0031 { 0032 Q_OBJECT 0033 0034 private slots: 0035 void initTestCase(); 0036 0037 void init(); 0038 void cleanup(); 0039 0040 void testStdOutput(); 0041 void testShowStepInSource(); 0042 void testMultipleSessions(); 0043 void testStackModel(); 0044 void testBreakpoint(); 0045 void testDisableBreakpoint(); 0046 void testChangeLocationBreakpoint(); 0047 void testDeleteBreakpoint(); 0048 void testConditionalBreakpoint(); 0049 void testBreakpointError(); 0050 void testVariablesLocals(); 0051 void testVariablesSuperglobals(); 0052 void testVariableExpanding(); 0053 void testTooltipVariable(); 0054 void testInvalidTooltipVariable(); 0055 void testPhpCrash(); 0056 void testConnectionClosed(); 0057 void testMultipleConnectionsClosed(); 0058 void testVariableUpdates(); 0059 0060 private: 0061 KDevelop::TestCore* m_core; 0062 }; 0063 0064 #endif