Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mock_display_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2013 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 3,
6  * as 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: Alexandros Frantzis <alexandros.frantzis@canonical.com>
17  */
18 
19 #ifndef MIR_TEST_DOUBLES_MOCK_DISPLAY_REPORT_H_
20 #define MIR_TEST_DOUBLES_MOCK_DISPLAY_REPORT_H_
21 
23 
24 #include <gmock/gmock.h>
25 
26 namespace mir
27 {
28 namespace test
29 {
30 namespace doubles
31 {
32 
34 {
35 public:
46  MOCK_METHOD2(report_egl_configuration, void(EGLDisplay,EGLConfig));
47 };
48 
49 }
50 }
51 }
52 
53 #endif /* MIR_TEST_DOUBLES_MOCK_DISPLAY_REPORT_H_ */
Definition: display_report.h:29
Definition: mock_display_report.h:33
virtual void report_successful_display_construction()=0
virtual void report_vt_switch_away_failure()=0
virtual void report_drm_master_failure(int error)=0
virtual void report_successful_egl_buffer_swap_on_construction()=0
virtual void report_successful_setup_of_native_resources()=0
virtual void report_gpu_composition_in_use()=0
MOCK_METHOD0(report_successful_setup_of_native_resources, void())
virtual void report_vt_switch_back_failure()=0
MOCK_METHOD2(report_hwc_composition_in_use, void(int, int))
virtual void report_hwc_composition_in_use(int major, int minor)=0
virtual void report_successful_egl_make_current_on_construction()=0
virtual void report_successful_drm_mode_set_crtc_on_construction()=0
virtual void report_egl_configuration(EGLDisplay disp, EGLConfig cfg)=0
MOCK_METHOD1(report_drm_master_failure, void(int))

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