chromium/ui/gfx/x/window_cache_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/gfx/x/window_cache.h"

#include "base/memory/raw_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/insets.h"
#include "ui/gfx/x/atom_cache.h"
#include "ui/gfx/x/connection.h"
#include "ui/gfx/x/future.h"

namespace x11 {

class WindowCacheTest : public testing::Test {};

// Ensure creating the cache doesn't timeout.
TEST_F(WindowCacheTest, Basic) {}

TEST_F(WindowCacheTest, ConfigureNotify) {}

TEST_F(WindowCacheTest, CreateAndDestroyNotify) {}

TEST_F(WindowCacheTest, Restack) {}

TEST_F(WindowCacheTest, MapAndUnmapNotify) {}

TEST_F(WindowCacheTest, ReparentNotify) {}

TEST_F(WindowCacheTest, GravityNotify) {}

TEST_F(WindowCacheTest, CirculateNotify) {}

TEST_F(WindowCacheTest, ShapeExtension) {}

TEST_F(WindowCacheTest, WmName) {}

TEST_F(WindowCacheTest, GtkFrameExtents) {}

TEST_F(WindowCacheTest, GetWindowAtPoint) {}

// Regression test for https://crbug.com/1316735
// If both a parent and child window have a WM_NAME, the child window
// should be returned by GetWindowAtPoint().
TEST_F(WindowCacheTest, NestedWmName) {}

}  // namespace x11