Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


On most recent master one test is failing here:

Test name: DesktopLOKTest::testRedlineWriter
equality assertion failed
- Expected: Insert “t”
- Actual  : Insert t

When i adapt the code to be: [1] and print out the actual
values in gdb, I'm getting:

(gdb) print first
$1 = {static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x1b12378 "Insert “t”"}}

(gdb) print second
$3 = {static npos = <optimized out>, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x14e91b8 "Insert
\177\177\177t\177\177\177"}}

If i uncomment this line:

CPPUNIT_ASSERT_EQUAL(first, second);

all tests are passing. autogen.input is here: [2].

* [1] http://paste.openstack.org/show/611048/
* [2] http://paste.openstack.org/show/611049/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.