6548 Commits

Author SHA1 Message Date
Stephan Bergmann
e18c3848d1 Improve test failure output
Change-Id: Icfb4af890548a2a11d638c59bb0fb54aaa01a2ed
2014-06-16 10:18:09 +02:00
Kohei Yoshida
d44b58beed fdo#79676: Fix the Java UNO API test with regard to chart tests.
The Java tests rely on the "undocumented" behavior that, when loading an empty
chart document, the chart automaticallly created a "default chart" which is a
column chart with many of its properties filled.  Unfortunately this behavior
caused ugly side effects when loading documents with charts via flat ODF
filter.

I believe fixing the test this way is the right fix.

Change-Id: If3e6c8979da9d0731346ebeedc23c0d3363e83fd
2014-06-10 10:02:35 -04:00
Noel Grandin
794f09f195 simplify ternary conditions "xxx ? true : yyy"
Look for code like:
   xxx ? true : yyy;
Which can be simplified to:
   xxx || yyy

Change-Id: Ib7ca86580bfd0cf04674328a3c0cf3747de4758d
2014-05-06 07:45:25 +02:00
Noel Grandin
4f9b21248f simplify ternary conditions "xxx ? yyy : false"
Look for code like:
   xxx ? yyy : false;
Which can be simplified to:
   xxx && yyy

Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
Markus Mohrhard
ae1d664008 Revert "Revert "temporarily disable failing , fdo#66617
This reverts commit 9b8c33ecc561bf8685614ec61d709c8001901fb6.
2014-05-04 14:41:50 +02:00
Markus Mohrhard
9b8c33ecc5 Revert "temporarily disable failing chart2 ChXDiagram RegressionCurves test"
This reverts commit 6be6700edb3b704d62d8b331ba95f227617c57d3.
2014-05-01 02:31:59 +02:00
Pedro Giffuni
f2023b24ff Many spelling fixes: directory qadevOOo.
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done  before.

(cherry picked from commit c3f20ae9a447f50517fe545a53de91d412c3337c)

Conflicts:
	qadevOOo/runner/base/java_complex.java
	qadevOOo/runner/basicrunner/BasicHandler.java
	qadevOOo/runner/basicrunner/basichelper/Connector.java
	qadevOOo/runner/helper/LoggingThread.java
	qadevOOo/runner/helper/StreamSimulator.java
	qadevOOo/runner/helper/URLHelper.java
	qadevOOo/runner/stats/SQLExecution.java
	qadevOOo/runner/util/SOfficeFactory.java
	qadevOOo/runner/util/utils.java
	qadevOOo/tests/basic/ifc/awt/XWindow/awt_XWindow.xba
	qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba
	qadevOOo/tests/basic/ifc/container/XIndexReplace/container_XIndexReplace.xba
	qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba
	qadevOOo/tests/basic/ifc/lang/XInitialization/lang_XInitialization.xba
	qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba
	qadevOOo/tests/basic/ifc/sdbcx/XRowLocate/sdbcx_XRowLocate.xba
	qadevOOo/tests/basic/ifc/text/XRelativeTextContentInsert/text_XRelativeTextContentInsert.xba
	qadevOOo/tests/basic/ifc/text/XTextColumns/text_XTextColumns.xba
	qadevOOo/tests/basic/mod/dynamicloader.uno/Dynamic/dynamicloader_uno_Dynamic.xba
	qadevOOo/tests/basic/mod/dynamicloader/Dynamic/dynamicloader_Dynamic.xba
	qadevOOo/tests/basic/mod/sc/ScDDELinkObj/sc_ScDDELinkObj.xba
	qadevOOo/tests/basic/mod/sc/ScDDELinksObj/sc_ScDDELinksObj.xba
	qadevOOo/tests/basic/mod/sc/ScIndexEnumeration_DDELinksEnumeration/sc_ScIndexEnumeration_DDELinksEnumeration.xba
	qadevOOo/tests/java/ifc/container/_XNameReplace.java
	qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java
	qadevOOo/tests/java/ifc/frame/_XFrame.java
	qadevOOo/tests/java/ifc/i18n/_XCalendar.java
	qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
	qadevOOo/tests/java/ifc/sdbc/_XRowSet.java
	qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
	qadevOOo/tests/java/ifc/util/_XTextSearch.java
	qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
	qadevOOo/tests/java/mod/_bridgefac.uno/package.html
	qadevOOo/tests/java/mod/_connector.uno/package.html
	qadevOOo/tests/java/mod/_corereflection.uno/package.html
	qadevOOo/tests/java/mod/_forms/GenericModelTest.java
	qadevOOo/tests/java/mod/_implreg.uno/package.html
	qadevOOo/tests/java/mod/_introspection.uno/package.html
	qadevOOo/tests/java/mod/_invocadapt.uno/package.html
	qadevOOo/tests/java/mod/_invocation.uno/package.html
	qadevOOo/tests/java/mod/_nestedreg.uno/package.html
	qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java
	qadevOOo/tests/java/mod/_servicemgr.uno/package.html
	qadevOOo/tests/java/mod/_shlibloader.uno/package.html
	qadevOOo/tests/java/mod/_simplereg.uno/package.html
	qadevOOo/tests/java/mod/_streams.uno/package.html
	qadevOOo/tests/java/mod/_sw/SwXTextView.java
	qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java
	qadevOOo/tests/java/mod/_typeconverter.uno/package.html
	qadevOOo/tests/java/mod/_typemgr.uno/package.html
	qadevOOo/tests/java/mod/_uuresolver.uno/package.html
	qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java
	qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java

Change-Id: I1ca48fdbb7aa71685b6145218d482dd9fa41be26
2014-04-30 20:43:31 +01:00
Matteo Casalin
982babed5c Fix typo: cought => caught
Change-Id: I4fcede18c4b36a2b35f7fafae997f14acef84394
2014-04-27 14:00:42 +02:00
Tor Lillqvist
9a7fc5ee26 Typo: s/shure/sure
Change-Id: I1c55d3ee8be06deb6d48a6ad5cd30d170c8b9dbb
2014-04-18 00:30:35 +03:00
Thomas Arnhold
2e2d97fb2b typo: fileds -> fields 2014-04-14 12:33:09 +02:00
Thomas Arnhold
29368617fa typo: curosr -> cursor 2014-04-14 12:33:04 +02:00
Thomas Arnhold
8d202fa72f typo: paramter -> parameter 2014-04-14 12:32:54 +02:00
Thomas Arnhold
aa0493be8c typo: puposes -> purposes 2014-04-14 12:32:29 +02:00
Thomas Arnhold
2d4afd15f0 typo: excption -> exception 2014-04-14 12:32:27 +02:00
Thomas Arnhold
643bbd6041 typo: choise -> choice 2014-04-14 12:32:24 +02:00
Thomas Arnhold
a148122b09 typo: usualy -> usually 2014-04-14 12:32:22 +02:00
Thomas Arnhold
cc1352243e typo: accesible -> accessible 2014-04-14 12:32:01 +02:00
Thomas Arnhold
2ada2b3375 typo: dependend -> dependent 2014-04-14 12:31:58 +02:00
Tor Lillqvist
6835d9f307 It's "its", not "it's"
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
Stephan Bergmann
9d7ee8a70f qadevOOo: simplify deprecated XTypeProvider.getImplementationId
Change-Id: I1efcc27818c8ec92db32151afc8f17bbf7fc1f40
2014-03-10 17:39:57 +01:00
Stephan Bergmann
ddc9595b31 Remove unused util.dbg.getImplID
Change-Id: I2c662698146120924e8d3807547727d62155b024
2014-03-10 08:59:23 +01:00
Alexander Wilms
faabee6755 Remove visual noise from qadevOOo
Change-Id: I3d65145422039d629d2375c9fef030cd6ee41124
Reviewed-on: https://gerrit.libreoffice.org/8291
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 05:59:24 -06:00
Julien Nabet
8e000814ef Typo: folowing -> following + elemtens -> elements
Change-Id: Ice7ae2e82085ba5f0061ba1a960f693744e45e63
2014-02-25 22:11:12 +01:00
Julien Nabet
f1a73892b3 Typo: apropriate -> appropriate
Change-Id: I05e23039dc3ae0b6595c87fe550f4228ad93d5d6
2014-02-25 22:04:17 +01:00
Julien Nabet
55d3127f6c Typo: "omited"/"ommitted"/"ommited" -> "omitted"
Change-Id: Icc690b0ae1fc8f7165082774720d265798815faa
2014-02-12 20:08:03 +01:00
Julien Nabet
4ed804d928 Typo: realtion -> relation
Change-Id: I2ec2d716eaff6c6dc03bf657e77daa8e4d57cb53
2014-02-06 21:25:21 +01:00
Julien Nabet
f0c24877ed Typo: chek -> check
Change-Id: I979956276a9d2d76604576d8b92e8f48a9f46c74
2014-02-06 21:23:57 +01:00
Stephan Bergmann
8f50196ef1 *_AppDispatchProvider_get_implementation cannot bypass XInitialization
...as SfxAppDispatchProvider implements new-style service
css.frame.AppDispatchProvider that doesn't declare any non-default ctors (which
looks broken, though) and old-style service css.frame.DispatchProvicer.

(And fix the test code to pass in meaningful XInitialization arguments.)

Change-Id: Ifcc32d17f6b96ade2acc40ccdb60f7bad2d503a4
2014-02-04 11:51:49 +01:00
Andras Timar
69adcefcce typo: ACSII -> ASCII
Change-Id: I5c12ad690df99718dc1e5d1f25a3b62af3c6b355
2014-02-03 10:48:25 +01:00
Stephan Bergmann
e2e5b74993 Explicit null check
Seen this cause JunitTest_sc_unoapi once with a NullPointerException, though I
do not know whether ac can legitimately be null here.

Change-Id: I1ca40dfca2d1a597842fba011a813be8154d8dd8
2014-01-28 15:54:49 +01:00
Stephan Bergmann
ef602ba8ce Remove unused XInitialization.args data
...now that ModuleUIConfigurationManager no longer implements XInitialization
since 72b5343bd16deec540d8cd148cd7aebd74e92c16 "fwk: Use constructor feature for
ModuleUIConfigurationManager."

Change-Id: I479c6c93e9982d80318e53b794bac99e949a5e46
2014-01-20 17:40:52 +01:00
Matúš Kukan
72b5343bd1 fwk: Use constructor feature for ModuleUIConfigurationManager.
And avoid css::uno::XInitialization protocol.
2014-01-18 17:02:36 +01:00
Takeshi Abe
180271e987 Fix typo
Change-Id: Idb7ce105bf347d7cfee039da8939aecf743f2c16
2014-01-14 15:13:16 +09:00
Tor Lillqvist
be053c9a80 Spelling correction: s/retrive/retrieve/
Change-Id: I96845d358765e2d2507763a9b15a30388b32bc6b
2013-12-20 23:26:58 +02:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Stephan Bergmann
cff72ec4bf Minor qadevOOo improvement
Change-Id: Ibeefc8e9aad57c28722b62610231d14ebc8a7403
2013-12-12 07:47:36 +01:00
Stephan Bergmann
8d74243a65 Improve test code
Change-Id: I196a7f654bf8f061a4b050ea1fbe01fae9f450c2
2013-12-04 15:07:11 +01:00
Stephan Bergmann
758abf0130 Improve test output
Change-Id: I33b289a31a9a4991eb270b3d154d999fa76c7bb4
2013-11-27 11:35:24 +01:00
Stephan Bergmann
718de51eb9 Some Java String clean-up
Change-Id: I6728720a13f4b66edc6c5cd0b7a9bcb036e86ff2
2013-11-24 20:58:56 +01:00
Julien Nabet
480a0ef7c1 rigth -> right (other occurences)
Change-Id: Ic899aa36b1b18237f90295eaa04ea83450958c87
2013-11-23 21:49:02 +01:00
Stephan Bergmann
a25d360b3e Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I5244e8f8af9560ae986ed3a836bdf9571574420f
2013-11-04 18:24:25 +01:00
Stephan Bergmann
baa68e4e89 Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I64389b817d91a2bed8dfe1b8d92bafec42eba21a
2013-11-01 09:41:30 +01:00
Stephan Bergmann
ee337e7ed6 Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I4b0ca00c04c2b1c8ffbfe4aaf926305ee9b51f30
2013-10-22 12:24:31 +02:00
Stephan Bergmann
dcee4cfcdc Try make this more robust in slow environments
...where the previous .uno:PrintPreview request has not yet been processed, the
same way it had been made more robust for ScAccessiblePageHeader.java in
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments" plus b5dd2b4218f966e177d880bcc29fa5fba3bfe1c1 "Also cope with
intermittend DisposedExceptions."

Change-Id: I4d429a96b7b595776aaf3fa20e3e03b00ca886bc
2013-10-08 10:55:32 +02:00
Stephan Bergmann
f52d78bf7c Unused variable (AccessibilityTools is all static members)
Change-Id: I5f3be57dea77cec1cfa3f48833758b0c2328350e
2013-10-08 10:55:32 +02:00
Stephan Bergmann
b5dd2b4218 Also cope with intermittend DisposedExceptions
...while waiting for the .uno:PrintPreview request to be processed, see
5b5c52a3a4d048bba8c18dfb06ffca25c670d099 "Try make this more robust in slow
environments."  (However, to avoid an endless loop in case DisposedExceptions
are caused by a crash of soffice.bin, cap the loop at 10 sec.)

Change-Id: I13518eea46deb68731604ef08461bad5bb5f7cdf
2013-10-07 10:22:16 +02:00
Jan Holesovsky
ad7b757a25 'ist' -> 'is' here and there.
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-04 20:27:30 +02:00
Michael Meeks
32e0f451d6 junit: add 'r' to creating, and better exception descriptions. 2013-09-30 15:28:58 +01:00
Michael Meeks
a9cf50c24d junit: make tests robust by compensating for intermittent sizing race. 2013-09-30 15:28:57 +01:00
Andras Timar
7f436c1fd3 typo fixes in comments
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-26 11:47:45 +02:00