]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Config/Config_Common.cpp
Salome HOME
[Code coverage Config]: Exclude GUI oriented code, improve coverage quality for Confi...
[modules/shaper.git] / src / Config / Config_Common.cpp
index c83a33079f7df2bae5bbb7ee56fa48609e9e2e28..319cb724cc0c7cd742e40601eace91b93b862c78 100644 (file)
@@ -94,6 +94,7 @@ bool isWidgetNode(xmlNodePtr theNode)
   return !isNode(theNode, NODE_SOURCE, NODE_VALIDATOR, NULL);
 }
 
+// LCOV_EXCL_START
 // widget api?
 bool isCaseNode(xmlNodePtr theNode)
 {
@@ -103,6 +104,7 @@ bool isCaseNode(xmlNodePtr theNode)
   return isNode(theNode, WDG_OPTIONALBOX, WDG_SWITCH_CASE, WDG_TOOLBOX_BOX,
     WDG_RADIOBOX_ITEM, NULL);
 }
+// LCOV_EXCL_STOP
 
 bool hasChild(xmlNodePtr theNode)
 {
@@ -251,6 +253,7 @@ std::string getProperty(xmlNodePtr theNode, const char* thePropName)
   return result;
 }
 
+// LCOV_EXCL_START
 std::string getContent(xmlNodePtr theNode)
 {
   std::string result = "";
@@ -261,6 +264,7 @@ std::string getContent(xmlNodePtr theNode)
   xmlFree(aContent);
   return result;
 }
+// LCOV_EXCL_STOP
 
 std::string getNormalizedProperty(xmlNodePtr theNode, const char* thePropName)
 {
@@ -279,13 +283,6 @@ bool getBooleanAttribute(xmlNodePtr theNode, const char* theAttributeName, bool
   return result;
 }
 
-CONFIG_EXPORT std::string normalize(const char* theString)
-{
-  if (!theString)
-    return std::string();
-  return normalize(std::string(theString));
-}
-
 CONFIG_EXPORT std::string normalize(const std::string& theString)
 {
   std::string result = theString;