From be39d2fff0ab3e750aaab8a3fcfe1c54f034a131 Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 13 Mar 2020 15:17:29 +0300 Subject: [PATCH] Fix the code coverage level --- src/ModelAPI/ModelAPI_Tools.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ModelAPI/ModelAPI_Tools.cpp b/src/ModelAPI/ModelAPI_Tools.cpp index b2a7e0f39..3b0cd3701 100644 --- a/src/ModelAPI/ModelAPI_Tools.cpp +++ b/src/ModelAPI/ModelAPI_Tools.cpp @@ -805,6 +805,8 @@ void removeResults(const std::list& theResults) } } +// used by GUI only +// LCOV_EXCL_START //************************************************************** void setDeflection(ResultPtr theResult, const double theDeflection) @@ -818,8 +820,6 @@ void setDeflection(ResultPtr theResult, const double theDeflection) } } -// used by GUI only -// LCOV_EXCL_START double getDeflection(const std::shared_ptr& theResult) { double aDeflection = -1; @@ -963,7 +963,6 @@ double getTransparency(const std::shared_ptr& theResult) } return aTransparency; } -// LCOV_EXCL_STOP void copyVisualizationAttrs( std::shared_ptr theSource, std::shared_ptr theDest) @@ -1055,4 +1054,6 @@ std::list referencedFeatures( return aResList; } +// LCOV_EXCL_STOP + } // namespace ModelAPI_Tools -- 2.39.2