mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.3.x] added : test with call method of std::string
git-svn-id: https://pykd.svn.codeplex.com/svn@91076 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
eac07d8add
commit
7c9621b279
@ -403,4 +403,8 @@ class TypedVarTest( unittest.TestCase ):
|
|||||||
g_classChild = target.module.typedVar("g_classChild")
|
g_classChild = target.module.typedVar("g_classChild")
|
||||||
self.assertEqual( 1000*5, g_classChild.childMethod(10) )
|
self.assertEqual( 1000*5, g_classChild.childMethod(10) )
|
||||||
|
|
||||||
|
def testCallStdStr(self):
|
||||||
|
g_stdString = target.module.typedVar("g_stdString")
|
||||||
|
self.assertEqual( "testString".find('S'), g_stdString.find_first_of(ord('S'), 0) )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user