cmCTestMemCheckHandler: Fix coding style in this class

This class had a method that started with lower case, and also
was called without this->.
This commit is contained in:
Bill Hoffman 2014-06-24 13:49:05 -04:00 committed by Brad King
parent c196b3ca02
commit 3c5eac1fbb
2 changed files with 8 additions and 8 deletions

View File

@ -918,7 +918,7 @@ cmCTestMemCheckHandler::PostProcessBoundsCheckerTest(cmCTestTestResult& res,
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"PostProcessBoundsCheckerTest for : "
<< res.Name << std::endl);
std::string ofile = testOutputFileName(test);
std::string ofile = this->TestOutputFileName(test);
if ( ofile.empty() )
{
return;
@ -957,7 +957,7 @@ cmCTestMemCheckHandler::PostProcessPurifyTest(cmCTestTestResult& res,
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"PostProcessPurifyTest for : "
<< res.Name << std::endl);
appendMemTesterOutput(res, test);
this->AppendMemTesterOutput(res, test);
}
void
@ -967,14 +967,14 @@ cmCTestMemCheckHandler::PostProcessValgrindTest(cmCTestTestResult& res,
cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT,
"PostProcessValgrindTest for : "
<< res.Name << std::endl);
appendMemTesterOutput(res, test);
this->AppendMemTesterOutput(res, test);
}
void
cmCTestMemCheckHandler::appendMemTesterOutput(cmCTestTestResult& res,
cmCTestMemCheckHandler::AppendMemTesterOutput(cmCTestTestResult& res,
int test)
{
std::string ofile = testOutputFileName(test);
std::string ofile = this->TestOutputFileName(test);
if ( ofile.empty() )
{
@ -996,7 +996,7 @@ cmCTestMemCheckHandler::appendMemTesterOutput(cmCTestTestResult& res,
}
std::string
cmCTestMemCheckHandler::testOutputFileName(int test)
cmCTestMemCheckHandler::TestOutputFileName(int test)
{
std::string index;
cmOStringStream stream;

View File

@ -123,11 +123,11 @@ private:
void PostProcessValgrindTest(cmCTestTestResult& res, int test);
///! append MemoryTesterOutputFile to the test log
void appendMemTesterOutput(cmCTestTestHandler::cmCTestTestResult& res,
void AppendMemTesterOutput(cmCTestTestHandler::cmCTestTestResult& res,
int test);
///! generate the output filename for the given test index
std::string testOutputFileName(int test);
std::string TestOutputFileName(int test);
};
#endif