Home
last modified time | relevance | path

Searched refs:InSequence (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/googletest/googlemock/test/
H A Dgmock_stress_test.cc154 InSequence dummy; in TestPartiallyOrderedExpectationsWithThreads()
156 EXPECT_CALL(foo, Bar(1)).InSequence(s1, s2); in TestPartiallyOrderedExpectationsWithThreads()
161 .InSequence(s1) in TestPartiallyOrderedExpectationsWithThreads()
163 EXPECT_CALL(foo, Bar(3)).Times(2 * kRepeat).InSequence(s2); in TestPartiallyOrderedExpectationsWithThreads()
166 InSequence dummy; in TestPartiallyOrderedExpectationsWithThreads()
167 EXPECT_CALL(foo, Bar(2)).InSequence(s1, s2); in TestPartiallyOrderedExpectationsWithThreads()
H A Dgmock-spec-builders_test.cc344 EXPECT_CALL(a, DoA(1)).InSequence(s).Times(1); in TEST()
356 EXPECT_CALL(a, DoA(2)).InSequence(s); in TEST()
366 EXPECT_CALL(a, DoA(1)).InSequence(s1, s2).InSequence(s1); in TEST()
378 EXPECT_CALL(a, DoA(2)).After(e).InSequence(s); in TEST()
391 EXPECT_CALL(a, DoA(1)).WillOnce(Return()).InSequence(s); in TEST()
1073 EXPECT_CALL(b, DoB(1)).InSequence(s1); in TEST()
1074 EXPECT_CALL(b, DoB(2)).Times(AnyNumber()).InSequence(s1); in TEST()
1075 EXPECT_CALL(b, DoB(3)).InSequence(s2); in TEST()
1076 EXPECT_CALL(b, DoB(4)).InSequence(s1, s2); in TEST()
1188 InSequence dummy; in TEST()
[all …]
H A Dgmock_output_test_.cc46 using testing::InSequence;
142 InSequence s; in TEST_F()
157 EXPECT_CALL(foo_, Bar(_, 0, _)).InSequence(s1); in TEST_F()
158 EXPECT_CALL(foo_, Bar2(0, 0)).InSequence(s2); in TEST_F()
159 EXPECT_CALL(foo_, Bar2(1, _)).InSequence(s1, s2); in TEST_F()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h653 class GTEST_API_ InSequence {
655 InSequence();
656 ~InSequence();
661 InSequence(const InSequence&) = delete;
662 InSequence& operator=(const InSequence&) = delete;
944 TypedExpectation& InSequence(const Sequence& s) { in InSequence() function
954 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2) { in InSequence() function
955 return InSequence(s1).InSequence(s2); in InSequence()
957 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2, in InSequence() function
959 return InSequence(s1, s2).InSequence(s3); in InSequence()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dlast_local_modify.cc230 .InSequence(seq) in TEST_P()
248 ).InSequence(seq) in TEST_P()
270 .InSequence(seq) in TEST_P()
388 .InSequence(seq) in TEST_P()
401 .InSequence(seq) in TEST_P()
410 .InSequence(seq) in TEST_P()
432 ).InSequence(seq) in TEST_P()
H A Dinterrupt.cc235 .InSequence(seq) in TEST_F()
261 .InSequence(seq) in TEST_F()
307 ).InSequence(seq) in TEST_F()
329 ).InSequence(seq) in TEST_F()
689 ).InSequence(seq) in TEST_F()
714 ).InSequence(seq) in TEST_F()
721 ).InSequence(seq) in TEST_F()
772 ).InSequence(seq) in TEST_F()
781 ).InSequence(seq) in TEST_F()
H A Drename.cc241 .InSequence(seq) in TEST_F()
261 ).InSequence(seq) in TEST_F()
270 .InSequence(seq) in TEST_F()
281 .InSequence(seq) in TEST_F()
H A Drmdir.cc92 ).InSequence(seq) in TEST_F()
101 ).InSequence(seq) in TEST_F()
H A Dfifo.cc169 ).InSequence(seq) in TEST_F()
179 .InSequence(seq) in TEST_F()
H A Dunlink.cc111 ).InSequence(seq) in TEST_F()
119 ).InSequence(seq) in TEST_F()
H A Ddev_fuse_poll.cc176 ).InSequence(seq) in TEST_F()
190 ).InSequence(seq) in TEST_F()
H A Dbmap.cc232 .InSequence(seq) in TEST_P()
246 ).InSequence(seq) in TEST_P()
H A Dnfs.cc82 .InSequence(seq) in TEST_F()
93 .InSequence(seq) in TEST_F()
H A Dfallocate.cc337 .InSequence(seq) in TEST_F()
351 ).InSequence(seq) in TEST_F()
H A Dnotify.cc69 .InSequence(seq) in expect_lookup()
H A Dread.cc1047 .InSequence(seq) in TEST_F()
1061 ).InSequence(seq) in TEST_F()
H A Dxattr.cc84 ).InSequence(*seq) in expect_listxattr()
H A Dwrite.cc690 .InSequence(seq) in TEST_P()
705 ).InSequence(seq) in TEST_P()
/freebsd/contrib/googletest/docs/reference/
H A Dmocking.md82 .InSequence(sequences...) // Can be used any number of times
150 #### InSequence {#EXPECT_CALL.InSequence}
152 `.InSequence(`*`sequences...`*`)`
169 .InSequence(s1, s2);
171 .InSequence(s1);
173 .InSequence(s2);
176 The `InSequence` clause can be used any number of times on an expectation.
178 See also the [`InSequence` class](#InSequence).
531 [`InSequence`](#EXPECT_CALL.InSequence) clause of `EXPECT_CALL` for usage.
533 ### InSequence {#InSequence}
[all …]
/freebsd/contrib/googletest/docs/
H A Dgmock_cheat_sheet.md189 [`InSequence` clause](reference/mocking.md#EXPECT_CALL.InSequence) of
190 `EXPECT_CALL`, or use an [`InSequence` object](reference/mocking.md#InSequence).
H A Dgmock_for_dummies.md578 using ::testing::InSequence;
583 InSequence seq;
593 By creating an object of type `InSequence`, all expectations in its scope are
674 using ::testing::InSequence;
678 InSequence s;
H A Dgmock_cook_book.md1693 `InSequence`:
1697 using ::testing::InSequence;
1700 InSequence s;
1725 Another way is via the `InSequence()` clause (not the same as the `InSequence`
1750 .InSequence(s1, s2);
1752 .InSequence(s1);
1754 .InSequence(s2);
1756 .InSequence(s2);
1786 .InSequence(s1, s2);
1788 .InSequence(s1);
[all …]
H A Dgmock_faq.md206 InSequence s;
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc770 InSequence::InSequence() { in InSequence() function in testing::InSequence
781 InSequence::~InSequence() { in ~InSequence()