// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/linux/native_pixmap_dmabuf.h" #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <utility> #include "testing/gtest/include/gtest/gtest.h" #include "ui/gfx/buffer_format_util.h" namespace gfx { class NativePixmapDmaBufTest : public ::testing::TestWithParam<gfx::BufferFormat> { … }; INSTANTIATE_TEST_SUITE_P(…); // Verifies NativePixmapDmaBuf conversion from and to NativePixmapHandle. TEST_P(NativePixmapDmaBufTest, Convert) { … } } // namespace gfx