gem5  v22.0.0.2
Functions
serialize_handlers.test.cc File Reference
#include <gtest/gtest.h>
#include <cstdint>
#include <string>
#include "sim/serialize_handlers.hh"

Go to the source code of this file.

Functions

 TEST (SerializeTest, ParseParamInt8)
 
 TEST (SerializeTest, ParseParamUint32)
 
 TEST (SerializeTest, ParseParamDouble)
 
 TEST (SerializeTest, ParseParamBool)
 
 TEST (SerializeTest, ParseParamChar)
 Characters are parsed as integers. More...
 
 TEST (SerializeTest, ParseParamString)
 
 TEST (SerializeTest, ShowParamInt8)
 
 TEST (SerializeTest, ShowParamUint32)
 
 TEST (SerializeTest, ShowParamDouble)
 Test converting doubles to strings. More...
 
 TEST (SerializeTest, ShowParamBool)
 
 TEST (SerializeTest, ShowParamChar)
 
 TEST (SerializeTest, ShowParamString)
 

Function Documentation

◆ TEST() [1/12]

TEST ( SerializeTest  ,
ParseParamBool   
)

Definition at line 173 of file serialize_handlers.test.cc.

References gem5::ParseParam< bool >::parse().

◆ TEST() [2/12]

TEST ( SerializeTest  ,
ParseParamChar   
)

Characters are parsed as integers.

Definition at line 213 of file serialize_handlers.test.cc.

◆ TEST() [3/12]

TEST ( SerializeTest  ,
ParseParamDouble   
)

Definition at line 124 of file serialize_handlers.test.cc.

References gem5::ArmISA::e.

◆ TEST() [4/12]

TEST ( SerializeTest  ,
ParseParamInt8   
)

Definition at line 37 of file serialize_handlers.test.cc.

◆ TEST() [5/12]

TEST ( SerializeTest  ,
ParseParamString   
)

◆ TEST() [6/12]

TEST ( SerializeTest  ,
ParseParamUint32   
)

Definition at line 79 of file serialize_handlers.test.cc.

◆ TEST() [7/12]

TEST ( SerializeTest  ,
ShowParamBool   
)

Definition at line 382 of file serialize_handlers.test.cc.

References gem5::ShowParam< bool >::show(), and ss.

◆ TEST() [8/12]

TEST ( SerializeTest  ,
ShowParamChar   
)

Definition at line 395 of file serialize_handlers.test.cc.

References gem5::ShowParam< T, Enabled >::show(), and ss.

◆ TEST() [9/12]

TEST ( SerializeTest  ,
ShowParamDouble   
)

Test converting doubles to strings.

Floating numbers are expected to have 6-digit precision.

Definition at line 351 of file serialize_handlers.test.cc.

References gem5::ArmISA::e, gem5::ShowParam< T, Enabled >::show(), and ss.

◆ TEST() [10/12]

TEST ( SerializeTest  ,
ShowParamInt8   
)

Definition at line 306 of file serialize_handlers.test.cc.

References gem5::ShowParam< T, Enabled >::show(), and ss.

◆ TEST() [11/12]

TEST ( SerializeTest  ,
ShowParamString   
)

Definition at line 408 of file serialize_handlers.test.cc.

References gem5::ShowParam< T, Enabled >::show(), and ss.

◆ TEST() [12/12]

TEST ( SerializeTest  ,
ShowParamUint32   
)

Generated on Thu Jul 28 2022 13:32:49 for gem5 by doxygen 1.8.17