2 Test that variable expressions of type integer are evaluated correctly.
7 from lldbsuite
.test
.decorators
import *
10 class IntegerTypeExprTestCase(AbstractBase
.GenericTester
):
12 def test_unsigned_short_type_from_block(self
):
13 """Test that 'unsigned short'-type variables are displayed correctly from a block."""
14 self
.build_and_run_expr("unsigned_short.cpp", ["unsigned", "short"], bc
=True)
16 def test_int_type(self
):
17 """Test that int-type variable expressions are evaluated correctly."""
18 self
.build_and_run_expr("int.cpp", ["int"])
21 def test_int_type_from_block(self
):
22 """Test that int-type variables are displayed correctly from a block."""
23 self
.build_and_run_expr("int.cpp", ["int"])
25 def test_unsigned_int_type(self
):
26 """Test that 'unsigned_int'-type variable expressions are evaluated correctly."""
27 self
.build_and_run_expr("unsigned_int.cpp", ["unsigned", "int"])
30 def test_unsigned_int_type_from_block(self
):
31 """Test that 'unsigned int'-type variables are displayed correctly from a block."""
32 self
.build_and_run_expr("unsigned_int.cpp", ["unsigned", "int"], bc
=True)