aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppmodelmanager_test.h
blob: bca0753fa95584227ee037940acd33731da0b8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (C) 2021 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 {

class ModelManagerTest : public QObject
{
    Q_OBJECT

private slots:
    void testPathsAreClean();
    void testFrameworkHeaders();
    void testRefreshAlsoIncludesOfProjectFiles();
    void testRefreshSeveralTimes();
    void testRefreshTestForChanges();
    void testRefreshAddedAndPurgeRemoved();
    void testRefreshTimeStampModifiedIfSourcefilesChange();
    void testRefreshTimeStampModifiedIfSourcefilesChange_data();
    void testSnapshotAfterTwoProjects();
    void testExtraeditorsupportUiFiles();
    void testGcIfLastCppeditorClosed();
    void testDontGcOpenedFiles();
    void testDefinesPerProject();
    void testDefinesPerEditor();
    void testUpdateEditorsAfterProjectUpdate();
    void testPrecompiledHeaders();
    void testRenameIncludes_data();
    void testRenameIncludes();
    void testMoveIncludingSources_data();
    void testMoveIncludingSources();
    void testRenameIncludesInEditor();
    void testDocumentsAndRevisions();
    void testSettingsChanges();
    void testOptionalIndexing_data();
    void testOptionalIndexing();
};

} // namespace CppEditor::Internal