Lines Matching refs:InSequence
51 // .InSequence(sequences)
57 // where all clauses are optional, and .InSequence()/.After()/
115 // expectations when InSequence() is used, and thus affect which
639 // create an InSequence object on the stack.
645 // InSequence dummy; // The name of the object doesn't matter.
654 // You can create InSequence objects in multiple threads, as long as
660 class GTEST_API_ InSequence {
662 InSequence();
663 ~InSequence();
667 GTEST_DISALLOW_COPY_AND_ASSIGN_(InSequence); // NOLINT
672 // Points to the implicit sequence introduced by a living InSequence
935 // Implements the .InSequence() clause.
936 TypedExpectation& InSequence(const Sequence& s) {
938 ".InSequence() cannot appear after .After(),"
946 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2) {
947 return InSequence(s1).InSequence(s2);
949 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2,
951 return InSequence(s1, s2).InSequence(s3);
953 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2,
955 return InSequence(s1, s2, s3).InSequence(s4);
957 TypedExpectation& InSequence(const Sequence& s1, const Sequence& s2,
960 return InSequence(s1, s2, s3, s4).InSequence(s5);