aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/unittest/projectstoragepathwatchermock.h
blob: 61d66c1d417c4007c9dea09d1c399c4e6791437a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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 MockProjectStoragePathWatcher : 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),
                ());
};