BIND 10 trac542, updated. 3f27e2dc3c0ce961a95e4791604e3cb12fd43dfa [trac542] Additional documentation on use of run_all()
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu May 12 13:23:40 UTC 2011
The branch, trac542 has been updated
via 3f27e2dc3c0ce961a95e4791604e3cb12fd43dfa (commit)
from 50ca3176a95f7ca760c0749d7a92634e2526369d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3f27e2dc3c0ce961a95e4791604e3cb12fd43dfa
Author: Stephen Morris <stephen at isc.org>
Date: Thu May 12 14:23:18 2011 +0100
[trac542] Additional documentation on use of run_all()
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/unittests/run_all.h | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/util/unittests/run_all.h b/src/lib/util/unittests/run_all.h
index 59abe3e..48fd6fa 100644
--- a/src/lib/util/unittests/run_all.h
+++ b/src/lib/util/unittests/run_all.h
@@ -29,10 +29,15 @@ namespace unittests {
///
/// A wrapper for the Google Test RUN_ALL_TESTS() macro, this calls the macro
/// but wraps the call in a try...catch block if the environment variable
-/// B10TEST_CATCH_EXCEPTION is defined. In the latter case, the class and
-/// type of the exception is printed.
+/// B10TEST_CATCH_EXCEPTION is defined, and calls the macro directly if not.
+///
+/// The catch block catches exceptions of types isc::Exception and
+/// std::Exception and prints some information about them to stderr. (In the
+/// case of isc::Exception, this includes the file and line number from which
+/// the exception was raised.) It then re-throws the exception.
///
/// See: https://lists.isc.org/pipermail/bind10-dev/2011-January/001867.html
+/// for some context.
///
/// \return Return value from RUN_ALL_TESTS().
More information about the bind10-changes
mailing list