Files
qt-creator/tests/unit/unittest/projectstoragepathwatchermock.h

25 lines
932 B
C
Raw Normal View History

// 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 "googletest.h"
#include "projectstorage/projectstoragepathwatcherinterface.h"
class ProjectStoragePathWatcherMock : public QmlDesigner::ProjectStoragePathWatcherInterface
{
public:
MOCK_METHOD(void, updateIdPaths, (const std::vector<QmlDesigner::IdPaths> &idPaths), (override));
MOCK_METHOD(void,
updateContextIdPaths,
(const std::vector<QmlDesigner::IdPaths> &idPaths,
const QmlDesigner::SourceContextIds &sourceContextIds),
(override));
MOCK_METHOD(void, removeIds, (const QmlDesigner::ProjectPartIds &ids), (override));
MOCK_METHOD(void,
setNotifier,
(QmlDesigner::ProjectStoragePathWatcherNotifierInterface * notifier),
(override));
};