# -*- 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/. # include $(SRCDIR)/vcl/commonfuzzer.mk $(eval $(call gb_Executable_Executable,wmffuzzer)) $(eval $(call gb_Executable_use_api,wmffuzzer,\ offapi \ udkapi \ )) $(eval $(call gb_Executable_use_externals,wmffuzzer,\ $(fuzzer_externals) \ )) $(eval $(call gb_Executable_set_include,wmffuzzer,\ $$(INCLUDE) \ -I$(SRCDIR)/vcl/inc \ )) $(eval $(call gb_Executable_use_libraries,wmffuzzer,\ $(fuzzer_core_libraries) \ )) $(eval $(call gb_Executable_use_static_libraries,wmffuzzer,\ $(fuzzer_statics) \ )) $(eval $(call gb_Executable_add_exception_objects,wmffuzzer,\ vcl/workben/wmffuzzer \ )) $(eval $(call gb_Executable_add_libs,wmffuzzer,\ $(LIB_FUZZING_ENGINE) \ )) # vim: set noet sw=4 ts=4: LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/sc/qa/perf
AgeCommit message (Collapse)Author
2024-01-03UnoApiTest::loadFromURL -> UnoApiTest::loadFromFileMike Kaganski
The old name was misleading (it doesn't take an URL, but a filename); also, now it's easier to grep for it - doesn't get mixed with vcl::graphic::loadFromURL. Change-Id: Ib88d2194200a6a54d2326971e0306ba39f0c7025 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161578 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2022-10-24UnoApiTest: factor out common codeXisco Fauli
Change-Id: Ia8874d65ea8d7eb26d10b18e37ba2bac1a7d756b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141730 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-10-21test: merge CalcUnoApiTest and UnoApiTest into oneXisco Fauli
Change-Id: I24ec4c2c1c6d83865ef78a6460cde68cef84fdb2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141638 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-10-17CalcUnoApiTest: factor out tearDownXisco Fauli
Change-Id: Iae1ae76c1903ff3155da2dd407f1237c29f91840 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141375 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-10-14CalcUnoApiTest: Move mxComponent to parent and use it everywhereXisco Fauli
Change-Id: Ibea7a300b7f302936f872d7133aadafeb13d6d82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141350 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2022-05-06Fix for callgrind TBJulien Nabet
/home/buildslave/lode/jenkins/workspace/lo_callgrind_linux/sc/qa/perf/scperfobj.cxx: In member function ‘void sc_apitest::ScPerfObj::testSheetFindAll()’: /home/buildslave/lode/jenkins/workspace/lo_callgrind_linux/sc/qa/perf/scperfobj.cxx:169:51: error: ‘makeAny’ was not declared in this scope xSearchProp->setPropertyValue("SearchStyles", makeAny(true)); Change-Id: I484a17fb80c86694d0221670afbcba80fbe14c4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133916 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2021-11-15loplugin:simplifyconstruct/elidestringvar/stringviewparam in scperfobj.cxxJulien Nabet
make sc.perfcheck => /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:212:24: error: simplify [loplugin:simplifyconstruct] table::CellAddress aBaseAddress = table::CellAddress(0,0,0); /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:222:29: error: simplify [loplugin:simplifyconstruct] table::CellRangeAddress aCellRangeAddress = table::CellRangeAddress(0,1,0,2,999); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:192:83: error: replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar] uno::Reference< sheet::XNamedRanges > xNamedRanges(xPropSet->getPropertyValue(aNamedRangesPropertyString), UNO_QUERY_THROW); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:191:14: note: literal 'rtl::OUString' variable defined here [loplugin:elidestringvar] OUString aNamedRangesPropertyString("NamedRanges"); /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:217:40: error: replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar] xNamedRanges->addNewByName(aName1, aContent1, aBaseAddress, nType); ^~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:214:14: note: literal 'rtl::OUString' variable defined here [loplugin:elidestringvar] OUString aContent1("B4999"); ~~~~~~~~~^~~~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:217:32: error: replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar] xNamedRanges->addNewByName(aName1, aContent1, aBaseAddress, nType); ^~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:215:14: note: literal 'rtl::OUString' variable defined here [loplugin:elidestringvar] OUString aName1("single_added"); ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:244:25: error: replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar] xSheets->copyByName(aSourceSheetName, aTargetSheetName, 70); ^~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:240:14: note: literal 'rtl::OUString' variable defined here [loplugin:elidestringvar] OUString aSourceSheetName = "aSheet_2"; ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:244:43: error: replace single use of literal 'rtl::OUString' variable with a literal [loplugin:elidestringvar] xSheets->copyByName(aSourceSheetName, aTargetSheetName, 70); ^~~~~~~~~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:241:14: note: literal 'rtl::OUString' variable defined here [loplugin:elidestringvar] OUString aTargetSheetName = "aCopiedSheet"; /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:110:67: error: replace function parameter of type 'const rtl::OUString &' with 'std::u16string_view' [loplugin:stringviewparam] uno::Reference< uno::XInterface > ScPerfObj::init(const OUString& aFileName) ~~~~~~~~~~~~~~~~^~~~~~~~~ /home/julien/lo/libreoffice/sc/qa/perf/scperfobj.cxx:59:60: note: previous declaration is here [loplugin:stringviewparam] uno::Reference< uno::XInterface > init(const OUString& aFileName); ~~~~~~~~~~~~~~~~^~~~~~~~~ Change-Id: I99a067e94d4eff228f87b41a38e3749400762fa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124793 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-11-06Try to fix Jenkins_CallgrindJulien Nabet
Change-Id: I9e099c7ab59fc8db1deaae454b413f3b5dc62b55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124790 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
2021-08-26tdf#139734 Drop redundant asserts after MacrosTest::loadFromDesktopRadhey Parekh
Change-Id: I8ccb5e43ac86ff2b8da94bd03e6fa50de0c33741 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120961 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-06-11Simplify Sequences initializations (sc)Julien Nabet
Change-Id: I0c581b3a900a6b89c0f4e203310d65600545987f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116929 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>