class MockRenderer

Defined at line 16 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

Mock class of the Flatland Renderer for API testing.

Public Members

FunctionMocker gmock05_ImportBufferCollection_21
FunctionMocker gmock02_ReleaseBufferCollection_24
FunctionMocker gmock02_ImportBufferImage_27
FunctionMocker gmock01_ReleaseBufferImage_29
FunctionMocker gmock04_Render_33
FunctionMocker gmock03_SetColorConversionValues_37
FunctionMocker gmock11_ChoosePreferredRenderTargetFormat_40
FunctionMocker gmock10_SupportsRenderInProtected_42
FunctionMocker gmock11_RequiresRenderInProtected_45

Public Methods

typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::Result ImportBufferCollection (typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<0>::type gmock_a0, typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<1>::type gmock_a1, typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<2>::type gmock_a2, typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<3>::type gmock_a3, typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<4>::type gmock_a4)

Defined at line 18 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)> gmock_ImportBufferCollection (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<0>::type> & gmock_a0, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<1>::type> & gmock_a1, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<2>::type> & gmock_a2, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<3>::type> & gmock_a3, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)>::template Arg<4>::type> & gmock_a4)

Defined at line 18 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)> gmock_ImportBufferCollection (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<bool> (allocation::GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)> * )

Defined at line 18 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)>::Result ReleaseBufferCollection (typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)>::template Arg<0>::type gmock_a0, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)>::template Arg<1>::type gmock_a1)

Defined at line 23 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)> gmock_ReleaseBufferCollection (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)>::template Arg<0>::type> & gmock_a0, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)>::template Arg<1>::type> & gmock_a1)

Defined at line 23 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)> gmock_ReleaseBufferCollection (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalBufferCollectionId, allocation::BufferCollectionUsage)> * )

Defined at line 23 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)>::Result ImportBufferImage (typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)>::template Arg<0>::type gmock_a0, typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)>::template Arg<1>::type gmock_a1)

Defined at line 26 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)> gmock_ImportBufferImage (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)>::template Arg<0>::type> & gmock_a0, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)>::template Arg<1>::type> & gmock_a1)

Defined at line 26 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)> gmock_ImportBufferImage (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<bool> (const allocation::ImageMetadata &, allocation::BufferCollectionUsage)> * )

Defined at line 26 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalImageId)>::Result ReleaseBufferImage (typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalImageId)>::template Arg<0>::type gmock_a0)

Defined at line 29 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (allocation::GlobalImageId)> gmock_ReleaseBufferImage (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalImageId)>::template Arg<0>::type> & gmock_a0)

Defined at line 29 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (allocation::GlobalImageId)> gmock_ReleaseBufferImage (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<void> (allocation::GlobalImageId)> * )

Defined at line 29 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::Result Render (typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<0>::type gmock_a0, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<1>::type gmock_a1, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<2>::type gmock_a2, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<3>::type gmock_a3)

Defined at line 31 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)> gmock_Render (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<0>::type> & gmock_a0, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<1>::type> & gmock_a1, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<2>::type> & gmock_a2, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)>::template Arg<3>::type> & gmock_a3)

Defined at line 31 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)> gmock_Render (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<void> (const allocation::ImageMetadata &, const std::vector<ImageRect> &, const std::vector<allocation::ImageMetadata> &, const RenderArgs &)> * )

Defined at line 31 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::Result SetColorConversionValues (typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<0>::type gmock_a0, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<1>::type gmock_a1, typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<2>::type gmock_a2)

Defined at line 35 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)> gmock_SetColorConversionValues (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<0>::type> & gmock_a0, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<1>::type> & gmock_a1, const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)>::template Arg<2>::type> & gmock_a2)

Defined at line 35 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)> gmock_SetColorConversionValues (const ::testing::internal::WithoutMatchers & , ::testing::internal::Function< ::testing::internal::identity_t<void> (const fidl::Array<float, 9> &, const fidl::Array<float, 3> &, const fidl::Array<float, 3> &)> * )

Defined at line 35 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)>::Result ChoosePreferredRenderTargetFormat (typename ::testing::internal::Function< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)>::template Arg<0>::type gmock_a0)

Defined at line 39 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)> gmock_ChoosePreferredRenderTargetFormat (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)>::template Arg<0>::type> & gmock_a0)

Defined at line 39 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)> gmock_ChoosePreferredRenderTargetFormat (const ::testing::internal::WithoutMatchers & , const ::testing::internal::Function< ::testing::internal::identity_t<fuchsia_images2::PixelFormat> (const std::vector<fuchsia_images2::PixelFormat> &)> * )

Defined at line 39 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<bool> ()>::Result SupportsRenderInProtected ()

Defined at line 42 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> ()> gmock_SupportsRenderInProtected ()

Defined at line 42 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> ()> gmock_SupportsRenderInProtected (const ::testing::internal::WithoutMatchers & , const ::testing::internal::Function< ::testing::internal::identity_t<bool> ()> * )

Defined at line 42 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)>::Result RequiresRenderInProtected (typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)>::template Arg<0>::type gmock_a0)

Defined at line 44 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)> gmock_RequiresRenderInProtected (const ::testing::Matcher<typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)>::template Arg<0>::type> & gmock_a0)

Defined at line 44 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)> gmock_RequiresRenderInProtected (const ::testing::internal::WithoutMatchers & , const ::testing::internal::Function< ::testing::internal::identity_t<bool> (const std::vector<allocation::ImageMetadata> &)> * )

Defined at line 44 of file ../../src/ui/scenic/lib/flatland/renderer/mock_renderer.h