TestClass: addon for 12f28507, fix a few more error messages.

This commit is contained in:
Daniel Marjamäki 2010-12-27 08:22:21 +01:00
parent 2367cfcf1e
commit 3853f93b34
1 changed files with 4 additions and 4 deletions

View File

@ -3735,7 +3735,7 @@ private:
"private:\n"
" std::pair< std::vector<int>,std::vector<int> > m_pair;\n"
"}");
ASSERT_EQUALS("[test.cpp:4]: (information) The function 'A::GetPair' can be const\n", errout.str());
ASSERT_EQUALS("[test.cpp:4]: (information) Technically the member function 'A::GetPair' can be const.\n", errout.str());
checkConst("class A {\n"
"public:\n"
@ -4189,7 +4189,7 @@ private:
"std::string m_strVal;\n"
"};\n"
);
ASSERT_EQUALS("[test.cpp:4]: (information) The function 'A::strGetString1' can be const\n", errout.str());
ASSERT_EQUALS("[test.cpp:4]: (information) Technically the member function 'A::strGetString1' can be const.\n", errout.str());
checkConst("class A{\n"
@ -4315,7 +4315,7 @@ private:
" return a;\n"
" }\n"
"};\n");
ASSERT_EQUALS("[test.cpp:7]: (information) The function 'Derived::get' can be const\n", errout.str());
ASSERT_EQUALS("[test.cpp:7]: (information) Technically the member function 'Derived::get' can be const.\n", errout.str());
checkConst("class Base1 {\n"
"public:\n"