@@ -52,7 +52,7 @@ def testParseSymbolPage_SingleHeader(self):
52
52
</tr>
53
53
</tbody></table>
54
54
"""
55
- self .assertEqual (_ParseSymbolPage (html , "foo" ), set (["<cmath>" ]))
55
+ self .assertEqual (_ParseSymbolPage (html , "foo" , "foo" ), set (["<cmath>" ]))
56
56
57
57
def testParseSymbolPage_MulHeaders (self ):
58
58
# Defined in header <cstddef>
@@ -92,7 +92,7 @@ def testParseSymbolPage_MulHeaders(self):
92
92
</tr>
93
93
</tbody></table>
94
94
"""
95
- self .assertEqual (_ParseSymbolPage (html , "foo" ), set (["<cstdio>" , "<cstdlib>" ]))
95
+ self .assertEqual (_ParseSymbolPage (html , "foo" , "foo" ), set (["<cstdio>" , "<cstdlib>" ]))
96
96
97
97
def testParseSymbolPage_MulHeadersInSameDiv (self ):
98
98
# Multile <code> blocks in a Div.
@@ -118,7 +118,7 @@ def testParseSymbolPage_MulHeadersInSameDiv(self):
118
118
</tbody></table>
119
119
"""
120
120
self .assertEqual (
121
- _ParseSymbolPage (html , "foo" ), set (["<algorithm>" , "<utility>" ])
121
+ _ParseSymbolPage (html , "foo" , "foo" ), set (["<algorithm>" , "<utility>" ])
122
122
)
123
123
124
124
def testParseSymbolPage_MulSymbolsInSameTd (self ):
@@ -142,8 +142,8 @@ def testParseSymbolPage_MulSymbolsInSameTd(self):
142
142
</tr>
143
143
</tbody></table>
144
144
"""
145
- self .assertEqual (_ParseSymbolPage (html , "int8_t" ), set (["<cstdint>" ]))
146
- self .assertEqual (_ParseSymbolPage (html , "int16_t" ), set (["<cstdint>" ]))
145
+ self .assertEqual (_ParseSymbolPage (html , "int8_t" , "int8_t" ), set (["<cstdint>" ]))
146
+ self .assertEqual (_ParseSymbolPage (html , "int16_t" , "int16_t" ), set (["<cstdint>" ]))
147
147
148
148
149
149
if __name__ == "__main__" :
0 commit comments