summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 15:35:21 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2015-10-17 15:35:21 +0100
commit2aba16880e13c7ce066df771d63a6ab192369cb3 (patch)
tree759247bbecea99e6951ac7ff757e103b5ebb696e
parentAdd doxygen comments (diff)
downloadlibdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.tar.bz2
libdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.tar.xz
libdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.zip
Exclude fake DB class from coverage
-rw-r--r--libdbpp/unittests/testConnection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbpp/unittests/testConnection.cpp b/libdbpp/unittests/testConnection.cpp
index e5f7ae7..883c09a 100644
--- a/libdbpp/unittests/testConnection.cpp
+++ b/libdbpp/unittests/testConnection.cpp
@@ -7,6 +7,7 @@
#include <fstream>
#include <vector>
+// LCOV_EXCL_START
class MockDb : public DB::Connection {
public:
MockDb(const std::string &) {}
@@ -35,6 +36,7 @@ class MockDb : public DB::Connection {
mutable std::vector<std::string> executed;
};
+// LCOV_EXCL_STOP
FACTORY(MockDb, DB::ConnectionFactory);