]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Improve code coverage for ModelAPI package
authorazv <azv@opencascade.com>
Wed, 13 Mar 2019 09:49:43 +0000 (12:49 +0300)
committerazv <azv@opencascade.com>
Wed, 13 Mar 2019 09:49:43 +0000 (12:49 +0300)
src/ModelAPI/ModelAPI_Tools.cpp

index 074b903d55cc28d42615493e3d6633772fb19201..a5cd808fda611c026c4e1ba0bbc66c22c9358c79 100644 (file)
@@ -106,6 +106,7 @@ std::shared_ptr<GeomAPI_Shape> shape(const ResultPtr& theResult)
   return theResult->shape();
 }
 
+// LCOV_EXCL_START
 const char* toString(ModelAPI_ExecState theExecState)
 {
   switch (theExecState) {
@@ -118,7 +119,6 @@ const char* toString(ModelAPI_ExecState theExecState)
   }
 }
 
-// LCOV_EXCL_START
 std::string getFeatureError(const FeaturePtr& theFeature)
 {
   std::string anError;