/external/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 | 160 .WillByDefault(Invoke(raw_foo, &MockFoo::Delete)); in TEST() 208 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST() 339 .WillByDefault(Invoke(naggy_foo, &MockFoo::Delete)); in TEST() 446 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete)); in TEST()
|
/external/google-breakpad/src/testing/test/ |
D | gmock_link_test.h | 393 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 474 ON_CALL(mock, VoidFromString(_)).WillByDefault(Return()); in TEST() 481 ON_CALL(mock, VoidFromString(A<char*>())).WillByDefault(Return()); in TEST() 489 ON_CALL(mock, VoidFromString(Eq(p))).WillByDefault(Return()); in TEST() 491 .WillByDefault(Return()); in TEST() 498 ON_CALL(mock, VoidFromFloat(Lt(1.0f))).WillByDefault(Return()); in TEST() 499 ON_CALL(mock, VoidFromFloat(Gt(1.0f))).WillByDefault(Return()); in TEST() 500 ON_CALL(mock, VoidFromFloat(Le(1.0f))).WillByDefault(Return()); in TEST() 501 ON_CALL(mock, VoidFromFloat(Ge(1.0f))).WillByDefault(Return()); in TEST() 502 ON_CALL(mock, VoidFromFloat(Ne(1.0f))).WillByDefault(Return()); in TEST() [all …]
|
D | gmock_output_test_.cc | 207 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 209 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 219 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 221 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 234 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 236 .WillByDefault(Return(false)); // Default action #2 in TEST_F() 244 .WillByDefault(Return(true)); // Default action #1 in TEST_F() 258 ON_CALL(*foo1, Bar(_, _, _)).WillByDefault(Return('a')); in TEST_F()
|
D | gmock-spec-builders_test.cc | 203 ON_CALL(cc, Method()).WillByDefault(Return(42)); in TEST() 247 .WillByDefault(Return()); in TEST() 250 .WillByDefault(Return()); in TEST() 260 .WillByDefault(Return(Result())); in TEST() 278 .WillByDefault(Return()) in TEST() 279 .WillByDefault(Return()); in TEST() 705 .WillByDefault(Return(1)); in TEST() 715 .WillByDefault(Return(3)); in TEST() 717 .WillByDefault(Return(2)); in TEST() 719 .WillByDefault(Return(1)); in TEST() [all …]
|
D | gmock_leak_test_.cc | 75 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST() 88 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
|
D | gmock_stress_test.cc | 152 .WillByDefault(Return(1)); in TestConcurrentMockObjects() 154 .WillByDefault(Return('b')); in TestConcurrentMockObjects() 156 .WillByDefault(Return('a')); in TestConcurrentMockObjects() 203 .WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject()
|
D | gmock-nice-strict_test.cc | 128 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST() 240 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete)); in TEST()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | ftrace_config_muxer_unittest.cc | 45 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(1)); in MockFtraceProcfs() 46 ON_CALL(*this, WriteToFile(_, _)).WillByDefault(Return(true)); in MockFtraceProcfs() 47 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 193 .WillByDefault(Return("[local] global boot")); in TEST_F() 213 .WillByDefault(Return(&event_to_return)); in TEST_F() 237 .WillByDefault(Return(&event1)); in TEST_F() 245 .WillByDefault(Return(&event2)); in TEST_F() 263 .WillByDefault(Return("[local] global boot")); in TEST_F() 281 .WillByDefault(Return(n)); in TEST_F() 289 .WillByDefault(Return(&sched_switch)); in TEST_F() [all …]
|
D | ftrace_controller_unittest.cc | 64 .WillByDefault(Invoke(this, &MockTaskRunner::OnPostTask)); in MockTaskRunner() 66 .WillByDefault(Invoke(this, &MockTaskRunner::OnPostDelayedTask)); in MockTaskRunner() 139 ON_CALL(*this, NumberOfCpus()).WillByDefault(Return(cpu_count)); in MockFtraceProcfs() 143 .WillByDefault(Return("local global [boot]")); in MockFtraceProcfs() 148 .WillByDefault(Return("")); in MockFtraceProcfs() 153 .WillByDefault(Return("")); in MockFtraceProcfs() 158 .WillByDefault(Return("")); in MockFtraceProcfs() 162 ON_CALL(*this, WriteToFile(_, _)).WillByDefault(Return(true)); in MockFtraceProcfs() 163 ON_CALL(*this, ClearFile(_)).WillByDefault(Return(true)); in MockFtraceProcfs() 166 .WillByDefault(Invoke(this, &MockFtraceProcfs::WriteTracingOn)); in MockFtraceProcfs() [all …]
|
D | proto_translation_table_unittest.cc | 155 .WillByDefault(Return( in TEST_P() 161 ON_CALL(ftrace, ReadEventFormat(_, _)).WillByDefault(Return("")); in TEST_P() 163 .WillByDefault(Return(R"(name: foo in TEST_P() 372 .WillByDefault(Return( in TEST() 377 ON_CALL(ftrace, ReadEventFormat(_, _)).WillByDefault(Return("")); in TEST() 379 .WillByDefault(Return(R"(name: foo in TEST()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
D | mock_external_decoder_pcm16b.h | 55 .WillByDefault(Invoke(&real_, &ExternalPcm16B::DecodeInternal)); in MockExternalPcm16B() 57 .WillByDefault(Invoke(&real_, &ExternalPcm16B::HasDecodePlc)); in MockExternalPcm16B() 59 .WillByDefault(Invoke(&real_, &ExternalPcm16B::DecodePlc)); in MockExternalPcm16B() 61 .WillByDefault(Invoke(&real_, &ExternalPcm16B::Reset)); in MockExternalPcm16B() 63 .WillByDefault(Invoke(&real_, &ExternalPcm16B::IncomingPacket)); in MockExternalPcm16B() 65 .WillByDefault(Invoke(&real_, &ExternalPcm16B::ErrorCode)); in MockExternalPcm16B()
|
/external/libbrillo/brillo/message_loops/ |
D | mock_message_loop.h | 36 .WillByDefault(::testing::Invoke( in MockMessageLoop() 45 .WillByDefault(::testing::Invoke( in MockMessageLoop() 52 .WillByDefault(::testing::Invoke(&fake_loop_, in MockMessageLoop() 55 .WillByDefault(::testing::Invoke(&fake_loop_, in MockMessageLoop()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_payload_registry_unittest.cc | 156 .WillByDefault(Return(true)); in TEST_F() 167 .WillByDefault(Return(true)); in TEST_F() 169 .WillByDefault(Return(true)); in TEST_F() 191 .WillByDefault(Return(false)); in TEST_F()
|
/external/v8/tools/clang/rewrite_to_chrome_style/tests/ |
D | gmock-original.cc | 31 .WillByDefault(testing::SaveArg<0>(&arg)); in test()
|
D | gmock-expected.cc | 31 .WillByDefault(testing::SaveArg<0>(&arg)); in Test()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | PassBuilderCallbacksTest.cpp | 107 .WillByDefault(Return(this->getResult())); in setDefaults() 109 .WillByDefault(Invoke(&invalidateCallback)); in setDefaults() 155 .WillByDefault(Return(PreservedAnalyses::all())); in setDefaults()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl_unittest.cc | 39 .WillByDefault(Invoke(&mock, &MockInitialize::RealInitializeLocked)); in TEST()
|
/external/libbrillo/policy/ |
D | mock_device_policy.h | 51 ON_CALL(*this, LoadPolicy()).WillByDefault(testing::Return(true)); in MockDevicePolicy()
|
/external/perfetto/src/perfetto_cmd/ |
D | rate_limiter_unittest.cc | 43 .WillByDefault(Invoke(this, &MockRateLimiter::LoadStateConcrete)); in MockRateLimiter() 45 .WillByDefault(Invoke(this, &MockRateLimiter::SaveStateConcrete)); in MockRateLimiter()
|
/external/webrtc/webrtc/modules/audio_conference_mixer/test/ |
D | audio_conference_mixer_unittest.cc | 35 .WillByDefault(Invoke(this, &MockMixerParticipant::FakeAudioFrame)); in MockMixerParticipant()
|