Files
qt-creator/tests/unit/unittest/projectstoragepathwatchermock.h
Marco Bubke ba6c1344b6 QmlDesigner: Integrate ProjectStoragePathWatcher
Task-number: QDS-9170
Change-Id: Iedbb07e41232beeb73cd12c89f892eec7968d084
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
2023-02-20 14:12:43 +00:00

20 lines
686 B
C++

// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
#pragma once
#include "googletest.h"
#include "projectstorage/projectstoragepathwatcherinterface.h"
class ProjectStoragePathWatcherMock : public QmlDesigner::ProjectStoragePathWatcherInterface
{
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),
());
};