Debugger: Fix std string view dumper test for msvc

Cdb always report the type name with all typedefs resolved so we have to
check the original type name for cdb.

Change-Id: Ib7166276075b18e011ea786a5d3468db0e24e9c0
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2024-02-08 09:20:36 +01:00
parent ecc3879cf4
commit eb95794e67

View File

@@ -5313,8 +5313,8 @@ void tst_Dumpers::dumper_data()
"&view, &u16view, basicview, u16basicview") "&view, &u16view, basicview, u16basicview")
+ Check("view", "\"test\"", "std::string_view") + Check("view", "\"test\"", TypeDef("std::basic_string_view<char, std::char_traits<char> >", "std::string_view"))
+ Check("u16view", "\"test\"", "std::u16string_view") + Check("u16view", "\"test\"", TypeDef("std::basic_string_view<char16_t, std::char_traits<char16_t> >", "std::u16string_view"))
+ Check("basicview", "\"test\"", "std::basic_string_view<char, std::char_traits<char> >") + Check("basicview", "\"test\"", "std::basic_string_view<char, std::char_traits<char> >")
+ Check("u16basicview", "\"test\"", "std::basic_string_view<char16_t, std::char_traits<char16_t> >"); + Check("u16basicview", "\"test\"", "std::basic_string_view<char16_t, std::char_traits<char16_t> >");