Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mock_compositor_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 3 as
6  * published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Daniel van Vugt <daniel.van.vugt@canonical.com>
17  */
18 
19 #ifndef MIR_TEST_DOUBLES_MOCK_COMPOSITOR_REPORT_H_
20 #define MIR_TEST_DOUBLES_MOCK_COMPOSITOR_REPORT_H_
21 
23 #include <gmock/gmock.h>
24 
25 namespace mir
26 {
27 namespace test
28 {
29 namespace doubles
30 {
31 
33 {
34 public:
36  void(int,int,int,int,
42  MOCK_METHOD0(started, void());
43  MOCK_METHOD0(stopped, void());
44  MOCK_METHOD0(scheduled, void());
45 };
46 
47 } // namespace doubles
48 } // namespace test
49 } // namespace mir
50 
51 #endif
const void * SubCompositorId
Definition: compositor_report.h:30
Definition: mock_compositor_report.h:32
virtual void added_display(int width, int height, int x, int y, SubCompositorId id=0)=0
MOCK_METHOD5(added_display, void(int, int, int, int, compositor::CompositorReport::SubCompositorId))
Definition: compositor_report.h:27
MOCK_METHOD1(began_frame, void(compositor::CompositorReport::SubCompositorId))
virtual void finished_frame(bool bypassed, SubCompositorId id=0)=0
MOCK_METHOD2(finished_frame, void(bool, compositor::CompositorReport::SubCompositorId))
virtual void began_frame(SubCompositorId id=0)=0

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014