diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-27 16:00:18 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2020-03-30 13:46:42 +0200 |
commit | 3f0126ed86f56178fa707db629fabcc01eb31754 (patch) | |
tree | 486ee21b1c1cd37eee2eabdb43e8e125b0d10831 /tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | |
parent | 0124f73dfb779924e46eb8b319358dbbd5af2577 (diff) |
qmltyperegistrar: Accept more file extensions as headers
Also, even if the file does not appear to be a header, still try to
include it. People use strange file names.
Change-Id: I2db7bd6aa14007a8b458c3860ba0553bb3b384b7
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h')
-rw-r--r-- | tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h index 1cfcd25102..cee88fde7b 100644 --- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h +++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.h @@ -44,7 +44,12 @@ class tst_qmltyperegistrar : public QObject Q_OBJECT private slots: + void initTestCase(); void qmltypesHasForeign(); + void qmltypesHasHppClassAndNoext(); + +private: + QByteArray qmltypesData; }; #endif // TST_QMLTYPEREGISTRAR_H |