diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-05-30 12:28:20 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-05-30 13:26:42 +0200 |
commit | 4daf5f4281fe1aa2aca9d3c28005cb6c921b1451 (patch) | |
tree | 19d6c4ecfde752fd9174317e0875b633e618d965 /sw/qa/extras/odfexport | |
parent | 5956df1a9bdc875856ae8e2fafe7b3c051721126 (diff) |
CppUnittest: sw: add missing asserts in odf files
found by bin/check-missing-export-asserts.py
Change-Id: Iec44803b9ab3b337857d2c5b636632796308321c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95179
Tested-by: Xisco Fauli <xiscofauli@libreoffice.org>
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw/qa/extras/odfexport')
-rw-r--r-- | sw/qa/extras/odfexport/odfexport.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx index 540e6359dd1f..8e8da439d3f3 100644 --- a/sw/qa/extras/odfexport/odfexport.cxx +++ b/sw/qa/extras/odfexport/odfexport.cxx @@ -1684,6 +1684,7 @@ DECLARE_ODFEXPORT_TEST(testOdtBorderTypes, "border_types.odt") DECLARE_ODFEXPORT_TEST(testMasterPageWithDrawingPage, "sw_hatch.odt") { + CPPUNIT_ASSERT_EQUAL(1, getPages()); uno::Reference<container::XNameAccess> xStyles(getStyles("PageStyles")); uno::Reference<beans::XPropertySet> xStyle(xStyles->getByName("Standard"), uno::UNO_QUERY); CPPUNIT_ASSERT_EQUAL(drawing::FillStyle_HATCH, getProperty<drawing::FillStyle>(xStyle, "FillStyle")); |