[0.3.x] updated : tests

git-svn-id: https://pykd.svn.codeplex.com/svn@83936 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2013-06-03 14:13:23 +00:00 committed by Mikhail I. Izmestev
parent 58e809f741
commit 61c7bfa56f

View File

@ -140,8 +140,8 @@ class TypeInfoTest( unittest.TestCase ):
def testPtr(self): def testPtr(self):
self.assertEqual( "UInt8B*", target.module.type( "pbigValue" ).name() ) self.assertEqual( "UInt8B*", target.module.type( "pbigValue" ).name() )
self.assertEqual( "testStruct*", target.module.type( "testStruct*" ).name() ) self.assertEqual( "structTest*", target.module.type( "structTest*" ).name() )
self.assertEqual( "UShort*", target.module.type( "UShort*" ).name() ) self.assertEqual( "UInt2B*", pykd.typeInfo( "UInt2B*" ).name() )
self.assertEqual( "Void*", target.module.type( "voidPtr" ).name() ) self.assertEqual( "Void*", target.module.type( "voidPtr" ).name() )
self.assertEqual( "Void*[3]", target.module.type( "voidPtrArray" ).name()) self.assertEqual( "Void*[3]", target.module.type( "voidPtrArray" ).name())
#self.assertEqual( "<function>*", target.module.type( "g_ptrToFunction" ).name()) #self.assertEqual( "<function>*", target.module.type( "g_ptrToFunction" ).name())