DesktopLOKTest::testRedlineWriter is failing

David Ostrovsky d.ostrovsky at gmx.de
Wed May 31 06:17:33 UTC 2017


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/


More information about the LibreOffice mailing list