"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "sc/qa/unit/subsequent_export-test.cxx" between
libreoffice-7.1.5.1.tar.xz and libreoffice-7.1.5.2.tar.xz

About: LibreOffice source code (core). "Fresh" packages (pre-release version).

subsequent_export-test.cxx  (libreoffice-7.1.5.1.tar.xz):subsequent_export-test.cxx  (libreoffice-7.1.5.2.tar.xz)
skipping to change at line 284 skipping to change at line 284
void testTdf126305_DataValidatyErrorAlert(); void testTdf126305_DataValidatyErrorAlert();
void testTdf76047_externalLink(); void testTdf76047_externalLink();
void testTdf87973_externalLinkSkipUnuseds(); void testTdf87973_externalLinkSkipUnuseds();
void testTdf51022_lostPrintRange(); void testTdf51022_lostPrintRange();
void testTdf138741_externalLinkSkipUnusedsCrash(); void testTdf138741_externalLinkSkipUnusedsCrash();
void testTdf138824_linkToParentDirectory(); void testTdf138824_linkToParentDirectory();
void testTdf129969(); void testTdf129969();
void testTdf84874(); void testTdf84874();
void testTdf136721_paper_size(); void testTdf136721_paper_size();
void testTdf139258_rotated_image(); void testTdf139258_rotated_image();
void testTdf140431();
CPPUNIT_TEST_SUITE(ScExportTest); CPPUNIT_TEST_SUITE(ScExportTest);
CPPUNIT_TEST(test); CPPUNIT_TEST(test);
CPPUNIT_TEST(testTdf139167); CPPUNIT_TEST(testTdf139167);
CPPUNIT_TEST(testTdf139394); CPPUNIT_TEST(testTdf139394);
CPPUNIT_TEST(testExtCondFormatXLSX); CPPUNIT_TEST(testExtCondFormatXLSX);
CPPUNIT_TEST(testTdf90104); CPPUNIT_TEST(testTdf90104);
CPPUNIT_TEST(testTdf111876); CPPUNIT_TEST(testTdf111876);
CPPUNIT_TEST(testPasswordExportODS); CPPUNIT_TEST(testPasswordExportODS);
CPPUNIT_TEST(testTdf134332); CPPUNIT_TEST(testTdf134332);
skipping to change at line 463 skipping to change at line 464
CPPUNIT_TEST(testTdf126305_DataValidatyErrorAlert); CPPUNIT_TEST(testTdf126305_DataValidatyErrorAlert);
CPPUNIT_TEST(testTdf76047_externalLink); CPPUNIT_TEST(testTdf76047_externalLink);
CPPUNIT_TEST(testTdf87973_externalLinkSkipUnuseds); CPPUNIT_TEST(testTdf87973_externalLinkSkipUnuseds);
CPPUNIT_TEST(testTdf51022_lostPrintRange); CPPUNIT_TEST(testTdf51022_lostPrintRange);
CPPUNIT_TEST(testTdf138741_externalLinkSkipUnusedsCrash); CPPUNIT_TEST(testTdf138741_externalLinkSkipUnusedsCrash);
CPPUNIT_TEST(testTdf138824_linkToParentDirectory); CPPUNIT_TEST(testTdf138824_linkToParentDirectory);
CPPUNIT_TEST(testTdf129969); CPPUNIT_TEST(testTdf129969);
CPPUNIT_TEST(testTdf84874); CPPUNIT_TEST(testTdf84874);
CPPUNIT_TEST(testTdf136721_paper_size); CPPUNIT_TEST(testTdf136721_paper_size);
CPPUNIT_TEST(testTdf139258_rotated_image); CPPUNIT_TEST(testTdf139258_rotated_image);
CPPUNIT_TEST(testTdf140431);
CPPUNIT_TEST_SUITE_END(); CPPUNIT_TEST_SUITE_END();
private: private:
void testExcelCellBorders( sal_uLong nFormatType ); void testExcelCellBorders( sal_uLong nFormatType );
uno::Reference<uno::XInterface> m_xCalcComponent; uno::Reference<uno::XInterface> m_xCalcComponent;
}; };
skipping to change at line 5851 skipping to change at line 5853
xmlDocUniquePtr pDrawing xmlDocUniquePtr pDrawing
= XPathHelper::parseExport(pXPathFile, m_xSFactory, "xl/drawings/drawing 1.xml"); = XPathHelper::parseExport(pXPathFile, m_xSFactory, "xl/drawings/drawing 1.xml");
CPPUNIT_ASSERT(pDrawing); CPPUNIT_ASSERT(pDrawing);
assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:from/xdr:col", "1"); assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:from/xdr:col", "1");
assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:from/xdr:row", "12"); assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:from/xdr:row", "12");
assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:to/xdr:col", " 6"); assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:to/xdr:col", " 6");
assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:to/xdr:row", " 25"); assertXPathContent(pDrawing, "/xdr:wsDr/xdr:twoCellAnchor/xdr:to/xdr:row", " 25");
} }
void ScExportTest::testTdf140431()
{
ScDocShellRef xShell = loadDoc(u"129969-min.", FORMAT_XLSX);
CPPUNIT_ASSERT(xShell.is());
ScDocShellRef xDocSh = saveAndReload(&(*xShell), FORMAT_XLSX);
CPPUNIT_ASSERT(xDocSh.is());
ScDocument& rDoc = xDocSh->GetDocument();
ScAddress aPos(0, 2, 0);
const EditTextObject* pEditText = rDoc.GetEditText(aPos);
const SvxFieldData* pData = pEditText->GetFieldData(0, 0, text::textfield::T
ype::URL);
const SvxURLField* pURLData = static_cast<const SvxURLField*>(pData);
CPPUNIT_ASSERT(pURLData->GetURL().startsWith("file://ndhlis"));
xDocSh->DoClose();
}
CPPUNIT_TEST_SUITE_REGISTRATION(ScExportTest); CPPUNIT_TEST_SUITE_REGISTRATION(ScExportTest);
CPPUNIT_PLUGIN_IMPLEMENT(); CPPUNIT_PLUGIN_IMPLEMENT();
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
 End of changes. 3 change blocks. 
0 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)