2 from lldbsuite
.test
.decorators
import *
3 from lldbsuite
.test
.lldbtest
import *
4 from lldbsuite
.test
import lldbutil
7 class ObjCiVarIMPTestCase(TestBase
):
10 def test_imp_ivar_type(self
):
12 target
, process
, thread
, bkpt
= lldbutil
.run_to_name_breakpoint(self
, "main")
13 frame
= thread
.GetFrameAtIndex(0)
14 lang_info
= frame
.GetLanguageSpecificData()
15 version
= lang_info
.GetValueForKey("Objective-C runtime version")
16 self
.assertEqual(version
.GetIntegerValue(), 2)