diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-25 10:18:11 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-10-25 11:24:43 +0200 |
commit | ff97d047393c955af2f3173a9c7e2534a059a058 (patch) | |
tree | 8263409f12317204d5a24ad78bb9e9b51ed6e853 /sc | |
parent | 42a7b48065977d11bc99ab32dadbfde5f1209438 (diff) |
UnoApiTest: use validate when saving files
Change-Id: I0f04fae8b4ff922f5e14ae413cd63cc92a66077e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141797
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/unit/scshapetest.cxx | 4 | ||||
-rw-r--r-- | sc/qa/unit/uicalc/uicalc.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sc/qa/unit/scshapetest.cxx b/sc/qa/unit/scshapetest.cxx index d597ac10b3fc..e641822beca1 100644 --- a/sc/qa/unit/scshapetest.cxx +++ b/sc/qa/unit/scshapetest.cxx @@ -1038,6 +1038,10 @@ void ScShapeTest::testTdf115655_HideDetail() pViewShell->GetViewData().GetDispatcher().Execute(SID_OUTLINE_HIDE); CPPUNIT_ASSERT_MESSAGE("Collapse: Image should not be visible", !pObj->IsVisible()); + // FIXME: validation fails with + // Error: unexpected attribute "drawooo:display" + mbSkipValidation = true; + // Save and reload saveAndReload("calc8"); CPPUNIT_ASSERT(mxComponent); diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx index 1131f30463f0..27e28175bc23 100644 --- a/sc/qa/unit/uicalc/uicalc.cxx +++ b/sc/qa/unit/uicalc/uicalc.cxx @@ -995,6 +995,10 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf144244) CPPUNIT_ASSERT_EQUAL(OUString("x"), pDoc->GetString(ScAddress(0, 0, 0))); + // FIXME: validation fails with + // Error: unexpected attribute "drawooo:display" + mbSkipValidation = true; + // Without the fix in place, this test would have crashed saveAndReload("calc8"); pModelObj = dynamic_cast<ScModelObj*>(mxComponent.get()); |