summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-16 21:34:57 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-16 21:34:57 +0100
commit99496633db80675e60ee9edd4d7d49d50d7cbc62 (patch)
treebc42d17dcb922dea7602275abc7feb4fbc8d04c0
parentImprove coverage and factory correctness testing (diff)
downloadlibadhocutil-99496633db80675e60ee9edd4d7d49d50d7cbc62.tar.bz2
libadhocutil-99496633db80675e60ee9edd4d7d49d50d7cbc62.tar.xz
libadhocutil-99496633db80675e60ee9edd4d7d49d50d7cbc62.zip
Exclude print nullptr_t from coverage
-rw-r--r--libadhocutil/unittests/testCache.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/libadhocutil/unittests/testCache.cpp b/libadhocutil/unittests/testCache.cpp
index 736cf07..6520aa3 100644
--- a/libadhocutil/unittests/testCache.cpp
+++ b/libadhocutil/unittests/testCache.cpp
@@ -5,12 +5,9 @@
#include "cache.h"
#include "cache.impl.h"
-namespace std {
- std::ostream & operator<<(std::ostream & s, const std::nullptr_t &)
- {
- return s << "(nil)";
- }
-}
+// LCOV_EXCL_START
+BOOST_TEST_DONT_PRINT_LOG_VALUE(std::nullptr_t);
+// LCOV_EXCL_STOP
namespace AdHoc {
typedef Cache<int, std::string> TestCache;