From 7c9621b27940f6ad49222380c6727e0d7d72a072 Mon Sep 17 00:00:00 2001 From: "SND\\ussrhero_cp" Date: Sat, 3 Dec 2016 21:01:48 +0000 Subject: [PATCH] [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 --- test/scripts/typedvar.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/scripts/typedvar.py b/test/scripts/typedvar.py index 7e48be7..b830288 100644 --- a/test/scripts/typedvar.py +++ b/test/scripts/typedvar.py @@ -403,4 +403,8 @@ class TypedVarTest( unittest.TestCase ): g_classChild = target.module.typedVar("g_classChild") 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) ) + \ No newline at end of file