File indexing completed on 2024-05-19 15:46:49
0001 /* 0002 SPDX-FileCopyrightText: 2013 Milian Wolff <mail@milianw.de> 0003 SPDX-FileCopyrightText: 2013 Olivier de Gaalon <olivier.jg@gmail.com> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef TEST_FILES_H 0009 #define TEST_FILES_H 0010 0011 #include <QObject> 0012 0013 class TestFiles : public QObject 0014 { 0015 Q_OBJECT 0016 private Q_SLOTS: 0017 void initTestCase(); 0018 void cleanupTestCase(); 0019 void testQMLCustomComponent(); 0020 void testJSUsesBetweenFiles(); 0021 void testNodeJS(); 0022 void testFiles_data(); 0023 void testFiles(); 0024 void testQMLTypes(); 0025 void testTypeMismatchFalsePositives(); 0026 0027 private: 0028 void parseAndCheck(const QString& fileName, bool check = true); 0029 }; 0030 0031 #endif // TEST_FILES_H