aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/types/TestIntegerTypes.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/Python/lldbsuite/test/types/TestIntegerTypes.py')
-rw-r--r--packages/Python/lldbsuite/test/types/TestIntegerTypes.py25
1 files changed, 17 insertions, 8 deletions
diff --git a/packages/Python/lldbsuite/test/types/TestIntegerTypes.py b/packages/Python/lldbsuite/test/types/TestIntegerTypes.py
index c1eab7183070..88a89e83f40c 100644
--- a/packages/Python/lldbsuite/test/types/TestIntegerTypes.py
+++ b/packages/Python/lldbsuite/test/types/TestIntegerTypes.py
@@ -12,6 +12,7 @@ from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
from lldbsuite.test import lldbutil
+
class IntegerTypesTestCase(AbstractBase.GenericTester):
mydir = AbstractBase.GenericTester.compute_mydir(__file__)
@@ -21,7 +22,8 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
AbstractBase.GenericTester.setUp(self)
# disable "There is a running process, kill it and restart?" prompt
self.runCmd("settings set auto-confirm true")
- self.addTearDownHook(lambda: self.runCmd("settings clear auto-confirm"))
+ self.addTearDownHook(
+ lambda: self.runCmd("settings clear auto-confirm"))
def test_char_type(self):
"""Test that char-type variables are displayed correctly."""
@@ -34,12 +36,14 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
def test_unsigned_char_type(self):
"""Test that 'unsigned_char'-type variables are displayed correctly."""
- self.build_and_run('unsigned_char.cpp', set(['unsigned', 'char']), qd=True)
+ self.build_and_run('unsigned_char.cpp', set(
+ ['unsigned', 'char']), qd=True)
@skipUnlessDarwin
def test_unsigned_char_type_from_block(self):
"""Test that 'unsigned char'-type variables are displayed correctly from a block."""
- self.build_and_run('unsigned_char.cpp', set(['unsigned', 'char']), bc=True, qd=True)
+ self.build_and_run('unsigned_char.cpp', set(
+ ['unsigned', 'char']), bc=True, qd=True)
def test_short_type(self):
"""Test that short-type variables are displayed correctly."""
@@ -57,7 +61,8 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
@skipUnlessDarwin
def test_unsigned_short_type_from_block(self):
"""Test that 'unsigned short'-type variables are displayed correctly from a block."""
- self.build_and_run('unsigned_short.cpp', set(['unsigned', 'short']), bc=True)
+ self.build_and_run('unsigned_short.cpp', set(
+ ['unsigned', 'short']), bc=True)
def test_int_type(self):
"""Test that int-type variables are displayed correctly."""
@@ -75,7 +80,8 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
@skipUnlessDarwin
def test_unsigned_int_type_from_block(self):
"""Test that 'unsigned int'-type variables are displayed correctly from a block."""
- self.build_and_run('unsigned_int.cpp', set(['unsigned', 'int']), bc=True)
+ self.build_and_run('unsigned_int.cpp', set(
+ ['unsigned', 'int']), bc=True)
def test_long_type(self):
"""Test that long-type variables are displayed correctly."""
@@ -93,7 +99,8 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
@skipUnlessDarwin
def test_unsigned_long_type_from_block(self):
"""Test that 'unsigned_long'-type variables are displayed correctly from a block."""
- self.build_and_run('unsigned_long.cpp', set(['unsigned', 'long']), bc=True)
+ self.build_and_run('unsigned_long.cpp', set(
+ ['unsigned', 'long']), bc=True)
def test_long_long_type(self):
"""Test that 'long long'-type variables are displayed correctly."""
@@ -106,9 +113,11 @@ class IntegerTypesTestCase(AbstractBase.GenericTester):
def test_unsigned_long_long_type(self):
"""Test that 'unsigned long long'-type variables are displayed correctly."""
- self.build_and_run('unsigned_long_long.cpp', set(['unsigned', 'long long']))
+ self.build_and_run('unsigned_long_long.cpp',
+ set(['unsigned', 'long long']))
@skipUnlessDarwin
def test_unsigned_long_long_type_from_block(self):
"""Test that 'unsigned_long_long'-type variables are displayed correctly from a block."""
- self.build_and_run('unsigned_long_long.cpp', set(['unsigned', 'long long']), bc=True)
+ self.build_and_run('unsigned_long_long.cpp', set(
+ ['unsigned', 'long long']), bc=True)