Kaydet (Commit) 8e2b894c authored tarafından Miklos Vajna's avatar Miklos Vajna

fdo#76101 move testcase to CppunitTest_sw_ooxmlsdrexport

The motivation is that this test takes time to execute (and we're
testing a limit here, so it's not easy to speed it up), though moving it
out of CppunitTest_sw_ooxmlexport is still possible (which is the
current critical path during a toplevel 'make').

Change-Id: Ibe6580f8aea1439f4feb281996f2f4bbd46ff4ce
üst 8acb6155
...@@ -3091,16 +3091,6 @@ DECLARE_OOXMLEXPORT_TEST(testFDO76248, "FDO76248.docx") ...@@ -3091,16 +3091,6 @@ DECLARE_OOXMLEXPORT_TEST(testFDO76248, "FDO76248.docx")
assertXPath(pXmlDoc, "//a:graphicData[not(*)]", 0); assertXPath(pXmlDoc, "//a:graphicData[not(*)]", 0);
} }
DECLARE_OOXMLEXPORT_TEST(testFdo76101, "fdo76101.docx")
{
xmlDocPtr pXmlDoc = parseExport("word/styles.xml");
if (!pXmlDoc)
return;
xmlNodeSetPtr pXmlNodes = getXPathNode(pXmlDoc, "/w:styles/w:style");
CPPUNIT_ASSERT(4091 >= xmlXPathNodeSetGetLength(pXmlNodes));
}
DECLARE_OOXMLEXPORT_TEST(testFDO76163 , "fdo76163.docx") DECLARE_OOXMLEXPORT_TEST(testFDO76163 , "fdo76163.docx")
{ {
xmlDocPtr pXmlDoc = parseExport("word/document.xml"); xmlDocPtr pXmlDoc = parseExport("word/document.xml");
......
...@@ -1414,6 +1414,16 @@ DECLARE_OOXMLEXPORT_TEST(testPresetShape, "preset-shape.docx") ...@@ -1414,6 +1414,16 @@ DECLARE_OOXMLEXPORT_TEST(testPresetShape, "preset-shape.docx")
CPPUNIT_ASSERT_EQUAL(sal_Int32(21600), aSubViewSize[0].Height); CPPUNIT_ASSERT_EQUAL(sal_Int32(21600), aSubViewSize[0].Height);
} }
DECLARE_OOXMLEXPORT_TEST(testFdo76101, "fdo76101.docx")
{
xmlDocPtr pXmlDoc = parseExport("word/styles.xml");
if (!pXmlDoc)
return;
xmlNodeSetPtr pXmlNodes = getXPathNode(pXmlDoc, "/w:styles/w:style");
CPPUNIT_ASSERT(4091 >= xmlXPathNodeSetGetLength(pXmlNodes));
}
#endif #endif
CPPUNIT_PLUGIN_IMPLEMENT(); CPPUNIT_PLUGIN_IMPLEMENT();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment