diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-08-27 10:17:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-08-27 10:17:09 +0200 |
commit | 26f34f89d98e32bbef0489c64d5ca6c3278ce8c8 (patch) | |
tree | e189c6471f482ca776e456f81d463f3f57a084e1 /test | |
parent | 06c842301ddfbe9e0cc390bff8a0656d80dee2bd (diff) |
Make sure unittest/user/config/soffice.cfg/ exits
...otherwise PresetHandler::getOrCreateRootStorageShare
(framework/source/accelerators/presethandler.cxx) will cause a
com.sun.star.io.IOException: "URL
"file:///.../solver/unxlngx6/unittest/user/config/soffice.cfg" passed to
css.embed.FileSystemStorageFactory.createInstanceWithArguments does not denote
an existing directory" in some CppunitTests. (And
1eecb8df22b77a6982601bf877067a685d913a7d "Some cleanup and consolidation of the
Impress layout work" removed the last file that got definitely created in that
directory from test/Package_unittest.mk.)
Change-Id: Idbe42fdd6b06194781cceef62c50531ce0e1c706
Diffstat (limited to 'test')
-rw-r--r-- | test/Package_unittest.mk | 1 | ||||
-rw-r--r-- | test/user-template/empty-directory-dummy | 0 |
2 files changed, 1 insertions, 0 deletions
diff --git a/test/Package_unittest.mk b/test/Package_unittest.mk index 6edfc9c6ddf6..cbab559f726f 100644 --- a/test/Package_unittest.mk +++ b/test/Package_unittest.mk @@ -18,6 +18,7 @@ $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/tem $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/standard.bau,user/autotext/en-US/standard.bau)) $(eval $(call gb_Package_add_file,test_unittest,unittest/user/autotext/en-US/crdbus50.bau,user/autotext/en-US/crdbus50.bau)) $(eval $(call gb_Package_add_file,test_unittest,unittest/user/config/psetup.xpm,user/config/psetup.xpm)) +$(eval $(call gb_Package_add_file,test_unittest,unittest/user/config/soffice.cfg/.dummy,empty-directory-dummy)) $(eval $(call gb_Package_add_file,test_unittest,unittest/install/share/config/soffice.cfg/simpress/transitions.xml,user/config/soffice.cfg/simpress/transitions.xml)) $(eval $(call gb_Package_add_file,test_unittest,unittest/install/share/config/soffice.cfg/simpress/transitions-ogl.xml,user/config/soffice.cfg/simpress/transitions-ogl.xml)) $(eval $(call gb_Package_add_file,test_unittest,unittest/install/share/config/soffice.cfg/simpress/effects.xml,user/config/soffice.cfg/simpress/effects.xml)) diff --git a/test/user-template/empty-directory-dummy b/test/user-template/empty-directory-dummy new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/test/user-template/empty-directory-dummy |