diff options
author | Pedro Giffuni <pfg@apache.org> | 2014-04-29 19:13:51 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-30 20:43:31 +0100 |
commit | f2023b24fff8705f18cada2b5303d9db1793bb8d (patch) | |
tree | 33c9c39d9146a8bf91cda8440912984e5358d331 /qadevOOo/tests/java/ifc | |
parent | dc7ba1af236ec28d399eff833d56608fde9fb70d (diff) |
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
Diffstat (limited to 'qadevOOo/tests/java/ifc')
18 files changed, 33 insertions, 33 deletions
diff --git a/qadevOOo/tests/java/ifc/awt/_XWindow.java b/qadevOOo/tests/java/ifc/awt/_XWindow.java index 23ab4696399f..5cf34d8cea31 100644 --- a/qadevOOo/tests/java/ifc/awt/_XWindow.java +++ b/qadevOOo/tests/java/ifc/awt/_XWindow.java @@ -197,7 +197,7 @@ public class _XWindow extends MultiMethodTest { /** * Test calls the method. Then we check if listener's methods were called * when we move, resize, hide and show the window. The resizing is - * performed depending on 'XWindow.ControlShape' existance. If this + * performed depending on 'XWindow.ControlShape' existence. If this * relation exists then the size and position of container control * shape is changed, else the position and size of window itself is * chaged<p> diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java index 2aeed1a7bc6a..bdebcf2f95e7 100644 --- a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java +++ b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java @@ -133,7 +133,7 @@ public class _XMutableTreeNode extends MultiMethodTest { log.println("ERROR: expected IndexOutOfBoundsException was not thrown => FAILED"); bOK = false; } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("ERROR: wrong IllegalArgumentException was thrown. Expeced is IndexOutOfBoundsException => FAILED"); + log.println("ERROR: wrong IllegalArgumentException was thrown. Expected is IndexOutOfBoundsException => FAILED"); bOK = false; } catch (com.sun.star.lang.IndexOutOfBoundsException ex) { log.println("Expected IndexOutOfBoundsException was thrown => OK"); @@ -170,7 +170,7 @@ public class _XMutableTreeNode extends MultiMethodTest { try { log.println("try to remove node at invalid index '-3'"); oObj.removeChildByIndex(-3); - log.println("ERROR: expeced IndexOutOfBoundsException was not thrown => FAILED"); + log.println("ERROR: expected IndexOutOfBoundsException was not thrown => FAILED"); bOK = false; } catch (com.sun.star.lang.IndexOutOfBoundsException ex) { log.println("expected IndexOutOfBoundsException was thrown => OK"); diff --git a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java index 91b908c02a22..2c27f95faf20 100644 --- a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java +++ b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java @@ -59,7 +59,7 @@ public class _XIndexAccess extends MultiMethodTest { /** * This method tests the IndexAccess from the first element, - * the middle element and the last element. Finaly it test + * the middle element and the last element. Finally it test * Exceptions which throws by a not available index. <p> * Has <b> OK </b> status if first, middle and last elements * successfully returned and has non null value; and if on diff --git a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java index e54516d96c43..6031cd7861a0 100644 --- a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java +++ b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java @@ -71,7 +71,7 @@ public class _XIndexContainer extends MultiMethodTest { /** * First tries to insert proper object. Second tries to insert * null value. For each test thread different objects are inserted - * on different indexes. For exmaple for the first started test index + * on different indexes. For example for the first started test index * is 0 and object is get from relation 'INCTANCE1', and so on. <p> * Has <b>OK</b> status if in the first case <code>getByIndex</code> * method returns non null value and in the second <code> diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java index c99aa697efc6..d836898dd22e 100644 --- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java +++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java @@ -120,7 +120,7 @@ public class _XDocumentInsertable extends MultiMethodTest { /** * Tries to insert document from URL specified by relation or * from default URL. If no relation was passed, text range is - * checked for existance of loaded document content. In case + * checked for existence of loaded document content. In case * if relation was found, then its <code>isInserted</code> * method is used to check insertion.<p> * A Second test uses an invalid URL and checks for correct exceptions. diff --git a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java index fde56e61a519..ae58ad229b0f 100644 --- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java @@ -37,7 +37,7 @@ import com.sun.star.lang.EventObject; * <li> <code>'XUpdateBroadcaster.Checker'</code> : <code> * _XUpdateBroadcaster.UpdateChecker</code> interface implementation * which can update, commit data and check if the data was successfully -* commited.</li> +* committed.</li> * <ul> <p> * Test is <b> NOT </b> multithread compilant. <p> * @see com.sun.star.form.XUpdateBroadcaster @@ -48,8 +48,8 @@ public class _XUpdateBroadcaster extends MultiMethodTest { UpdateChecker checker = null ; /** - * Interface for relation. Updating, commiting and checking - * if data was commited is object dependent behaviour. + * Interface for relation. Updating, committing and checking + * if data was committed is object dependent behaviour. */ public static interface UpdateChecker { /** @@ -61,9 +61,9 @@ public class _XUpdateBroadcaster extends MultiMethodTest { */ public void commit() throws com.sun.star.uno.Exception ; /** - * Checks if the data commited by <code>commit</code> method + * Checks if the data committed by <code>commit</code> method * became permanent in data source. - * @return <code>true</code> if data was commited. + * @return <code>true</code> if data was committed. */ public boolean wasCommited() throws com.sun.star.uno.Exception ; } @@ -125,7 +125,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest { * Has <b>OK</b> status if on update rejected only <code> * approveUpdate</code> listener method was called, and if * on update approved <code>approveUpdate</code> and - * <code>updated</code> methods called, and data was commited + * <code>updated</code> methods called, and data was committed * to the source. */ public void _addUpdateListener() { @@ -138,18 +138,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest { shortWait() ; checker.commit() ; shortWait() ; - boolean commited = checker.wasCommited() ; + boolean committed = checker.wasCommited() ; shortWait() ; bResult = listener.approveCalled && ! listener.updateCalled && - ! commited ; + ! committed ; log.println("Calling with no approving : approveUpdate() was " + (listener.approveCalled ? "":"NOT")+" called, updated() was "+ (listener.updateCalled ? "":"NOT")+" called, the value was " + - (commited ? "" : "NOT") + " commited.") ; + (committed ? "" : "NOT") + " committed.") ; shortWait() ; @@ -160,18 +160,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest { shortWait() ; checker.commit() ; shortWait() ; - commited = checker.wasCommited() ; + committed = checker.wasCommited() ; shortWait() ; log.println("Calling with approving : approveUpdate() was " + (listener.approveCalled ? "":"NOT")+" called, updated() was "+ (listener.updateCalled ? "":"NOT")+" called, the value was "+ - (commited ? "" : "NOT") + " commited.") ; + (committed ? "" : "NOT") + " committed.") ; bResult = listener.approveCalled && listener.updateCalled && - commited ; + committed ; } catch (com.sun.star.uno.Exception e) { bResult = false ; e.printStackTrace(log) ; diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java index c894c676dd46..d8c37a89ecd0 100644 --- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java +++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java @@ -55,7 +55,7 @@ public class _XModuleManager extends MultiMethodTest { * The onject relations <CODE>XModuleManager.XFrame</CODE>, * <CODE>XModuleManager.XController</CODE> and <CODE>XModuleManager.XModel</CODE> * are sequenzes of <CODE>PropertyValue</CODE>. The value of a PropertyValue - * containes a <CODE>XFrame</CODE>, <CODE>XController</CODE> or a + * contains a <CODE>XFrame</CODE>, <CODE>XController</CODE> or a * <CODE>XModel</CODE>. The name of the PropertyValue contains the expected return * value of method <CODE>indetify()</CODE> if the method was called with * coresponding value.<p> diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java index 7233ce9b8b64..db8b06a5321e 100644 --- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java +++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java @@ -134,7 +134,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest { /** * Tries to load component to a frame in separate thread to - * avoid blocking of the current thread and imediately + * avoid blocking of the current thread and immediately * cancels loading. <p> * * Has <b> OK </b> status if <code>flase</code> is returned, diff --git a/qadevOOo/tests/java/ifc/io/_XMarkableStream.java b/qadevOOo/tests/java/ifc/io/_XMarkableStream.java index c9b03792acfb..d4cb74ecc7b4 100644 --- a/qadevOOo/tests/java/ifc/io/_XMarkableStream.java +++ b/qadevOOo/tests/java/ifc/io/_XMarkableStream.java @@ -130,7 +130,7 @@ public class _XMarkableStream extends MultiMethodTest { * The following method tests are to be completed successfully before : * <ul> * <li> <code> jumpToFurthest() </code> : for the right order of tests - * excecution </li> + * execution </li> * </ul> */ public void _jumpToMark() { diff --git a/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java b/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java index 150af1d9dd62..f7a6607460ec 100644 --- a/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java +++ b/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java @@ -402,4 +402,4 @@ public class _XSimpleRegistry extends MultiMethodTest { } } } -}
\ No newline at end of file +} diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java index 33a903ee27fe..8420adcb72d5 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java @@ -73,7 +73,7 @@ public class _XResultSetUpdate extends MultiMethodTest { public void update() throws SQLException ; /** * Checks if updates made by method <code>update</code> was - * commited to the data source. + * committed to the data source. */ public boolean wasUpdated() throws SQLException ; /** @@ -131,7 +131,7 @@ public class _XResultSetUpdate extends MultiMethodTest { /** * Using relation methods first updates some data in the current * row, then calls <code>updateRow</code> method to commit data. - * Then checks if the data changed was commited. <p> + * Then checks if the data changed was committed. <p> * Executes <code>moveToCurrentRow</code> method test before to * be sure that cursor is not on the insert row. <p> * Has OK status if data in the source was changed. @@ -154,7 +154,7 @@ public class _XResultSetUpdate extends MultiMethodTest { /** * Using relation methods first updates some data in the current * row, then calls <code>cancelRowUpdates</code> method. - * Then checks if the data changed was not commited. <p> + * Then checks if the data changed was not committed. <p> * Executes <code>moveToCurrentRow</code> method test before to * be sure that cursor is not on the insert row. <p> * Has OK status if data in the source was not changed. diff --git a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java index c1cf3f5f369c..d12789cefae8 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java +++ b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java @@ -65,7 +65,7 @@ public class _XActivationBroadcaster extends MultiMethodTest { xSpreadsheetView.setActiveSheet(two); if (listenerCalled) { - log.println("Listener was called eventhough it is removed"); + log.println("Listener was called even though it is removed"); } xSpreadsheetView.setActiveSheet(org); diff --git a/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java b/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java index 49ddddb171c9..b7b51bb20cf8 100644 --- a/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java +++ b/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java @@ -41,7 +41,7 @@ public class _XSystemShellExecute extends MultiMethodTest { public XSystemShellExecute oObj = null; /** - * Excecutes 'java SystemShellExecute SystemShellExecute.txt' command line. + * Executes 'java SystemShellExecute SystemShellExecute.txt' command line. * <p>Has <b> OK </b> status if the method successfully returns * and file 'SystemShellExecute.txt' was created. <p> */ diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java index 6d42a7363564..92718b4fba0d 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java @@ -69,7 +69,7 @@ public class _XAutoTextGroup extends MultiMethodTest { * Constructs a unique string for current interface thread * for naming purposes. All old entries which names are * started with prefix used for entry names, are deleted - * from the group (they can remain after previous unsuccessfull + * from the group (they can remain after previous unsuccessful * test runs). The relation is obtained. * * @throws StatusException if the relation is not found. diff --git a/qadevOOo/tests/java/ifc/text/_XText.java b/qadevOOo/tests/java/ifc/text/_XText.java index 5163cb7ee9ce..2a18571a60fe 100644 --- a/qadevOOo/tests/java/ifc/text/_XText.java +++ b/qadevOOo/tests/java/ifc/text/_XText.java @@ -85,10 +85,10 @@ public class _XText extends MultiMethodTest { // get indexaccess to the tablecollection XIndexAccess xIA = info.getCollection(); - // this comparision works just because it has to be at least one + // this comparison works just because it has to be at least one // table at this point regardless which thread inserted it // there is although the possibility that the first threads call - // failed, the second not and comparision happens after second threads + // failed, the second not and comparison happens after second threads // otherwise if something fails it should have thrown an exception //tRes.tested("insertTextContent()", xIA.getCount() > 0 ); diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java index 10e7f000e5d1..40fec00f0d89 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java +++ b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java @@ -132,7 +132,7 @@ public class _XCachedDynamicResultSetStubFactory extends MultiMethodTest { setFac = UnoRuntime.queryInterface (XCachedDynamicResultSetFactory.class, fac) ; } catch (com.sun.star.uno.Exception e) { - log.println("Cant instantiate a service") ; + log.println("Can't instantiate a service") ; e.printStackTrace(log) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java index 963774b45a15..891da10e85e0 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java @@ -43,7 +43,7 @@ import com.sun.star.ui.dialogs.XFilePickerControlAccess; * <code>Short</code>) : control identifier in the extended * FilePicker dialog. </li> * <li> <code>'XFilePickerControlAccess.ControlValue'</code> (of type -* <code>Object</code>) <b>optional</b> (but mostly desireable +* <code>Object</code>) <b>optional</b> (but mostly desirable * since the control has emtpy initial value): * the value which can set for the control . </li> * <ul> <p> diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java index c7e74083609e..3024769112dc 100644 --- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java +++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java @@ -188,7 +188,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * This test is finally executed. It finishes XML data - * transfering with <code>endDocument</code> method call. <p> + * transferring with <code>endDocument</code> method call. <p> * * Has <b>OK</b> status if no exceptions occurred during * the whole transfering and if the appropriate changes |