xref: /llvm-project-15.0.7/lldb/test/API/functionalities/data-formatter/cstring-utf8-summary/TestCstringUnicode.py (revision 28e665fa)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# coding=utf8
2
3import lldb
4from lldbsuite.test.lldbtest import *
5import lldbsuite.test.lldbutil as lldbutil
6
7
8class CstringUnicodeTestCase(TestBase):
9    NO_DEBUG_INFO_TESTCASE = True
10
11    def test_cstring_unicode(self):
12        self.build()
13        lldbutil.run_to_source_breakpoint(self, "// break here",
14            lldb.SBFileSpec("main.cpp", False))
15        self.expect_expr("s", result_summary='"��"')
16        self.expect_expr("(const char*)s", result_summary='"��"')
17

served by {OpenGrok

Last Index Update: Tue Oct 21 18:42:31 GMT 2025