gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 64 of file callback.test.cc.

References EXPECT_EQ, and CallbackQueue::name().

◆ TEST() [2/8]

TEST ( CallbackQueueTest  ,
IsEmpty   
)

Definition at line 70 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 Feb 28 2020 16:27:06 for gem5 by doxygen 1.8.13