Home
last modified time | relevance | path

Searched refs:WillRepeatedly (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dperiodic_sampler_test.cc44 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(16)); in TEST()
65 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST()
83 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(0)); in TEST()
93 EXPECT_CALL(sampler, period()).Times(3).WillRepeatedly(Return(1)); in TEST()
108 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(0)); in TEST()
120 EXPECT_CALL(sampler, period()).Times(2).WillRepeatedly(Return(16)); in TEST()
123 .WillRepeatedly(Return(3)); in TEST()
/third_party/googletest/googlemock/test/
Dgmock-spec-builders_test.cc366 .WillRepeatedly(Return()); in TEST()
490 .WillRepeatedly(Return()) in TEST()
504 .WillRepeatedly(Return()); in TEST()
516 .WillRepeatedly(Return()) in TEST()
517 .WillRepeatedly(Return()); in TEST()
528 .WillRepeatedly(Return()); in TEST()
589 .WillRepeatedly(Return(1)); in TEST()
602 .WillRepeatedly(Return(2)); in TEST()
636 .WillRepeatedly(Return(1)); // #4 in TEST()
640 .WillRepeatedly(Return(2)); // #5 in TEST()
[all …]
Dgmock_stress_test.cc83 .WillRepeatedly(DoDefault()); in TestConcurrentMockObjects()
126 .WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject()
Dgmock-actions_test.cc767 .WillRepeatedly(DoDefault()); in TEST()
785 .WillRepeatedly(DoAll(Invoke(VoidFunc), in TEST()
1395 EXPECT_CALL(mock, MakeUnique()).WillRepeatedly(Invoke(UniquePtrSource)); in TEST()
1397 .WillRepeatedly(Invoke(VectorUniquePtrSource)); in TEST()
1414 EXPECT_CALL(mock, TakeUnique(_)).WillRepeatedly([](std::unique_ptr<int> i) { in TEST()
/third_party/googletest/docs/reference/
Dmocking.md86 .WillRepeatedly(action) // Can be used at most once
142 [`WillRepeatedly`](#EXPECT_CALL.WillRepeatedly) are specified, the inferred
144 * If there are *n* `WillOnce` clauses and no `WillRepeatedly` clause, where
146 * If there are *n* `WillOnce` clauses and one `WillRepeatedly` clause, where
253 #### WillRepeatedly {#EXPECT_CALL.WillRepeatedly}
255 `.WillRepeatedly(`*`action`*`)`
266 The use of `WillRepeatedly` implicitly sets a cardinality on the expectation
270 perform those actions before the action specified by `WillRepeatedly`. See the
277 .WillRepeatedly(Return("John Doe")); // Return "John Doe" on all calls
281 .WillRepeatedly(Return(7)); // Return 7 on all subsequent calls
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dmocking_bit_gen_test.cc162 .WillRepeatedly(Return(17)); in TEST()
165 .WillRepeatedly(Return(17)); in TEST()
242 .WillRepeatedly(Return(0)); in TEST()
245 .WillRepeatedly(Return(1)); in TEST()
260 .WillRepeatedly(Return(15)) in TEST()
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/
Dmemory_test.cc554 EXPECT_CALL(mock, allocate(7)).WillRepeatedly(Return(&x)); in TEST()
598 EXPECT_CALL(mock, allocate(7)).WillRepeatedly(Return(&x)); in TEST()
599 EXPECT_CALL(mock, allocate(13, &hint)).WillRepeatedly(Return(&y)); in TEST()
602 EXPECT_CALL(mock, max_size()).WillRepeatedly(Return(17)); in TEST()
604 .WillRepeatedly(Return(FullMockAllocator(23))); in TEST()
/third_party/googletest/docs/
Dgmock_for_dummies.md297 .WillRepeatedly(action);
309 .WillRepeatedly(action);
331 .WillRepeatedly(Return(200));
420 * If **neither** `WillOnce()` **nor** `WillRepeatedly()` is in the
422 * If there are *n* `WillOnce()`'s but **no** `WillRepeatedly()`, where *n* >=
424 * If there are *n* `WillOnce()`'s and **one** `WillRepeatedly()`, where *n* >=
447 optional `WillRepeatedly()`. For example,
468 .WillRepeatedly(Return(300));
472 we've written two `WillOnce()` clauses and a `WillRepeatedly()` while having no
480 `WillRepeatedly()`.).
[all …]
Dgmock_cook_book.md706 `ON_CALL()` or using `.WillOnce()` / `.WillRepeatedly()` in `EXPECT_CALL()`.
1039 .WillRepeatedly(Return('b'));
1042 .WillRepeatedly(Return('a'));
1615 .WillRepeatedly(Return("Larry Page"));
1634 .WillRepeatedly(Return("Larry Page"));
1865 .WillRepeatedly(Return(std::ref(x))); // Wrong!
1894 .WillRepeatedly(ReturnPointee(&x)); // Note the & here.
2058 .WillRepeatedly(Return(true));
2061 .WillRepeatedly(Return(false));
2081 .WillRepeatedly(ReturnPointee(&previous_value));
[all …]
Dgmock_cheat_sheet.md123 .WillRepeatedly(Return("Category 5"));
Dgmock_faq.md254 .WillRepeatedly(...);
/third_party/skia/third_party/externals/zlib/google/
Dzip_reader_unittest.cc618 .WillRepeatedly(Return(true)); in TEST_F()
/third_party/flutter/skia/third_party/externals/zlib/google/
Dzip_reader_unittest.cc622 .WillRepeatedly(Return(true)); in TEST_F()
/third_party/node/deps/zlib/google/
Dzip_reader_unittest.cc618 .WillRepeatedly(Return(true)); in TEST_F()
/third_party/googletest/googlemock/include/gmock/
Dgmock-spec-builders.h1025 TypedExpectation& WillRepeatedly(const Action<F>& action) { in WillRepeatedly() function
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch24600 + .WillRepeatedly(WithArg<2>(ScheduleCallback2(