gem5  v20.1.0.0
Functions
refcnt.test.cc File Reference
#include <gtest/gtest.h>
#include <list>
#include "base/refcnt.hh"

Go to the source code of this file.

Functions

 TEST (RefcntTest, NullPointerCheck)
 
 TEST (RefcntTest, ConstructionFromPointer)
 
 TEST (RefcntTest, ConstructionFromExistingPointer)
 
 TEST (RefcntTest, DestroyPointer)
 
 TEST (RefcntTest, AssignmentFromAPointerFromAPointer)
 
 TEST (RefcntTest, AccessToClassPointers)
 
 TEST (RefcntTest, BoolAndLogicalNotOperatorOverloads)
 
 TEST (RefcntTest, EqualityOperators)
 

Function Documentation

◆ TEST() [1/8]

TEST ( RefcntTest  ,
AccessToClassPointers   
)

Definition at line 127 of file refcnt.test.cc.

References EXPECT_EQ.

◆ TEST() [2/8]

TEST ( RefcntTest  ,
AssignmentFromAPointerFromAPointer   
)

Definition at line 107 of file refcnt.test.cc.

References EXPECT_EQ.

◆ TEST() [3/8]

TEST ( RefcntTest  ,
BoolAndLogicalNotOperatorOverloads   
)

Definition at line 147 of file refcnt.test.cc.

References EXPECT_EQ, EXPECT_FALSE, and EXPECT_TRUE.

◆ TEST() [4/8]

TEST ( RefcntTest  ,
ConstructionFromExistingPointer   
)

Definition at line 89 of file refcnt.test.cc.

References EXPECT_EQ.

◆ TEST() [5/8]

TEST ( RefcntTest  ,
ConstructionFromPointer   
)

Definition at line 82 of file refcnt.test.cc.

References EXPECT_EQ.

◆ TEST() [6/8]

TEST ( RefcntTest  ,
DestroyPointer   
)

Definition at line 98 of file refcnt.test.cc.

References EXPECT_EQ.

◆ TEST() [7/8]

TEST ( RefcntTest  ,
EqualityOperators   
)

Definition at line 159 of file refcnt.test.cc.

References EXPECT_TRUE.

◆ TEST() [8/8]

TEST ( RefcntTest  ,
NullPointerCheck   
)

Definition at line 74 of file refcnt.test.cc.

References EXPECT_EQ.


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17