Home
last modified time | relevance | path

Searched refs:sequence_checker (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/
Dsequence_checker_unittest.cc44 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
[all …]
/external/libchrome/base/task_scheduler/
Dlazy_task_runner_unittest.cc49 void InitCheckers(SequenceCheckerImpl* sequence_checker, in InitCheckers() argument
51 sequence_checker->DetachFromSequence(); in InitCheckers()
52 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in InitCheckers()
57 void ExpectSequencedEnvironment(SequenceCheckerImpl* sequence_checker, in ExpectSequencedEnvironment() argument
60 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in ExpectSequencedEnvironment()
65 void ExpectSingleThreadEnvironment(SequenceCheckerImpl* sequence_checker, in ExpectSingleThreadEnvironment() argument
73 EXPECT_TRUE(sequence_checker->CalledOnValidSequence()); in ExpectSingleThreadEnvironment()
95 SequenceCheckerImpl sequence_checker; in TestTaskRunnerEnvironment() local
98 BindOnce(&InitCheckers, Unretained(&sequence_checker), in TestTaskRunnerEnvironment()
105 Unretained(&sequence_checker), in TestTaskRunnerEnvironment()
[all …]