summaryrefslogtreecommitdiff
path: root/Source/cmTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-31 11:51:42 -0400
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-07-31 11:51:42 -0400
commitbebc745824920465c9df5fee9baf9b6f8a35d34f (patch)
tree958f9a784bd1aa1960fcd318d6123b5c928a0dc0 /Source/cmTest.h
parentec3f3b5a2db2c0d60fe2dbe31b21cf937fc8264e (diff)
downloadcmake-bebc745824920465c9df5fee9baf9b6f8a35d34f.tar.gz
ENH: Add set and get test propety command
Diffstat (limited to 'Source/cmTest.h')
-rw-r--r--Source/cmTest.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTest.h b/Source/cmTest.h
index e5dd1ededf..506b27622e 100644
--- a/Source/cmTest.h
+++ b/Source/cmTest.h
@@ -34,11 +34,11 @@ public:
///! Set the test name
void SetName(const char* name);
- const char* GetName() { return m_Name.c_str(); }
+ const char* GetName() const { return m_Name.c_str(); }
void SetCommand(const char* command);
- const char* GetCommand() { return m_Command.c_str(); }
+ const char* GetCommand() const { return m_Command.c_str(); }
void SetArguments(const std::vector<cmStdString>& args);
- std::vector<cmStdString>& GetArguments()
+ const std::vector<cmStdString>& GetArguments() const
{
return m_Args;
}