From eb95794e679cca5e6ac51aef2a60a6811c7c46d9 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 8 Feb 2024 09:20:36 +0100 Subject: [PATCH] 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 --- tests/auto/debugger/tst_dumpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 698147c4194..69fcf3bcf2c 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -5313,8 +5313,8 @@ void tst_Dumpers::dumper_data() "&view, &u16view, basicview, u16basicview") - + Check("view", "\"test\"", "std::string_view") - + Check("u16view", "\"test\"", "std::u16string_view") + + Check("view", "\"test\"", TypeDef("std::basic_string_view >", "std::string_view")) + + Check("u16view", "\"test\"", TypeDef("std::basic_string_view >", "std::u16string_view")) + Check("basicview", "\"test\"", "std::basic_string_view >") + Check("u16basicview", "\"test\"", "std::basic_string_view >");