class MockBufferCollectionImporter

Defined at line 15 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

Mock class of BufferCollectionImporter for API testing.

Public Members

FunctionMocker gmock05_ImportBufferCollection_20
FunctionMocker gmock02_ReleaseBufferCollection_23
FunctionMocker gmock02_ImportBufferImage_25
FunctionMocker gmock01_ReleaseBufferImage_27

Public Methods

typename ::testing::internal::Function< ::testing::internal::identity_t<bool> (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> (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> (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> (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> (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> (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 17 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (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> (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> (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> (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> (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> (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 17 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

::testing::MockSpec< ::testing::internal::identity_t<bool> (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> (GlobalBufferCollectionId, fuchsia::sysmem2::Allocator_Sync *, fidl::InterfaceHandle<fuchsia::sysmem2::BufferCollectionToken>, allocation::BufferCollectionUsage, std::optional<fuchsia::math::SizeU>)> * )

Defined at line 17 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 22 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 22 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 22 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 25 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 25 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 25 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 27 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 27 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h

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

Defined at line 27 of file ../../src/ui/scenic/lib/allocation/mock_buffer_collection_importer.h