Namespace the complete DRAMSys library
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user