#include "gpu/command_buffer/common/raster_cmd_format.h"
#include "gpu/command_buffer/service/query_manager.h"
#include "gpu/command_buffer/service/raster_decoder_unittest_base.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gl/gl_mock.h"
_;
InSequence;
Pointee;
Return;
SaveArg;
SetArrayArgument;
namespace gpu {
namespace raster {
class RasterDecoderOOMTest : public RasterDecoderManualInitTest { … };
TEST_P(RasterDecoderOOMTest, ContextLostReasonOOM) { … }
TEST_P(RasterDecoderOOMTest, ContextLostReasonWhenStatusIsNoError) { … }
TEST_P(RasterDecoderOOMTest, ContextLostReasonWhenStatusIsGuilty) { … }
TEST_P(RasterDecoderOOMTest, ContextLostReasonWhenStatusIsUnknown) { … }
INSTANTIATE_TEST_SUITE_P(…);
class RasterDecoderLostContextTest : public RasterDecoderManualInitTest { … };
TEST_P(RasterDecoderLostContextTest, LostFromMakeCurrent) { … }
TEST_P(RasterDecoderLostContextTest, LostFromDriverOOM) { … }
TEST_P(RasterDecoderLostContextTest, LostFromMakeCurrentWithRobustness) { … }
TEST_P(RasterDecoderLostContextTest, QueryDestroyAfterLostFromMakeCurrent) { … }
TEST_P(RasterDecoderLostContextTest, LostFromResetAfterMakeCurrent) { … }
TEST_P(RasterDecoderLostContextTest, LoseGuiltyFromGLError) { … }
TEST_P(RasterDecoderLostContextTest, LoseInnocentFromGLError) { … }
INSTANTIATE_TEST_SUITE_P(…);
}
}