| /freebsd-14.2/contrib/googletest/googlemock/test/ |
| H A D | gmock-spec-builders_test.cc | 277 EXPECT_CALL(a, DoA(5)).Times(0); in TEST() 278 EXPECT_CALL(a, DoA(6)).With(_).Times(0); in TEST() 330 EXPECT_CALL(a, DoA(1)).Times(1).Times(2); in TEST() 424 .Times(AnyNumber()) in TEST() 529 EXPECT_CALL(b, DoB()).Times(0); in TEST() 535 .Times(Between(1, 2)) in TEST() 563 .Times(1) in TEST() 882 EXPECT_CALL(b, DoB(_)).Times(1); in TEST() 884 .Times(AnyNumber()) in TEST() 969 EXPECT_CALL(b, DoB(0)).Times(0); in TEST() [all …]
|
| H A D | gmock_stress_test.cc | 73 EXPECT_CALL(foo, Bar(0)).Times(AtMost(3)); in TestConcurrentMockObjects() 117 EXPECT_CALL(foo, Baz(_, "b")).Times(kRepeat).WillRepeatedly(Return('a')); in TestConcurrentCallsOnSameObject() 160 .Times(2 * kRepeat) in TestPartiallyOrderedExpectationsWithThreads() 163 EXPECT_CALL(foo, Bar(3)).Times(2 * kRepeat).InSequence(s2); in TestPartiallyOrderedExpectationsWithThreads()
|
| H A D | gmock_output_test_.cc | 90 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F() 173 EXPECT_CALL(foo_, Bar2(0, _)).Times(2); in TEST_F() 234 EXPECT_CALL(foo_, Bar2(_, _)).Times(2).WillOnce(Return(false)); in TEST_F() 249 EXPECT_CALL(*foo2, Bar3(_, _)).Times(AnyNumber()); in TEST_F()
|
| H A D | gmock-matchers-misc_test.cc | 1397 EXPECT_THAT(some_list, Contains(3).Times(2)); in TEST() 1398 EXPECT_THAT(some_list, Contains(2).Times(1)); in TEST() 1399 EXPECT_THAT(some_list, Contains(Ge(2)).Times(3)); in TEST() 1401 EXPECT_THAT(some_list, Contains(4).Times(0)); in TEST() 1402 EXPECT_THAT(some_list, Contains(_).Times(4)); in TEST() 1417 m = Contains(3).Times(0); in TEST_P() 1421 m = Contains(3).Times(4); in TEST_P() 1427 m = Contains(2).Times(4); in TEST_P() 1433 m = Contains(GreaterThan(0)).Times(2); in TEST_P() 1437 m = Contains(GreaterThan(10)).Times(Gt(1)); in TEST_P() [all …]
|
| H A D | gmock-nice-strict_test.cc | 269 EXPECT_CALL(nice_foo, DoThis()).Times(0); in TEST() 378 EXPECT_CALL(naggy_foo, DoThis()).Times(0); in TEST() 458 EXPECT_CALL(strict_foo, DoThis()).Times(0); in TEST()
|
| H A D | gmock-function-mocker_test.cc | 313 EXPECT_CALL(this->mock_foo_, Unary(Eq(2))).Times(2).WillOnce(Return(true)); in TYPED_TEST() 421 .Times(2) in TYPED_TEST() 602 EXPECT_CALL(mock, Pop()).Times(AnyNumber()); in TYPED_TEST() 691 EXPECT_CALL(mock, Pop()).Times(AnyNumber()); in TYPED_TEST() 962 EXPECT_CALL(Foo(), foo()).Times(0); in TEST()
|
| /freebsd-14.2/cddl/usr.sbin/zfsd/tests/ |
| H A D | zfsd_unittest.cc | 504 .Times(::testing::Exactly(0)); in TEST_F() 532 .Times(::testing::AtMost(1)) in TEST_F() 598 .Times(::testing::AtMost(1)) in TEST_F() 647 .Times(::testing::AtMost(1)) in TEST_F() 782 .Times(::testing::Exactly(0)); in TEST_F() 798 .Times(::testing::Exactly(1)) in TEST_F() 819 .Times(::testing::Exactly(1)) in TEST_F() 822 .Times(::testing::Exactly(1)) in TEST_F() 825 .Times(::testing::Exactly(0)); in TEST_F() 827 .Times(::testing::Exactly(0)); in TEST_F() [all …]
|
| /freebsd-14.2/tests/sys/fs/fusefs/ |
| H A D | forget.cc | 71 .Times(3) in TEST_F() 109 .Times(2) in TEST_F() 126 .Times(2) in TEST_F()
|
| H A D | default_permissions_privileged.cc | 66 ).Times(0); in SetUp() 79 ).Times(times) in expect_getattr()
|
| H A D | utils.cc | 175 ).Times(AnyNumber()) in SetUp() 189 ).Times(AnyNumber()) in SetUp() 238 ).Times(times) in expect_fallocate() 251 ).Times(times) in expect_flush() 307 .Times(times) in expect_lookup() 325 .Times(times) in expect_lookup_7_8() 347 ).Times(times) in expect_open()
|
| H A D | unlink.cc | 44 .Times(times) in expect_lookup() 180 ).Times(0); in TEST_F()
|
| H A D | create.cc | 141 ).Times(0); in TEST_F() 166 ).Times(2) in TEST_F() 306 EXPECT_LOOKUP(FUSE_ROOT_ID, RELPATH).Times(1) in TEST_F() 404 ).Times(AtMost(1)) in TEST_F()
|
| H A D | allow_other.cc | 118 ).Times(1) in TEST_F() 167 ).Times(AnyNumber()) in TEST_F()
|
| H A D | lookup.cc | 138 .Times(2) in TEST_F() 359 .Times(1) in TEST_F() 376 .Times(2) in TEST_F() 399 .Times(2) in TEST_F() 524 ).Times(AtMost(1)) in TEST_F()
|
| H A D | access.cc | 70 ).Times(0); in expect_noaccess() 295 ).Times(0); in TEST_F()
|
| H A D | default_permissions.cc | 68 ).Times(0); in SetUp() 138 ).Times(times) in expect_getattr() 401 ).Times(0); in TEST_F() 463 ).Times(0); in TEST_F() 1076 .Times(AnyNumber()) in TEST_F() 1266 ).Times(0); in TEST_F() 1321 ).Times(0); in TEST_F() 1385 ).Times(0); in TEST_F() 1407 ).Times(0); in TEST_F() 1522 .Times(AnyNumber()) in TEST_F()
|
| H A D | fsync.cc | 68 ).Times(times) in expect_fsync() 154 ).Times(0); in TEST_F()
|
| H A D | lseek.cc | 141 ).Times(2) in TEST_F() 170 ).Times(2) in TEST_F() 327 ).Times(0); in TEST_F()
|
| H A D | mkdir.cc | 130 .Times(1) in TEST_F() 239 ).Times(AtMost(1)) in TEST_F()
|
| H A D | open.cc | 301 ).Times(1) in TEST_F() 329 ).Times(1) in TEST_F()
|
| H A D | rmdir.cc | 46 .Times(times) in expect_lookup()
|
| H A D | copy_file_range.cc | 55 ).Times(AtMost(1)) in expect_maybe_lseek() 67 ).Times(times) in expect_open() 422 ).Times(0); in TEST_F() 721 ).Times(0); in TEST_F()
|
| /freebsd-14.2/contrib/googletest/docs/reference/ |
| H A D | mocking.md | 82 .Times(cardinality) // Can be used at most once 122 #### Times {#EXPECT_CALL.Times} 124 `.Times(`*`cardinality`*`)` 143 cardinality is `Times(1)`. 145 *n* >= 1, the inferred cardinality is `Times(n)`. 147 *n* >= 0, the inferred cardinality is `Times(AtLeast(n))`. 149 The `Times` clause can be used at most once on an expectation. 235 `Times` is not specified. See [`Times`](#EXPECT_CALL.Times). 269 when `Times` is not specified. See [`Times`](#EXPECT_CALL.Times). 305 .Times(AnyNumber()); [all …]
|
| /freebsd-14.2/contrib/googletest/docs/ |
| H A D | gmock_for_dummies.md | 235 .Times(AtLeast(1)); 295 .Times(cardinality) 307 .Times(cardinality) 328 .Times(5) 417 The `Times()` clause can be omitted. **If you omit `Times()`, gMock will infer 423 1, the cardinality is `Times(n)`. 495 .Times(4) 512 .Times(4) 540 .Times(2); 617 .Times(AnyNumber()); [all …]
|
| H A D | gmock_cheat_sheet.md | 122 .Times(3) 147 EXPECT_CALL(mock_buzzer_, MakeBuzz("hello")).Times(AnyNumber()); 181 See the [`Times` clause](reference/mocking.md#EXPECT_CALL.Times) of
|