diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-07-31 10:07:39 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2015-01-12 12:29:26 +0900 |
commit | 0bf465b6605749fee79c11acde9773ae19551b96 (patch) | |
tree | d56d933ac3de219017bbd604fe7038867d045c3d | |
parent | 7201fa0dddd7dd0352f69fd2b2b64efcb361ccad (diff) |
Use one test instance to run all LOK tests.
Recreating Office instances after destruction (when still
within the same process) currently fails, hence we need
to do all tests at once for now.
Change-Id: Ic7652c909e1cd970fe1ee76995e61fb6aae8f96c
-rw-r--r-- | libreofficekit/qa/unit/tiledrendering.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libreofficekit/qa/unit/tiledrendering.cxx b/libreofficekit/qa/unit/tiledrendering.cxx index 0b9b28898e8c..d04268a630f2 100644 --- a/libreofficekit/qa/unit/tiledrendering.cxx +++ b/libreofficekit/qa/unit/tiledrendering.cxx @@ -157,6 +157,7 @@ void TiledRenderingTest::testOverlay( Office* pOffice ) // test it's entirely possible that an unwanted lock file will remain. // Hence forcefully remove it here. remove( sLockFile.c_str() ); + scoped_ptr< Office > pOffice( lok_cpp_init( m_sLOPath.c_str() ) ); assert( pOffice.get() ); |