diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-25 14:04:39 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-25 14:04:39 +0100 |
commit | 17304dbbd6b9dc8a63d09d9c2253d343d513e63b (patch) | |
tree | 2b775d5aa11a81bd165b8720cd4d73eceee46b76 | |
parent | Add missing override attribute in fuseApp (diff) | |
download | netfs-17304dbbd6b9dc8a63d09d9c2253d343d513e63b.tar.bz2 netfs-17304dbbd6b9dc8a63d09d9c2253d343d513e63b.tar.xz netfs-17304dbbd6b9dc8a63d09d9c2253d343d513e63b.zip |
Exclude default untestable functions from coverage reports
-rw-r--r-- | netfs/fuse/fuseAppBase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/netfs/fuse/fuseAppBase.cpp b/netfs/fuse/fuseAppBase.cpp index 4653efb..87275c6 100644 --- a/netfs/fuse/fuseAppBase.cpp +++ b/netfs/fuse/fuseAppBase.cpp @@ -14,6 +14,11 @@ FuseAppBase::FuseAppBase() FuseAppBase::~FuseAppBase() { } +// LCOV_EXCL_START +// These are all excluded from coverage because it is impossible +// to call them in a realistic manner. They exist only as the default +// implementation of the function which is never passed to libfuse +// unless it is overridden. void * FuseAppBase::init(fuse_conn_info*) { return NULL; @@ -182,6 +187,7 @@ int FuseAppBase::fallocate(const char *, int, off_t, off_t, struct fuse_file_inf { return -ENOSYS; } +// LCOV_EXCL_STOP void FuseAppBase::log(int level, const char * message) const throw() { logf(level, "%s", message); |