Kaydet (Commit) eefdd2ee authored tarafından Andrzej Hunt's avatar Andrzej Hunt Kaydeden (comit) Tomaž Vajngerl

Make common paths member variables.

We'll need these for other tests too.

Change-Id: Ia99c2e60f5e5bb24a83875a9dcf85a6b4f54beb4
üst 4b812231
...@@ -157,6 +157,9 @@ void TiledRenderingTest::testOverlay( Office* pOffice ) ...@@ -157,6 +157,9 @@ void TiledRenderingTest::testOverlay( Office* pOffice )
// test it's entirely possible that an unwanted lock file will remain. // test it's entirely possible that an unwanted lock file will remain.
// Hence forcefully remove it here. // Hence forcefully remove it here.
remove( sLockFile.c_str() ); remove( sLockFile.c_str() );
scoped_ptr< Office > pOffice( lok_cpp_init(
m_sLOPath.c_str() ) );
assert( pOffice.get() );
scoped_ptr< Document> pDocument( pOffice->documentLoad( scoped_ptr< Document> pDocument( pOffice->documentLoad(
sDocPath.c_str() ) ); sDocPath.c_str() ) );
......
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