| /freebsd-13.1/contrib/googletest/googlemock/test/ |
| H A D | gmock-spec-builders_test.cc | 320 .Times(0); in TEST() 323 .Times(0); in TEST() 343 .Times(1) in TEST() 378 .Times(1) in TEST() 588 .Times(1) in TEST() 620 .Times(0) in TEST() 926 .Times(1); in TEST() 1016 .Times(0); in TEST() 1208 .Times(0); in TEST() 1624 .Times(2) in TEST() [all …]
|
| H A D | gmock_stress_test.cc | 158 .Times(AtMost(3)); in TestConcurrentMockObjects() 204 .Times(kRepeat) in TestConcurrentCallsOnSameObject() 249 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads() 253 .Times(2*kRepeat) in TestPartiallyOrderedExpectationsWithThreads()
|
| H A D | gmock_output_test_.cc | 94 .Times(2) in TEST_F() 183 .Times(2); in TEST_F() 254 .Times(2) in TEST_F() 270 EXPECT_CALL(*foo2, Bar3(_, _)).Times(AnyNumber()); in TEST_F()
|
| H A D | gmock-nice-strict_test.cc | 256 EXPECT_CALL(nice_foo, DoThis()).Times(0); 363 EXPECT_CALL(naggy_foo, DoThis()).Times(0); 432 EXPECT_CALL(strict_foo, DoThis()).Times(0);
|
| H A D | gmock-generated-function-mockers_test.cc | 210 .Times(2) in TEST_F() 319 .Times(2) in TEST_F() 429 .Times(AnyNumber()); in TEST() 495 .Times(AnyNumber()); in TEST()
|
| /freebsd-13.1/cddl/usr.sbin/zfsd/tests/ |
| H A D | zfsd_unittest.cc | 412 EXPECT_CALL(*mock_event, ProcessPoolEvent()).Times(1); in TEST_F() 504 .Times(::testing::Exactly(0)); in TEST_F() 532 .Times(::testing::AtMost(1)) in TEST_F() 581 .Times(::testing::AtMost(1)) in TEST_F() 716 .Times(::testing::Exactly(0)); in TEST_F() 732 .Times(::testing::Exactly(1)) in TEST_F() 753 .Times(::testing::Exactly(1)) in TEST_F() 756 .Times(::testing::Exactly(1)) in TEST_F() 759 .Times(::testing::Exactly(0)); in TEST_F() 761 .Times(::testing::Exactly(0)); in TEST_F() [all …]
|
| /freebsd-13.1/tests/sys/fs/fusefs/ |
| H A D | forget.cc | 72 .Times(3) in TEST_F() 110 .Times(2) in TEST_F() 127 .Times(2) in TEST_F()
|
| H A D | utils.cc | 178 ).Times(AnyNumber()) in SetUp() 192 ).Times(AnyNumber()) in SetUp() 241 ).Times(times) in expect_fallocate() 254 ).Times(times) in expect_flush() 310 .Times(times) in expect_lookup() 328 .Times(times) in expect_lookup_7_8() 350 ).Times(times) in expect_open()
|
| H A D | default_permissions_privileged.cc | 68 ).Times(0); in SetUp() 81 ).Times(times) in expect_getattr()
|
| H A D | lookup.cc | 137 .Times(2) in TEST_F() 338 .Times(1) in TEST_F() 355 .Times(2) in TEST_F() 378 .Times(2) in TEST_F() 472 ).Times(AtMost(1)) in TEST_F()
|
| H A D | unlink.cc | 47 .Times(times) in expect_lookup() 183 ).Times(0); in TEST_F()
|
| H A D | allow_other.cc | 118 ).Times(1) in TEST_F() 167 ).Times(AnyNumber()) in TEST_F()
|
| H A D | access.cc | 72 ).Times(0); in expect_noaccess() 297 ).Times(0); in TEST_F()
|
| H A D | default_permissions.cc | 70 ).Times(0); in SetUp() 140 ).Times(times) in expect_getattr() 401 ).Times(0); in TEST_F() 463 ).Times(0); in TEST_F() 978 .Times(AnyNumber()) in TEST_F() 1185 ).Times(0); in TEST_F() 1249 ).Times(0); in TEST_F() 1271 ).Times(0); in TEST_F() 1386 .Times(AnyNumber()) in TEST_F()
|
| H A D | fsync.cc | 70 ).Times(times) in expect_fsync() 156 ).Times(0); in TEST_F()
|
| H A D | create.cc | 143 ).Times(0); in TEST_F() 168 ).Times(2) in TEST_F() 308 EXPECT_LOOKUP(FUSE_ROOT_ID, RELPATH).Times(1) in TEST_F()
|
| H A D | open.cc | 302 ).Times(1) in TEST_F() 330 ).Times(1) in TEST_F()
|
| H A D | copy_file_range.cc | 72 ).Times(AtMost(1)) in expect_maybe_lseek() 84 ).Times(times) in expect_open() 344 ).Times(0); in TEST_F() 590 ).Times(0); in TEST_F()
|
| H A D | rmdir.cc | 48 .Times(times) in expect_lookup()
|
| H A D | last_local_modify.cc | 387 .Times(1) in TEST_P() 409 .Times(1) in TEST_P()
|
| H A D | getattr.cc | 50 .Times(times) in expect_lookup() 126 ).Times(2) in TEST_F()
|
| H A D | symlink.cc | 116 ).Times(2) in TEST_F()
|
| H A D | flush.cc | 57 ).Times(times) in expect_flush()
|
| /freebsd-13.1/contrib/googletest/googlemock/docs/ |
| H A D | ForDummies.md | 137 .Times(AtLeast(1)); 208 .Times(cardinality) 223 .Times(5) 262 ## Cardinalities: How Many Times Will It Be Called? ## 269 The `Times()` clause can be omitted. **If you omit `Times()`, Google Mock will infer the cardinalit… 272 … are `n WillOnce()`'s but **no** `WillRepeatedly()`, where `n` >= 1, the cardinality is `Times(n)`. 315 .Times(4) 327 .Times(4) 343 .Times(2); 386 .Times(AnyNumber()); [all …]
|
| H A D | CheatSheet.md | 95 .Times(3) 136 .Times(cardinality) ? 144 If `Times()` is omitted, the cardinality is assumed to be: 146 * `Times(1)` when there is neither `WillOnce()` nor `WillRepeatedly()`; 147 * `Times(n)` when there are `n WillOnce()`s but no `WillRepeatedly()`, where `n` >= 1; or 148 * `Times(AtLeast(n))` when there are `n WillOnce()`s and a `WillRepeatedly()`, where `n` >= 0. 438 These are used in `Times()` to specify how many times a mock function will be called:
|