]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3971] Improved commentary in the Thread test.
authorMarcin Siodelski <marcin@isc.org>
Tue, 29 Sep 2015 17:57:08 +0000 (19:57 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 29 Sep 2015 17:57:08 +0000 (19:57 +0200)
src/lib/util/threads/tests/thread_unittest.cc

index 82afbcb2b25e1564595752a0665758f8d95d47ad..46e7df91f10a31de879f832b59ae35d95f9a7d1a 100644 (file)
@@ -136,9 +136,14 @@ private:
 /// @brief Static instance of the stoppable thread.
 boost::scoped_ptr<StoppableThread> thread;
 
+/// @brief Test fixture class for testing @c Thread.
 class ThreadTest : public ::testing::Test {
 public:
 
+    /// @brief Destructor.
+    ///
+    /// Stops the thread and resets the static pointer to
+    /// @c StoppableThread.
     virtual ~ThreadTest() {
         if (thread) {
             thread->stop();