summaryrefslogtreecommitdiff
path: root/stoc/test/testconv.cxx
AgeCommit message (Collapse)Author
2018-04-09use more DBG_UNHANDLED_EXCEPTIONNoel Grandin
so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-04add << operator for css::uno::ExceptionNoel Grandin
Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-05-07revert OSL_ASSERT changesChris Sherlock
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07tdf#43157: convert stoc tests from OSL_ASSERT to assertChris Sherlock
Change-Id: Ibe34f5c62897d753150d7e302767126980a17552
2016-12-15no point in having both SAL_WARN and OSL_FAIL for the same thingNoel Grandin
Change-Id: I1beafff257e968a62184f8b1d8cf2a3a24e7c945 Reviewed-on: https://gerrit.libreoffice.org/32039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-12-11OSL_TRACE -> SAL in sfx2..svxNoel Grandin
Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-12tdf#91794 removed OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar
I removed all the OSL_DEBUG_LEVEL > 1 conditionals by SAL_INFOs or OSL_DEBUG_LEVEL > 0 Change-Id: I261644a179e763612204bbb0e54a869fa1a62298 Reviewed-on: https://gerrit.libreoffice.org/23035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I14b923990a012e8e85ca9170cdffd6b8e3626d89
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-22stoc: make use of css aliasThomas Arnhold
Change-Id: I1dd85a7b1236cfebd5e653fe6d329968e556364b
2014-02-26Remove visual noise from stocAlexander Wilms
Change-Id: I19edfb2796298c4870124d0d1e9488974a010bb8 Reviewed-on: https://gerrit.libreoffice.org/8316 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-31Remove UNOIDL "array" and "union" vaporware remnantsStephan Bergmann
...and deprecate what cannot be removed for compatibility. Change-Id: I1ea335af775b867b468b8285113631167729a92a
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-06-29re-base on ALv2 code.Michael Meeks
2011-12-27catch exception by constant referenceTakeshi Abe
2011-11-27remove include of pch header from stocNorbert Thiebaud
2011-04-18Remove OS/2 support.Francois Tigeot
2011-03-19Move OSL_ENSURE(sal_False,...) to OSL_FAIL(...)Thomas Arnhold
2011-03-15Use format string on printf()Thomas Arnhold
2011-03-12OSL_TRACE: Use format stringThomas Arnhold
2011-03-03Remove "using namespace ::rtl"Julien Nabet
2010-12-10RTL_CONSTASCII_USTRINGPARAM in ure 1Gert Faller
2010-12-06Replace all occured, occurance etc.Takeshi Abe
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-11INTEGRATION: CWS changefileheader (1.14.12); FILE MERGEDRüdiger Timm
2008/03/31 07:26:14 rt 1.14.12.1: #i87441# Change license header to LPGL v3.
2007-09-27INTEGRATION: CWS sb76 (1.13.34); FILE MERGEDJens-Heiner Rechtien
2007/08/31 11:01:56 sb 1.13.34.1: #i77885# Consolidate stoc libraries; patch by jnavrati.
2006-12-01INTEGRATION: CWS bunoidmap (1.12.12); FILE MERGEDRüdiger Timm
2006/11/09 14:52:59 kr 1.12.12.2: fixed: added missing casts 2006/11/08 15:11:10 kr 1.12.12.1: fixed: i71291 - stoc/test does not build
2006-09-16INTEGRATION: CWS pchfix02 (1.11.36); FILE MERGEDOliver Bolte
2006/09/01 17:41:20 kaib 1.11.36.1: #i68856# Added header markers and pch files
2005-09-08INTEGRATION: CWS ooo19126 (1.10.28); FILE MERGEDRüdiger Timm
2005/09/05 17:11:28 rt 1.10.28.1: #i54170# Change license header: remove SISSL
2005-01-13INTEGRATION: CWS cd02 (1.9.120); FILE MERGEDKurt Zenker
2004/11/15 18:00:18 dbo 1.9.120.2: #i24030# 2004/11/15 17:29:00 dbo 1.9.120.1: #i24030# general cleanup to make buildable again
2003-04-23INTEGRATION: CWS uno2 (1.7.40); FILE MERGEDRüdiger Timm
2003/04/08 13:56:28 dbo 1.7.40.1: #107991# UNO shared library component renaming
2003-04-15INTEGRATION: CWS dbgmacros1 (1.7.42); FILE MERGEDVladimir Glazounov
2003/04/10 08:38:22 kso 1.7.42.1: #108413# - debug macro unification.
2002-08-19#i6886#,#101685#: merge OOO_STABLE_1_PORTS (1.5-1.5.22.1) -> HEADJens-Heiner Rechtien
2002-06-07#97095# weakening test for big doublesDaniel Boelzle
2001-03-19*** empty log message ***Daniel Boelzle
2001-03-12OSL_ENSHURE replaced by OSL_ENSUREJoachim Lingner
2001-02-12Update test files for Mac OS XPatrick Luby
2000-11-17fixed testsDaniel Boelzle
2000-09-18initial importJens-Heiner Rechtien