gem5
v20.0.0.3
|
Go to the source code of this file.
Classes | |
class | CallbackImpl |
class | MockClass |
Functions | |
TEST (CallbackQueueTest, GetName) | |
TEST (CallbackQueueTest, IsEmpty) | |
TEST (CallbackQueueTest, IsNotEmpty) | |
TEST (CallbackQueueTest, AddOneAndProcess) | |
TEST (CallbackQueueTest, AddManyAndProcess) | |
TEST (CallbackQueueTest, ClearQueue) | |
TEST (CallbackQueueTest, MakeCallbackAddByReference) | |
TEST (CallbackQueueTest, MakeCallbackAddByPointer) | |
TEST | ( | CallbackQueueTest | , |
GetName | |||
) |
Definition at line 62 of file callback.test.cc.
References EXPECT_EQ, and CallbackQueue::name().
TEST | ( | CallbackQueueTest | , |
IsEmpty | |||
) |
Definition at line 68 of file callback.test.cc.
References CallbackQueue::empty(), and EXPECT_TRUE.
TEST | ( | CallbackQueueTest | , |
IsNotEmpty | |||
) |
Definition at line 74 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::empty(), EXPECT_FALSE, and MipsISA::impl.
TEST | ( | CallbackQueueTest | , |
AddOneAndProcess | |||
) |
Definition at line 82 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::empty(), EXPECT_FALSE, EXPECT_TRUE, MipsISA::impl, CallbackQueue::process(), and CallbackImpl::processed.
TEST | ( | CallbackQueueTest | , |
AddManyAndProcess | |||
) |
Definition at line 94 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::empty(), EXPECT_FALSE, EXPECT_TRUE, CallbackQueue::process(), and CallbackImpl::processed.
TEST | ( | CallbackQueueTest | , |
ClearQueue | |||
) |
Definition at line 117 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::clear(), CallbackQueue::empty(), EXPECT_FALSE, and EXPECT_TRUE.
TEST | ( | CallbackQueueTest | , |
MakeCallbackAddByReference | |||
) |
Definition at line 127 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::empty(), EXPECT_FALSE, EXPECT_TRUE, MockClass::method(), MockClass::methodExecuted, and CallbackQueue::process().
TEST | ( | CallbackQueueTest | , |
MakeCallbackAddByPointer | |||
) |
Definition at line 138 of file callback.test.cc.
References CallbackQueue::add(), CallbackQueue::empty(), EXPECT_FALSE, EXPECT_TRUE, MockClass::method(), MockClass::methodExecuted, and CallbackQueue::process().