aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/unittest/mocktimestampprovider.h
blob: 05b7234dbf88b52ac792011455555d2e01444902 (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+ OR GPL-3.0 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));
};