[Libreoffice-commits] core.git: qadevOOo/runner qadevOOo/tests

Andrea Gelmini (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 12 09:50:02 UTC 2019


 qadevOOo/runner/helper/ProcessHandler.java                      |    4 ++--
 qadevOOo/runner/lib/MultiPropertyTest.java                      |    2 +-
 qadevOOo/runner/util/PropertyName.java                          |    2 +-
 qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java    |    4 ++--
 qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java                |    2 +-
 qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java           |    2 +-
 qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java |    2 +-
 qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java      |    2 +-
 qadevOOo/tests/java/ifc/form/_XGrid.java                        |    2 +-
 qadevOOo/tests/java/ifc/form/_XReset.java                       |    6 +++---
 10 files changed, 14 insertions(+), 14 deletions(-)

New commits:
commit b03ce74f899bcc2094d50c174a5b94b123cfbf25
Author:     Andrea Gelmini <andrea.gelmini at gelma.net>
AuthorDate: Sun Aug 11 19:36:48 2019 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Mon Aug 12 11:49:02 2019 +0200

    Fix typos
    
    Change-Id: I096dd79f82ab7bef91dbfb0d64649c05521934e7
    Reviewed-on: https://gerrit.libreoffice.org/77305
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index cb61de76ee2b..49aba431a50e 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -156,7 +156,7 @@ public class ProcessHandler
      *                      process to exit and return its status.
      *
      *                      timeOut = 0
-     *                      Waits for the process to end regulary
+     *                      Waits for the process to end regularly
      *
      */
     private ProcessHandler(String cmdLine, PrintWriter log, File workDir, String[] envVars) throws UnsupportedEncodingException
@@ -383,7 +383,7 @@ public class ProcessHandler
 
     /**
      *  If the timeout only given by setProcessTimeout(int seconds) function is != 0,
-     *  a extra thread is created and after time has run out, the ProcessKiller string
+     *  an extra thread is created and after time has run out, the ProcessKiller string
      *  given by function setProcessKiller(string) will execute.
      *  So it is possible to kill a running office after a given time of seconds.
      */
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java
index 4c63b4c45f67..54e7122c4baa 100644
--- a/qadevOOo/runner/lib/MultiPropertyTest.java
+++ b/qadevOOo/runner/lib/MultiPropertyTest.java
@@ -231,7 +231,7 @@ public class MultiPropertyTest extends MultiMethodTest
          *                 XPropertySet.setPropertyValue, else indicates
          *                 normal method completion.
          *
-         * <p>If the property is READ_ONLY, than either PropertyVetoException
+         * <p>If the property is READ_ONLY, then either PropertyVetoException
          * should be thrown or the value of property should not have changed
          * (resValue is compared with oldValue with compare method).
          *
diff --git a/qadevOOo/runner/util/PropertyName.java b/qadevOOo/runner/util/PropertyName.java
index 17f04a905156..4812bd7f6f2c 100644
--- a/qadevOOo/runner/util/PropertyName.java
+++ b/qadevOOo/runner/util/PropertyName.java
@@ -81,7 +81,7 @@ public interface PropertyName {
     String LOG_WRITER = "LogWriter";
     /**
      * parameter name: "TimeOut"<p>
-     * time out given in milli seconds
+     * time out given in milliseconds
      * This parameter contains the timeout used<br>
      * by the watcher
      */
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
index a11b868615c2..d9ab32613249 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
@@ -172,7 +172,7 @@ public class _XAccessibleValue extends MultiMethodTest {
                 log.println("If one sets the maximum value of a scroll bar with XScrollBar::setMaximum(),"+
                 "then XScrollBar::getValue() returns the maximum value minus the visible size of"+
                 "the thumb");
-                //using abitrary Value, since we can't determine the resulting value
+                //using arbitrary Value, since we can't determine the resulting value
                 partResult = resVal > 10;
             }
 
@@ -196,7 +196,7 @@ public class _XAccessibleValue extends MultiMethodTest {
                 log.println("If one sets the maximum value of a scroll bar with XScrollBar::setMaximum(),"+
                 "then XScrollBar::getValue() returns the maximum value minus the visible size of"+
                 "the thumb");
-                //using abitrary Value, since we can't determine the resulting value
+                //using arbitrary Value, since we can't determine the resulting value
                 partResult = resVal > 10;
             }
 
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
index 304b52b71f0a..eb2b8877e9a9 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
@@ -117,7 +117,7 @@ public class _XTreeNode extends MultiMethodTest {
         mCount = oObj.getChildCount();
         log.println("got count '" + mCount + "' of children");
         if (mCount < 1 ) {
-            log.println("ERROR: got a count < 1. The test object must be support more then zero children => FAILED");
+            log.println("ERROR: got a count < 1. The test object must support more than zero children => FAILED");
             bOK = false;
         }
         tRes.tested("getChildCount()", bOK);
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
index 1d169539413d..e23e3845d867 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
@@ -344,7 +344,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
 
         String bound = sb.toString();
 
-        //get a array of bound properties
+        //get an array of bound properties
         if (bound.equals("")) bound = "none";
         StringTokenizer ST=new StringTokenizer(bound,";");
         int nr = ST.countTokens();
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
index e3d7b29f6914..95606a684561 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
@@ -101,7 +101,7 @@ public class _XClipboard extends MultiMethodTest {
 
     /**
     * Sets new contents for the clipboard. Then checks if it was set,
-    * and if <code>lostOwnership()</code> notification of the prevoius
+    * and if <code>lostOwnership()</code> notification of the previous
     * contents was called with appropriate parameters.<p>
     * Has <b> OK </b> status if <code>getContents</code> returns the same
     * object which is set, and notification was received.
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
index 860eeddcb319..fee7668c7917 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
@@ -127,7 +127,7 @@ public class _XDocumentInsertable extends MultiMethodTest {
     * A Second test uses an invalid URL and checks for correct exceptions.
     *
     * Has <b> OK </b> status if at first insertion was completed successfully
-    * and no exceptions were thrown and as second a expected exception was thrown. <p>
+    * and no exceptions were thrown and as second an expected exception was thrown. <p>
     */
     public void _insertDocumentFromURL() {
         boolean result = true ;
diff --git a/qadevOOo/tests/java/ifc/form/_XGrid.java b/qadevOOo/tests/java/ifc/form/_XGrid.java
index 43214e406893..f241af55afba 100644
--- a/qadevOOo/tests/java/ifc/form/_XGrid.java
+++ b/qadevOOo/tests/java/ifc/form/_XGrid.java
@@ -58,7 +58,7 @@ public class _XGrid extends MultiMethodTest {
     /**
     * The method called. Then CurrentColumnPosition is obtained, changed
     * and saved.
-    * Has <b> OK </b> status if no exceptions was occurred.
+    * Has <b> OK </b> status if no exception has occurred.
     */
     public void _setCurrentColumnPosition() {
         log.println("Testing setCurrentColumnPosition()...");
diff --git a/qadevOOo/tests/java/ifc/form/_XReset.java b/qadevOOo/tests/java/ifc/form/_XReset.java
index c2a4ff2ccd5b..b3afa18df5c9 100644
--- a/qadevOOo/tests/java/ifc/form/_XReset.java
+++ b/qadevOOo/tests/java/ifc/form/_XReset.java
@@ -44,7 +44,7 @@ public class _XReset extends MultiMethodTest {
     */
     protected boolean approve = true;
     /**
-    * Array of two elements, each of them indicates <code>resetted</code>
+    * Array of two elements, each of them indicates <code>reset</code>
     * call of appropriate listener.
     */
       protected boolean resetted[] = new boolean[2];
@@ -56,7 +56,7 @@ public class _XReset extends MultiMethodTest {
 
     /**
     * The listener which sets flags (in array elements with index 0)
-    * on <code>resetted</code> and
+    * on <code>reset</code> and
     * <code>approveReset</code> events. It approves reset request
     * depending on <code>approve</code> field.
     */
@@ -75,7 +75,7 @@ public class _XReset extends MultiMethodTest {
 
     /**
     * The listener which sets flags (in array elements with index 1)
-    * on <code>resetted</code> and
+    * on <code>reset</code> and
     * <code>approveReset</code> events. It approves reset request
     * depending on <code>approve</code> field.
     */


More information about the Libreoffice-commits mailing list