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