gem5  v20.0.0.3
Classes | Functions
callback.test.cc File Reference
#include <gtest/gtest.h>
#include "base/callback.hh"

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)
 

Function Documentation

◆ TEST() [1/8]

TEST ( CallbackQueueTest  ,
GetName   
)

Definition at line 62 of file callback.test.cc.

References EXPECT_EQ, and CallbackQueue::name().

◆ TEST() [2/8]

TEST ( CallbackQueueTest  ,
IsEmpty   
)

Definition at line 68 of file callback.test.cc.

References CallbackQueue::empty(), and EXPECT_TRUE.

◆ TEST() [3/8]

TEST ( CallbackQueueTest  ,
IsNotEmpty   
)

◆ TEST() [4/8]

TEST ( CallbackQueueTest  ,
AddOneAndProcess   
)

◆ TEST() [5/8]

TEST ( CallbackQueueTest  ,
AddManyAndProcess   
)

◆ TEST() [6/8]

TEST ( CallbackQueueTest  ,
ClearQueue   
)

◆ TEST() [7/8]

TEST ( CallbackQueueTest  ,
MakeCallbackAddByReference   
)

◆ TEST() [8/8]

TEST ( CallbackQueueTest  ,
MakeCallbackAddByPointer   
)

Generated on Fri Jul 3 2020 15:53:08 for gem5 by doxygen 1.8.13