Index: src/core/test/time-test-suite.cc |
=================================================================== |
--- a/src/core/test/time-test-suite.cc |
+++ b/src/core/test/time-test-suite.cc |
@@ -31,6 +31,12 @@ |
using namespace ns3; |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Basic time test |
+ */ |
class TimeSimpleTestCase : public TestCase |
{ |
public: |
@@ -102,6 +108,12 @@ |
{ |
} |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Time with sign test |
+ */ |
class TimeWithSignTestCase : public TestCase |
{ |
public: |
@@ -158,12 +170,22 @@ |
} |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Time input / output test |
+ */ |
class TimeInputOutputTestCase : public TestCase |
{ |
public: |
TimeInputOutputTestCase (); |
private: |
virtual void DoRun (void); |
+ /** |
+ * Check test function |
+ * \param str the reference string |
+ */ |
void Check (const std::string & str); |
}; |
@@ -230,6 +252,12 @@ |
std::cout << std::endl; |
} |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Time test suite |
+ */ |
static class TimeTestSuite : public TestSuite |
{ |
public: |
@@ -241,6 +269,4 @@ |
// This should be last, since it changes the resolution |
AddTestCase (new TimeSimpleTestCase (), TestCase::QUICK); |
} |
-} g_timeTestSuite; |
- |
- |
+} g_timeTestSuite; ///< the test suite |