mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[0.2.x] + failed test: pointer to basic type (typeInfo ctor)
git-svn-id: https://pykd.svn.codeplex.com/svn@81388 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
689ce0ae42
commit
b7a7f97ea4
@ -17,6 +17,8 @@ class TypeInfoTest( unittest.TestCase ):
|
|||||||
|
|
||||||
def testCreateByName( self ):
|
def testCreateByName( self ):
|
||||||
""" creating typeInfo by the type name """
|
""" creating typeInfo by the type name """
|
||||||
|
self.assertEqual( "Int4B*", target.module.type("Int4B*").name() )
|
||||||
|
self.assertEqual( "Int4B*", pykd.typeInfo("Int4B*").name() )
|
||||||
self.assertEqual( "structTest", target.module.type( "structTest" ).name() )
|
self.assertEqual( "structTest", target.module.type( "structTest" ).name() )
|
||||||
self.assertEqual( "structTest**", target.module.type( "structTest**" ).name() )
|
self.assertEqual( "structTest**", target.module.type( "structTest**" ).name() )
|
||||||
self.assertEqual( "Int4B[2][3]", target.module.type("Int4B[2][3]").name() )
|
self.assertEqual( "Int4B[2][3]", target.module.type("Int4B[2][3]").name() )
|
||||||
|
Loading…
Reference in New Issue
Block a user