summaryrefslogtreecommitdiff
path: root/include/cppunit/Test.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppunit/Test.h')
-rw-r--r--include/cppunit/Test.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/cppunit/Test.h b/include/cppunit/Test.h
index 0ed98f9..e457ca1 100644
--- a/include/cppunit/Test.h
+++ b/include/cppunit/Test.h
@@ -42,13 +42,6 @@ public:
*/
virtual int getChildTestCount() const =0;
- /*! \brief Returns the test name.
- *
- * Each test has a name. This name may be used to find the
- * test in a suite or registry of tests.
- */
- virtual std::string getName () const =0;
-
/*! \brief Returns the child test of the specified index.
*
* This method test if the index is valid, then call doGetChildTestAt() if
@@ -62,6 +55,13 @@ public:
*/
virtual Test *getChildTestAt( int index ) const;
+ /*! \brief Returns the test name.
+ *
+ * Each test has a name. This name may be used to find the
+ * test in a suite or registry of tests.
+ */
+ virtual std::string getName () const =0;
+
/*! \brief Finds the test with the specified name and its parents test.
* \param testName Name of the test to find.
* \param testPath If the test is found, then all the tests traversed to access