2 Test that variables of integer basic types are displayed correctly.
7 from lldbsuite
.test
.decorators
import *
10 class LongTypesTestCase(AbstractBase
.GenericTester
):
11 def test_long_type(self
):
12 """Test that long-type variables are displayed correctly."""
13 self
.build_and_run("long.cpp", ["long"])
16 def test_long_type_from_block(self
):
17 """Test that long-type variables are displayed correctly from a block."""
18 self
.build_and_run("long.cpp", ["long"], bc
=True)
20 def test_unsigned_long_type(self
):
21 """Test that 'unsigned long'-type variables are displayed correctly."""
22 self
.build_and_run("unsigned_long.cpp", ["unsigned", "long"])
25 def test_unsigned_long_type_from_block(self
):
26 """Test that 'unsigned_long'-type variables are displayed correctly from a block."""
27 self
.build_and_run("unsigned_long.cpp", ["unsigned", "long"], bc
=True)
29 def test_long_long_type(self
):
30 """Test that 'long long'-type variables are displayed correctly."""
31 self
.build_and_run("long_long.cpp", ["long long"])
34 def test_long_long_type_from_block(self
):
35 """Test that 'long_long'-type variables are displayed correctly from a block."""
36 self
.build_and_run("long_long.cpp", ["long long"], bc
=True)
38 def test_unsigned_long_long_type(self
):
39 """Test that 'unsigned long long'-type variables are displayed correctly."""
40 self
.build_and_run("unsigned_long_long.cpp", ["unsigned", "long long"])
43 def test_unsigned_long_long_type_from_block(self
):
44 """Test that 'unsigned_long_long'-type variables are displayed correctly from a block."""
45 self
.build_and_run("unsigned_long_long.cpp", ["unsigned", "long long"], bc
=True)