Skip to content
Browse files
Fix sip coverage test
By working around doxygen bug where private members are listed
as public
  • Loading branch information
nyalldawson committed Jul 26, 2016
1 parent a53c2e6 commit ce3438245312c404ab5da321524bab644775b51f
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/src/python/
@@ -453,6 +453,7 @@ def parseClassElem(self, e):
for m in e.getiterator('memberdef'):
if self.elemIsBindableMember(m):
bindable_member = [e.find('compoundname').text, m.find('name').text]

if not bindable_member in bindable_members:
if self.elemIsDocumentableMember(m):
@@ -481,6 +482,17 @@ def elemIsBindableMember(self, elem):
:param elem: XML element for a class member

name = elem.find('name').text
# hack to work around doxygen mistakenly flagging some private members as public
if name in ['runBlockOperationInThreads',
return False

# only public or protected members are bindable
if not self.visibility(elem) in ('public', 'protected'):
return False

0 comments on commit ce34382

Please sign in to comment.