Kaydet (Commit) f36ac1aa authored tarafından Varun's avatar Varun Kaydeden (comit) Michael Stahl

Added test for redline with as-char frame

fixed by commits 4dd2e61e and fae87e03

Change-Id: Ib6ca689af61187b32283753f80abaed96406f409
Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 22009c98
...@@ -197,6 +197,15 @@ DECLARE_ODFEXPORT_TEST(testFramebackgrounds, "framebackgrounds.odt") ...@@ -197,6 +197,15 @@ DECLARE_ODFEXPORT_TEST(testFramebackgrounds, "framebackgrounds.odt")
} }
} }
DECLARE_ODFEXPORT_TEST(testredlineTextFrame, "redlineTextFrame.odt")
{
//Note this is for a crash test
//Counting the Number of Frames and checking with the expected count
uno::Reference<text::XTextFramesSupplier> xTextFramesSupplier(mxComponent, uno::UNO_QUERY);
uno::Reference<container::XIndexAccess> xIndexAccess(xTextFramesSupplier->getTextFrames(), uno::UNO_QUERY);
CPPUNIT_ASSERT_EQUAL(sal_Int32(1), xIndexAccess->getCount());
}
DECLARE_ODFEXPORT_TEST(testFdo38244, "fdo38244.odt") DECLARE_ODFEXPORT_TEST(testFdo38244, "fdo38244.odt")
{ {
// See ooxmlexport's testFdo38244(). // See ooxmlexport's testFdo38244().
......
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