]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix code coverage
authorazv <azv@opencascade.com>
Fri, 22 Nov 2019 10:02:13 +0000 (13:02 +0300)
committerazv <azv@opencascade.com>
Fri, 22 Nov 2019 10:02:13 +0000 (13:02 +0300)
src/ModelAPI/ModelAPI_Tools.cpp

index 728c009513157c5dc0a85f7d75be2e4d074a352a..29bbb8fe02fc0ed5683b8ccfa377682254f15b6d 100644 (file)
@@ -785,6 +785,8 @@ void removeResults(const std::list<ResultPtr>& theResults)
   }
 }
 
+// used by GUI only
+// LCOV_EXCL_START
 double getDeflection(const std::shared_ptr<ModelAPI_Result>& theResult)
 {
   double aDeflection = -1;
@@ -830,5 +832,6 @@ double getTransparency(const std::shared_ptr<ModelAPI_Result>& theResult)
   }
   return aTransparency;
 }
+// LCOV_EXCL_STOP
 
 } // namespace ModelAPI_Tools