]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2205] tried to improve what() message of some test exceptions
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 17 Oct 2012 23:17:39 +0000 (16:17 -0700)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 17 Oct 2012 23:17:39 +0000 (16:17 -0700)
src/bin/auth/tests/test_datasrc_clients_mgr.h

index 051942585976c8fbe3ec30fdf51265fbb6c7164f..99dc53efb5b7c01c66b43a38753572cd46649a5a 100644 (file)
@@ -172,9 +172,11 @@ public:
         case FakeDataSrcClientsBuilder::NOTHROW:
             break;
         case FakeDataSrcClientsBuilder::THROW_UNCAUGHT_EX:
-            isc_throw(util::thread::Thread::UncaughtException, "for test");
+            isc_throw(util::thread::Thread::UncaughtException,
+                      "TestThread wait() saw an exception");
         case FakeDataSrcClientsBuilder::THROW_OTHER:
-            isc_throw(Unexpected, "for test");
+            isc_throw(Unexpected,
+                      "General emulated failure in TestThread wait()");
         }
     }
 };