Lines Matching refs:GetForCurrentThread
50 TEST(SequenceTokenTest, GetForCurrentThread) { in TEST() argument
53 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
58 EXPECT_TRUE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
59 EXPECT_EQ(token, SequenceToken::GetForCurrentThread()); in TEST()
62 EXPECT_FALSE(SequenceToken::GetForCurrentThread().IsValid()); in TEST()
83 EXPECT_FALSE(TaskToken::GetForCurrentThread().IsValid()); in TEST()
90 TaskToken valid = TaskToken::GetForCurrentThread(); in TEST()
102 const TaskToken token_a = TaskToken::GetForCurrentThread(); in TEST()
103 const TaskToken token_b = TaskToken::GetForCurrentThread(); in TEST()
120 token_a = TaskToken::GetForCurrentThread(); in TEST()
125 token_b = TaskToken::GetForCurrentThread(); in TEST()