From: mpv Date: Fri, 13 Mar 2020 12:17:29 +0000 (+0300) Subject: Fix the code coverage level X-Git-Tag: V9_5_0a2~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=be39d2fff0ab3e750aaab8a3fcfe1c54f034a131;p=modules%2Fshaper.git Fix the code coverage level --- 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