blob: 7c136def68654ce7451cafa3a4ff9651203be97c [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_
#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_
#include "flutter/shell/platform/windows/windows_proc_table.h"
#include "gmock/gmock.h"
namespace flutter {
namespace testing {
/// Mock for the |WindowsProcTable| base class.
class MockWindowsProcTable : public WindowsProcTable {
public:
MockWindowsProcTable() = default;
virtual ~MockWindowsProcTable() = default;
MOCK_METHOD2(GetPointerType,
BOOL(UINT32 pointer_id, POINTER_INPUT_TYPE* pointer_type));
private:
FML_DISALLOW_COPY_AND_ASSIGN(MockWindowsProcTable);
};
} // namespace testing
} // namespace flutter
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOWS_PROC_TABLE_H_