From 7f56e58148602f75b7b5ccccf1860dc65c4620d0 Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Fri, 24 Mar 2017 11:47:56 +0100 Subject: Fix typos Change-Id: I72bec7ec76fbbbfee9d5185ac1a358659f0d06b5 Reviewed-on: https://gerrit.libreoffice.org/35638 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- qadevOOo/runner/helper/APIDescGetter.java | 2 +- qadevOOo/runner/helper/ConfigHelper.java | 2 +- qadevOOo/runner/lib/TestParameters.java | 2 +- qadevOOo/runner/share/LogWriter.java | 2 +- qadevOOo/runner/util/PropertyName.java | 2 +- qadevOOo/runner/util/utils.java | 4 ++-- qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java | 2 +- qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java | 2 +- qadevOOo/tests/java/ifc/container/_XNameAccess.java | 2 +- qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java | 2 +- qadevOOo/tests/java/ifc/form/_XReset.java | 2 +- qadevOOo/tests/java/ifc/form/_XSubmit.java | 2 +- qadevOOo/tests/java/ifc/frame/_XController.java | 2 +- qadevOOo/tests/java/ifc/frame/_XFrame.java | 2 +- qadevOOo/tests/java/ifc/frame/_XModuleManager.java | 2 +- qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java | 2 +- qadevOOo/tests/java/ifc/io/_XActiveDataControl.java | 2 +- qadevOOo/tests/java/ifc/io/_XDataInputStream.java | 2 +- qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java | 2 +- qadevOOo/tests/java/ifc/style/_ParagraphProperties.java | 2 +- qadevOOo/tests/java/ifc/style/_XStyle.java | 2 +- qadevOOo/tests/java/ifc/text/_TextGraphicObject.java | 2 +- qadevOOo/tests/java/ifc/text/_XTextTableCursor.java | 2 +- qadevOOo/tests/java/ifc/util/_XURLTransformer.java | 2 +- qadevOOo/tests/java/mod/_forms/GenericModelTest.java | 2 +- qadevOOo/tests/java/mod/_forms/ODatabaseForm.java | 2 +- qadevOOo/tests/java/mod/_sc/ScTabViewObj.java | 2 +- qadevOOo/tests/java/mod/_sw/SwXMailMerge.java | 2 +- qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java | 2 +- qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java | 4 ++-- 30 files changed, 32 insertions(+), 32 deletions(-) (limited to 'qadevOOo') diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java index 0de81db1779b..67520b9822fd 100644 --- a/qadevOOo/runner/helper/APIDescGetter.java +++ b/qadevOOo/runner/helper/APIDescGetter.java @@ -166,7 +166,7 @@ public class APIDescGetter extends DescGetter } else { - //look the scenarion like this? : + //look the scenario like this? : // sw.SwXBodyText,sw.SwXTextCursor ArrayList subs = getSubObjects(job); DescEntry[] entries = new DescEntry[subs.size()]; diff --git a/qadevOOo/runner/helper/ConfigHelper.java b/qadevOOo/runner/helper/ConfigHelper.java index 2adadaf2e146..07772eb8f4f5 100644 --- a/qadevOOo/runner/helper/ConfigHelper.java +++ b/qadevOOo/runner/helper/ConfigHelper.java @@ -263,7 +263,7 @@ public class ConfigHelper XNameContainer.class,xGroup); } catch(com.sun.star.container.NoSuchElementException ex) { throw new com.sun.star.uno.Exception(ex, - "could not get extensilbe group '"+extGroup+ + "could not get extensible group '"+extGroup+ "' from group '"+ group + "' from set '"+ setName +"'"); } diff --git a/qadevOOo/runner/lib/TestParameters.java b/qadevOOo/runner/lib/TestParameters.java index b5d033b6ad48..04467a9c85a9 100644 --- a/qadevOOo/runner/lib/TestParameters.java +++ b/qadevOOo/runner/lib/TestParameters.java @@ -203,4 +203,4 @@ public class TestParameters extends HashMap { return "unorc"; } -}// finish class TestParamenters +}// finish class TestParameters diff --git a/qadevOOo/runner/share/LogWriter.java b/qadevOOo/runner/share/LogWriter.java index 0da81654eae8..44d4a2b7dc36 100644 --- a/qadevOOo/runner/share/LogWriter.java +++ b/qadevOOo/runner/share/LogWriter.java @@ -43,7 +43,7 @@ public interface LogWriter { /** * Set a Watcher to the LogWriter * This is useful if a test starts a new office instance by itself. In this cases - * the LogWritter could retrigger the Watcher + * the LogWriter could retrigger the Watcher * @see share.Watcher * @param watcher the new Watcher */ diff --git a/qadevOOo/runner/util/PropertyName.java b/qadevOOo/runner/util/PropertyName.java index 5a28278fa66b..17f04a905156 100644 --- a/qadevOOo/runner/util/PropertyName.java +++ b/qadevOOo/runner/util/PropertyName.java @@ -57,7 +57,7 @@ public interface PropertyName { */ String DEBUG_IS_ACTIVE = "DebugIsActive"; /** - * parameter name: "OutProduceer" + * parameter name: "OutProducer" * This parameter contains the class used
* for Logging */ diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index d942d39ac99b..b8134f0a630d 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -215,7 +215,7 @@ public class utils { } /** - * In the office there are some sttetings available. This function + * In the office there are some settings available. This function * returns the value of the given setting name. For Example the setting name "Temp" * "Temp" returns the temp folder of the office instance. * @param msf a XMultiServiceFactory @@ -694,7 +694,7 @@ public class utils { * Validate the connection string. Returned is an error message, starting * with "Error:", or a warning, if the command might work. * @param connectString The connection string that is checked. - * @param checkAppExecutionCommand If the AppExecutionCommand is checked, the error messages willbe different. + * @param checkAppExecutionCommand If the AppExecutionCommand is checked, the error message is different. * @return The error message, or OK, if no error was detected. */ private static String validateConnectString(String connectString, boolean checkAppExecutionCommand) { diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java index 0b5f401437ef..d8cb81adcb2e 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java @@ -70,7 +70,7 @@ public class _XAccessibleEditableText extends MultiMethodTest { /** * Retrieves object relation. Stores initial component text - * for restoding it in after. + * for restoring it in after. */ @Override protected void before() { diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java index 1b91aed7db34..e4b331bc8c2a 100644 --- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java +++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java @@ -198,7 +198,7 @@ public class _XUserInputInterception extends MultiMethodTest { * Has OK status if only one of the listener are triggered.

* The following method tests are to be completed successfully before : *

    - *
  • addMouseKlickHandler() : adds two key listener
  • + *
  • addMouseClickHandler() : adds two key listener
  • *
*/ public void _removeMouseClickHandler() { diff --git a/qadevOOo/tests/java/ifc/container/_XNameAccess.java b/qadevOOo/tests/java/ifc/container/_XNameAccess.java index 52f2024850f1..765fb8fcd635 100644 --- a/qadevOOo/tests/java/ifc/container/_XNameAccess.java +++ b/qadevOOo/tests/java/ifc/container/_XNameAccess.java @@ -102,7 +102,7 @@ public class _XNameAccess extends MultiMethodTest { * */ public void _getByName() { - log.println("reqiure getElementNames() ..."); + log.println("require getElementNames() ..."); requiredMethod("getElementNames()"); log.println("require getElementNames() ...OK"); log.println("testing getByName() ..."); diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java b/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java index a023b358c031..8cc1cf754b5b 100644 --- a/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java +++ b/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java @@ -87,7 +87,7 @@ public class _XShapeCombiner extends MultiMethodTest { boolean result = false; - log.println("spiltting the shape..."); + log.println("splitting the shape..."); oObj.split(oGroup); int countAfterSplit = oShapes.getCount(); diff --git a/qadevOOo/tests/java/ifc/form/_XReset.java b/qadevOOo/tests/java/ifc/form/_XReset.java index e9835ed6a147..c2a4ff2ccd5b 100644 --- a/qadevOOo/tests/java/ifc/form/_XReset.java +++ b/qadevOOo/tests/java/ifc/form/_XReset.java @@ -40,7 +40,7 @@ public class _XReset extends MultiMethodTest { public static XReset oObj = null; /** - * Indicates if listeners must approve restes requests or not. + * Indicates if listeners must approve reset requests or not. */ protected boolean approve = true; /** diff --git a/qadevOOo/tests/java/ifc/form/_XSubmit.java b/qadevOOo/tests/java/ifc/form/_XSubmit.java index 1a7213a8e3fa..3b3346900293 100644 --- a/qadevOOo/tests/java/ifc/form/_XSubmit.java +++ b/qadevOOo/tests/java/ifc/form/_XSubmit.java @@ -88,7 +88,7 @@ public class _XSubmit extends MultiMethodTest { } /** - * Before submision tries to set 'TargetURL' property + * Before submission tries to set 'TargetURL' property * of component to some value assuming that component * supports com.sun.star.form.HTMLForm * service. diff --git a/qadevOOo/tests/java/ifc/frame/_XController.java b/qadevOOo/tests/java/ifc/frame/_XController.java index 20cfa71c7867..1ad53a60e25c 100644 --- a/qadevOOo/tests/java/ifc/frame/_XController.java +++ b/qadevOOo/tests/java/ifc/frame/_XController.java @@ -95,7 +95,7 @@ public class _XController extends MultiMethodTest { /** * At first object relation 'FirstModel' is gotten. Then test calls the * method.

- * Has OK status if string rapresentation of an object, returned by + * Has OK status if string representation of an object, returned by * the method is equal to string representation of corresponding object * relation. */ diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java index 137405d7bbda..118134777953 100644 --- a/qadevOOo/tests/java/ifc/frame/_XFrame.java +++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java @@ -515,7 +515,7 @@ public class _XFrame extends MultiMethodTest { * Test calls the method.

* Has OK status if the method successfully returns. * In case a frame should initialised twice, a - * com.sun.star.uno.RuntimeException was thron. This is ok. But since + * com.sun.star.uno.RuntimeException was thrown. This is ok. But since * a com.sun.star.uno.RuntimeException could thrown in any state the message of * the exception must contain a defined string. In this case the test get an * OK status. diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java index 0112b6d280cd..c43de57f05b9 100644 --- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java +++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java @@ -54,7 +54,7 @@ public class _XModuleManager extends MultiMethodTest { /** Test calls the method.

* The onject relations XModuleManager.XFrame, * XModuleManager.XController and XModuleManager.XModel - * are sequenzes of PropertyValue. The value of a PropertyValue + * are sequences of PropertyValue. The value of a PropertyValue * contains a XFrame, XController or a * XModel. The name of the PropertyValue contains the expected return * value of method indetify() if the method was called with diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java index ba1190d5f6cb..0c4accdafabf 100644 --- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java +++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java @@ -202,7 +202,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest { /** * Helper class to handle the phonetic equivalence of unicode characters * This class delivers an amount of unicode characters and the equivalent phonetics - * for the "getPhoneticCandidate" test. Euivalents are only usable for zh,CN locale. + * for the "getPhoneticCandidate" test. Equivalents are only usable for zh,CN locale. */ public static class UnicodeStringPair { static final int valCount = 78; diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java index cd5c4b26450f..9ac7c7308696 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java @@ -145,7 +145,7 @@ public class _XActiveDataControl extends MultiMethodTest { /** * Tests removeListener(). Before, it ensures that other - * tests are perforemed and that addListener() is okay. Then, + * tests are performed and that addListener() is okay. Then, * calls XActiveDataControl.start() and checks that no method * of the listener was called. */ diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java index 5a3321f541c7..5ab320fa526e 100644 --- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java +++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java @@ -48,7 +48,7 @@ import com.sun.star.uno.XInterface; *

  • 'StreamData' (of type Vector): * vector of data for comparing with data that obtained from stream
  • *
  • 'StreamWriter' (of type XDataOutputStream): -* a possiblitiy to write values to the stream.
  • +* a possibility to write values to the stream. *

      * After test completion object environment has to be recreated. * @see com.sun.star.io.XDataInputStream diff --git a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java index 8a7cf52e182b..62911c8515f1 100644 --- a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java +++ b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java @@ -76,7 +76,7 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest { /** * Implementation of XRowSetApproveListener interface - * which just detects and stores approve requipements. They are checked + * which just detects and stores approve requirements. They are checked * later. */ private static class TestListener implements XRowSetApproveListener { diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java index d70e916381a7..570e7b307ca6 100644 --- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java +++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java @@ -309,7 +309,7 @@ public class _ParagraphProperties extends MultiPropertyTest { /** * Tested with com.sun.star.text.NumberingLevel

      - * The value of this property is a com.sun.star.container.XIndexReplace which is represneted by + * The value of this property is a com.sun.star.container.XIndexReplace which is represented by * com.sun.star.text.NumberingLevel. * The following property tests are to be completed successfully before : *

        diff --git a/qadevOOo/tests/java/ifc/style/_XStyle.java b/qadevOOo/tests/java/ifc/style/_XStyle.java index ce031f9f9e5a..9478fe0d104d 100644 --- a/qadevOOo/tests/java/ifc/style/_XStyle.java +++ b/qadevOOo/tests/java/ifc/style/_XStyle.java @@ -74,7 +74,7 @@ public class _XStyle extends MultiMethodTest { /** * Test calls the method.

        - * Has OK status if the method sreturns true.

        + * Has OK status if the method returns true.

        */ public void _isInUse() { tRes.tested("isInUse()",oObj.isInUse()); diff --git a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java index a9edbaa6a2ef..10d6e8d8853f 100644 --- a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java +++ b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java @@ -56,7 +56,7 @@ import util.utils; *

      * This test needs the following object relations : *

        - *
      • 'ImageMap' (an inmplementation of + *
      • 'ImageMap' (an implementation of * com.sun.star.image.ImageMapObject): * is used to insert a new Map into collection * from 'ImageMap' property.
      • diff --git a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java index 7772301aee93..ac95453d0de1 100644 --- a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java +++ b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java @@ -230,7 +230,7 @@ public class _XTextTableCursor extends MultiMethodTest { } /** - * First splits the cell horyzontally. Then the end cell + * First splits the cell horizontally. Then the end cell * name is checked. Second split all cells vertically and * again the end cell name is checked

        * diff --git a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java index 57c5d9b2b7d3..ee4e4c0ceec6 100644 --- a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java +++ b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java @@ -418,7 +418,7 @@ public class _XURLTransformer extends MultiMethodTest { url.Complete = expectedCompleteFTP; log.println("getPresentation('" + expectedCompleteFTP + "', false): "); - // the password must be masquarade with <****> + // the password must be masquerade with <****> StringBuilder sb = new StringBuilder(); for (int n = 0 ; n < password.length(); n++){ sb.append("*"); diff --git a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java index c3fd3f829ac6..e28fdc06ba4b 100644 --- a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java +++ b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java @@ -137,7 +137,7 @@ public class GenericModelTest extends TestCase { /** * describes the kind of the shape which should be created. - * Example: m_kindOfshape=DateFiled + * Example: m_kindOfshape=DateFilled */ protected String m_kindOfControl = null; diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java index 327790f050a4..d424a1b4f5fb 100644 --- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java +++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java @@ -485,7 +485,7 @@ public class ODatabaseForm extends TestCase { // adding an object for XNameReplace testing - log.println("adding oInstace as obj relation to environment"); + log.println("adding oInstance as obj relation to environment"); tEnv.addObjRelation("INSTANCE", oInstance); diff --git a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java index 74c78e19ff3a..e07246774ceb 100644 --- a/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScTabViewObj.java @@ -113,7 +113,7 @@ public class ScTabViewObj extends TestCase { /* * Creating a TestEnvironment for the interfaces to be tested. - * Retrives the current controller of the spreadsheet document using the + * Retrieves the current controller of the spreadsheet document using the * interface XModel. The controller is the instance of the * service com.sun.star.sheet.SpreadsheetView. Retrieves * a collection of spreadsheets from the document and takes one of them. diff --git a/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java index 99bf4e08bd26..53eb110cf924 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java +++ b/qadevOOo/tests/java/mod/_sw/SwXMailMerge.java @@ -222,7 +222,7 @@ public class SwXMailMerge extends TestCase { tEnv.addObjRelation("DataAccessDescriptor.XResultSet", oResultSet); tEnv.addObjRelation("DataAccessDescriptor.XConnection", getRemoteXConnection(Param)); - // com.sun.star.text.MailMaerge + // com.sun.star.text.MailMerge tEnv.addObjRelation("MailMerge.XConnection", getRemoteXConnection(Param)); tEnv.addObjRelation("MailMerge.XResultSet", oMMXResultSet); diff --git a/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java index 46ee58a639c6..cfc957228817 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java +++ b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java @@ -86,7 +86,7 @@ public class SwXNumberingRules extends TestCase { * Creating a TestEnvironment for the interfaces to be tested. * At first some strings are inserted to a text document, then style families * are gotten from text document using XStyleFamiliesSupplier. - * Then style family 'NuberingRules' is retrieved, then style indexed '0' + * Then style family 'NumberingRules' is retrieved, then style indexed '0' * is obtained. At the end property value 'NumberingRules' is obtained from * given style. */ diff --git a/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java b/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java index 621ad5c5d3ff..5e04b73da9f2 100644 --- a/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java +++ b/qadevOOo/tests/java/mod/_toolkit/AccessibleComboBox.java @@ -45,7 +45,7 @@ import util.utils; /** * Test for object which is represented by accessible component of the 'Font' - * combo box in Format->Character... dislog box. + * combo box in Format->Character... dialog box. *

        * * Object implements the following interfaces : @@ -191,4 +191,4 @@ public class AccessibleComboBox extends TestCase { xTextDoc = SOF.createTextDoc(null); } -} \ No newline at end of file +} -- cgit