aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h')
-rw-r--r--tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h b/tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h
new file mode 100644
index 0000000000..a913f4bd19
--- /dev/null
+++ b/tests/auto/qmlls/qqmlcodemodel/tst_qmlls_qqmlcodemodel.h
@@ -0,0 +1,37 @@
+// Copyright (C) 2023 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
+
+#ifndef TST_QMLLS_QQMLCODEMODEL_H
+#define TST_QMLLS_QQMLCODEMODEL_H
+
+#include <QtJsonRpc/private/qjsonrpcprotocol_p.h>
+#include <QtLanguageServer/private/qlanguageserverprotocol_p.h>
+#include <QtQuickTestUtils/private/qmlutils_p.h>
+
+#include <QtCore/qobject.h>
+#include <QtCore/qprocess.h>
+#include <QtCore/qlibraryinfo.h>
+
+#include <QtTest/qtest.h>
+
+#include <iostream>
+
+using namespace Qt::StringLiterals;
+
+class tst_qmlls_qqmlcodemodel : public QQmlDataTest
+{
+ Q_OBJECT
+public:
+ tst_qmlls_qqmlcodemodel();
+ QString readFile(const QString &filename) const;
+
+private slots:
+ void buildPathsForFileUrl_data();
+ void buildPathsForFileUrl();
+ void fileNamesToWatch();
+ void findFilePathsFromFileNames_data();
+ void findFilePathsFromFileNames();
+ void openFiles();
+};
+
+#endif // TST_QMLLS_QQMLCODEMODEL_H