#include <utility>
#include "cc/trees/layer_tree_frame_sink.h"
#include "base/memory/read_only_shared_memory_region.h"
#include "base/task/single_thread_task_runner.h"
#include "base/test/test_simple_task_runner.h"
#include "cc/test/fake_layer_tree_frame_sink_client.h"
#include "cc/tiles/image_decode_cache_utils.h"
#include "components/viz/common/quads/compositor_frame.h"
#include "components/viz/test/test_context_provider.h"
#include "components/viz/test/test_raster_interface.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/client/raster_interface.h"
#include "gpu/ipc/client/client_shared_image_interface.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace cc {
namespace {
class StubLayerTreeFrameSink : public LayerTreeFrameSink { … };
TEST(LayerTreeFrameSinkTest, ContextLossInformsClient) { … }
TEST(LayerTreeFrameSinkTest, ContextLossFailsBind) { … }
TEST(LayerTreeFrameSinkTest, WorkerContextLossInformsClient) { … }
TEST(LayerTreeFrameSinkTest, WorkerContextLossFailsBind) { … }
}
}