2 Test lldb data formatter subsystem.
8 from lldbsuite.test.decorators import *
9 from lldbsuite.test.lldbtest import *
10 from lldbsuite.test import lldbutil
13 class TestDataFormatterLibcxxTuple(TestBase):
15 mydir = TestBase.compute_mydir(__file__)
19 self.line = line_number('main.cpp', '// break here')
20 ns = 'ndk' if lldbplatformutil.target_is_android() else ''
21 self.namespace = 'std::__' + ns + '1'
23 @add_test_categories(["libc++"])
25 """Test that std::tuple is displayed correctly"""
27 lldbutil.run_to_source_breakpoint(self, '// break here',
28 lldb.SBFileSpec("main.cpp", False))
30 tuple_name = self.namespace + '::tuple'
31 self.expect("frame variable empty",
36 self.expect("frame variable one_elt",
43 self.expect("frame variable three_elts",