1""" 2Test that variables of type integer are displayed correctly. 3""" 4 5import AbstractBase 6 7from lldbsuite.test.decorators import * 8 9 10class IntegerTypesTestCase(AbstractBase.GenericTester): 11 12 def test_int_type(self): 13 """Test that int-type variables are displayed correctly.""" 14 self.build_and_run('int.cpp', ['int']) 15 16 @skipUnlessDarwin 17 def test_int_type_from_block(self): 18 """Test that int-type variables are displayed correctly from a block.""" 19 self.build_and_run('int.cpp', ['int']) 20 21 def test_unsigned_int_type(self): 22 """Test that 'unsigned_int'-type variables are displayed correctly.""" 23 self.build_and_run('unsigned_int.cpp', ['unsigned', 'int']) 24 25 @skipUnlessDarwin 26 def test_unsigned_int_type_from_block(self): 27 """Test that 'unsigned int'-type variables are displayed correctly from a block.""" 28 self.build_and_run( 29 'unsigned_int.cpp', ['unsigned', 'int'], bc=True) 30