summaryrefslogtreecommitdiff
path: root/Source/cmAddTestCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmAddTestCommand.h')
-rw-r--r--Source/cmAddTestCommand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmAddTestCommand.h b/Source/cmAddTestCommand.h
index edaf12c9d7..59f10f6228 100644
--- a/Source/cmAddTestCommand.h
+++ b/Source/cmAddTestCommand.h
@@ -41,12 +41,12 @@ public:
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "add_test";}
+ virtual const char* GetName() const { return "add_test";}
/**
* Succinct documentation.
*/
- virtual const char* GetTerseDocumentation()
+ virtual const char* GetTerseDocumentation() const
{
return "Add a test to the project with the specified arguments.";
}
@@ -54,7 +54,7 @@ public:
/**
* More documentation.
*/
- virtual const char* GetFullDocumentation()
+ virtual const char* GetFullDocumentation() const
{
return
" add_test(testname Exename arg1 arg2 ... )\n"