summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2024-07-15 11:21:31 -0400
committerJustin Luth <jluth@mail.com>2024-07-15 21:47:20 +0200
commit626a9e73a0ed8072a5a078dceaf1b4e2ec9ef0d5 (patch)
treebe1c098521ccb0ba9dec15853ff0eb799e187024
parentaec34ae349aee866db628e7a48cd1b5f6cc6dca1 (diff)
tdf#158977: remove obsolete rtfexport testFdo44174
Some unit tests were changed or disabled with tdf#136472 adjust ooxml import to handle first header/footer This unit test is basically the same file as rtfexport2's fdo44176.rtf except that one actually has two pages, while this one SAYS it has two pages but only actually has one. Nor are there any headers or footers involved, so it is a completely pointless test. Change-Id: I4ce90f5749ce95426f93d7d0e4fd507c7fdfe5d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170507 Reviewed-by: Justin Luth <jluth@mail.com> Tested-by: Jenkins
-rw-r--r--sw/qa/extras/rtfexport/data/fdo44174.rtf6
-rw-r--r--sw/qa/extras/rtfexport/rtfexport.cxx19
2 files changed, 0 insertions, 25 deletions
diff --git a/sw/qa/extras/rtfexport/data/fdo44174.rtf b/sw/qa/extras/rtfexport/data/fdo44174.rtf
deleted file mode 100644
index 518619327208..000000000000
--- a/sw/qa/extras/rtfexport/data/fdo44174.rtf
+++ /dev/null
@@ -1,6 +0,0 @@
-{\rtf1
-\titlepg
-First page has no header.
-\pagebb
-Second page has a header.
-\par }
diff --git a/sw/qa/extras/rtfexport/rtfexport.cxx b/sw/qa/extras/rtfexport/rtfexport.cxx
index 849071f18e20..fb7c05a0e8a1 100644
--- a/sw/qa/extras/rtfexport/rtfexport.cxx
+++ b/sw/qa/extras/rtfexport/rtfexport.cxx
@@ -90,25 +90,6 @@ CPPUNIT_TEST_FIXTURE(Test, testFdo49683)
verify();
}
-// TODO Use case not clear!
-CPPUNIT_TEST_FIXTURE(Test, testFdo44174)
-{
- auto verify = [this]() {
- uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
- uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(
- xModel->getCurrentController(), uno::UNO_QUERY);
- uno::Reference<beans::XPropertySet> xPropertySet(xTextViewCursorSupplier->getViewCursor(),
- uno::UNO_QUERY);
- OUString aValue;
- xPropertySet->getPropertyValue(u"PageStyleName"_ustr) >>= aValue;
- CPPUNIT_ASSERT_EQUAL(u"Standard"_ustr, aValue);
- };
- createSwDoc("fdo44174.rtf");
- verify();
- saveAndReload(mpFilter);
- verify();
-}
-
CPPUNIT_TEST_FIXTURE(Test, testFdo50087)
{
auto verify = [this]() {