|
9 | 9 | from lldbsuite.test import lldbutil
|
10 | 10 |
|
11 | 11 |
|
12 |
| -class LibcxxVectorDataFormatterTestCase(TestBase): |
| 12 | +class StdVectorDataFormatterTestCase(TestBase): |
13 | 13 | def check_numbers(self, var_name, show_ptr=False):
|
14 | 14 | patterns = []
|
15 | 15 | substrs = [
|
@@ -52,10 +52,8 @@ def check_numbers(self, var_name, show_ptr=False):
|
52 | 52 | self.expect("frame variable " + var_name + "[2]", substrs=["123"])
|
53 | 53 | self.expect("frame variable " + var_name + "[3]", substrs=["1234"])
|
54 | 54 |
|
55 |
| - @add_test_categories(["libc++"]) |
56 |
| - def test_with_run_command(self): |
| 55 | + def do_test(self): |
57 | 56 | """Test that that file and class static variables display correctly."""
|
58 |
| - self.build() |
59 | 57 | (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
|
60 | 58 | self, "break here", lldb.SBFileSpec("main.cpp", False)
|
61 | 59 | )
|
@@ -170,8 +168,7 @@ def cleanup():
|
170 | 168 |
|
171 | 169 | self.expect("frame variable strings", substrs=["vector has 0 items"])
|
172 | 170 |
|
173 |
| - @add_test_categories(["libc++"]) |
174 |
| - def test_ref_and_ptr(self): |
| 171 | + def do_test_ref_and_ptr(self): |
175 | 172 | """Test that that file and class static variables display correctly."""
|
176 | 173 | self.build()
|
177 | 174 | (self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
|
|
0 commit comments