#include "components/viz/service/display_embedder/server_shared_bitmap_manager.h"
#include <algorithm>
#include <utility>
#include "base/containers/span.h"
#include "components/viz/common/resources/bitmap_allocation.h"
#include "components/viz/common/resources/resource_sizes.h"
#include "mojo/public/cpp/system/platform_handle.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkImageInfo.h"
namespace viz {
namespace {
class ServerSharedBitmapManagerTest : public testing::Test { … };
TEST_F(ServerSharedBitmapManagerTest, TestCreate) { … }
TEST_F(ServerSharedBitmapManagerTest, TestLocalCreate) { … }
TEST_F(ServerSharedBitmapManagerTest, AddDuplicate) { … }
TEST_F(ServerSharedBitmapManagerTest, SharedMemoryHandle) { … }
TEST_F(ServerSharedBitmapManagerTest, InvalidScopedSharedBufferHandle) { … }
}
}