[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:
SND\EreTIk_cp 2014-10-16 15:18:42 +00:00 committed by Mikhail I. Izmestev
parent a06ba48cce
commit dd81cf4248

View File

@ -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*")