Skip to content

Commit 7317931

Browse files
committed
fixup! remove unordered_map tests
1 parent 317a758 commit 7317931

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/TestDataFormatterStdIterator.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@ def cleanup():
6666
self.expect("frame variable svI", substrs=['item = "hello"'])
6767
self.expect("expr svI", substrs=['item = "hello"'])
6868

69-
self.expect("frame variable iiumI", substrs=["first = 61453", "second = 51966"])
70-
self.expect("expr iiumI", substrs=["first = 61453", "second = 51966"])
71-
72-
self.expect("frame variable siumI", substrs=['first = "hello"', "second = 137"])
73-
self.expect("expr siumI", substrs=['first = "hello"', "second = 137"])
74-
75-
self.expect("frame variable iiumI.first", substrs=["first = 61453"])
76-
self.expect("frame variable iiumI.first", substrs=["second"], matching=False)
77-
self.expect("frame variable iiumI.second", substrs=["second = 51966"])
78-
self.expect("frame variable iiumI.second", substrs=["first"], matching=False)
79-
80-
self.expect("frame variable siumI.first", substrs=['first = "hello"'])
81-
self.expect("frame variable siumI.first", substrs=["second"], matching=False)
82-
self.expect("frame variable siumI.second", substrs=["second = 137"])
83-
self.expect("frame variable siumI.second", substrs=["first"], matching=False)
84-
8569
@add_test_categories(["libc++"])
8670
def test_libcxx(self):
8771
self.build(dictionary={"USE_LIBCPP": 1})

lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/main.cpp

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,11 @@
55
typedef std::map<int, int> intint_map;
66
typedef std::map<std::string, int> strint_map;
77

8-
typedef std::unordered_map<int, int> intint_umap;
9-
typedef std::unordered_map<std::string, int> strint_umap;
10-
118
typedef std::vector<int> int_vector;
129
typedef std::vector<std::string> string_vector;
1310

1411
typedef intint_map::iterator ii_map_iter;
1512
typedef strint_map::iterator si_map_iter;
16-
typedef intint_umap::iterator ii_umap_iter;
17-
typedef strint_umap::iterator si_umap_iter;
1813

1914
typedef int_vector::iterator ivter;
2015
typedef string_vector::iterator svter;
@@ -26,12 +21,6 @@ int main() {
2621
strint_map sim;
2722
sim["world"] = 42;
2823

29-
intint_umap iium;
30-
iium[0xF00D] = 0xCAFE;
31-
32-
strint_umap sium;
33-
sium["hello"] = 137;
34-
3524
int_vector iv;
3625
iv.push_back(3);
3726

@@ -40,8 +29,6 @@ int main() {
4029

4130
ii_map_iter iimI = iim.begin();
4231
si_map_iter simI = sim.begin();
43-
ii_umap_iter iiumI = iium.begin();
44-
si_umap_iter siumI = sium.begin();
4532

4633
ivter ivI = iv.begin();
4734
svter svI = sv.begin();

0 commit comments

Comments
 (0)