dev/null                                  |binary
 sw/qa/extras/ooxmlexport/ooxmlexport4.cxx |    3 ---
 sw/qa/extras/ooxmlexport/ooxmlexport8.cxx |   11 -----------
 3 files changed, 14 deletions(-)

New commits:
commit 1891061f0b99c8a7c5d9983b925efcf401c958fd
Author:     Justin Luth <justin.l...@collabora.com>
AuthorDate: Tue Nov 2 08:56:35 2021 +0200
Commit:     Justin Luth <justin_l...@sil.org>
CommitDate: Wed Nov 3 06:57:16 2021 +0100

    prelim tdf#136472: remove implementation specific unit tests
    
    These test documentations are completely pointless.
    They test something implementation specific without
    anything to actually test for accuracy.
    
    4-test_segfault_while_save.docx: pseudo-preventative test.
    8-fdo49940.docx: an empty page with no header/footer enabled.
      Who cares if it is called Default style or First Page.
    
    Change-Id: I4a9a6fcfe3621eaa745470487b32b2cbd66f0973
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124590
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <justin_l...@sil.org>

diff --git a/sw/qa/extras/ooxmlexport/data/fdo49940.docx 
b/sw/qa/extras/ooxmlexport/data/fdo49940.docx
deleted file mode 100644
index 242284463632..000000000000
Binary files a/sw/qa/extras/ooxmlexport/data/fdo49940.docx and /dev/null differ
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
index c0ed9c95a9e7..5cd8f4a0fe32 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport4.cxx
@@ -282,9 +282,6 @@ CPPUNIT_TEST_FIXTURE(Test, testSegFaultWhileSave)
     // fdo#74499
     xmlDocUniquePtr pXmlDoc = parseExport("word/document.xml");
     CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(6137), getXPath(pXmlDoc, 
"/w:document/w:body/w:tbl/w:tblGrid/w:gridCol[2]", "w").toInt32());
-
-    // tdf#106572 - preventative test matching danger conditions, but imported 
OK anyway
-    CPPUNIT_ASSERT_EQUAL(OUString("First Page"), 
getProperty<OUString>(getParagraphOrTable(1), "PageDescName"));
 }
 
 CPPUNIT_TEST_FIXTURE(Test, fdo69656)
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
index 7cc19abd58b6..d011d695d5a1 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport8.cxx
@@ -144,17 +144,6 @@ DECLARE_OOXMLEXPORT_TEST(testN751117, "n751117.docx")
     
CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.drawing.LineShape"));
 }
 
-DECLARE_OOXMLEXPORT_TEST(testFdo49940, "fdo49940.docx")
-{
-    uno::Reference<text::XTextDocument> xTextDocument(mxComponent, 
uno::UNO_QUERY);
-    uno::Reference<container::XEnumerationAccess> 
xParaEnumAccess(xTextDocument->getText(), uno::UNO_QUERY);
-    uno::Reference<container::XEnumeration> xParaEnum = 
xParaEnumAccess->createEnumeration();
-    uno::Reference<beans::XPropertySet> xPara(xParaEnum->nextElement(), 
uno::UNO_QUERY);
-    OUString aValue;
-    xPara->getPropertyValue("PageStyleName") >>= aValue;
-    CPPUNIT_ASSERT_EQUAL(OUString("First Page"), aValue);
-}
-
 DECLARE_OOXMLEXPORT_TEST(testFdo74745, "fdo74745.docx")
 {
     uno::Reference<text::XTextRange > paragraph = getParagraph(3);

Reply via email to