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
9d56aa15
Kaydet (Commit)
9d56aa15
authored
Eyl 16, 2015
tarafından
Damjan Jovanovic
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#i125003# migrate main/sfx2 to Google Test, using gbuild for the first time.
üst
05a8a6da
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
108 deletions
+11
-108
GoogleTest_sfx2_metadatable.mk
sfx2/GoogleTest_sfx2_metadatable.mk
+9
-10
Module_sfx2.mk
sfx2/Module_sfx2.mk
+2
-2
makefile.mk
sfx2/qa/cppunit/makefile.mk
+0
-66
version.map
sfx2/qa/cppunit/version.map
+0
-30
test_metadatable.cxx
sfx2/qa/gtest/test_metadatable.cxx
+0
-0
No files found.
sfx2/
Cppunit
Test_sfx2_metadatable.mk
→
sfx2/
Google
Test_sfx2_metadatable.mk
100755 → 100644
Dosyayı görüntüle @
9d56aa15
...
...
@@ -21,28 +21,27 @@
$(eval $(call gb_
CppunitTest_Cppunit
Test,sfx2_metadatable))
$(eval $(call gb_
GoogleTest_Google
Test,sfx2_metadatable))
$(eval $(call gb_
Cppunit
Test_add_exception_objects,sfx2_metadatable, \
sfx2/qa/cppuni
t/test_metadatable \
$(eval $(call gb_
Google
Test_add_exception_objects,sfx2_metadatable, \
sfx2/qa/gtes
t/test_metadatable \
))
$(eval $(call gb_
Cppunit
Test_add_linked_libs,sfx2_metadatable, \
$(eval $(call gb_
Google
Test_add_linked_libs,sfx2_metadatable, \
sal \
sfx \
stl \
$(gb_STDLIBS) \
))
$(eval $(call gb_
Cppunit
Test_set_include,sfx2_metadatable,\
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
$(eval $(call gb_
Google
Test_set_include,sfx2_metadatable,\
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
-I$(OUTDIR)/inc \
))
$(eval $(call gb_
Cppunit
Test_set_ldflags,sfx2_metadatable,\
$(eval $(call gb_
Google
Test_set_ldflags,sfx2_metadatable,\
$$(LDFLAGS) \
-lcppunit \
))
# vim: set noet sw=4 ts=4:
sfx2/Module_sfx2.mk
Dosyayı görüntüle @
9d56aa15
...
...
@@ -30,9 +30,9 @@ $(eval $(call gb_Module_add_targets,sfx2,\
Package_sdi \
))
ifeq ($(
WITH_CPPUNIT
),YES)
ifeq ($(
ENABLE_UNIT_TESTS
),YES)
$(eval $(call gb_Module_add_check_targets,sfx2,\
Cppunit
Test_sfx2_metadatable \
Google
Test_sfx2_metadatable \
))
endif
...
...
sfx2/qa/cppunit/makefile.mk
deleted
100644 → 0
Dosyayı görüntüle @
05a8a6da
#**************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#**************************************************************
.IF
"$(OOO_SUBSEQUENT_TESTS)"
==
""
nothing .PHONY
:
.ELSE
PRJ
=
../..
PRJNAME
=
sfx2
TARGET
=
qa_cppunit
ENABLE_EXCEPTIONS
=
TRUE
# --- Settings -----------------------------------------------------
.INCLUDE
:
settings.mk
.IF
"$(ENABLE_UNIT_TESTS)"
!=
"YES"
all
:
@echo
unit
tests
are
disabled.
Nothing
to
do.
.ELSE
APP1OBJS
=
\
$(SLO)
/test_metadatable.obj
\
APP1STDLIBS
=
\
$(GTESTLIB)
\
$(SALLIB)
\
$(CPPULIB)
\
$(CPPUHELPERLIB)
\
$(VCLLIB)
\
$(SFXLIB)
\
APP1TARGET
=
test_metadatable
APP1RPATH
=
NONE
APP1TEST
=
enabled
# --- Targets ------------------------------------------------------
.INCLUDE
:
target.mk
.ENDIF
# "$(ENABLE_UNIT_TESTS)" != "YES"
.END
sfx2/qa/cppunit/version.map
deleted
100644 → 0
Dosyayı görüntüle @
05a8a6da
#**************************************************************
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#**************************************************************
UDK_3_0_0 {
global:
cppunitTestPlugIn;
local:
*;
};
sfx2/qa/
cppuni
t/test_metadatable.cxx
→
sfx2/qa/
gtes
t/test_metadatable.cxx
Dosyayı görüntüle @
9d56aa15
File moved
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