File indexing completed on 2024-05-12 05:46:36
0001 /***************************************************************************** 0002 * Copyright 2011-2012 Sven Brauch <svenbrauch@googlemail.com> * 0003 * * 0004 * This program is free software: you can redistribute it and/or modify * 0005 * it under the terms of the GNU General Public License as published by * 0006 * the Free Software Foundation, either version 2 of the License, or * 0007 * (at your option) any later version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, * 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0012 * GNU General Public License for more details. * 0013 * * 0014 * You should have received a copy of the GNU General Public License * 0015 * along with this program. If not, see <http://www.gnu.org/licenses/> * 0016 *****************************************************************************/ 0017 0018 #ifndef QMLCOMPLETIONTEST_H 0019 #define QMLCOMPLETIONTEST_H 0020 0021 #include <QObject> 0022 0023 namespace QmlJS { 0024 0025 class QmlCompletionTest : public QObject 0026 { 0027 Q_OBJECT 0028 private Q_SLOTS: 0029 void initTestCase(); 0030 void cleanupTestCase(); 0031 0032 void testContainsDeclaration(); 0033 void testContainsDeclaration_data(); 0034 void testDoesNotContainDeclaration(); 0035 void testDoesNotContainDeclaration_data(); 0036 void testContainsText(); 0037 void testContainsText_data(); 0038 }; 0039 0040 } 0041 #endif