summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-12-06 20:21:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-12-06 20:28:56 +0100
commitf547b2c4788439380c3202407c251153be0c5b8e (patch)
treefcd467fdeb65145c5d04c0cd1815cf5872d1bef2
parent465c34f6e9be7390c00fd03bdb964fc63e5edd05 (diff)
Moved modifications.xcu to test, used from multiple modules.
-rw-r--r--sc/CppunitTest_sc_cellrangesbase.mk2
-rw-r--r--sc/CppunitTest_sc_macros_test.mk2
-rw-r--r--sc/CppunitTest_sc_tableautoformatfield.mk2
-rw-r--r--sw/CppunitTest_sw_macros_test.mk2
-rw-r--r--test/prj/d.lst2
-rw-r--r--test/user-template/registry/modifications.xcd (renamed from sc/qa/unit/data/registry/modifications.xcd)0
6 files changed, 6 insertions, 4 deletions
diff --git a/sc/CppunitTest_sc_cellrangesbase.mk b/sc/CppunitTest_sc_cellrangesbase.mk
index 98d16832a27d..dd1028f040c7 100644
--- a/sc/CppunitTest_sc_cellrangesbase.mk
+++ b/sc/CppunitTest_sc_cellrangesbase.mk
@@ -129,7 +129,7 @@ $(eval $(call gb_CppunitTest_add_old_components,sc_cellrangesbase,\
$(eval $(call gb_CppunitTest_set_args,sc_cellrangesbase,\
--headless \
--protector unoexceptionprotector$(gb_Library_DLLEXT) unoexceptionprotector \
- "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(SRCDIR)/sc/qa/unit/data/registry)" \
+ "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
))
# .../spool is required for the (somewhat strange) filter configuration
diff --git a/sc/CppunitTest_sc_macros_test.mk b/sc/CppunitTest_sc_macros_test.mk
index 080939db9fab..de530e2e3676 100644
--- a/sc/CppunitTest_sc_macros_test.mk
+++ b/sc/CppunitTest_sc_macros_test.mk
@@ -130,7 +130,7 @@ $(eval $(call gb_CppunitTest_add_old_components,sc_macros_test,\
$(eval $(call gb_CppunitTest_set_args,sc_macros_test,\
--headless \
--protector unoexceptionprotector$(gb_Library_DLLEXT) unoexceptionprotector \
- "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(SRCDIR)/sc/qa/unit/data/registry)" \
+ "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
))
# .../spool is required for the (somewhat strange) filter configuration
diff --git a/sc/CppunitTest_sc_tableautoformatfield.mk b/sc/CppunitTest_sc_tableautoformatfield.mk
index 7178929ebcc0..c07955e07d82 100644
--- a/sc/CppunitTest_sc_tableautoformatfield.mk
+++ b/sc/CppunitTest_sc_tableautoformatfield.mk
@@ -128,7 +128,7 @@ $(eval $(call gb_CppunitTest_add_old_components,sc_tableautoformatfield,\
$(eval $(call gb_CppunitTest_set_args,sc_tableautoformatfield,\
--headless \
--protector unoexceptionprotector$(gb_Library_DLLEXT) unoexceptionprotector \
- "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(SRCDIR)/sc/qa/unit/data/registry)" \
+ "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
))
# .../spool is required for the (somewhat strange) filter configuration
diff --git a/sw/CppunitTest_sw_macros_test.mk b/sw/CppunitTest_sw_macros_test.mk
index 403c7e6e0c7e..25b835792bd3 100644
--- a/sw/CppunitTest_sw_macros_test.mk
+++ b/sw/CppunitTest_sw_macros_test.mk
@@ -130,7 +130,7 @@ $(eval $(call gb_CppunitTest_add_old_components,sw_macros_test,\
$(eval $(call gb_CppunitTest_set_args,sw_macros_test,\
--headless \
--protector unoexceptionprotector$(gb_Library_DLLEXT) unoexceptionprotector \
- "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(SRCDIR)/sc/qa/unit/data/registry)" \
+ "-env:CONFIGURATION_LAYERS=xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry) module:$(call gb_CppunitTarget__make_url,$(OUTDIR)/xml/registry/spool) xcsxcu:$(call gb_CppunitTarget__make_url,$(OUTDIR)/unittest/registry)" \
))
# .../spool is required for the (somewhat strange) filter configuration
diff --git a/test/prj/d.lst b/test/prj/d.lst
index a0218529c458..92ced03672f8 100644
--- a/test/prj/d.lst
+++ b/test/prj/d.lst
@@ -8,6 +8,7 @@ mkdir: %_DEST%\inc\test
..\inc\test\bootstrapfixture.hxx %_DEST%\inc\test\bootstrapfixture.hxx
..\inc\test\unoapi_test.hxx %_DEST%\inc\test\unoapi_test.hxx
mkdir: %_DEST%\unittest
+mkdir: %_DEST%\unittest\registry
mkdir: %_DEST%\unittest\user\
mkdir: %_DEST%\unittest\user\autocorr
mkdir: %_DEST%\unittest\user\autotext
@@ -201,6 +202,7 @@ mkdir: %_DEST%\unittest\user\xslt\import\common
mkdir: %_DEST%\unittest\user\xslt\import\spreadsheetml
mkdir: %_DEST%\unittest\user\xslt\import\uof
mkdir: %_DEST%\unittest\user\xslt\import\wordml
+..\user-template\registry\modifications.xcd %_DEST%\unittest\registry\modifications.xcd
..\user-template\user\* %_DEST%\unittest\user\*
..\user-template\user\autocorr\* %_DEST%\unittest\user\autocorr\*
..\user-template\user\autotext\* %_DEST%\unittest\user\autotext\*
diff --git a/sc/qa/unit/data/registry/modifications.xcd b/test/user-template/registry/modifications.xcd
index 80ab50ac9c6f..80ab50ac9c6f 100644
--- a/sc/qa/unit/data/registry/modifications.xcd
+++ b/test/user-template/registry/modifications.xcd