Home
last modified time | relevance | path

Searched refs:WillByDefault (Results 1 – 25 of 41) sorted by relevance

12

/external/googletest/googlemock/test/
Dgmock_link_test.h398 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 …]
Dgmock-spec-builders_test.cc214 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 …]
Dgmock_output_test_.cc214 .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()
Dgmock_stress_test.cc72 .WillByDefault(Return(1)); in TestConcurrentMockObjects()
74 .WillByDefault(Return('b')); in TestConcurrentMockObjects()
76 .WillByDefault(Return('a')); in TestConcurrentMockObjects()
123 .WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject()
Dgmock_leak_test_.cc74 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST()
87 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
Dgmock-nice-strict_test.cc160 .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/
Dgmock_link_test.h393 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 …]
Dgmock_output_test_.cc207 .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()
Dgmock-spec-builders_test.cc203 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 …]
Dgmock_leak_test_.cc75 ON_CALL(*foo, DoThis()).WillByDefault(Return()); in TEST()
88 ON_CALL(*foo1, DoThis()).WillByDefault(Return()); in TEST()
Dgmock_stress_test.cc152 .WillByDefault(Return(1)); in TestConcurrentMockObjects()
154 .WillByDefault(Return('b')); in TestConcurrentMockObjects()
156 .WillByDefault(Return('a')); in TestConcurrentMockObjects()
203 .WillByDefault(Return(1)); in TestConcurrentCallsOnSameObject()
Dgmock-nice-strict_test.cc128 .WillByDefault(Invoke(nice_foo, &MockFoo::Delete)); in TEST()
240 .WillByDefault(Invoke(strict_foo, &MockFoo::Delete)); in TEST()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer_unittest.cc45 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 …]
Dftrace_controller_unittest.cc64 .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 …]
Dproto_translation_table_unittest.cc155 .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/
Dmock_external_decoder_pcm16b.h55 .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/
Dmock_message_loop.h36 .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/
Drtp_payload_registry_unittest.cc156 .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/
Dgmock-original.cc31 .WillByDefault(testing::SaveArg<0>(&arg)); in test()
Dgmock-expected.cc31 .WillByDefault(testing::SaveArg<0>(&arg)); in Test()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPassBuilderCallbacksTest.cpp107 .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/
Daudio_processing_impl_unittest.cc39 .WillByDefault(Invoke(&mock, &MockInitialize::RealInitializeLocked)); in TEST()
/external/libbrillo/policy/
Dmock_device_policy.h51 ON_CALL(*this, LoadPolicy()).WillByDefault(testing::Return(true)); in MockDevicePolicy()
/external/perfetto/src/perfetto_cmd/
Drate_limiter_unittest.cc43 .WillByDefault(Invoke(this, &MockRateLimiter::LoadStateConcrete)); in MockRateLimiter()
45 .WillByDefault(Invoke(this, &MockRateLimiter::SaveStateConcrete)); in MockRateLimiter()
/external/webrtc/webrtc/modules/audio_conference_mixer/test/
Daudio_conference_mixer_unittest.cc35 .WillByDefault(Invoke(this, &MockMixerParticipant::FakeAudioFrame)); in MockMixerParticipant()

12