#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "cc/paint/paint_cache.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
constexpr size_t kDefaultBudget = …;
SkPath CreatePath() { … }
class PaintCacheTest : public ::testing::TestWithParam<uint32_t> { … };
TEST_P(PaintCacheTest, ClientBasic) { … }
TEST_P(PaintCacheTest, ClientPurgeForBudgeting) { … }
TEST_P(PaintCacheTest, ClientPurgeAll) { … }
TEST_P(PaintCacheTest, CommitPendingEntries) { … }
TEST_P(PaintCacheTest, ServiceBasic) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}