// // Copyright 2017 The ANGLE Project Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // SizedMRUCache_unittest.h: Unit tests for the sized MRU cached. #include <gtest/gtest.h> #include "libANGLE/SizedMRUCache.h" namespace angle { Blob; Blob MakeBlob(size_t size) { … } // Test a cache with a value that takes up maximum size. TEST(SizedMRUCacheTest, MaxSizedValue) { … } // Test a cache with many small values, that it can handle unlimited inserts. TEST(SizedMRUCacheTest, ManySmallValues) { … } // Tests putting an oversize element. TEST(SizedMRUCacheTest, OversizeValue) { … } } // namespace angle