Namespace the complete DRAMSys library

This commit is contained in:
2023-05-16 11:27:16 +02:00
parent 50e87b7a63
commit 69cd04c448
164 changed files with 813 additions and 58 deletions

View File

@@ -156,13 +156,13 @@ TEST_F(BTransportNoStorage, Warning)
// Try to find the warning string
std::string output = buffer.str();
auto warning_pos = output.find(Dram::BLOCKING_WARNING);
auto warning_pos = output.find(DRAMSys::Dram::BLOCKING_WARNING);
// Warning should be printed once ...
EXPECT_NE(warning_pos, std::string::npos);
// ... but not twice
warning_pos = output.find(Dram::BLOCKING_WARNING, warning_pos + 1);
warning_pos = output.find(DRAMSys::Dram::BLOCKING_WARNING, warning_pos + 1);
EXPECT_EQ(warning_pos, std::string::npos);
// Restore stdout