// // Copyright 2015 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. // // FramebufferImpl_mock.h: // Defines a mock of the FramebufferImpl class. // #ifndef LIBANGLE_RENDERER_FRAMEBUFFERIMPLMOCK_H_ #define LIBANGLE_RENDERER_FRAMEBUFFERIMPLMOCK_H_ #include "gmock/gmock.h" #include "libANGLE/renderer/FramebufferImpl.h" namespace rx { class MockFramebufferImpl : public rx::FramebufferImpl { … }; inline ::testing::NiceMock<MockFramebufferImpl> *MakeFramebufferMock() { … } } // namespace rx #endif // LIBANGLE_RENDERER_FRAMEBUFFERIMPLMOCK_H_