Kaydet (Commit) 2f270990 authored tarafından Matúš Kukan's avatar Matúš Kukan

Improve test for inlined html image

Change-Id: I7063a50987b018b9a00bc542ae5ed1b963b17dd8
üst 79a27707
......@@ -57,6 +57,10 @@ DECLARE_HTMLIMPORT_TEST(testInlinedImage, "inlined_image.html")
CPPUNIT_ASSERT(xGraphic.is());
CPPUNIT_ASSERT(xGraphic->getType() != graphic::GraphicType::EMPTY);
OUString sGraphicURL = getProperty< OUString >(xShape, "GraphicURL");
// Before it was "data:image/png;base64,<data>"
CPPUNIT_ASSERT(sGraphicURL.startsWith("vnd.sun.star.GraphicObject:"));
for (int n = 0; ; n++)
{
SwNode* pNode = pDoc->GetNodes()[ n ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment