chromium/ui/ozone/platform/wayland/host/wayland_surface_unittest.cc

// Copyright 2022 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/ozone/platform/wayland/host/wayland_surface.h"

#include <wayland-server-core.h>
#include <wayland-server-protocol.h>

#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/ozone/platform/wayland/host/wayland_screen.h"
#include "ui/ozone/platform/wayland/test/mock_surface.h"
#include "ui/ozone/platform/wayland/test/test_wayland_server_thread.h"
#include "ui/ozone/platform/wayland/test/wayland_test.h"

namespace ui {
namespace {

ElementsAre;

WaylandSurfaceTest;

TEST_P(WaylandSurfaceTest, SurfaceReenterOutput) {}

#if !BUILDFLAG(IS_CHROMEOS_LACROS)
INSTANTIATE_TEST_SUITE_P();
#else
INSTANTIATE_TEST_SUITE_P(
    XdgVersionStableTestWithAuraShell,
    WaylandSurfaceTest,
    ::testing::Values(
        wl::ServerConfig{
            .enable_aura_shell = wl::EnableAuraShellProtocol::kEnabled},
        wl::ServerConfig{
            .enable_aura_shell = wl::EnableAuraShellProtocol::kEnabled}));
#endif

}  // namespace
}  // namespace ui