Home
last modified time | relevance | path

Searched refs:MOCK_METHOD1 (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/angle2/src/tests/
Dangle_unittests_utils.h84 MOCK_METHOD1(createContext, ContextImpl *(const gl::State &));
86 MOCK_METHOD1(createShader, ShaderImpl *(const gl::ShaderState &));
87 MOCK_METHOD1(createProgram, ProgramImpl *(const gl::ProgramState &));
88 MOCK_METHOD1(createProgramPipeline, ProgramPipelineImpl *(const gl::ProgramPipelineState &));
89 MOCK_METHOD1(createFramebuffer, FramebufferImpl *(const gl::FramebufferState &));
91 MOCK_METHOD1(createTexture, TextureImpl *(const gl::TextureState &));
92 MOCK_METHOD1(createRenderbuffer, RenderbufferImpl *(const gl::RenderbufferState &));
93 MOCK_METHOD1(createBuffer, BufferImpl *(const gl::BufferState &));
94 MOCK_METHOD1(createVertexArray, VertexArrayImpl *(const gl::VertexArrayState &));
95 MOCK_METHOD1(createQuery, QueryImpl *(gl::QueryType type));
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/
Dangle_unittests_utils.h85 MOCK_METHOD1(createContext, ContextImpl *(const gl::State &));
87 MOCK_METHOD1(createShader, ShaderImpl *(const gl::ShaderState &));
88 MOCK_METHOD1(createProgram, ProgramImpl *(const gl::ProgramState &));
89 MOCK_METHOD1(createProgramPipeline, ProgramPipelineImpl *(const gl::ProgramPipelineState &));
90 MOCK_METHOD1(createFramebuffer, FramebufferImpl *(const gl::FramebufferState &));
92 MOCK_METHOD1(createTexture, TextureImpl *(const gl::TextureState &));
93 MOCK_METHOD1(createRenderbuffer, RenderbufferImpl *(const gl::RenderbufferState &));
94 MOCK_METHOD1(createBuffer, BufferImpl *(const gl::BufferState &));
95 MOCK_METHOD1(createVertexArray, VertexArrayImpl *(const gl::VertexArrayState &));
96 MOCK_METHOD1(createQuery, QueryImpl *(gl::QueryType type));
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/client/
DClientMemoryTransferService_mock.h64 MOCK_METHOD1(OnCreateReadHandle, ReadHandle*(size_t));
65 MOCK_METHOD1(OnCreateWriteHandle, WriteHandle*(size_t));
75 MOCK_METHOD1(OnReadHandleDestroy, void(const ReadHandle*));
79 MOCK_METHOD1(OnWriteHandleOpen, std::pair<void*, size_t>(const void* WriteHandle));
82 MOCK_METHOD1(OnWriteHandleDestroy, void(const void* WriteHandle));
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DSurface_unittest.cpp31 MOCK_METHOD1(destroy, void(const egl::Display *));
32 MOCK_METHOD1(initialize, egl::Error(const egl::Display *));
35 MOCK_METHOD1(swap, egl::Error(const gl::Context *));
43 MOCK_METHOD1(setSwapInterval, void(EGLint));
DFence_unittest.cpp29 MOCK_METHOD1(onDestroy, void(const gl::Context *context));
32 MOCK_METHOD1(finish, angle::Result(const gl::Context *));
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DSurface_unittest.cpp31 MOCK_METHOD1(destroy, void(const egl::Display *));
32 MOCK_METHOD1(initialize, egl::Error(const egl::Display *));
35 MOCK_METHOD1(swap, egl::Error(const gl::Context *));
42 MOCK_METHOD1(setSwapInterval, void(EGLint));
DFence_unittest.cpp33 MOCK_METHOD1(finish, angle::Result(const gl::Context *));
/third_party/googletest/googlemock/test/
Dgmock-function-mocker_test.cc214 MOCK_METHOD1(VoidReturning, void(int n)); // NOLINT
219 MOCK_METHOD1(Unary, bool(int)); // NOLINT
224 MOCK_METHOD1(TakesNonConstReference, bool(int&)); // NOLINT
225 MOCK_METHOD1(TakesConstReference, std::string(const int&));
226 MOCK_METHOD1(TakesConst, bool(const int)); // NOLINT
234 MOCK_METHOD1(OverloadedOnArgumentNumber, int(int)); // NOLINT
236 MOCK_METHOD1(OverloadedOnArgumentType, int(int)); // NOLINT
237 MOCK_METHOD1(OverloadedOnArgumentType, char(char)); // NOLINT
242 MOCK_METHOD1(TypeWithHole, int(int (*)())); // NOLINT
243 MOCK_METHOD1(TypeWithComma,
[all …]
Dgmock_link_test.h214 MOCK_METHOD1(VoidFromString, void(char* str));
215 MOCK_METHOD1(StringFromString, char*(char* str));
216 MOCK_METHOD1(IntFromString, int(char* str));
217 MOCK_METHOD1(IntRefFromString, int&(char* str));
218 MOCK_METHOD1(VoidFromFunc, void(void(*func)(char* str)));
219 MOCK_METHOD1(VoidFromIntRef, void(int& n)); // NOLINT
220 MOCK_METHOD1(VoidFromFloat, void(float n));
221 MOCK_METHOD1(VoidFromDouble, void(double n));
222 MOCK_METHOD1(VoidFromVector, void(const std::vector<int>& v));
Dgmock-spec-builders_test.cc117 MOCK_METHOD1(ByRefFunc, void(const Incomplete& x));
151 MOCK_METHOD1(DoA, void(int n));
152 MOCK_METHOD1(ReturnResult, Result(int n));
166 MOCK_METHOD1(DoB, int(int n)); // NOLINT
176 MOCK_METHOD1(AcceptReference, void(std::shared_ptr<MockA>*));
2261 MOCK_METHOD1(Foo, PrintMeNot(PrintMeNot));
2736 MOCK_METHOD1(Overloaded, int(int));
Dgmock_stress_test.cc52 MOCK_METHOD1(Bar, int(int n)); // NOLINT
Dgmock-nice-strict_test.cc92 MOCK_METHOD1(DoThat, int(bool flag));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTransformFeedbackImpl_mock.h28 MOCK_METHOD1(end, angle::Result(const gl::Context *));
29 MOCK_METHOD1(pause, angle::Result(const gl::Context *));
30 MOCK_METHOD1(resume, angle::Result(const gl::Context *));
DProgramImpl_mock.h29 MOCK_METHOD1(setBinaryRetrievableHint, void(bool));
30 MOCK_METHOD1(setSeparable, void(bool));
DTextureImpl_mock.h114 MOCK_METHOD1(generateMipmap, angle::Result(const gl::Context *));
116 MOCK_METHOD1(releaseTexImage, angle::Result(const gl::Context *));
DImageImpl_mock.h23 MOCK_METHOD1(initialize, egl::Error(const egl::Display *));
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/
DTransformFeedbackImpl_mock.h28 MOCK_METHOD1(end, angle::Result(const gl::Context *));
29 MOCK_METHOD1(pause, angle::Result(const gl::Context *));
30 MOCK_METHOD1(resume, angle::Result(const gl::Context *));
DProgramImpl_mock.h29 MOCK_METHOD1(setBinaryRetrievableHint, void(bool));
30 MOCK_METHOD1(setSeparable, void(bool));
DTextureImpl_mock.h110 MOCK_METHOD1(generateMipmap, angle::Result(const gl::Context *));
112 MOCK_METHOD1(releaseTexImage, angle::Result(const gl::Context *));
DImageImpl_mock.h23 MOCK_METHOD1(initialize, egl::Error(const egl::Display *));
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerMemoryTransferService_mock.h82 MOCK_METHOD1(OnReadHandleDestroy, void(const ReadHandle* readHandle));
88 MOCK_METHOD1(OnWriteHandleDestroy, void(const WriteHandle* writeHandle));
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexDataManagerTest.cpp36 MOCK_METHOD1(unmapBuffer, angle::Result(const gl::Context *));
37 MOCK_METHOD1(discard, angle::Result(const gl::Context *));
109 MOCK_METHOD1(markTransformFeedbackUsage, angle::Result(const gl::Context *));
/third_party/flutter/skia/third_party/externals/angle2/src/tests/perf_tests/
DIndexDataManagerTest.cpp36 MOCK_METHOD1(unmapBuffer, angle::Result(const gl::Context *));
37 MOCK_METHOD1(discard, angle::Result(const gl::Context *));
108 MOCK_METHOD1(markTransformFeedbackUsage, angle::Result(const gl::Context *));
/third_party/flutter/skia/third_party/externals/dawn/generator/templates/
Dmock_api.h132MOCK_METHOD1({{as_MethodSuffix(type.name, Name("reference"))}}, void({{as_cType(type.name)}} self)…
133MOCK_METHOD1({{as_MethodSuffix(type.name, Name("release"))}}, void({{as_cType(type.name)}} self));
/third_party/googletest/googlemock/include/gmock/
Dgmock-function-mocker.h318 #define MOCK_METHOD1(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 1, __VA_ARGS__) macro
356 #define MOCK_METHOD1_T(m, ...) MOCK_METHOD1(m, __VA_ARGS__)

12