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


On 10/16/2013 02:05 PM, Marcos Souza wrote:
/languagetag.cxx:674: LanguageTag::registerOnTheFly: not cross-inserted
0x51 for 'dz' have 'bo'
canvasbitmaptest.cxx:183:Assertion
Test name: (anonymous namespace)::CanvasBitmapTest::runTest
assertion failed
- Expression: pRGBStart[5].Red ==
vcl::unotools::toDoubleColor(aCol.GetRed()) &
& pRGBStart[5].Green == vcl::unotools::toDoubleColor(aCol.GetGreen()) &&
pRGBSt
art[5].Blue == vcl::unotools::toDoubleColor(aCol.GetBlue())
- Sixth pixel is not green

I just pushed <http://cgit.freedesktop.org/libreoffice/core/commit/?id=ca216af0fae6fa178c8d1debaabdeb2246bc8e63> "Improve test" which should give you a better idea of why that test fails. Seeing that the test compares double values, maybe it is just a rounding issue (and using CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE would be the solution).

Stephan

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.