CppEditor: Introduce testing infrastructure for symbol renaming

Also add two example tests.

Change-Id: Ia76c4d92e7643971c1f201081b3df1f77f1e89a5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Christian Kandeler
2023-08-24 14:12:32 +02:00
parent d7d78df9da
commit 098ddf11e8
7 changed files with 176 additions and 2 deletions

View File

@@ -0,0 +1,19 @@
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
#include <QObject>
namespace CppEditor::Internal::Tests {
class GlobalRenamingTest : public QObject
{
Q_OBJECT
private slots:
void test_data();
void test();
};
} // namespace CppEditor::Internal::Tests