1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0025266: Debug statements in the source are getting flushed on to the console

Suppress remaining couts in packages explicitly mentioned in the original bug description

Correction of test cases for issue CR25266
This commit is contained in:
abv
2014-10-16 16:45:55 +04:00
parent a520f6eb9a
commit aefdc31bf0
24 changed files with 127 additions and 129 deletions

View File

@@ -231,7 +231,10 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_IN :
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN : cout << "UNKNOWN state staft" << endl;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
cout << "UNKNOWN state staft" << endl;
#endif
case TopAbs_ON :
It.Next(); break;
} break;
@@ -242,7 +245,10 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_IN :
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN : cout << "UNKNOWN state stbef" << endl;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
cout << "UNKNOWN state stbef" << endl;
#endif
case TopAbs_ON :
It.Next(); break;
} break;
@@ -270,7 +276,9 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
HLRBRep_EdgeIList::AddInterference(ILHidden,Int,EIT);
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
cout << "UNKNOWN state after" << endl;
#endif
It.Next(); break;
} break;
case TopAbs_ON :
@@ -288,7 +296,10 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_OUT :
Int.Transition(TopAbs_REVERSED); break;
case TopAbs_UNKNOWN :
cout << "UNKNOWN state after" << endl; break;
#ifdef HLRBREP_DEB
cout << "UNKNOWN state after" << endl;
#endif
break;
}
It.Next(); break;
case TopAbs_OUT :
@@ -303,11 +314,16 @@ void HLRBRep_Hider::Hide(const Standard_Integer FI,
case TopAbs_OUT :
ILOn.Remove(It); break;
case TopAbs_UNKNOWN :
#ifdef HLRBREP_DEB
cout << "UNKNOWN state after" << endl;
#endif
It.Next(); break;
} break;
case TopAbs_UNKNOWN :
cout << "UNKNOWN state stbef" << endl; break;
#ifdef HLRBREP_DEB
cout << "UNKNOWN state stbef" << endl;
#endif
break;
}
}
}