• Home
  • 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
10    mydir = TestBase.compute_mydir(__file__)
11    NO_DEBUG_INFO_TESTCASE = True
12
13    def test_cstring_unicode(self):
14        self.build()
15        lldbutil.run_to_source_breakpoint(self, "// break here",
16            lldb.SBFileSpec("main.cpp", False))
17        self.expect_expr("s", result_summary='"��"')
18        self.expect_expr("(const char*)s", result_summary='"��"')
19