diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-09-19 10:23:17 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-09-19 10:31:31 +0200 |
commit | 2f270990f4ea53c941af0f1b8b1d06e18fc22606 (patch) | |
tree | 6b532777d21be7a16c9a5c8ba2309c0156ea2f96 /sw | |
parent | 79a277072a09b486538470a546ecdcbe81e37c95 (diff) |
Improve test for inlined html image
Change-Id: I7063a50987b018b9a00bc542ae5ed1b963b17dd8
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/htmlimport/htmlimport.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/qa/extras/htmlimport/htmlimport.cxx b/sw/qa/extras/htmlimport/htmlimport.cxx index 03701c46d1a1..592aa5335e70 100644 --- a/sw/qa/extras/htmlimport/htmlimport.cxx +++ b/sw/qa/extras/htmlimport/htmlimport.cxx @@ -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 ]; |