Commit Graph
37 Commits
Author SHA1 Message Date
Stephan Bergmann fc233b52ce Avoid reserved identifiers
Change-Id: I3542622f6b3752f7254abd07d9f3a8141f10c3dc
2016-04-22 09:53:59 +02:00
Pranav Kant f00fd79f8a lok context menu: Add module specific unit tests
For calc, now click on the image to have more diverse context
menu with checkbuttons etc.

Change-Id: Ibe2471348b2572523f2684144bd18664ab48a2bb
Reviewed-on: https://gerrit.libreoffice.org/24006
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.com>
2016-04-13 16:47:59 +00:00
Pranav Kant d76b1b5b06 lok context menu: unit test
Change-Id: I244fbf4b98368c7c0d66cdd865e1243639727026
Reviewed-on: https://gerrit.libreoffice.org/23985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: pranavk <pranavk@collabora.com>
2016-04-12 14:40:58 +00:00
Daniel Sikeler 94bcfb0419 Unittest for autocorrect in writer
At first we test normal replacement of wrong words.
Second part of the test is about style changes during autocorrection.
And at the end we replace a word with a table.

The rules for the autocorrection are in
test/user-template/user/autocorr/acor_fr.dat
I needed to make SwAutoCorrect public for my test.

Conflicts:
	sw/qa/extras/uiwriter/uiwriter.cxx

Change-Id: Ie753c2187c1f4eddaefe0cc428a605107112c24f
Reviewed-on: https://gerrit.libreoffice.org/13131
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-28 11:18:11 +00:00
Caolán McNamara c0a4de1ede run unit test with en-US locale data
Change-Id: I24c6a590b7b160cc2463af039310114f17273bc7
2014-04-10 16:20:45 +01:00
Vishv Brahmbhatt d50bd55c5d Parsing master presentation objects from 'objectlist.xml'
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
2013-09-10 13:14:30 +02:00
Stephan Bergmann 26f34f89d9 Make sure unittest/user/config/soffice.cfg/ exits
...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
1eecb8df22 "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
2013-08-27 10:17:09 +02:00
Thorsten Behrens 1eecb8df22 Some cleanup and consolidation of the Impress layout work.
Also make unit test work again after Mac-app like path changes.

Change-Id: I13eae20141650e1d1d826a794d1f19baaef5f561
2013-08-26 14:47:28 +02:00
Vishv Brahmbhatt f78db7cb1c Making changes to unit-test as well.
Have made changes to unit-test file of 'layoutlist.xml' as well.

Change-Id: Ia4d85fd7935a935b77dfbb475a38a087520865b4
2013-08-26 14:47:28 +02:00
Vishv Brahmbhatt 2c6e9b2da2 Deleting the required files.
The files were left to be deleted in the previous commit ,now deleting them.

Change-Id: I1243e6383d3cd96dccf1a786e9b9fc840e46f0a7
2013-08-26 14:47:27 +02:00
Vishv Brahmbhatt 8a1ccacb59 Few name conventions changes.
Changed the name of attributes from "title-shape-relative-height" to "relative-height" & all others.

Change-Id: I3010e8faf8a9bf347a7bec366449bbba77f0a69f
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt 96087f52d9 Fixed a broken unit-test.
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
2013-08-26 14:47:26 +02:00
Vishv Brahmbhatt ac5b9651a4 Solved the identation problem related to "layoutlist.xml".
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
2013-08-26 14:47:22 +02:00
Vishv Brahmbhatt da5bca5b53 Adding new Slide Layouts Samples to "layoutlist.xml".
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
2013-08-26 14:47:21 +02:00
Vishv Brahmbhatt 2fd74b3b15 Working version of XML parser from configuration file path
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
2013-08-26 14:47:21 +02:00
Michael Meeks 72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
Michael Meeks 1c7c2c0323 test: remove, now redundant dummy dialog.xlc / script.xlc 2012-02-24 16:46:49 +00:00
Markus Mohrhard bd0fe3b39c prevent to include fonts into svg during unit tests 2012-01-15 04:05:21 +01:00
Markus Mohrhard 300b39cca5 don't create lock files for unit tests
special thanks to Stephan for the configuration part
2012-01-15 04:05:20 +01:00
Michael Meeks 165fe63a54 shrink the unit test template directory to save some duplication 2011-12-14 12:46:28 +00:00
Caolán McNamara 7c5a11df60 normalize Red Hat, Inc. 2011-12-06 21:40:20 +00:00
Stephan Bergmann f547b2c478 Moved modifications.xcu to test, used from multiple modules. 2011-12-06 20:28:56 +01:00
Stefan Knorr (astron) 6ea8ea456c Remove Large Handles option
This patch removes the option Large Handles everywhere and makes LibO use the larger 9px handles always.
2011-12-05 21:43:53 +00:00
Stephan Bergmann 19b8dd5ded No need for test/user-template/user/registry. 2011-11-11 13:47:27 +01:00
Tim Hardeck ec4f69493b removed Simple Handles option
Removed the unnecessary option "Simple Handles" with all related
functions and icons.
2011-11-08 16:39:14 +01:00
Noel Power 8e68391fc9 more tweaks to unittests, also move registrymodifications.xcu
registrymodifications.xcu has been moved to the solver ( unittest/user/data )
new OOO_CONFIG_REGISTRY_EXTRA_DIR env var will be used to specify the directory 'data' will be contained in so we can override various config items.
2011-10-26 19:10:14 +01:00
Stephan Bergmann 3b317b52dc Fixed test/user-template/user/registrymodifications.xcu.
Also added license header.
2011-10-26 18:00:48 +02:00
Noel Power 41437e7ab0 revert autogenerated foo and correct brackets in placeholder 2011-10-25 20:01:43 +01:00
Noel Power 87d8dc5a02 more support for basic/vba unit tests
add moggis work and some tweaks from me too
2011-10-25 19:26:55 +01:00
Noel Power d371b20db4 add registrymodifications.xcu to allow override of default config 2011-10-25 19:26:54 +01:00
Stephan Bergmann 2ff63bcdea Undo basis/brand split: merge basis share/ into brand share/. 2011-10-07 22:06:28 +02:00
Caolán McNamara 86bc0db00a remove old fingerprints cache 2011-10-06 10:28:38 +01:00
Norbert Thiebaud ff33b0be87 remove apparently noise .memdump files 2011-10-05 18:09:04 -05:00
Michael Meeks ef689ffaa6 pretty print the user template registry to make diffs meaningful
Disable macro security for unit testing macros ...
2011-10-04 13:51:42 +01:00
Markus Mohrhard 5e733c781f remove library entries for now
maybe add them later and adapt path to something useful
2011-09-30 00:42:04 +02:00
Markus Mohrhard b8d6626a13 remove file from unit test user dir that gets modified 2011-09-29 23:09:45 +02:00
Markus Mohrhard 49cec3fa6f add user profile dir for unit tests 2011-09-29 18:35:19 +02:00