projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Remove exposed C++ namespace.
[m6w6/libmemcached]
/
libtest
/
collection.cc
diff --git
a/libtest/collection.cc
b/libtest/collection.cc
index 1b4915e13d75ac1802e40a9cd37906b83fb814ad..86e7f864a922c4034cf29f32b1495d660be9bcd0 100644
(file)
--- a/
libtest/collection.cc
+++ b/
libtest/collection.cc
@@
-55,7
+55,7
@@
static test_return_t runner_code(libtest::Framework* frame,
}
// Special case where check for the testing of the exception
// system.
}
// Special case where check for the testing of the exception
// system.
- catch (
libtest::fatal &
e)
+ catch (
const libtest::fatal&
e)
{
if (libtest::fatal::is_disabled())
{
{
if (libtest::fatal::is_disabled())
{
@@
-133,7
+133,7
@@
test_return_t Collection::exec()
}
libtest::cancel_alarm();
}
}
libtest::cancel_alarm();
}
- catch (
libtest::fatal &
e)
+ catch (
const libtest::fatal&
e)
{
stream::cerr(e.file(), e.line(), e.func()) << e.what();
_failed++;
{
stream::cerr(e.file(), e.line(), e.func()) << e.what();
_failed++;
@@
-159,7
+159,7
@@
test_return_t Collection::exec()
break;
default:
break;
default:
-
fatal_message
("invalid return code");
+
FATAL
("invalid return code");
}
#if 0
@TODO add code here to allow for a collection to define a method to reset to allow tests to continue.
}
#if 0
@TODO add code here to allow for a collection to define a method to reset to allow tests to continue.