mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 02:53:22 +08:00
[0.3.x] ModuleTest.testEnumSymbols fixed
git-svn-id: https://pykd.svn.codeplex.com/svn@89151 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
a06ba48cce
commit
dd81cf4248
@ -97,8 +97,15 @@ class ModuleTest( unittest.TestCase ):
|
||||
self.assertNotEqual( 0, len(lst) )
|
||||
lst = target.module.enumSymbols("hello*Str")
|
||||
self.assertEqual( 2, len(lst) )
|
||||
|
||||
# 0:000> x targetapp!*Const
|
||||
# targetapp!ulonglongConst = 0xffff`ff000000
|
||||
# targetapp!boolConst = true
|
||||
# targetapp!ulongConst = 0x5555
|
||||
# targetapp!classChild::m_staticConst = <no type information>
|
||||
lst = target.module.enumSymbols( "*Const")
|
||||
self.assertEqual( 3, len(lst) )
|
||||
self.assertEqual( 4, len(lst) )
|
||||
|
||||
lst = target.module.enumSymbols( "*cal?Func")
|
||||
self.assertEqual( 4, len(lst) )
|
||||
lst = target.module.enumSymbols( "*virtMethod*")
|
||||
|
Loading…
Reference in New Issue
Block a user