Browse Source

[3971] Improved commentary in the Thread test.

Marcin Siodelski 9 years ago
parent
commit
3a625111e0
1 changed files with 5 additions and 0 deletions
  1. 5 0
      src/lib/util/threads/tests/thread_unittest.cc

+ 5 - 0
src/lib/util/threads/tests/thread_unittest.cc

@@ -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();