diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-17 15:35:21 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-10-17 15:35:21 +0100 |
commit | 2aba16880e13c7ce066df771d63a6ab192369cb3 (patch) | |
tree | 759247bbecea99e6951ac7ff757e103b5ebb696e | |
parent | Add doxygen comments (diff) | |
download | libdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.tar.bz2 libdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.tar.xz libdbpp-2aba16880e13c7ce066df771d63a6ab192369cb3.zip |
Exclude fake DB class from coverage
-rw-r--r-- | libdbpp/unittests/testConnection.cpp | 2 |
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); |