Home
last modified time | relevance | path

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

/openthread-2.7.6/tests/unit/
Dtest_priority_queue.cpp150 ot::Message * msgHigh[kNumTestMessages]; in TestPriorityQueue() local
164 msgHigh[i] = messagePool->New(ot::Message::kTypeIp6, 0, ot::Message::kPriorityHigh); in TestPriorityQueue()
165 VerifyOrQuit(msgHigh[i] != nullptr); in TestPriorityQueue()
178 msgHigh[i] = messagePool->New(ot::Message::kTypeIp6, 0); in TestPriorityQueue()
179 VerifyOrQuit(msgHigh[i] != nullptr); in TestPriorityQueue()
180 SuccessOrQuit(msgHigh[i]->SetPriority(ot::Message::kPriorityHigh)); in TestPriorityQueue()
194 VerifyOrQuit(msgHigh[i]->GetPriority() == ot::Message::kPriorityHigh); in TestPriorityQueue()
202 queue.Enqueue(*msgHigh[0]); in TestPriorityQueue()
203 VerifyPriorityQueueContent(queue, 1, msgHigh[0]); in TestPriorityQueue()
204 queue.Enqueue(*msgHigh[1]); in TestPriorityQueue()
[all …]