#include "cc/layers/ui_resource_layer.h"
#include "cc/animation/animation_host.h"
#include "cc/resources/scoped_ui_resource.h"
#include "cc/resources/ui_resource_manager.h"
#include "cc/test/fake_layer_tree_host.h"
#include "cc/test/layer_tree_impl_test_base.h"
#include "cc/test/stub_layer_tree_host_single_thread_client.h"
#include "cc/trees/single_thread_proxy.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
Mock;
_;
AtLeast;
AnyNumber;
namespace cc {
namespace {
class TestUIResourceLayer : public UIResourceLayer { … };
class UIResourceLayerTest : public testing::Test { … };
TEST_F(UIResourceLayerTest, SetBitmap) { … }
TEST_F(UIResourceLayerTest, SetUIResourceId) { … }
TEST_F(UIResourceLayerTest, BitmapClearedOnSetUIResourceId) { … }
TEST_F(UIResourceLayerTest, SharedBitmap) { … }
TEST_F(UIResourceLayerTest, SharedBitmapCacheSizeLimit) { … }
}
}