summaryrefslogtreecommitdiff
path: root/Source/CTest/cmCTestGenericHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestGenericHandler.cxx')
-rw-r--r--Source/CTest/cmCTestGenericHandler.cxx51
1 files changed, 26 insertions, 25 deletions
diff --git a/Source/CTest/cmCTestGenericHandler.cxx b/Source/CTest/cmCTestGenericHandler.cxx
index b5f964d93d..4c398422d0 100644
--- a/Source/CTest/cmCTestGenericHandler.cxx
+++ b/Source/CTest/cmCTestGenericHandler.cxx
@@ -22,9 +22,9 @@
//----------------------------------------------------------------------
cmCTestGenericHandler::cmCTestGenericHandler()
{
- m_HandlerVerbose = false;
- m_CTest = 0;
- m_SubmitIndex = 0;
+ this->HandlerVerbose = false;
+ this->CTest = 0;
+ this->SubmitIndex = 0;
}
//----------------------------------------------------------------------
@@ -42,29 +42,29 @@ void cmCTestGenericHandler::SetOption(const char* op, const char* value)
if ( !value )
{
cmCTestGenericHandler::t_StringToString::iterator remit
- = m_Options.find(op);
- if ( remit != m_Options.end() )
+ = this->Options.find(op);
+ if ( remit != this->Options.end() )
{
- m_Options.erase(remit);
+ this->Options.erase(remit);
}
return;
}
- m_Options[op] = value;
+ this->Options[op] = value;
}
//----------------------------------------------------------------------
void cmCTestGenericHandler::Initialize()
{
- m_Options.clear();
+ this->Options.clear();
}
//----------------------------------------------------------------------
const char* cmCTestGenericHandler::GetOption(const char* op)
{
cmCTestGenericHandler::t_StringToString::iterator remit
- = m_Options.find(op);
- if ( remit == m_Options.end() )
+ = this->Options.find(op);
+ if ( remit == this->Options.end() )
{
return 0;
}
@@ -77,26 +77,27 @@ bool cmCTestGenericHandler::StartResultingXML(const char* name,
{
if ( !name )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE,
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
"Cannot create resulting XML file without providing the name"
<< std::endl;);
return false;
}
cmOStringStream ostr;
ostr << name;
- if ( m_SubmitIndex > 0 )
+ if ( this->SubmitIndex > 0 )
{
- ostr << "_" << m_SubmitIndex;
+ ostr << "_" << this->SubmitIndex;
}
ostr << ".xml";
- if( !m_CTest->OpenOutputFile(m_CTest->GetCurrentTag(), ostr.str().c_str(),
- xofs, true) )
+ if( !this->CTest->OpenOutputFile(this->CTest->GetCurrentTag(),
+ ostr.str().c_str(), xofs, true) )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create resulting XML file: "
- << ostr.str().c_str() << std::endl);
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
+ "Cannot create resulting XML file: " << ostr.str().c_str()
+ << std::endl);
return false;
}
- m_CTest->AddSubmitFile(ostr.str().c_str());
+ this->CTest->AddSubmitFile(ostr.str().c_str());
return true;
}
@@ -106,24 +107,24 @@ bool cmCTestGenericHandler::StartLogFile(const char* name,
{
if ( !name )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE,
+ cmCTestLog(this->CTest, ERROR_MESSAGE,
"Cannot create log file without providing the name" << std::endl;);
return false;
}
cmOStringStream ostr;
ostr << "Last" << name;
- if ( m_SubmitIndex > 0 )
+ if ( this->SubmitIndex > 0 )
{
- ostr << "_" << m_SubmitIndex;
+ ostr << "_" << this->SubmitIndex;
}
- if ( !m_CTest->GetCurrentTag().empty() )
+ if ( !this->CTest->GetCurrentTag().empty() )
{
- ostr << "_" << m_CTest->GetCurrentTag();
+ ostr << "_" << this->CTest->GetCurrentTag();
}
ostr << ".log";
- if( !m_CTest->OpenOutputFile("Temporary", ostr.str().c_str(), xofs) )
+ if( !this->CTest->OpenOutputFile("Temporary", ostr.str().c_str(), xofs) )
{
- cmCTestLog(m_CTest, ERROR_MESSAGE, "Cannot create log file: "
+ cmCTestLog(this->CTest, ERROR_MESSAGE, "Cannot create log file: "
<< ostr.str().c_str() << std::endl);
return false;
}