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
e8c26959
Kaydet (Commit)
e8c26959
authored
Eyl 10, 2013
tarafından
Jelle van der Waa
Kaydeden (comit)
Michael Meeks
Eyl 10, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#46723 enable configmgr unit tests
Change-Id: Id2a10374d207fc079093cdb9a78ac30171251e46
üst
4b0a6926
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
5 deletions
+63
-5
CppunitTest_configmgr_unit.mk
configmgr/CppunitTest_configmgr_unit.mk
+53
-0
Module_configmgr.mk
configmgr/Module_configmgr.mk
+4
-0
test.cxx
configmgr/qa/unit/test.cxx
+6
-5
No files found.
configmgr/CppunitTest_configmgr_unit.mk
0 → 100644
Dosyayı görüntüle @
e8c26959
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#*************************************************************************
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
#*************************************************************************
$(eval $(call gb_CppunitTest_CppunitTest,configmgr_unit))
$(eval $(call gb_CppunitTest_add_exception_objects,configmgr_unit, \
configmgr/qa/unit/test \
))
$(eval $(call gb_CppunitTest_use_library_objects,configmgr_unit,configmgr))
$(eval $(call gb_CppunitTest_use_sdk_api,configmgr_unit,))
$(eval $(call gb_Library_use_libraries,configmgr_unit, \
comphelper \
cppu \
cppuhelper \
sal \
salhelper \
test \
unotest \
xmlreader \
i18nlangtag \
$(gb_UWINAPI) \
))
$(eval $(call gb_CppunitTest_use_components,configmgr_unit,\
configmgr/source/configmgr \
fileaccess/source/fileacc \
framework/util/fwk \
i18npool/util/i18npool \
i18npool/source/search/i18nsearch \
sax/source/expatwrap/expwrap \
sfx2/util/sfx \
ucb/source/core/ucb1 \
ucb/source/ucp/file/ucpfile1 \
unoxml/source/service/unoxml \
uui/util/uui \
))
$(eval $(call gb_CppunitTest_use_externals,configmgr_unit,\
boost_headers \
icu_headers \
icudata \
))
configmgr/Module_configmgr.mk
Dosyayı görüntüle @
e8c26959
...
...
@@ -17,4 +17,8 @@ $(eval $(call gb_Module_add_subsequentcheck_targets,configmgr,\
JunitTest_configmgr_unoapi \
))
#$(eval $(call gb_Module_add_check_targets,configmgr,\
# CppunitTest_configmgr_unit \
#))
# vim: set noet sw=4 ts=4:
configmgr/qa/unit/test.cxx
Dosyayı görüntüle @
e8c26959
...
...
@@ -41,7 +41,6 @@
#include "com/sun/star/uno/XInterface.hpp"
#include "com/sun/star/util/XChangesBatch.hpp"
#include "cppuhelper/implbase1.hxx"
#include "cppuhelper/servicefactory.hxx"
#include "osl/conditn.hxx"
#include "osl/thread.h"
#include "osl/thread.hxx"
...
...
@@ -53,7 +52,9 @@
#include "rtl/ustring.h"
#include "rtl/ustring.hxx"
#include "sal/types.h"
#include "testshl/simpleheader.hxx"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
namespace
{
...
...
@@ -478,7 +479,7 @@ void Test::testReadCommands() {
}
}
n
=
osl_getGlobalTimer
()
-
n
;
t_print
(
"Reading elements took %"
SAL_PRIuUINT32
" ms
\n
"
,
n
);
printf
(
"Reading elements took %"
SAL_PRIuUINT32
" ms
\n
"
,
n
);
css
::
uno
::
Reference
<
css
::
lang
::
XComponent
>
(
access
,
css
::
uno
::
UNO_QUERY_THROW
)
->
dispose
();
}
...
...
@@ -629,10 +630,10 @@ css::uno::Reference< css::uno::XInterface > Test::createUpdateAccess(
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
(
&
arg
,
1
));
}
CPPUNIT_TEST_SUITE_
NAMED_REGISTRATION
(
Test
,
"alltest"
);
CPPUNIT_TEST_SUITE_
REGISTRATION
(
Test
);
}
NOADDITIONAL
;
CPPUNIT_PLUGIN_IMPLEMENT
()
;
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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