Go to the documentation of this file.
29 #include <gtest/gtest.h>
65 using ::testing::Test::Test;
102 [[maybe_unused]]
int success = mkdir(
dirName.c_str(), 0775);
103 assert(!(success == -1 && errno != EEXIST));
113 [[maybe_unused]]
int success = rmdir(
dirName.c_str());
114 assert(success == 0);
std::string getDirName() const
Get the name of the directory we have created on SetUp.
static unsigned dirNumber
Temporary directory names are generated based on this number, which is updated every time the generat...
const std::string to_string(sc_enc enc)
std::string dirName
The name of the temporary directory.
Fixture class that handles temporary directory creation.
Bitfield< 2, 1 > contents
static std::string generateTempDirName()
Generate a temporary directory name.
void simulateSerialization(std::string contents) const
Create a cpt file with the contents specified by the string.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
static const char * baseFilename
std::string getCptPath() const
Get the path to the checkpoint file.
Generated on Sun Jul 30 2023 01:56:51 for gem5 by doxygen 1.8.17