From 3c5eac1fbb43e08f105f611d3e89e5181c3ab0e8 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 24 Jun 2014 13:49:05 -0400 Subject: cmCTestMemCheckHandler: Fix coding style in this class This class had a method that started with lower case, and also was called without this->. --- Source/CTest/cmCTestMemCheckHandler.cxx | 12 ++++++------ Source/CTest/cmCTestMemCheckHandler.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/CTest/cmCTestMemCheckHandler.cxx b/Source/CTest/cmCTestMemCheckHandler.cxx index 09d0ad8..7b50174 100644 --- a/Source/CTest/cmCTestMemCheckHandler.cxx +++ b/Source/CTest/cmCTestMemCheckHandler.cxx @@ -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; diff --git a/Source/CTest/cmCTestMemCheckHandler.h b/Source/CTest/cmCTestMemCheckHandler.h index 0521a48..20a38bb 100644 --- a/Source/CTest/cmCTestMemCheckHandler.h +++ b/Source/CTest/cmCTestMemCheckHandler.h @@ -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 -- cgit v0.12