Searched refs:WillRepeatedly (Results 1 – 16 of 16) sorted by relevance
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
D | periodic_sampler_test.cc | 44 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/ |
D | gmock-spec-builders_test.cc | 366 .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 …]
|
D | gmock_stress_test.cc | 83 .WillRepeatedly(DoDefault()); in TestConcurrentMockObjects() 126 .WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject()
|
D | gmock-actions_test.cc | 767 .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/ |
D | mocking.md | 86 .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/ |
D | mocking_bit_gen_test.cc | 162 .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/ |
D | memory_test.cc | 554 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/ |
D | gmock_for_dummies.md | 297 .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 …]
|
D | gmock_cook_book.md | 706 `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 …]
|
D | gmock_cheat_sheet.md | 123 .WillRepeatedly(Return("Category 5"));
|
D | gmock_faq.md | 254 .WillRepeatedly(...);
|
/third_party/skia/third_party/externals/zlib/google/ |
D | zip_reader_unittest.cc | 618 .WillRepeatedly(Return(true)); in TEST_F()
|
/third_party/flutter/skia/third_party/externals/zlib/google/ |
D | zip_reader_unittest.cc | 622 .WillRepeatedly(Return(true)); in TEST_F()
|
/third_party/node/deps/zlib/google/ |
D | zip_reader_unittest.cc | 618 .WillRepeatedly(Return(true)); in TEST_F()
|
/third_party/googletest/googlemock/include/gmock/ |
D | gmock-spec-builders.h | 1025 TypedExpectation& WillRepeatedly(const Action<F>& action) { in WillRepeatedly() function
|
/third_party/chromium/patch/ |
D | 0004-ohos-3.2-Beta5.patch | 24600 + .WillRepeatedly(WithArg<2>(ScheduleCallback2(
|