Salome HOME
Fix the code coverage level
authormpv <mpv@opencascade.com>
Fri, 13 Mar 2020 12:17:29 +0000 (15:17 +0300)
committermpv <mpv@opencascade.com>
Fri, 13 Mar 2020 12:17:29 +0000 (15:17 +0300)
src/ModelAPI/ModelAPI_Tools.cpp

index b2a7e0f39ddf3693f2e9e3d726028cf77e24b018..3b0cd3701e77b1c0bac20a7dea49d2cb8a8bf7cc 100644 (file)
@@ -805,6 +805,8 @@ void removeResults(const std::list<ResultPtr>& 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<ModelAPI_Result>& theResult)
 {
   double aDeflection = -1;
@@ -963,7 +963,6 @@ double getTransparency(const std::shared_ptr<ModelAPI_Result>& theResult)
   }
   return aTransparency;
 }
-// LCOV_EXCL_STOP
 
 void copyVisualizationAttrs(
   std::shared_ptr<ModelAPI_Result> theSource, std::shared_ptr<ModelAPI_Result> theDest)
@@ -1055,4 +1054,6 @@ std::list<FeaturePtr> referencedFeatures(
   return aResList;
 }
 
+// LCOV_EXCL_STOP
+
 } // namespace ModelAPI_Tools