mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +08:00
[test] fixed some typos.
git-svn-id: https://pykd.svn.codeplex.com/svn@68998 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
6708879131
commit
05ffa0ece2
@ -44,8 +44,8 @@ class TypeInfoTest( unittest.TestCase ):
|
|||||||
var4 = pykd.typedVar( ti1, pykd.getOffset( target.moduleName, "Namespace1::Namespace2::var4" ) )
|
var4 = pykd.typedVar( ti1, pykd.getOffset( target.moduleName, "Namespace1::Namespace2::var4" ) )
|
||||||
self.assertEqual( var3.m_field1, 50 )
|
self.assertEqual( var3.m_field1, 50 )
|
||||||
|
|
||||||
def testNamespace(self):
|
def testTemplates(self):
|
||||||
print "Testing templates"
|
print "Testing templates"
|
||||||
ti3 = pykd.typeInfo( target.moduleName, "Namespace3::Class3<int>" )
|
ti3 = pykd.typeInfo( target.moduleName, "Namespace3::Class3<int>" )
|
||||||
var5 = pykd.typedVar( ti3, pykd.getOffset( target.moduleName, "Namespace3::var5" ) )
|
var5 = pykd.typedVar( ti3, pykd.getOffset( target.moduleName, "Namespace3::var5" ) )
|
||||||
self.assertEqual( var5.m_field1, 4 )
|
self.assertEqual( var5.m_field1, 5 )
|
||||||
|
@ -98,7 +98,7 @@ namespace Namespace3
|
|||||||
T m_field1;
|
T m_field1;
|
||||||
};
|
};
|
||||||
|
|
||||||
Class3<int> var4(4);
|
Class3<int> var5(5);
|
||||||
|
|
||||||
};
|
};
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
Loading…
Reference in New Issue
Block a user