forked from qt-creator/qt-creator
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:
@@ -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> >");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user