Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
18c702a8
Kaydet (Commit)
18c702a8
authored
Eki 28, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gbuild: move unittest mock profile to WORKDIR
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
üst
a50682cd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
10 deletions
+5
-10
bootstrapfixturebase.hxx
include/unotest/bootstrapfixturebase.hxx
+0
-2
CppunitTest.mk
solenv/gbuild/CppunitTest.mk
+2
-2
TargetLocations.mk
solenv/gbuild/TargetLocations.mk
+1
-1
Package_unittest.mk
test/Package_unittest.mk
+1
-1
bootstrapfixturebase.cxx
unotest/source/cpp/bootstrapfixturebase.cxx
+1
-4
No files found.
include/unotest/bootstrapfixturebase.hxx
Dosyayı görüntüle @
18c702a8
...
...
@@ -36,8 +36,6 @@ class OOO_DLLPUBLIC_UNOTEST BootstrapFixtureBase : public CppUnit::TestFixture
protected
:
OUString
m_aSrcRootURL
;
OUString
m_aSrcRootPath
;
OUString
m_aSolverRootURL
;
OUString
m_aSolverRootPath
;
OUString
m_aWorkdirRootURL
;
OUString
m_aWorkdirRootPath
;
...
...
solenv/gbuild/CppunitTest.mk
Dosyayı görüntüle @
18c702a8
...
...
@@ -293,10 +293,10 @@ $(call gb_CppunitTest_get_target,$(1)) : HEADLESS=
endef
# Use configuration in $(
OUT
DIR)/unittest/registry.
# Use configuration in $(
WORK
DIR)/unittest/registry.
define gb_CppunitTest_use_unittest_configuration
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Package_get_target,test_unittest)
$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(
OUT
DIR)/unittest/registry)
$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(
WORK
DIR)/unittest/registry)
endef
...
...
solenv/gbuild/TargetLocations.mk
Dosyayı görüntüle @
18c702a8
...
...
@@ -31,7 +31,7 @@ gb_PackagePart_get_destinations = \
$(OUTDIR)/pck \
$(OUTDIR)/res \
$(OUTDIR)/share \
$(
OUT
DIR)/unittest \
$(
WORK
DIR)/unittest \
gb_InstallScript_get_target = $(OUTDIR)/bin/$(1)$(gb_InstallScript_EXT)
# kind of lame but with just 3 of these why bother with registration etc.
...
...
test/Package_unittest.mk
Dosyayı görüntüle @
18c702a8
...
...
@@ -9,7 +9,7 @@
$(eval $(call gb_Package_Package,test_unittest,$(SRCDIR)/test/user-template))
$(eval $(call gb_Package_set_outdir,test_unittest,$(
OUT
DIR)))
$(eval $(call gb_Package_set_outdir,test_unittest,$(
WORK
DIR)))
$(eval $(call gb_Package_add_file,test_unittest,unittest/registry/modifications.xcd,registry/modifications.xcd))
$(eval $(call gb_Package_add_file,test_unittest,unittest/user/wordbook/sl.dic,user/wordbook/sl.dic))
...
...
unotest/source/cpp/bootstrapfixturebase.cxx
Dosyayı görüntüle @
18c702a8
...
...
@@ -57,9 +57,6 @@ test::BootstrapFixtureBase::BootstrapFixtureBase()
m_aSrcRootPath
=
OUString
::
createFromAscii
(
pSrcRoot
);
m_aSrcRootURL
=
getFileURLFromSystemPath
(
m_aSrcRootPath
);
m_aSolverRootPath
=
OUString
::
createFromAscii
(
pSolverRoot
);
m_aSolverRootURL
=
getFileURLFromSystemPath
(
m_aSolverRootPath
);
m_aWorkdirRootPath
=
OUString
::
createFromAscii
(
pWorkdirRoot
);
m_aWorkdirRootURL
=
getFileURLFromSystemPath
(
m_aWorkdirRootPath
);
...
...
@@ -94,7 +91,7 @@ void test::BootstrapFixtureBase::setUp()
{
// set UserInstallation to user profile dir in test/user-template
rtl
::
Bootstrap
aDefaultVars
;
OUString
sUserInstallURL
=
m_a
Solve
rRootURL
+
OUString
(
"/unittest"
);
OUString
sUserInstallURL
=
m_a
Workdi
rRootURL
+
OUString
(
"/unittest"
);
aDefaultVars
.
set
(
OUString
(
"UserInstallation"
),
sUserInstallURL
);
m_xContext
=
comphelper
::
getProcessComponentContext
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment