Age | Commit message (Collapse) | Author |
|
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
|
|
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
|
|
Change-Id: I1247af709baf250b82a4156ea2cbf29c758f0c78
|
|
- refactor tests
- add unit test on counting notes on a sheet
Change-Id: I6762a0e791a745b828800645effdfc044ac33710
Reviewed-on: https://gerrit.libreoffice.org/6954
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
|
|
Change-Id: I92eb65614b9c0afded3b9210208360a42747a34c
|
|
Change-Id: Ia6cd838426ff77af213f285a67a22223c7358585
|
|
It breaks CppunitTest_sc_outlineobj,
which runs several setUp/tearDown several times?
Change-Id: Ic81324d150aa64135cdbedc4cb99f78d415da1aa
|
|
...i.e., skip UnoApiTest::tearDown's dispose of mxDesktop and go directly to
BootstrapFixture::tearDown.
Change-Id: If4555c812cb42c4b76a36d4e59c1d96211915dba
|
|
Change-Id: I6dcd9ac05ff7c4a6fbae7947b0ceda8797feea2f
|
|
There is no reason for the generic UnoApiTest to require Calc
specifically. Calc tests can/should instantiate a Calc instance.
We can create a CalcUnoApiTest for that that inherits from
UnoApiTest; however this does not seem necessary, "make sc.clean"
succeeds.
Anyway, the ScGlobals::ensure mentioned in the comment does not
seem to exist.
This allows us to eliminate some code duplication in tests
that were reimplementing UnoApiTest minus the Calc instantiation.
Change-Id: I37bea9df41e3960df0458fe689cf6c046a243617
|
|
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
|
|
Change-Id: I5be3a28d3d1ae43974f844d143a30bfd989cbe5b
|
|
Change-Id: Idd6420a855fec8b44fce6c0694b491d5f1eec95e
|
|
Change-Id: I13145c52bdf4a37e4a92ed653a2f131e09539285
|
|
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
|
|
Change-Id: I5c5a76ca0e1db699dbb9f3fd381e050fc7256d27
|
|
Change-Id: I55a0882def6f67719d8ba9d9b9bd41770486a812
|
|
Parsing the property values of master presentation objects.
Also new functions added to comphelper module for expanding
filepaths macro to appropriate system file paths(for
configuration files present at 'Impress.xcs')
Change-Id: If0381a12155673e85103ddb5d51c34ae53fe2ecb
|
|
...otherwise PresetHandler::getOrCreateRootStorageShare
(framework/source/accelerators/presethandler.cxx) will cause a
com.sun.star.io.IOException: "URL
"file:///.../solver/unxlngx6/unittest/user/config/soffice.cfg" passed to
css.embed.FileSystemStorageFactory.createInstanceWithArguments does not denote
an existing directory" in some CppunitTests. (And
1eecb8df22b77a6982601bf877067a685d913a7d "Some cleanup and consolidation of the
Impress layout work" removed the last file that got definitely created in that
directory from test/Package_unittest.mk.)
Change-Id: Idbe42fdd6b06194781cceef62c50531ce0e1c706
|
|
Also make unit test work again after Mac-app like path changes.
Change-Id: I13eae20141650e1d1d826a794d1f19baaef5f561
|
|
Have made changes to unit-test file of 'layoutlist.xml' as well.
Change-Id: Ia4d85fd7935a935b77dfbb475a38a087520865b4
|
|
The files were left to be deleted in the previous commit ,now deleting them.
Change-Id: I1243e6383d3cd96dccf1a786e9b9fc840e46f0a7
|
|
Deleting the "empty_directory" entries of "unittest/user/*" in 'Package_unittest.mk' and corresponding
files from the "test/user-template/*" directory.
Change-Id: Ia53a18bf7d55bfaba91f9bb8c2a15d3578e35e11
|
|
Changed the name of attributes from "title-shape-relative-height" to "relative-height" & all others.
Change-Id: I3010e8faf8a9bf347a7bec366449bbba77f0a69f
|
|
Added a new component of "unoxml/source/service/unoxml" in makefile of 'sd_uimpress'.
Also few changes in "drawdoc.cxx".Please ignore the changes of unit-test XML file,
it has to be deleted in subsequent commit.
Change-Id: I50eb516444820c8037aebc8859a322116989d3bf
|
|
Unit-test path is changed for the "effects.xml" and "transitions.xml" to avoid "unit-test" error.
Change-Id: Ia871b16b9b9c1bec96fa3d208dc9171c287b020a
|
|
Changed the destination path of test-profile at "test/Package_unittest.mk".
Change-Id: I24ae595af22c38141add0ab8446281c3ccc84707
|
|
Have added a 'if' conditional statement to know whether layout's child is a empty 'text' node or 'presobj' node.And proceed with rest of the
things ,if it is a 'presobj' node.Also the xml files are indented.
Change-Id: I676e710b86b1f50dbd861f2cb180bf9be839b867
|
|
Have added new "Slide Layouts" samples.So commented out the code related to existing slide layouts in "sdpage.cxx" and also added some code
for XML parsing of the new layouts.
Change-Id: I8f5fdcab5f2eb41e37fa522a7801b388cbfefed5
|
|
Added some changes in the "getRootElement" and new "layoutlist.xml" is added for "unit-test" module.
XML parser works perfectly in the installation,only the failure of "unit-test" is left to be solved.
Some refactoring related to "layoutlist.xml" will be updated soon.
Change-Id: If7ed3af40e9b6df26e20881728181eb6c82936d8
|
|
Updating the "getRootElement" function.So "layoutlist.xml" can be read from actual configuration path.
Change-Id: Iee636d32e629e935e46a18572646659780ae20e3
|
|
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
|
|
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>
|
|
Change-Id: Ided6749ebe4899a6d826d069c38d7b21b467d431
|
|
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
|
|
|
|
Change-Id: I7df07176bdbd15fdfdf8f9a7cdb26d4bee12997d
|
|
Change-Id: Iffeeffb015c59ea787838c737c6a11f6fbef2794
|
|
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
see https://gerrit.libreoffice.org/#/c/3367/
and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details
Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
|
|
|
|
This is nice to make them more easily debuggable.
A series of crude hacks are employed to bootstrap enough services from
python so the current tests run.
This is only tested with system python3 on Fedora.
Change-Id: I5e06741e55ead7fddec41ff776ff8ca5d2399469
Reviewed-on: https://gerrit.libreoffice.org/3215
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
|
|
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
|
|
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.
This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.
Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
|
|
We don't run any cppunit tests for cross-compiled platforms anyway, so no
point in compiling that. (Especially as compiling cppunit currently fails in a
--enable-werror build at least for Android thanks to -Wundef.)
Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
|
|
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
|
|
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
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>
|
|
Change-Id: Ib4aba95436f82d2a20b07a092f0fd07e0620fdcf
|