gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
 TEST (SerializeTest, ParseParamString)
 
 TEST (SerializeTest, ShowParamInt8)
 
 TEST (SerializeTest, ShowParamUint32)
 
 TEST (SerializeTest, ShowParamDouble)
 Test converting doubles to strings.
 
 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.

◆ 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.

◆ TEST() [4/12]

TEST ( SerializeTest ,
ParseParamInt8  )

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

◆ TEST() [5/12]

TEST ( SerializeTest ,
ParseParamString  )

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

◆ TEST() [6/12]

TEST ( SerializeTest ,
ParseParamUint32  )

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

◆ TEST() [7/12]

TEST ( SerializeTest ,
ShowParamBool  )

◆ TEST() [8/12]

TEST ( SerializeTest ,
ShowParamChar  )

◆ TEST() [9/12]

TEST ( SerializeTest ,
ShowParamDouble  )

Test converting doubles to strings.

Floating numbers are expected to have 6-digit precision.

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

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

◆ TEST() [10/12]

TEST ( SerializeTest ,
ShowParamInt8  )

◆ TEST() [11/12]

TEST ( SerializeTest ,
ShowParamString  )

◆ TEST() [12/12]

TEST ( SerializeTest ,
ShowParamUint32  )

Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0