From 60c01fe42f90876f9a636780aa3b23ccf6a1398b Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 21 Dec 2012 22:07:47 +0100 Subject: sw: add csv output for extra filter tests Like the minimal filter tests, these tests are invoked from a single cppunit method since commit 0a30cb22a141c26b4eab43a478d32df0769596ec, so some info about exactly what file failed is necessary. If we are at it, also print the (re)loading time as well. --- sw/qa/extras/odfimport/odfimport.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sw/qa/extras/odfimport') diff --git a/sw/qa/extras/odfimport/odfimport.cxx b/sw/qa/extras/odfimport/odfimport.cxx index 885413c8623d..fff0e79849c5 100644 --- a/sw/qa/extras/odfimport/odfimport.cxx +++ b/sw/qa/extras/odfimport/odfimport.cxx @@ -62,11 +62,13 @@ void Test::run() {"hello.odt", &Test::testPageStyleLayoutDefault}, {"hello.odt", &Test::testPageStyleLayoutRight}, }; + header(); for (unsigned int i = 0; i < SAL_N_ELEMENTS(aMethods); ++i) { MethodEntry& rEntry = aMethods[i]; - mxComponent = loadFromDesktop(getURLFromSrc("/sw/qa/extras/odfimport/data/") + OUString::createFromAscii(rEntry.pName)); + load("/sw/qa/extras/odfimport/data/", rEntry.pName); (this->*rEntry.pMethod)(); + finish(); } } -- cgit v1.2.3