summaryrefslogtreecommitdiff
path: root/sw/qa/extras/odfimport
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-12-21 22:07:47 +0100
committerMiklos Vajna <vmiklos@suse.cz>2012-12-21 22:12:06 +0100
commit60c01fe42f90876f9a636780aa3b23ccf6a1398b (patch)
tree48b6d698016dd52fb34a7784c110cb94d178398c /sw/qa/extras/odfimport
parentaa36bcc1ae4871ef41afe8e581342c2a8d35816d (diff)
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.
Diffstat (limited to 'sw/qa/extras/odfimport')
-rw-r--r--sw/qa/extras/odfimport/odfimport.cxx4
1 files changed, 3 insertions, 1 deletions
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<Test>& 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();
}
}