blob: 4d43b5c0ec66f9a457584bdac88af700a948c601 [file] [log] [blame]
Tom Sepeza310e002015-02-27 13:03:07 -08001// Copyright 2015 PDFium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
6#define TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_
7
Dan Sinclairefbc1912016-02-17 16:54:43 -05008#include "testing/embedder_test.h"
Tom Sepeza310e002015-02-27 13:03:07 -08009#include "testing/gmock/include/gmock/gmock.h"
10
11class EmbedderTestMockDelegate : public EmbedderTest::Delegate {
12 public:
13 MOCK_METHOD1(UnsupportedHandler, void(int type));
Nico Weber9d8ec5a2015-08-04 13:00:21 -070014 MOCK_METHOD4(
15 Alert,
16 int(FPDF_WIDESTRING message, FPDF_WIDESTRING title, int type, int icon));
Tom Sepez6efc0ad2015-06-02 17:11:18 -070017 MOCK_METHOD2(SetTimer, int(int msecs, TimerCallback fn));
18 MOCK_METHOD1(KillTimer, void(int msecs));
Tom Sepeza310e002015-02-27 13:03:07 -080019};
20
21#endif // TESTING_EMBEDDER_TEST_MOCK_DELEGATE_H_