Defined in header <cmath>
|
||
void foo() | this is matched |
Defined in header <cstddef>
|
||
void bar() | this mentions foo, but isn't matched | |
Defined in header <cstdio>
|
||
Defined in header <cstdlib>
|
||
void foo () | this is matched |
blocks in a Div.
# Defined in header
# Defined in header
html = """
void
foo
()
this is matched
"""
self.assertEqual(_ParseSymbolPage(html, "foo"),
set(['', '']))
def testParseSymbolPage_MulSymbolsInSameTd(self):
# defined in header
# int8_t
# int16_t
html = """
Defined in header <cstdint>
int8_t
int16_t
this is matched
"""
self.assertEqual(_ParseSymbolPage(html, "int8_t"),
set(['']))
self.assertEqual(_ParseSymbolPage(html, "int16_t"),
set(['']))
if __name__ == '__main__':
unittest.main()