2022-08-19 15:59:36 +02:00
|
|
|
// Copyright (C) 2021 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2021-07-29 11:19:02 +02:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "googletest.h"
|
|
|
|
|
|
|
|
|
|
#include "projectstorage/projectstoragepathwatcherinterface.h"
|
|
|
|
|
|
2023-02-16 13:53:28 +01:00
|
|
|
class ProjectStoragePathWatcherMock : public QmlDesigner::ProjectStoragePathWatcherInterface
|
2021-07-29 11:19:02 +02:00
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MOCK_METHOD(void, updateIdPaths, (const std::vector<QmlDesigner::IdPaths> &idPaths), ());
|
|
|
|
|
MOCK_METHOD(void, removeIds, (const QmlDesigner::ProjectPartIds &ids), ());
|
|
|
|
|
MOCK_METHOD(void,
|
|
|
|
|
setNotifier,
|
|
|
|
|
(QmlDesigner::ProjectStoragePathWatcherNotifierInterface * notifier),
|
|
|
|
|
());
|
|
|
|
|
};
|