Lines Matching refs:sequence_checker
44 void ExpectCalledOnValidSequence(SequenceCheckerImpl* sequence_checker) { in ExpectCalledOnValidSequence() argument
45 ASSERT_TRUE(sequence_checker); in ExpectCalledOnValidSequence()
49 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in ExpectCalledOnValidSequence()
53 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in ExpectCalledOnValidSequence()
57 SequenceCheckerImpl* sequence_checker, in ExpectCalledOnValidSequenceWithSequenceToken() argument
61 ExpectCalledOnValidSequence(sequence_checker); in ExpectCalledOnValidSequenceWithSequenceToken()
64 void ExpectNotCalledOnValidSequence(SequenceCheckerImpl* sequence_checker) { in ExpectNotCalledOnValidSequence() argument
65 ASSERT_TRUE(sequence_checker); in ExpectNotCalledOnValidSequence()
66 EXPECT_FALSE(sequence_checker->CalledOnValidSequence()); in ExpectNotCalledOnValidSequence()
72 SequenceCheckerImpl sequence_checker; in TEST() local
73 EXPECT_TRUE(sequence_checker.CalledOnValidSequence()); in TEST()
79 SequenceCheckerImpl sequence_checker; in TEST() local
80 EXPECT_TRUE(sequence_checker.CalledOnValidSequence()); in TEST()
84 SequenceCheckerImpl sequence_checker; in TEST() local
86 Bind(&ExpectNotCalledOnValidSequence, Unretained(&sequence_checker))); in TEST()
94 SequenceCheckerImpl sequence_checker; in TEST() local
95 EXPECT_TRUE(sequence_checker.CalledOnValidSequence()); in TEST()
98 Unretained(&sequence_checker), sequence_token)); in TEST()
102 std::unique_ptr<SequenceCheckerImpl> sequence_checker; in TEST() local
107 sequence_checker.reset(new SequenceCheckerImpl); in TEST()
114 EXPECT_FALSE(sequence_checker->CalledOnValidSequence()); in TEST()
118 EXPECT_FALSE(sequence_checker->CalledOnValidSequence()); in TEST()
122 std::unique_ptr<SequenceCheckerImpl> sequence_checker; in TEST() local
127 sequence_checker.reset(new SequenceCheckerImpl); in TEST()
130 sequence_checker->DetachFromSequence(); in TEST()
137 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in TEST()
142 SequenceCheckerImpl sequence_checker; in TEST() local
143 sequence_checker.DetachFromSequence(); in TEST()
148 Bind(&ExpectCalledOnValidSequence, Unretained(&sequence_checker))); in TEST()
150 EXPECT_FALSE(sequence_checker.CalledOnValidSequence()); in TEST()