forked from qt-creator/qt-creator
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:
19
src/plugins/cppeditor/cpprenaming_test.h
Normal file
19
src/plugins/cppeditor/cpprenaming_test.h
Normal 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
|
||||
Reference in New Issue
Block a user