Add Prtinfo message type allows messages go into print file.
This commit is contained in:
@@ -47,7 +47,8 @@ BOOST_AUTO_TEST_CASE(TestIterator) {
|
||||
msgList.error("Error");
|
||||
msgList.problem("Problem");
|
||||
msgList.bug("Bug");
|
||||
std::vector<std::string> msgString = {"Debug", "Info", "Warning", "Error", "Problem", "Bug"};
|
||||
msgList.info("Prtinfo");
|
||||
std::vector<std::string> msgString = {"Debug", "Info", "Warning", "Error", "Problem", "Bug", "Prtinfo"};
|
||||
int i = 0;
|
||||
for (const auto& msg : msgList) {
|
||||
BOOST_CHECK_EQUAL(msg.message, msgString[i]);
|
||||
|
||||
Reference in New Issue
Block a user