From 26f34f89d98e32bbef0489c64d5ca6c3278ce8c8 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 27 Aug 2013 10:17:09 +0200 Subject: 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 --- test/Package_unittest.mk | 1 + test/user-template/empty-directory-dummy | 0 2 files changed, 1 insertion(+) create mode 100644 test/user-template/empty-directory-dummy (limited to 'test') 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 -- cgit v1.2.3