/third_party/googletest/googlemock/test/ |
D | gmock_link_test.h | 398 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 479 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 486 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST() 494 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST() 496 .WillByDefault(Return()); in TEST() 503 ON_CALL(mock, VoidFromFloat(Lt(1.0f))).WillByDefault(Return()); in TEST() 504 ON_CALL(mock, VoidFromFloat(Gt(1.0f))).WillByDefault(Return()); in TEST() 505 ON_CALL(mock, VoidFromFloat(Le(1.0f))).WillByDefault(Return()); in TEST() 506 ON_CALL(mock, VoidFromFloat(Ge(1.0f))).WillByDefault(Return()); in TEST() 507 ON_CALL(mock, VoidFromFloat(Ne(1.0f))).WillByDefault(Return()); in TEST() [all …]
|
D | gmock-spec-builders_test.cc | 214 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST() 258 .WillByDefault(Return()); in TEST() 261 .WillByDefault(Return()); in TEST() 271 .WillByDefault(Return(Result())); in TEST() 289 .WillByDefault(Return()) in TEST() 290 .WillByDefault(Return()); in TEST() 770 .WillByDefault(Return(1)); in TEST() 780 .WillByDefault(Return(3)); in TEST() 782 .WillByDefault(Return(2)); in TEST() 784 .WillByDefault(Return(1)); in TEST() [all …]
|
D | gmock_output_test_.cc | 214 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 216 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 226 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 228 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 241 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 243 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 251 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 265 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
|
D | gmock_stress_test.cc | 72 .WillByDefault(Return(1)); in TestConcurrentMockObjects() 74 .WillByDefault(Return('b')); in TestConcurrentMockObjects() 76 .WillByDefault(Return('a')); in TestConcurrentMockObjects() 123 .WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject()
|
D | gmock_leak_test_.cc | 74 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST() 87 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
|
D | gmock-nice-strict_test.cc | 166 .WillByDefault(Invoke(raw_foo, &MockFoo::Delete)); in TEST() 214 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST() 352 .WillByDefault(Invoke(naggy_foo, &MockFoo::Delete)); in TEST() 475 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete)); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
D | mocking_bit_gen_test.cc | 83 .WillByDefault(Return(20)); in TEST() 88 .WillByDefault(Return(5.0)); in TEST() 93 .WillByDefault(Return(42)); in TEST() 97 ON_CALL(absl::MockPoisson<int>(), Call(gen, 1.0)).WillByDefault(Return(500)); in TEST() 102 .WillByDefault(Return(true)); in TEST() 107 .WillByDefault(Return(1221)); in TEST() 112 .WillByDefault(Return(0.001)); in TEST() 117 .WillByDefault(Return(2040)); in TEST() 126 .WillByDefault(Return(1221)); in TEST() 146 .WillByDefault(Return(200)); in TEST() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/ |
D | BindGroupMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in BindGroupMock()
|
D | CommandBufferMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in CommandBufferMock()
|
D | PipelineLayoutMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in PipelineLayoutMock()
|
D | SamplerMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in SamplerMock()
|
D | QuerySetMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in QuerySetMock()
|
D | ExternalTextureMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in ExternalTextureMock()
|
D | BindGroupLayoutMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in BindGroupLayoutMock()
|
D | ComputePipelineMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in ComputePipelineMock()
|
D | RenderPipelineMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in RenderPipelineMock()
|
D | SwapChainMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in SwapChainMock()
|
D | TextureMock.h | 29 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in TextureMock()
|
D | ShaderModuleMock.cpp | 20 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in ShaderModuleMock()
|
D | BufferMock.h | 28 ON_CALL(*this, DestroyImpl).WillByDefault([this]() { in BufferMock()
|
/third_party/googletest/docs/reference/ |
D | mocking.md | 342 .WillByDefault(action); // Required 370 .WillByDefault(Return(true)); 378 #### WillByDefault {#ON_CALL.WillByDefault} 380 `.WillByDefault(`*`action`*`)` 396 .WillByDefault(Return("hello")); 399 The action specified by `WillByDefault` is superseded by the actions specified 404 The `WillByDefault` clause must be used exactly once with each `ON_CALL`
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 258 ON_CALL(*computePipelineMock, ComputeContentHash).WillByDefault(Return(hash)); in TEST_F() 365 ON_CALL(*renderPipelineMock, ComputeContentHash).WillByDefault(Return(hash)); in TEST_F() 623 ON_CALL(*computePipelineMock, ComputeContentHash).WillByDefault(Return(hash)); in TEST_F() 670 ON_CALL(*renderPipelineMock, ComputeContentHash).WillByDefault(Return(hash)); in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | FramebufferImpl_mock.h | 72 .WillByDefault(::testing::Return(gl::FramebufferStatus::Complete())); in MakeFramebufferMock()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | FramebufferImpl_mock.h | 63 ON_CALL(*framebufferImpl, checkStatus(testing::_)).WillByDefault(::testing::Return(true)); in MakeFramebufferMock()
|
/third_party/googletest/docs/ |
D | gmock_cheat_sheet.md | 118 .WillByDefault(Return(1));
|