This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cd12592  Fixed typos, removed whitespace
cd12592 is described below

commit cd12592044eab9c4ce1541eff3b8ab33dc166ad5
Author: mseidel <msei...@apache.org>
AuthorDate: Fri Dec 11 22:46:58 2020 +0100

    Fixed typos, removed whitespace
---
 .../src/main/java/ifc/awt/tree/_XTreeNode.java     | 123 +++++++++++----------
 1 file changed, 62 insertions(+), 61 deletions(-)

diff --git 
a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/tree/_XTreeNode.java 
b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/tree/_XTreeNode.java
index defab13..44fdcfc 100644
--- a/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/tree/_XTreeNode.java
+++ b/main/qadevOOo/java/OOoRunner/src/main/java/ifc/awt/tree/_XTreeNode.java
@@ -1,5 +1,5 @@
 /**************************************************************
- * 
+ *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information
@@ -7,16 +7,16 @@
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied.  See the License for the
  * specific language governing permissions and limitations
  * under the License.
- * 
+ *
  *************************************************************/
 
 
@@ -47,44 +47,44 @@ import lib.StatusException;
  * @see com.sun.star.awt.tree.XTreeDataModel
  */
 public class _XTreeNode extends MultiMethodTest {
-    
+
     public XTreeNode oObj = null;
-    
+
     private int mCount = 0;
-    
+
     String msDisplayValue = null;
     String msExpandedGraphicURL = null;
     String msCollapsedGraphicURL = null;
     String msNodeGraphicURL = null;
-    
-    
+
+
     public void before(){
         msDisplayValue = (String) 
tEnv.getObjRelation("XTreeNode_DisplayValue");
         if (msDisplayValue == null){
             throw new StatusException(Status.failed(
                 "Couldn't get relation 'XTreeNode_DisplayVlaue'"));
         }
-        
+
         msExpandedGraphicURL = (String) 
tEnv.getObjRelation("XTreeNode_ExpandedGraphicURL");
         if (msExpandedGraphicURL == null){
             throw new StatusException(Status.failed(
                 "Couldn't get relation 'XTreeNode_ExpandedGraphicURL'"));
         }
-        
+
         msCollapsedGraphicURL = (String) 
tEnv.getObjRelation("XTreeNode_CollapsedGraphicURL");
         if (msCollapsedGraphicURL == null){
             throw new StatusException(Status.failed(
                 "Couldn't get relation 'XTreeNode_CollapsedGraphicURL'"));
         }
-        
+
         msNodeGraphicURL = (String) 
tEnv.getObjRelation("XTreeNode_NodeGraphicURL");
         if(msNodeGraphicURL == null){
             throw new StatusException(Status.failed(
                 "Couldn't get relation 'XTreeNode_NodeGraphicURL'"));
         }
-        
+
     }
-    
+
     /**
      * Gets the title and compares it to the value set in
      * <code>setTitle</code> method test. <p>
@@ -97,7 +97,7 @@ public class _XTreeNode extends MultiMethodTest {
     public void _getChildAt(){
         this.requiredMethod("getChildCount()");
         boolean bOK = true;
-        
+
         for (int i=0; i < mCount ; i++){
             XTreeNode xNode = null;
             try {
@@ -110,27 +110,27 @@ public class _XTreeNode extends MultiMethodTest {
                 bOK = false;
             }
         }
-        
+
         tRes.tested("getChildAt()", bOK);
     }
-    
-    
+
+
     public void _getChildCount(){
-        
+
         boolean bOK = true;
         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 morw 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);
     }
-    
-    
+
+
     public void _getParent(){
         this.requiredMethod("getChildAt()");
-        
+
         boolean bOK = true;
         XTreeNode xNode = null;
         try {
@@ -139,20 +139,20 @@ public class _XTreeNode extends MultiMethodTest {
         } catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
             log.println("ERROR: getChildAt(0): " + ex.toString());
         }
-        
-        log.println("try to get parrent of children");
+
+        log.println("try to get parent of children");
         XTreeNode xParrent = xNode.getParent();
-        
-        
+
+
         bOK = oObj.equals(xParrent);
-        log.println("original object and parrent should be the same: " + bOK);
+        log.println("original object and parent should be the same: " + bOK);
         tRes.tested("getParent()", bOK);
     }
-    
-    
+
+
     public void _getIndex(){
         this.requiredMethod("getChildAt()");
-        
+
         boolean bOK = true;
         XTreeNode xNode = null;
         try {
@@ -161,57 +161,57 @@ public class _XTreeNode extends MultiMethodTest {
         } catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
             log.println("ERROR: getChildAt(0): " + ex.toString());
         }
-        
+
         log.println("try to get index from child...");
         int index = oObj.getIndex(xNode);
-        
+
         if (index != 0){
             log.println("ERROR: getIndex() does not return '0' => FAILED");
             bOK = false;
         }
-        
+
         tRes.tested("getIndex()", bOK);
     }
-    
-    
+
+
     public void _hasChildrenOnDemand(){
-        
+
         boolean bOK = true;
-        
+
         bOK = oObj.hasChildrenOnDemand();
         tRes.tested("hasChildrenOnDemand()", bOK);
     }
-    
-    
+
+
     public void _getDisplayValue(){
-        
+
         boolean bOK = true;
         String DisplayValue = null;
         Object dispVal = oObj.getDisplayValue();
-        
+
         try {
             DisplayValue = AnyConverter.toString(dispVal);
         } catch (com.sun.star.lang.IllegalArgumentException ex) {
             log.println("ERROR: could not convert the returned object of 
'getDisplyValue()' " +
                 "to String with AnyConverter: " + ex.toString());
         }
-        
+
         if ( ! this.msDisplayValue.equals(DisplayValue)){
             log.println("ERROR: getNodeGraphicURL() does not return expected 
value:\n" +
                 "\tExpected: " + this.msDisplayValue +"\n" +
                 "\tGot: " + DisplayValue);
             bOK = false;
         }
-        
+
         tRes.tested("getDisplayValue()", bOK);
     }
-    
-    
+
+
     public void _getNodeGraphicURL(){
-        
+
         boolean bOK = true;
         String graphicURL = oObj.getNodeGraphicURL();
-        
+
         if ( ! this.msNodeGraphicURL.equals(graphicURL)){
             log.println("ERROR: getNodeGraphicURL() does not return expected 
value:\n" +
                 "\tExpected: " + this.msNodeGraphicURL +"\n" +
@@ -220,38 +220,39 @@ public class _XTreeNode extends MultiMethodTest {
         }
         tRes.tested("getNodeGraphicURL()", bOK);
     }
-    
-    
+
+
     public void _getExpandedGraphicURL(){
-        
+
         boolean bOK = true;
         String ExpandedGraphicURL = oObj.getExpandedGraphicURL();
-        
+
         if ( ! this.msExpandedGraphicURL.equals(ExpandedGraphicURL)){
             log.println("ERROR: getExpandedGraphicURL() does not return 
expected value:\n" +
                 "\tExpected: " + this.msExpandedGraphicURL +"\n" +
                 "\tGot: " + ExpandedGraphicURL);
             bOK = false;
         }
-        
+
         tRes.tested("getExpandedGraphicURL()", bOK);
     }
-    
-    
+
+
     public void _getCollapsedGraphicURL(){
-        
+
         boolean bOK = true;
-        
+
         String CollapsedGraphicURL = oObj.getCollapsedGraphicURL();
-        
+
         if ( ! this.msCollapsedGraphicURL.equals(CollapsedGraphicURL)){
             log.println("ERROR: getExpandedGraphicURL() does not return 
expected value:\n" +
                 "\tExpected: " + this.msCollapsedGraphicURL +"\n" +
                 "\tGot: " + CollapsedGraphicURL);
             bOK = false;
         }
-        
+
         tRes.tested("getCollapsedGraphicURL()", bOK);
     }
-    
-}
\ No newline at end of file
+
+}
+

Reply via email to