#include "gpu/command_buffer/service/dawn_caching_interface.h"
#include <string>
#include <string_view>
#include "gpu/command_buffer/service/mocks.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gpu::webgpu {
namespace {
StrictMock;
class DawnCachingInterfaceTest : public testing::Test { … };
TEST_F(DawnCachingInterfaceTest, LoadNonexistentSize) { … }
TEST_F(DawnCachingInterfaceTest, StoreThenLoadSameInterface) { … }
TEST_F(DawnCachingInterfaceTest, StoreThenLoadSameHandle) { … }
TEST_F(DawnCachingInterfaceTest, StoreDestroyThenLoadSameHandle) { … }
TEST_F(DawnCachingInterfaceTest, StoreReleaseThenLoad) { … }
TEST_F(DawnCachingInterfaceTest, IncognitoCachesDoNotShare) { … }
TEST_F(DawnCachingInterfaceTest, UnableToCreateBackend) { … }
TEST_F(DawnCachingInterfaceTest, StoreTriggersHostSide) { … }
TEST_F(DawnCachingInterfaceTest, TestMaxSizeEviction) { … }
TEST_F(DawnCachingInterfaceTest, TestLruEviction) { … }
TEST_F(DawnCachingInterfaceTest, TestVeryLargeEntrySize) { … }
}
}