summaryrefslogtreecommitdiff
path: root/tests/unit/unittest/mocktimestampprovider.h
blob: d954838819f7b52fa3f5a223f9302c818d576736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright (C) 2020 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 <timestampproviderinterface.h>

class MockTimeStampProvider : public QmlDesigner::TimeStampProviderInterface
{
public:
    MOCK_METHOD(Sqlite::TimeStamp, timeStamp, (Utils::SmallStringView name), (const, override));
    MOCK_METHOD(Sqlite::TimeStamp, pause, (), (const, override));
};