Index: src/core/test/watchdog-test-suite.cc |
=================================================================== |
--- a/src/core/test/watchdog-test-suite.cc |
+++ b/src/core/test/watchdog-test-suite.cc |
@@ -22,15 +22,25 @@ |
using namespace ns3; |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Watchdog test |
+ */ |
class WatchdogTestCase : public TestCase |
{ |
public: |
WatchdogTestCase (); |
virtual void DoRun (void); |
+ /** |
+ * Expire test function |
+ * \param expected the expected time |
+ */ |
void Expire (Time expected); |
- bool m_expired; |
- Time m_expiredTime; |
- Time m_expiredArgument; |
+ bool m_expired; ///< expired indicator |
+ Time m_expiredTime; ///< expired time |
+ Time m_expiredArgument; ///< expired argument |
}; |
WatchdogTestCase::WatchdogTestCase() |
@@ -67,7 +77,12 @@ |
} |
- |
+/** |
+ * \ingroup core-test |
+ * \ingroup tests |
+ * |
+ * \brief Watchdog test suite |
+ */ |
static class WatchdogTestSuite : public TestSuite |
{ |
public: |
@@ -76,4 +91,4 @@ |
{ |
AddTestCase (new WatchdogTestCase (), TestCase::QUICK); |
} |
-} g_watchdogTestSuite; |
+} g_watchdogTestSuite; ///< the test suite |