#include "third_party/blink/renderer/platform/graphics/gpu/webgpu_resource_provider_cache.h"
#include "base/test/task_environment.h"
#include "cc/test/stub_decode_cache.h"
#include "components/viz/test/test_context_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/renderer/platform/graphics/canvas_resource_provider.h"
#include "third_party/blink/renderer/platform/graphics/gpu/dawn_control_client_holder.h"
#include "third_party/blink/renderer/platform/graphics/gpu/drawing_buffer_test_helpers.h"
#include "third_party/blink/renderer/platform/graphics/gpu/shared_gpu_context.h"
#include "third_party/blink/renderer/platform/graphics/test/gpu_test_utils.h"
namespace blink {
class WebGPURecyclableResourceCacheTest : public testing::Test { … };
void WebGPURecyclableResourceCacheTest::SetUp() { … }
void WebGPURecyclableResourceCacheTest::TearDown() { … }
TEST_F(WebGPURecyclableResourceCacheTest, MRUSameSize) { … }
TEST_F(WebGPURecyclableResourceCacheTest, DifferentSize) { … }
TEST_F(WebGPURecyclableResourceCacheTest, CacheMissHit) { … }
TEST_F(WebGPURecyclableResourceCacheTest, StaleResourcesCleanUp) { … }
TEST_F(WebGPURecyclableResourceCacheTest, ReuseBeforeCleanUp) { … }
}