Skip to content

Commit 0523ebe

Browse files
committed
Added comments to make the TestClass easier to understand.
1 parent ea49efd commit 0523ebe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/TestClass.hpp

+6
Original file line numberDiff line numberDiff line change
@@ -136,31 +136,37 @@ class TestClass
136136

137137
// Functions for managing the function or member function test.
138138
public:
139+
/// Get the class name for the test, which can also be an empty string.
139140
TestString const& GetClassName() const throw()
140141
{
141142
return m_class_name;
142143
}
143144

145+
/// Set the class name for the test, which can also be an empty string.
144146
void SetClassName(TestString const& class_name)
145147
{
146148
m_class_name = class_name;
147149
}
148150

151+
/// Get the function or member function name for the test, which can also be empty.
149152
TestString const& GetFunctionName() const throw()
150153
{
151154
return m_function_name;
152155
}
153156

157+
/// Set the function or member function name for the test, which can also be empty.
154158
void SetFunctionName(TestString const& function_name)
155159
{
156160
m_function_name = function_name;
157161
}
158162

163+
/// Get the function or member function arguments for the test, which can also be empty.
159164
TestString const& GetArgs() const throw()
160165
{
161166
return m_args;
162167
}
163168

169+
/// Set the function or member function arguments for the test, which can also be empty.
164170
void SetArgs(TestString const& args)
165171
{
166172
if (args != "NA")

0 commit comments

Comments
 (0)