aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-05 02:20:05 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-05 02:20:05 +0000
commitb089f09a601c49a1c65275178493cf2dc7fcd562 (patch)
tree7fd8e7f9f04a3491af06bf9e25c3dfc4038527d3 /test
parent2b38b4fac04da0ab1962fa9ee0d9e553548b43d0 (diff)
downloadpaludis-b089f09a601c49a1c65275178493cf2dc7fcd562.tar.gz
paludis-b089f09a601c49a1c65275178493cf2dc7fcd562.tar.xz
Random doxygen updates
Diffstat (limited to 'test')
-rw-r--r--test/test_framework.cc3
-rw-r--r--test/test_framework.hh3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/test_framework.cc b/test/test_framework.cc
index 8d249ef..187e06f 100644
--- a/test/test_framework.cc
+++ b/test/test_framework.cc
@@ -31,6 +31,7 @@
using namespace test;
+#ifndef DOXYGEN
namespace
{
std::string exception_to_debug_string(const std::exception & e)
@@ -67,8 +68,6 @@ namespace
};
}
-#ifndef DOXYGEN
-
void
test::set_exception_to_debug_string(std::string (*f) (const std::exception &))
{
diff --git a/test/test_framework.hh b/test/test_framework.hh
index c90e805..652f3e9 100644
--- a/test/test_framework.hh
+++ b/test/test_framework.hh
@@ -189,6 +189,9 @@ namespace test
static bool run_tests();
};
+ /**
+ * Change the function used to get a string description of an exception.
+ */
void set_exception_to_debug_string(std::string (*) (const std::exception &));
}