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:
parent
c196b3ca02
commit
3c5eac1fbb
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue