Merge topic 'style-fix'

3c5eac1f cmCTestMemCheckHandler: Fix coding style in this class
This commit is contained in:
Brad King 2014-06-25 10:53:07 -04:00 committed by CMake Topic Stage
commit 1b40fc835e
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