Changeset View
Changeset View
Standalone View
Standalone View
autotests/test_gbm_surface.cpp
Show All 12 Lines | |||||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #include "../plugins/platforms/drm/gbm_surface.h" | 20 | #include "../plugins/platforms/drm/gbm_surface.h" | ||
21 | #include <QtTest/QtTest> | 21 | #include <QtTest> | ||
22 | 22 | | |||
23 | #include <gbm.h> | 23 | #include <gbm.h> | ||
24 | 24 | | |||
25 | // mocking | 25 | // mocking | ||
26 | 26 | | |||
27 | struct gbm_device { | 27 | struct gbm_device { | ||
28 | bool surfaceShouldFail = false; | 28 | bool surfaceShouldFail = false; | ||
29 | }; | 29 | }; | ||
▲ Show 20 Lines • Show All 90 Lines • Show Last 20 Lines |