diff options
227 files changed, 602 insertions, 602 deletions
diff --git a/qadevOOo/runner/convwatch/ReportDesignerTest.java b/qadevOOo/runner/convwatch/ReportDesignerTest.java index fe144ef33..411f9210a 100755..100644 --- a/qadevOOo/runner/convwatch/ReportDesignerTest.java +++ b/qadevOOo/runner/convwatch/ReportDesignerTest.java @@ -686,7 +686,7 @@ public class ReportDesignerTest extends ComplexTestCase { catch (com.sun.star.util.CloseVetoException e) { log.println("ERROR: CloseVetoException caught"); - log.println("CloseVetoException occured Can't close document."); + log.println("CloseVetoException occurred Can't close document."); log.println("Message: " + e.getMessage()); } } diff --git a/qadevOOo/runner/graphical/IniFile.java b/qadevOOo/runner/graphical/IniFile.java index 397f45756..eee0880e7 100644 --- a/qadevOOo/runner/graphical/IniFile.java +++ b/qadevOOo/runner/graphical/IniFile.java @@ -675,7 +675,7 @@ public class IniFile implements Enumeration } /** - * Helper to count the occurence of Sections + * Helper to count the occurrence of Sections * @return returns the count of '^['.*']$' Elements */ public int getElementCount() diff --git a/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java b/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java index f347af324..2ddd33567 100644 --- a/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java +++ b/qadevOOo/runner/graphical/OpenOfficeDatabaseReportExtractor.java @@ -552,7 +552,7 @@ public class OpenOfficeDatabaseReportExtractor extends Assurance catch (com.sun.star.util.CloseVetoException e) { GlobalLogWriter.println("ERROR: CloseVetoException caught"); - GlobalLogWriter.println("CloseVetoException occured Can't close document."); + GlobalLogWriter.println("CloseVetoException occurred Can't close document."); GlobalLogWriter.println("Message: " + e.getMessage()); } } diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java index ee7b0f079..336f64173 100644 --- a/qadevOOo/runner/helper/ProcessHandler.java +++ b/qadevOOo/runner/helper/ProcessHandler.java @@ -93,7 +93,7 @@ class Pump extends Thread } catch (java.io.IOException e) { - log.println(pref + "Exception occured: " + e); + log.println(pref + "Exception occurred: " + e); } } diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java index e766d13a4..cd885ad0b 100644 --- a/qadevOOo/runner/lib/MultiPropertyTest.java +++ b/qadevOOo/runner/lib/MultiPropertyTest.java @@ -253,7 +253,7 @@ public class MultiPropertyTest extends MultiMethodTest } catch (Exception e) { - log.println("Exception occured while testing property '" + propName + "'"); + log.println("Exception occurred while testing property '" + propName + "'"); e.printStackTrace(log); tRes.tested(propName, false); } diff --git a/qadevOOo/runner/share/DescEntry.java b/qadevOOo/runner/share/DescEntry.java index 43ff7bd68..e9fd48121 100644 --- a/qadevOOo/runner/share/DescEntry.java +++ b/qadevOOo/runner/share/DescEntry.java @@ -73,7 +73,7 @@ public class DescEntry { public String ErrorMsg; /** - * Contains information if errors occured while gaining the Description + * Contains information if errors occurred while gaining the Description */ public boolean hasErrorMsg; diff --git a/qadevOOo/runner/stats/SQLExecution.java b/qadevOOo/runner/stats/SQLExecution.java index 19cc8b123..4ce6e9f2e 100644 --- a/qadevOOo/runner/stats/SQLExecution.java +++ b/qadevOOo/runner/stats/SQLExecution.java @@ -81,7 +81,7 @@ public class SQLExecution { /** * Open a connection to the DataBase - * @return True, if no error occured. + * @return True, if no error occurred. */ public boolean openConnection() { if(m_bConnectionOpen) return true; @@ -108,7 +108,7 @@ public class SQLExecution { /** * Close the connection to the DataBase - * @return True, if no error occured. + * @return True, if no error occurred. */ public boolean closeConnection() { if (!m_bConnectionOpen) return true; @@ -130,7 +130,7 @@ public class SQLExecution { * @param command The command to execute. * @param sqlInput Input values for the command. * @param sqlOutput The results of the command are put in this Hashtable. - * @return True, if no error occured. + * @return True, if no error occurred. */ public boolean executeSQLCommand(String command, Hashtable sqlInput, Hashtable sqlOutput) throws IllegalArgumentException { @@ -144,7 +144,7 @@ public class SQLExecution { * @param sqlOutput The results of the command are put in this Hashtable. * @param mergeOutputIntoInput The output of the result is put into the * sqlInput Hashtable. - * @return True, if no error occured. + * @return True, if no error occurred. */ public boolean executeSQLCommand(String command, Hashtable sqlInput, Hashtable sqlOutput, boolean mergeOutputIntoInput) throws IllegalArgumentException { @@ -160,7 +160,7 @@ public class SQLExecution { Vector sqlCommand = new Vector(); sqlCommand.add(""); boolean update = false; - // synchronize all "$varname" occurences in the command string with + // synchronize all "$varname" occurrences in the command string with // values from input StringTokenizer token = new StringTokenizer(command, " "); while (token.hasMoreTokens()) { diff --git a/qadevOOo/runner/util/RegistryTools.java b/qadevOOo/runner/util/RegistryTools.java index bf5048e44..de823cc89 100644 --- a/qadevOOo/runner/util/RegistryTools.java +++ b/qadevOOo/runner/util/RegistryTools.java @@ -357,7 +357,7 @@ public class RegistryTools { out.println("") ; } } catch (com.sun.star.uno.Exception e) { - out.println("Exception occured : ") ; + out.println("Exception occurred : ") ; e.printStackTrace(out) ; } finally { key.closeKey() ; diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java index ae00eadb2..8314642ad 100644 --- a/qadevOOo/runner/util/ValueChanger.java +++ b/qadevOOo/runner/util/ValueChanger.java @@ -773,7 +773,7 @@ public class ValueChanger { } } } catch (Exception e) { - System.err.println("Exception occured while changing Enumeration value:") ; + System.err.println("Exception occurred while changing Enumeration value:") ; e.printStackTrace(System.err) ; } if (newValue == null) newValue = oldValue ; diff --git a/qadevOOo/runner/util/ValueComparer.java b/qadevOOo/runner/util/ValueComparer.java index 3efd835ad..2c8c63026 100644 --- a/qadevOOo/runner/util/ValueComparer.java +++ b/qadevOOo/runner/util/ValueComparer.java @@ -72,7 +72,7 @@ public class ValueComparer { } } catch (Exception e) { - System.out.println("Exception occured while comparing Objects"); + System.out.println("Exception occurred while comparing Objects"); e.printStackTrace(); } return eq; diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java index 786067216..98fe239a1 100644 --- a/qadevOOo/runner/util/XMLTools.java +++ b/qadevOOo/runner/util/XMLTools.java @@ -355,7 +355,7 @@ public class XMLTools { } /** - * Prints error message and all tags where error occured inside. + * Prints error message and all tags where error occurred inside. * Also prints "Tag trace" in case if the full XML data isn't * printed. */ diff --git a/qadevOOo/runner/util/dbg.java b/qadevOOo/runner/util/dbg.java index 18d360fcd..fc84b4e64 100644 --- a/qadevOOo/runner/util/dbg.java +++ b/qadevOOo/runner/util/dbg.java @@ -133,7 +133,7 @@ public class dbg { } } catch (Exception ex) { - System.out.println("Exception occured while printing InterfaceInfo"); + System.out.println("Exception occurred while printing InterfaceInfo"); ex.printStackTrace(); } } diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index 90aecd63d..0a42df9da 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -570,7 +570,7 @@ public class utils { * file already exists, the file is deleted. * * @returns <code>true</code> if the file was successfully copied, - * <code>false</code> if some errors occured (e.g. file is locked, used + * <code>false</code> if some errors occurred (e.g. file is locked, used * by another process). */ public static boolean tryOverwriteFile( diff --git a/qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba b/qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba index 783563acb..ef5b7d797 100644 --- a/qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba +++ b/qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba @@ -159,7 +159,7 @@ On Error Goto ErrHndl bTypesEq = (oProperties(n).Type.Name = oCoreRefl.getType(aValue).Name) end if - if (NOT bOK) then ' exception was occured + if (NOT bOK) then ' exception was occurred Out.Log("Error while testing getPropertyDefault() for '" & AllPropsNames(n) & "' FAILED.") elseif ((TypeName(aValue) <> "Empty") AND (NOT bTypesEq)) then Out.Log("Types: '" & oProperties(n).Type.Name & "' and '" & oCoreRefl.getType(aValue).Name & "' are different.") diff --git a/qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba b/qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba index 3062fedbe..12d14e6f2 100644 --- a/qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba +++ b/qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba @@ -129,7 +129,7 @@ On Error Goto ErrHndl On Error goto ErrHndl1 Out.Log("Trying to jump to deleted mark") oObj.jumpToMark(iMark1) - Out.Log("No exception occured. FAILED") + Out.Log("No exception occurred. FAILED") bOK = false goto Cont1 ErrHndl1: @@ -189,7 +189,7 @@ On Error Goto ErrHndl On Error goto ErrHndl2 Out.Log("Trying to jump to Mark1") oObj.jumpToMark(iMark2) - Out.Log("No exception occured - FAILED") + Out.Log("No exception occurred - FAILED") bOK = false goto Cont2 ErrHndl2: diff --git a/qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba b/qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba index 19240d37a..ec09836d0 100644 --- a/qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba +++ b/qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba @@ -72,7 +72,7 @@ ErrHndl: resume next ExpectErr: - Out.Log("Proper exception occured") + Out.Log("Proper exception occurred") bEx = true resume next End Sub diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java index 958d70304..fb13ae0dc 100644 --- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java +++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java @@ -509,7 +509,7 @@ public class _XAccessibleComponent extends MultiMethodTest { /** * Just calls the method. <p> * - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _grabFocus() { boolean result = true; @@ -523,7 +523,7 @@ public class _XAccessibleComponent extends MultiMethodTest { * component which support <code>XAccessibleComponent</code>. * * @return The array of children. Empty array returned if - * such children were not found or some error occured. + * such children were not found or some error occurred. */ private XAccessibleComponent[] getChildrenComponents() { XAccessible xAcc = (XAccessible) UnoRuntime.queryInterface( @@ -569,7 +569,7 @@ public class _XAccessibleComponent extends MultiMethodTest { * <code>XAccessibleComponent</code>. * * @return The parent or <code>null</code> if the component - * has no parent or some errors occured. + * has no parent or some errors occurred. */ private XAccessibleComponent getParentComponent() { XAccessible xAcc = (XAccessible) UnoRuntime.queryInterface( diff --git a/qadevOOo/tests/java/ifc/awt/_XButton.java b/qadevOOo/tests/java/ifc/awt/_XButton.java index c8c9adb2c..ba2f87c80 100644 --- a/qadevOOo/tests/java/ifc/awt/_XButton.java +++ b/qadevOOo/tests/java/ifc/awt/_XButton.java @@ -91,7 +91,7 @@ public class _XButton extends MultiMethodTest { /** * Just sets some text for label. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _setLabel() { @@ -103,7 +103,7 @@ public class _XButton extends MultiMethodTest { /** * Just sets some command for button. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _setActionCommand() { diff --git a/qadevOOo/tests/java/ifc/awt/_XComboBox.java b/qadevOOo/tests/java/ifc/awt/_XComboBox.java index aa3aecbcc..1d5767d61 100644 --- a/qadevOOo/tests/java/ifc/awt/_XComboBox.java +++ b/qadevOOo/tests/java/ifc/awt/_XComboBox.java @@ -255,7 +255,7 @@ public class _XComboBox extends MultiMethodTest { /** * Gets line count and stores it. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getDropDownLineCount() { diff --git a/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java b/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java index 755643ad5..0afb0e55f 100644 --- a/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java +++ b/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java @@ -85,7 +85,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getValue() { val = oObj.getValue(); @@ -111,7 +111,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getMin() { @@ -141,7 +141,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getMax() { @@ -172,7 +172,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getFirst() { @@ -204,7 +204,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getLast() { @@ -234,7 +234,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getSpinSize() { @@ -266,7 +266,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getDecimalDigits() { @@ -296,7 +296,7 @@ public class _XCurrencyField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { diff --git a/qadevOOo/tests/java/ifc/awt/_XDateField.java b/qadevOOo/tests/java/ifc/awt/_XDateField.java index fd22837a3..b698e7c99 100644 --- a/qadevOOo/tests/java/ifc/awt/_XDateField.java +++ b/qadevOOo/tests/java/ifc/awt/_XDateField.java @@ -88,7 +88,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getDate() { @@ -118,7 +118,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getMin() { @@ -148,7 +148,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getMax() { @@ -182,7 +182,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getFirst() { @@ -218,7 +218,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getLast() { @@ -232,7 +232,7 @@ public class _XDateField extends MultiMethodTest { /** * Sets the value to empty. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> setTime </code> : value must be not empty </li> @@ -290,7 +290,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets strict state and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { @@ -326,7 +326,7 @@ public class _XDateField extends MultiMethodTest { /** * Gets long format state and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _isLongFormat() { diff --git a/qadevOOo/tests/java/ifc/awt/_XDialog.java b/qadevOOo/tests/java/ifc/awt/_XDialog.java index 91dc2a0cd..342a8e95e 100644 --- a/qadevOOo/tests/java/ifc/awt/_XDialog.java +++ b/qadevOOo/tests/java/ifc/awt/_XDialog.java @@ -93,7 +93,7 @@ public class _XDialog extends MultiMethodTest { * As this call is blocking then the thread execution * must not be finished. <p> * Has <b>OK</b> status if thread wasn't finished and - * no exceptions occured. + * no exceptions occurred. */ public void _execute() { boolean result = true ; diff --git a/qadevOOo/tests/java/ifc/awt/_XFixedText.java b/qadevOOo/tests/java/ifc/awt/_XFixedText.java index 5fc61841b..795703dd2 100644 --- a/qadevOOo/tests/java/ifc/awt/_XFixedText.java +++ b/qadevOOo/tests/java/ifc/awt/_XFixedText.java @@ -71,7 +71,7 @@ public class _XFixedText extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getText() { @@ -105,7 +105,7 @@ public class _XFixedText extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getAlignment() { diff --git a/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java b/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java index 96e1de152..1ad963db9 100644 --- a/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java +++ b/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java @@ -52,7 +52,7 @@ public class _XImageConsumer extends MultiMethodTest { /** * Initialize the consumer with size 2x2. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _init() { @@ -64,7 +64,7 @@ public class _XImageConsumer extends MultiMethodTest { /** * Sets color model. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> init </code> </li> @@ -83,7 +83,7 @@ public class _XImageConsumer extends MultiMethodTest { /** * Fill the picture with for pixels. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be executed before : * <ul> * <li> <code> setColorModel </code> </li> @@ -101,7 +101,7 @@ public class _XImageConsumer extends MultiMethodTest { /** * Fill the picture with for pixels. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be executed before : * <ul> * <li> <code> setColorModel </code> </li> @@ -118,7 +118,7 @@ public class _XImageConsumer extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> init </code> </li> diff --git a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java index 9e0397720..cece806c3 100644 --- a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java +++ b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java @@ -110,7 +110,7 @@ public class _XImageProducer extends MultiMethodTest { /** * Adds a new consumer to producer. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _addConsumer() { @@ -122,7 +122,7 @@ public class _XImageProducer extends MultiMethodTest { /** * Removes the consumer added before. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be executed before : * <ul> * <li> <code> startProduction </code> </li> diff --git a/qadevOOo/tests/java/ifc/awt/_XListBox.java b/qadevOOo/tests/java/ifc/awt/_XListBox.java index 70becc632..72aa91d82 100644 --- a/qadevOOo/tests/java/ifc/awt/_XListBox.java +++ b/qadevOOo/tests/java/ifc/awt/_XListBox.java @@ -279,7 +279,7 @@ public class _XListBox extends MultiMethodTest { /** * Gets line count and stores it. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getDropDownLineCount() { @@ -411,7 +411,7 @@ public class _XListBox extends MultiMethodTest { /** * Unselects all items, then selects a single item. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> addItems </code> : to have some items </li> @@ -432,7 +432,7 @@ public class _XListBox extends MultiMethodTest { /** * Just selects some items. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> addItems </code> : to have some items </li> @@ -450,7 +450,7 @@ public class _XListBox extends MultiMethodTest { /** * Just selects an item. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> addItems </code> : to have some items </li> @@ -484,7 +484,7 @@ public class _XListBox extends MultiMethodTest { /** * Sets multiple mode. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _setMultipleMode() { @@ -496,7 +496,7 @@ public class _XListBox extends MultiMethodTest { /** * Just calls the method to make visible third item. <p> - * Has <b> OK </b> status if no runtime exceptions occured.<p> + * Has <b> OK </b> status if no runtime exceptions occurred.<p> * The following method tests are to be completed successfully before : * <ul> * <li> <code> addItems </code> </li> diff --git a/qadevOOo/tests/java/ifc/awt/_XNumericField.java b/qadevOOo/tests/java/ifc/awt/_XNumericField.java index 3b86d1a9a..0beec4e98 100644 --- a/qadevOOo/tests/java/ifc/awt/_XNumericField.java +++ b/qadevOOo/tests/java/ifc/awt/_XNumericField.java @@ -86,7 +86,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getValue() { val = oObj.getValue() ; @@ -112,7 +112,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getMin() { @@ -142,7 +142,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getMax() { @@ -173,7 +173,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getFirst() { @@ -205,7 +205,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getLast() { @@ -235,7 +235,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getSpinSize() { @@ -267,7 +267,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getDecimalDigits() { @@ -297,7 +297,7 @@ public class _XNumericField extends MultiMethodTest { /** * Just calls the method and stores value returned. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { diff --git a/qadevOOo/tests/java/ifc/awt/_XPatternField.java b/qadevOOo/tests/java/ifc/awt/_XPatternField.java index acf6312ba..e75abc8a1 100644 --- a/qadevOOo/tests/java/ifc/awt/_XPatternField.java +++ b/qadevOOo/tests/java/ifc/awt/_XPatternField.java @@ -82,7 +82,7 @@ public class _XPatternField extends MultiMethodTest { /** * Gets masks and stores them. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _getMasks() { @@ -131,7 +131,7 @@ public class _XPatternField extends MultiMethodTest { /** * Gets current string and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getString() { @@ -162,7 +162,7 @@ public class _XPatternField extends MultiMethodTest { /** * Gets the current strict state and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { diff --git a/qadevOOo/tests/java/ifc/awt/_XRadioButton.java b/qadevOOo/tests/java/ifc/awt/_XRadioButton.java index c901c0ceb..48068291b 100644 --- a/qadevOOo/tests/java/ifc/awt/_XRadioButton.java +++ b/qadevOOo/tests/java/ifc/awt/_XRadioButton.java @@ -102,7 +102,7 @@ public class _XRadioButton extends MultiMethodTest { /** * Gets state and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getState() { @@ -137,7 +137,7 @@ public class _XRadioButton extends MultiMethodTest { /** * Just sets a new label. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _setLabel() { diff --git a/qadevOOo/tests/java/ifc/awt/_XSpinField.java b/qadevOOo/tests/java/ifc/awt/_XSpinField.java index e18bc8589..ca778b5cf 100644 --- a/qadevOOo/tests/java/ifc/awt/_XSpinField.java +++ b/qadevOOo/tests/java/ifc/awt/_XSpinField.java @@ -82,7 +82,7 @@ public class _XSpinField extends MultiMethodTest { /** * Just adds a listener. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _addSpinListener() { oObj.addSpinListener(listener) ; @@ -193,7 +193,7 @@ public class _XSpinField extends MultiMethodTest { /** * Enables then disables repeating. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _enableRepeat() { oObj.enableRepeat(true) ; diff --git a/qadevOOo/tests/java/ifc/awt/_XTimeField.java b/qadevOOo/tests/java/ifc/awt/_XTimeField.java index 59da87e5d..f0a3b5f3c 100644 --- a/qadevOOo/tests/java/ifc/awt/_XTimeField.java +++ b/qadevOOo/tests/java/ifc/awt/_XTimeField.java @@ -84,7 +84,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getTime() { @@ -114,7 +114,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getMin() { @@ -144,7 +144,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getMax() { @@ -178,7 +178,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getFirst() { @@ -214,7 +214,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets the current value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _getLast() { @@ -228,7 +228,7 @@ public class _XTimeField extends MultiMethodTest { /** * Sets the value to empty. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * The following method tests are to be completed successfully before : * <ul> * <li> <code> setTime </code> : value must be not empty </li> @@ -281,7 +281,7 @@ public class _XTimeField extends MultiMethodTest { /** * Gets strict state and stores it. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _isStrictFormat() { diff --git a/qadevOOo/tests/java/ifc/awt/_XToolkit.java b/qadevOOo/tests/java/ifc/awt/_XToolkit.java index c70d66594..684025b7e 100644 --- a/qadevOOo/tests/java/ifc/awt/_XToolkit.java +++ b/qadevOOo/tests/java/ifc/awt/_XToolkit.java @@ -93,7 +93,7 @@ public class _XToolkit extends MultiMethodTest { res = true; } } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while checking 'createWindow':"); + log.println("Exception occurred while checking 'createWindow':"); ex.printStackTrace(log); } tRes.tested("createWindow()", res); @@ -119,7 +119,7 @@ public class _XToolkit extends MultiMethodTest { res = true; } } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while checking 'createWindows':"); + log.println("Exception occurred while checking 'createWindows':"); ex.printStackTrace(log); } tRes.tested("createWindows()", res); diff --git a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java index f3e2d7c53..8d22fe76f 100644 --- a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java +++ b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java @@ -165,7 +165,7 @@ public class _XTopWindow extends MultiMethodTest { /** * Creates a simple menu bar and adds to the window. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _setMenuBar() { XMenuBar menu = null ; diff --git a/qadevOOo/tests/java/ifc/awt/_XWindow.java b/qadevOOo/tests/java/ifc/awt/_XWindow.java index 80c3c7076..151712097 100644 --- a/qadevOOo/tests/java/ifc/awt/_XWindow.java +++ b/qadevOOo/tests/java/ifc/awt/_XWindow.java @@ -212,7 +212,7 @@ public class _XWindow extends MultiMethodTest { * chaged<p> * * Has <b> OK </b> status if methods of wListener were called when - * corresponding events occured. <p> + * corresponding events occurred. <p> * * The following method tests are to be executed before : * <ul> @@ -356,7 +356,7 @@ public class _XWindow extends MultiMethodTest { * Test calls the method. Then we change focus and check that listener's * methods were called. <p> * Has <b> OK </b> status if methods of fListener were called when - * corresponding events occured. <p> + * corresponding events occurred. <p> * The following method tests are to be completed successfully before : * <ul> * <li> <code> setFocus() </code>: sets the focus to the window </li> diff --git a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java index 7ee65e44a..987f9173e 100644 --- a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java @@ -108,16 +108,16 @@ public class _XFastPropertySet extends MultiMethodTest { oObj.setFastPropertyValue(handle, sValue); sValue = oObj.getFastPropertyValue(handle); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change property with handle = " + handle); + log.println("Exception occurred while trying to change property with handle = " + handle); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change property with handle = " + handle); + log.println("Exception occurred while trying to change property with handle = " + handle); e.printStackTrace(log); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change property with handle = " + handle); + log.println("Exception occurred while trying to change property with handle = " + handle); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change property with handle = " + handle); + log.println("Exception occurred while trying to change property with handle = " + handle); e.printStackTrace(log); } @@ -147,12 +147,12 @@ public class _XFastPropertySet extends MultiMethodTest { oObj.getFastPropertyValue(handle); tRes.tested("getFastPropertyValue()",true); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to get property '" + log.println("Exception occurred while trying to get property '" + handle +"'"); e.printStackTrace(log); tRes.tested("getFastPropertyValue()",false); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to get property '" + log.println("Exception occurred while trying to get property '" + handle +"'"); e.printStackTrace(log); tRes.tested("getFastPropertyValue()",false); diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java index ab71b2432..c9769a3a6 100644 --- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java @@ -198,15 +198,15 @@ public class _XMultiPropertySet extends MultiMethodTest { result &= propertiesChanged ; log.println(" ... done"); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+testPropsNames[i] + "' :" + e); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+testPropsNames[i] + "' :" + e); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+testPropsNames[i] + "' :" + e); e.printStackTrace(log); } // end of try-catch @@ -297,15 +297,15 @@ public class _XMultiPropertySet extends MultiMethodTest { } } } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); bResult = false; } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); bResult = false; } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); bResult = false; } // end of try-catch diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java index 3b06cce03..e55f69f28 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java @@ -179,19 +179,19 @@ public class _XPropertySet extends MultiMethodTest { oObj.setPropertyValue(propertyName, ValueChanger.changePValue(gValue)); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } // end of try-catch @@ -239,19 +239,19 @@ public class _XPropertySet extends MultiMethodTest { oObj.setPropertyValue(propertyName, ValueChanger.changePValue(gValue)); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } // end of try-catch @@ -303,19 +303,19 @@ public class _XPropertySet extends MultiMethodTest { oObj.setPropertyValue(propertyName, sValue); sValue = oObj.getPropertyValue(propertyName); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } // end of try-catch @@ -334,7 +334,7 @@ public class _XPropertySet extends MultiMethodTest { /** * Tests <code>getPropertyValue</code> method for the given property. - * Returns true if no exceptions occured + * Returns true if no exceptions occurred */ private boolean getSinglePropertyValue( String propertyName ) { @@ -343,11 +343,11 @@ public class _XPropertySet extends MultiMethodTest { oObj.getPropertyValue(propertyName); runOk = true; } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to get property '"+ + log.println("Exception occurred while trying to get property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to get property '"+ + log.println("Exception occurred while trying to get property '"+ propertyName+"'"); e.printStackTrace(log); } @@ -427,7 +427,7 @@ public class _XPropertySet extends MultiMethodTest { try { oObj.removePropertyChangeListener(propertyName,PClistener); } catch (Exception e) { - log.println("Exception occured while removing change listener from"+ + log.println("Exception occurred while removing change listener from"+ "property '"+ propertyName+"'"); e.printStackTrace(log); } @@ -444,19 +444,19 @@ public class _XPropertySet extends MultiMethodTest { oObj.setPropertyValue(propertyName, ValueChanger.changePValue(gValue)); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } // end of try-catch @@ -503,7 +503,7 @@ public class _XPropertySet extends MultiMethodTest { try { oObj.removeVetoableChangeListener(propertyName,VClistener); } catch (Exception e) { - log.println("Exception occured while removing veto listener from"+ + log.println("Exception occurred while removing veto listener from"+ "property '"+ propertyName+"'"); e.printStackTrace(log); } @@ -520,19 +520,19 @@ public class _XPropertySet extends MultiMethodTest { oObj.setPropertyValue(propertyName, ValueChanger.changePValue(gValue)); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while trying to change "+ + log.println("Exception occurred while trying to change "+ "property '"+ propertyName+"'"); e.printStackTrace(log); } // end of try-catch diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java index 677131176..25134b016 100644 --- a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java +++ b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java @@ -135,11 +135,11 @@ public class _XPropertyState extends MultiMethodTest { log.println("Default property value is : '" + propDef + "'"); } catch (com.sun.star.beans.UnknownPropertyException e) { log.println("Exception " + e + - "occured while getting Property default"); + "occurred while getting Property default"); result=false; } catch (com.sun.star.lang.WrappedTargetException e) { log.println("Exception " + e + - "occured while getting Property default"); + "occurred while getting Property default"); result=false; } tRes.tested("getPropertyDefault()", result); @@ -167,7 +167,7 @@ public class _XPropertyState extends MultiMethodTest { } } catch (com.sun.star.beans.UnknownPropertyException e) { log.println("Exception " + e + - "occured while getting Property state"); + "occurred while getting Property state"); result = false; } tRes.tested("getPropertyState()", result); @@ -202,7 +202,7 @@ public class _XPropertyState extends MultiMethodTest { } } catch (com.sun.star.beans.UnknownPropertyException e) { log.println("Exception " + e + - "occured while getting Property state"); + "occurred while getting Property state"); result = false; } @@ -255,11 +255,11 @@ public class _XPropertyState extends MultiMethodTest { } } catch (com.sun.star.beans.UnknownPropertyException e) { log.println("Exception " + e + - "occured while setting Property to default"); + "occurred while setting Property to default"); result=false; } catch (com.sun.star.lang.WrappedTargetException e) { log.println("Exception " + e + - "occured while testing property value"); + "occurred while testing property value"); result=false; } diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java index 58643bc7e..634ffcbf2 100644 --- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java +++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java @@ -68,7 +68,7 @@ public class _XBridgeFactory extends MultiMethodTest { } /** * Calls <code>accept()</code> method in a separate thread. - * Then stores exception thrown by call if it occured, or + * Then stores exception thrown by call if it occurred, or * return value. */ protected class AcceptorThread extends Thread { @@ -77,7 +77,7 @@ public class _XBridgeFactory extends MultiMethodTest { */ private XAcceptor acc = null ; /** - * If exception occured during method call it is + * If exception occurred during method call it is * stored in this field. */ public Exception ex = null ; diff --git a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java index 7f0ea801f..2623b74ab 100644 --- a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java +++ b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java @@ -57,12 +57,12 @@ public class _XAcceptor extends MultiMethodTest { /** * Calls <code>accept()</code> method in a separate thread. - * Then stores exception thrown by call if it occured, or + * Then stores exception thrown by call if it occurred, or * return value. */ protected class AcceptorThread extends Thread { /** - * If exception occured during method call it is + * If exception occurred during method call it is * stored in this field. */ public Exception ex = null ; @@ -183,7 +183,7 @@ public class _XAcceptor extends MultiMethodTest { acception.acceptedCall.getDescription()) ; } else { if (acception.ex != null) { - log.println("Exception occured in accept() thread :") ; + log.println("Exception occurred in accept() thread :") ; acception.ex.printStackTrace(log) ; } @@ -303,7 +303,7 @@ public class _XAcceptor extends MultiMethodTest { } else { if (acception.ex != null) { - log.println("Exception occured in accept() thread :") ; + log.println("Exception occurred in accept() thread :") ; acception.ex.printStackTrace(log) ; result = false ; } else { diff --git a/qadevOOo/tests/java/ifc/connection/_XConnector.java b/qadevOOo/tests/java/ifc/connection/_XConnector.java index d9788976d..6bb002455 100644 --- a/qadevOOo/tests/java/ifc/connection/_XConnector.java +++ b/qadevOOo/tests/java/ifc/connection/_XConnector.java @@ -53,7 +53,7 @@ public class _XConnector extends MultiMethodTest { /** * Calls <code>accept()</code> method in a separate thread. - * Then stores exception thrown by call if it occured, or + * Then stores exception thrown by call if it occurred, or * return value. */ protected class AcceptorThread extends Thread { @@ -62,7 +62,7 @@ public class _XConnector extends MultiMethodTest { */ private XAcceptor acc = null ; /** - * If exception occured during method call it is + * If exception occurred during method call it is * stored in this field. */ public Exception ex = null ; @@ -167,7 +167,7 @@ public class _XConnector extends MultiMethodTest { acceptorThread.acceptedCall.getDescription()) ; } else { if (acceptorThread.ex != null) { - log.println("Exception occured in accept() thread :") ; + log.println("Exception occurred in accept() thread :") ; acceptorThread.ex.printStackTrace(log) ; } diff --git a/qadevOOo/tests/java/ifc/container/_XChild.java b/qadevOOo/tests/java/ifc/container/_XChild.java index cda4a19ff..fdb416fd0 100644 --- a/qadevOOo/tests/java/ifc/container/_XChild.java +++ b/qadevOOo/tests/java/ifc/container/_XChild.java @@ -88,7 +88,7 @@ public class _XChild extends MultiMethodTest { tRes.tested("setParent()",true); } catch (com.sun.star.lang.NoSupportException ex) { - log.println("Exception occured during setParent()"); + log.println("Exception occurred during setParent()"); ex.printStackTrace(log); tRes.tested("setParent()",false); } diff --git a/qadevOOo/tests/java/ifc/container/_XContainer.java b/qadevOOo/tests/java/ifc/container/_XContainer.java index f4e016100..f069f6305 100644 --- a/qadevOOo/tests/java/ifc/container/_XContainer.java +++ b/qadevOOo/tests/java/ifc/container/_XContainer.java @@ -241,19 +241,19 @@ public class _XContainer extends MultiMethodTest { } NC.removeByName("XContainer_dummy"); } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured "); + log.println("Exception occurred "); ex.printStackTrace(log); bResult = false; } catch (com.sun.star.lang.WrappedTargetException ex) { - log.println("Exception occured "); + log.println("Exception occurred "); ex.printStackTrace(log); bResult = false; } catch (com.sun.star.container.NoSuchElementException ex) { - log.println("Exception occured "); + log.println("Exception occurred "); ex.printStackTrace(log); bResult = false; } catch (com.sun.star.container.ElementExistException ex) { - log.println("Exception occured "); + log.println("Exception occurred "); ex.printStackTrace(log); bResult = false; } diff --git a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java index 03e079156..556da4d08 100644 --- a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java +++ b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java @@ -113,11 +113,11 @@ public class _XContainerQuery extends MultiMethodTest { Object element = subSet.nextElement(); } catch (com.sun.star.container.NoSuchElementException e){ - log.println("Exception occured "); + log.println("Exception occurred "); e.printStackTrace(log); bResult = false; } catch (com.sun.star.lang.WrappedTargetException e){ - log.println("Exception occured "); + log.println("Exception occurred "); e.printStackTrace(log); bResult = false; } @@ -147,11 +147,11 @@ public class _XContainerQuery extends MultiMethodTest { Object element = subSet.nextElement(); } catch (com.sun.star.container.NoSuchElementException e){ - log.println("Exception occured "); + log.println("Exception occurred "); e.printStackTrace(log); bResult = false; } catch (com.sun.star.lang.WrappedTargetException e){ - log.println("Exception occured "); + log.println("Exception occurred "); e.printStackTrace(log); bResult = false; } diff --git a/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java b/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java index 550fc20e7..9d734758b 100644 --- a/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java +++ b/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java @@ -56,7 +56,7 @@ public class _XContentEnumerationAccess extends MultiMethodTest{ serviceNames = oObj.getAvailableServiceNames(); bResult = serviceNames != null ; } catch (Exception e) { - log.println("Exception occured. " + e); + log.println("Exception occurred. " + e); bResult = false; } tRes.tested("getAvailableServiceNames()", bResult); diff --git a/qadevOOo/tests/java/ifc/container/_XEnumeration.java b/qadevOOo/tests/java/ifc/container/_XEnumeration.java index 6b2595656..0a6370d6b 100644 --- a/qadevOOo/tests/java/ifc/container/_XEnumeration.java +++ b/qadevOOo/tests/java/ifc/container/_XEnumeration.java @@ -60,7 +60,7 @@ public class _XEnumeration extends MultiMethodTest { * Retrieves relation and sets oObj to a separate enumeration * created. Retrieves all elements from enumeration.<p> * Has <b> OK </b> status if all elements successfully retrieved - * and exceptions occured. + * and exceptions occurred. */ public void _hasMoreElements() { boolean result = true; diff --git a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java index 0aca5f06e..fdb135bb4 100644 --- a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java +++ b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java @@ -74,7 +74,7 @@ public class _XMimeContentTypeFactory extends MultiMethodTest { result = false ; } } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured : " ) ; + log.println("Exception occurred : " ) ; e.printStackTrace(log) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java index 73baebba7..8c822450f 100644 --- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java +++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java @@ -46,7 +46,7 @@ public class _XClipboardEx extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _getRenderingCapabilities() { byte caps = oObj.getRenderingCapabilities(); diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java index 1c0f5b34d..080fc226e 100644 --- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java +++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java @@ -46,7 +46,7 @@ public class _XFlushableClipboard extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _flushClipboard() { oObj.flushClipboard(); diff --git a/qadevOOo/tests/java/ifc/document/_LinkTarget.java b/qadevOOo/tests/java/ifc/document/_LinkTarget.java index d588c1421..1f3b02e67 100644 --- a/qadevOOo/tests/java/ifc/document/_LinkTarget.java +++ b/qadevOOo/tests/java/ifc/document/_LinkTarget.java @@ -63,7 +63,7 @@ public class _LinkTarget extends MultiPropertyTest { tRes.tested("LinkDisplayName",LDN!=null); } catch (Exception ex) { - log.println("Exception occured during LinkDisplayName"); + log.println("Exception occurred during LinkDisplayName"); ex.printStackTrace(log); tRes.tested("LinkDisplayName",false); } diff --git a/qadevOOo/tests/java/ifc/document/_XActionLockable.java b/qadevOOo/tests/java/ifc/document/_XActionLockable.java index 5cfcb5aab..5ff910148 100644 --- a/qadevOOo/tests/java/ifc/document/_XActionLockable.java +++ b/qadevOOo/tests/java/ifc/document/_XActionLockable.java @@ -50,7 +50,7 @@ public class _XActionLockable extends MultiMethodTest { /** * Method addActionLock called first and then * checked value returned by isActionLocked().<p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is true. */ public void _isActionLocked() { @@ -62,7 +62,7 @@ public class _XActionLockable extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _addActionLock() { requiredMethod("resetActionLocks()"); @@ -72,7 +72,7 @@ public class _XActionLockable extends MultiMethodTest { /** * Calls the method and check value returned by isActionLocked(). <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is false. */ public void _removeActionLock() { @@ -84,7 +84,7 @@ public class _XActionLockable extends MultiMethodTest { /** * Calls the method with specific value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _setActionLocks() { oObj.setActionLocks( nLock ); diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java index 98a39a7a2..0f250470b 100644 --- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java +++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java @@ -159,12 +159,12 @@ public class _XDocumentInsertable extends MultiMethodTest { } } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while testing "+ + log.println("Exception occurred while testing "+ "insertDocumentFromURL()"); ex.printStackTrace(log); result = false ; } catch (com.sun.star.io.IOException ex) { - log.println("Exception occured while testing "+ + log.println("Exception occurred while testing "+ "insertDocumentFromURL()"); ex.printStackTrace(log); result = false ; diff --git a/qadevOOo/tests/java/ifc/document/_XExporter.java b/qadevOOo/tests/java/ifc/document/_XExporter.java index c8ea0ad98..c147f70fc 100644 --- a/qadevOOo/tests/java/ifc/document/_XExporter.java +++ b/qadevOOo/tests/java/ifc/document/_XExporter.java @@ -67,7 +67,7 @@ public class _XExporter extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. * Usually this interface is supported both with <code>XFilter</code> * where source document setting is checked. */ diff --git a/qadevOOo/tests/java/ifc/document/_XFilter.java b/qadevOOo/tests/java/ifc/document/_XFilter.java index 49f7f8b30..1a6a9ad7a 100644 --- a/qadevOOo/tests/java/ifc/document/_XFilter.java +++ b/qadevOOo/tests/java/ifc/document/_XFilter.java @@ -110,7 +110,7 @@ public class _XFilter extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _filter() { if (dummy) { @@ -131,7 +131,7 @@ public class _XFilter extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _cancel() { if (dummy) { diff --git a/qadevOOo/tests/java/ifc/document/_XImporter.java b/qadevOOo/tests/java/ifc/document/_XImporter.java index caae1c60b..7b00adf1e 100644 --- a/qadevOOo/tests/java/ifc/document/_XImporter.java +++ b/qadevOOo/tests/java/ifc/document/_XImporter.java @@ -52,7 +52,7 @@ public class _XImporter extends MultiMethodTest { /** * Retrieves relation and sets target document. <p> - * Has <b> OK </b> status if no runtime exceptions occured, + * Has <b> OK </b> status if no runtime exceptions occurred, * really this method tested when the whole import result * checked. */ diff --git a/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java b/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java index b01063c9c..e2efdca93 100644 --- a/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java +++ b/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java @@ -64,7 +64,7 @@ public class _XStandaloneDocumentInfo extends MultiMethodTest { String newProp = null; /** * Sets new value of the property 'Author' and calls the method. <p> - * Has <b> OK </b> status if no exception occured. + * Has <b> OK </b> status if no exception occurred. */ public void _storeIntoURL() { try { @@ -99,7 +99,7 @@ public class _XStandaloneDocumentInfo extends MultiMethodTest { /** * Calls the method and checks value of the property 'Author'. <p> - * Has <b> OK </b> status if no exception occured and value of the property + * Has <b> OK </b> status if no exception occurred and value of the property * 'Author' is equal to value that was set in the method * <code>storeIntoURL</code>. */ diff --git a/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java b/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java index 8b39c26f9..c64782713 100644 --- a/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java +++ b/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java @@ -61,10 +61,10 @@ public class _GenericDrawPage extends MultiPropertyTest { res=true; } } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("an UnknownPropertyException occured"); + log.println("an UnknownPropertyException occurred"); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("an WrappedTargetException occured"); + log.println("an WrappedTargetException occurred"); } tRes.tested("Number",res); @@ -83,10 +83,10 @@ public class _GenericDrawPage extends MultiPropertyTest { res=true; } } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("an UnknownPropertyException occured"); + log.println("an UnknownPropertyException occurred"); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("an WrappedTargetException occured"); + log.println("an WrappedTargetException occurred"); } tRes.tested("UserDefinedAttributes",res); diff --git a/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java index 4449d96c8..dd499025d 100644 --- a/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java +++ b/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java @@ -118,7 +118,7 @@ public class _LineShapeDescriptor extends MultiMethodTest { tRes.tested(name, true); } } catch (Exception e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); diff --git a/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java index 9c431b08e..4285dd4a0 100644 --- a/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java +++ b/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java @@ -112,14 +112,14 @@ public class _ShapeDescriptor extends MultiMethodTest { "' is optional and not supported"); tRes.tested(name,true); } else { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); ex.printStackTrace(log); tRes.tested(name, false); } } catch (Exception e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); diff --git a/qadevOOo/tests/java/ifc/drawing/_Text.java b/qadevOOo/tests/java/ifc/drawing/_Text.java index 8e0cf1891..c5cb834e3 100644 --- a/qadevOOo/tests/java/ifc/drawing/_Text.java +++ b/qadevOOo/tests/java/ifc/drawing/_Text.java @@ -57,7 +57,7 @@ public class _Text extends MultiPropertyTest { oObj.getPropertyValue( "NumberingRules" ); bResult = true; } catch( Exception e ) { - log.println("Error occured while trying to get property"+ + log.println("Error occurred while trying to get property"+ " 'NumberingRules'"); e.printStackTrace( log ); bResult = false; diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java index 204f2c639..a708745e6 100644 --- a/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java +++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java @@ -73,11 +73,11 @@ public class _XDrawPageDuplicator extends MultiMethodTest { DP = (XDrawPage) AnyConverter.toObject( new Type(XDrawPage.class),DPs.getByIndex(0)); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while testing: " + e); + log.println("Exception occurred while testing: " + e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while testing: " + e); + log.println("Exception occurred while testing: " + e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while testing: " + e); + log.println("Exception occurred while testing: " + e); } if (DP != null) { diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawView.java b/qadevOOo/tests/java/ifc/drawing/_XDrawView.java index cd0018d79..c7a14f30a 100644 --- a/qadevOOo/tests/java/ifc/drawing/_XDrawView.java +++ b/qadevOOo/tests/java/ifc/drawing/_XDrawView.java @@ -95,15 +95,15 @@ public class _XDrawView extends MultiMethodTest { oObj.setCurrentPage(the_page); tRes.tested("setCurrentPage()",eq); } catch (com.sun.star.lang.WrappedTargetException ex) { - log.println("Exception occured while checking 'setCurrentPage()'"); + log.println("Exception occurred while checking 'setCurrentPage()'"); ex.printStackTrace(log); tRes.tested("setCurrentPage()",false); } catch (com.sun.star.lang.IndexOutOfBoundsException ex) { - log.println("Exception occured while checking 'setCurrentPage()'"); + log.println("Exception occurred while checking 'setCurrentPage()'"); ex.printStackTrace(log); tRes.tested("setCurrentPage()",false); } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while checking 'setCurrentPage()'"); + log.println("Exception occurred while checking 'setCurrentPage()'"); ex.printStackTrace(log); tRes.tested("setCurrentPage()",false); } diff --git a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java index 7578975a3..cbfe925e9 100644 --- a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java +++ b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java @@ -106,7 +106,7 @@ public class _DataAwareControlModel extends MultiPropertyTest { * 'Address'. <p> * Has <b> OK </b> status if the proeprty was properly set * and no exceptions were thrown. If old and new values are equal - * the test is OK if no exceptions occured and the value remains + * the test is OK if no exceptions occurred and the value remains * the same.<p> */ public void _DataField() { diff --git a/qadevOOo/tests/java/ifc/form/_XFormController.java b/qadevOOo/tests/java/ifc/form/_XFormController.java index 5f9ebd8b1..b2fbd9fdf 100644 --- a/qadevOOo/tests/java/ifc/form/_XFormController.java +++ b/qadevOOo/tests/java/ifc/form/_XFormController.java @@ -60,7 +60,7 @@ public class _XFormController extends MultiMethodTest { XWindow otherWind = null; /** - * Listener which determines and stores events occured. + * Listener which determines and stores events occurred. */ protected class MyListener implements XFormControllerListener { public boolean activated = false ; diff --git a/qadevOOo/tests/java/ifc/form/_XGrid.java b/qadevOOo/tests/java/ifc/form/_XGrid.java index 8de0741dc..8308b64a0 100644 --- a/qadevOOo/tests/java/ifc/form/_XGrid.java +++ b/qadevOOo/tests/java/ifc/form/_XGrid.java @@ -67,7 +67,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 occured. + * Has <b> OK </b> status if no exceptions was occurred. */ public void _setCurrentColumnPosition() { log.println("Testing setCurrentColumnPosition()..."); diff --git a/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java b/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java index 707fac8ca..93f80353d 100644 --- a/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java +++ b/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java @@ -70,7 +70,7 @@ public class _XGridColumnFactory extends MultiMethodTest { tRes.tested("createColumn()",column!=null); } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while creating Column"); + log.println("Exception occurred while creating Column"); tRes.tested("createColumn()",false); } } diff --git a/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java b/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java index 269d3c91d..a1d315041 100644 --- a/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java +++ b/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java @@ -47,7 +47,7 @@ public class _XGridFieldDataSupplier extends MultiMethodTest { /** * Calls the method and checks returned value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _queryFieldDataType() { @@ -57,7 +57,7 @@ public class _XGridFieldDataSupplier extends MultiMethodTest { /** * Calls the method and checks returned value. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _queryFieldData() { diff --git a/qadevOOo/tests/java/ifc/form/_XLoadable.java b/qadevOOo/tests/java/ifc/form/_XLoadable.java index d04bf79e4..5679ae224 100644 --- a/qadevOOo/tests/java/ifc/form/_XLoadable.java +++ b/qadevOOo/tests/java/ifc/form/_XLoadable.java @@ -208,7 +208,7 @@ public class _XLoadable extends MultiMethodTest { /** * Adds a listener. If its methods are called or not is checked * in other object methods. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _addLoadListener() { diff --git a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java index 67c782037..c529ccc86 100644 --- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java +++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java @@ -219,7 +219,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest { ! listener.updateCalled ; } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured during removeUpdateListener()"); + log.println("Exception occurred during removeUpdateListener()"); e.printStackTrace(log); bResult = false; } diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java index bc3fe69df..4906e9a95 100644 --- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java +++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java @@ -146,17 +146,17 @@ public class _XValidatableFormComponent extends MultiMethodTest } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while setting properties"); + log.println("Exception occurred while setting properties"); e.printStackTrace(log); } // end of try-catch diff --git a/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java index 0149b8682..5c7f650f4 100644 --- a/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java +++ b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java @@ -139,12 +139,12 @@ public class _XComponentLoader extends MultiMethodTest { } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while loading"); + log.println("Exception occurred while loading"); e.printStackTrace(log); result=false; } catch (com.sun.star.io.IOException e) { - log.println("Exception occured while loading"); + log.println("Exception occurred while loading"); e.printStackTrace(log); result=false; } diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatch.java b/qadevOOo/tests/java/ifc/frame/_XDispatch.java index 3f760dded..f605f8966 100644 --- a/qadevOOo/tests/java/ifc/frame/_XDispatch.java +++ b/qadevOOo/tests/java/ifc/frame/_XDispatch.java @@ -201,7 +201,7 @@ public class _XDispatch extends MultiMethodTest { /** * Adds two listeners. <p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _addStatusListener() { diff --git a/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java b/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java index 7aee5f6eb..31fe93e46 100644 --- a/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java +++ b/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java @@ -207,7 +207,7 @@ public class _XDocumentTemplates extends MultiMethodTest { statRes.next(); } } catch (com.sun.star.sdbc.SQLException e) { - log.println("Exception occured:" + e); + log.println("Exception occurred:" + e); } return ret; @@ -218,7 +218,7 @@ public class _XDocumentTemplates extends MultiMethodTest { try { statResSet = getDynaResultSet(content).getStaticResultSet(); } catch(com.sun.star.ucb.ListenerAlreadySetException e) { - log.println("Exception occured:" + e); + log.println("Exception occurred:" + e); } return statResSet; } @@ -267,7 +267,7 @@ public class _XDocumentTemplates extends MultiMethodTest { statRes.next(); } } catch(com.sun.star.sdbc.SQLException e) { - log.println("Exception occured:" + e); + log.println("Exception occurred:" + e); } return subContent; diff --git a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java index ffb34939a..cbaac407a 100644 --- a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java +++ b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java @@ -88,11 +88,11 @@ public class _XFramesSupplier extends MultiMethodTest { log.println("Can't convert any"); } } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } @@ -136,11 +136,11 @@ public class _XFramesSupplier extends MultiMethodTest { result = false ; } } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } @@ -181,11 +181,11 @@ public class _XFramesSupplier extends MultiMethodTest { log.println("Can't convert any"); } } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while calling getByIndex() method :") ; + log.println("Exception occurred while calling getByIndex() method :") ; e.printStackTrace(log) ; return; } diff --git a/qadevOOo/tests/java/ifc/frame/_XModel.java b/qadevOOo/tests/java/ifc/frame/_XModel.java index 4cc92fbe5..6f906b80c 100644 --- a/qadevOOo/tests/java/ifc/frame/_XModel.java +++ b/qadevOOo/tests/java/ifc/frame/_XModel.java @@ -156,7 +156,7 @@ public class _XModel extends MultiMethodTest { try { selsupp.select(toSelect); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while select:"); + log.println("Exception occurred while select:"); e.printStackTrace(log); return; diff --git a/qadevOOo/tests/java/ifc/frame/_XStorable.java b/qadevOOo/tests/java/ifc/frame/_XStorable.java index 416065db5..55d3f7b1a 100644 --- a/qadevOOo/tests/java/ifc/frame/_XStorable.java +++ b/qadevOOo/tests/java/ifc/frame/_XStorable.java @@ -190,7 +190,7 @@ public class _XStorable extends MultiMethodTest { * Has <b> OK </b> status if: * <ol> * <li>component was stored, object is not readonly and has location</li> - * <li>exception occured because of component is readonly + * <li>exception occurred because of component is readonly * and wasn't stored</li> * </ol> */ diff --git a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java index 714246a1d..270b4c6c5 100644 --- a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java +++ b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java @@ -94,7 +94,7 @@ public class _XObjectInspector extends MultiMethodTest { /** * Inspects a new collection of one or more objects given by object realtion * <CODE>XObjectInspector.toInspect</CODE><br> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _inspect() { diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java index 905558b55..376150b62 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java @@ -216,7 +216,7 @@ public class _XActiveDataControl extends MultiMethodTest { throw new StatusException(Status.failed(e.getMessage())); } - // check, if any error occured + // check, if any error occurred if (errorCalled) { Status.failed("Unexpected error"); log.println("Unexpected error " + error); diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java index c415d0c02..0f1c25e68 100644 --- a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java +++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java @@ -70,7 +70,7 @@ public class _XActiveDataSink extends MultiMethodTest { /** * Just sets new input stream. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _setInputStream() { oObj.setInputStream(iStream) ; diff --git a/qadevOOo/tests/java/ifc/io/_XPersistObject.java b/qadevOOo/tests/java/ifc/io/_XPersistObject.java index 4d236b89e..6f8b63545 100644 --- a/qadevOOo/tests/java/ifc/io/_XPersistObject.java +++ b/qadevOOo/tests/java/ifc/io/_XPersistObject.java @@ -177,7 +177,7 @@ public class _XPersistObject extends MultiMethodTest { } } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured : "); + log.println("Exception occurred : "); e.printStackTrace(log) ; bResult = false; } @@ -196,7 +196,7 @@ public class _XPersistObject extends MultiMethodTest { initPipe(); oObj.write(oStream); } catch (com.sun.star.io.IOException e) { - log.println("Exception occured while test. " + e); + log.println("Exception occurred while test. " + e); bResult = false; } tRes.tested("write()", bResult); diff --git a/qadevOOo/tests/java/ifc/lang/_XInitialization.java b/qadevOOo/tests/java/ifc/lang/_XInitialization.java index bf7d3fb3f..e820d1070 100644 --- a/qadevOOo/tests/java/ifc/lang/_XInitialization.java +++ b/qadevOOo/tests/java/ifc/lang/_XInitialization.java @@ -77,20 +77,20 @@ public class _XInitialization extends MultiMethodTest { result = false; xInit.initialize(ExArgs); } catch (com.sun.star.uno.Exception e) { - log.println("Expected Exception 'com.sun.star.uno.Exception' occured -> OK") ; + log.println("Expected Exception 'com.sun.star.uno.Exception' occurred -> OK") ; result = true ; } catch (com.sun.star.uno.RuntimeException e) { - log.println("Expected Exception 'com.sun.star.uno.RuntimeException' occured -> OK") ; + log.println("Expected Exception 'com.sun.star.uno.RuntimeException' occurred -> OK") ; result = true ; } catch (Exception e) { - log.println("Un-Expected Exception occured -> FALSE") ; + log.println("Un-Expected Exception occurred -> FALSE") ; log.println(e.toString()); e.printStackTrace(); } } } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured while method calling.") ; + log.println("Exception occurred while method calling.") ; log.println(e) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/lang/_XMain.java b/qadevOOo/tests/java/ifc/lang/_XMain.java index ab3954ec3..393f56eba 100644 --- a/qadevOOo/tests/java/ifc/lang/_XMain.java +++ b/qadevOOo/tests/java/ifc/lang/_XMain.java @@ -55,7 +55,7 @@ public class _XMain extends MultiMethodTest{ /** * Just calls the method. <p> * - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _run() { String[] args = (String[])tEnv.getObjRelation("ARGS"); diff --git a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java index 5c2bb53c8..8ec347476 100644 --- a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java +++ b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java @@ -58,7 +58,7 @@ public class _XMultiComponentFactory extends MultiMethodTest { /** * Calls the method with one of the available service names * obtained by method getAvailableServiceNames. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _createInstanceWithContext() { @@ -81,7 +81,7 @@ public class _XMultiComponentFactory extends MultiMethodTest { /** * Calls the method with one of the available service names * obtained by method getAvailableServiceNames. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _createInstanceWithArgumentsAndContext() { @@ -103,7 +103,7 @@ public class _XMultiComponentFactory extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _getAvailableServiceNames() { diff --git a/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java b/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java index 5eafe0a7f..0e83c25c4 100644 --- a/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java +++ b/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java @@ -133,7 +133,7 @@ public class _XMultiServiceFactory extends MultiMethodTest { Object Inst = oObj.createInstance(services[k]); res = (Inst != null); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured during createInstance()"); + log.println("Exception occurred during createInstance()"); ex.printStackTrace(log); res = false; } @@ -185,7 +185,7 @@ public class _XMultiServiceFactory extends MultiMethodTest { res &= (Inst != null); } catch (com.sun.star.uno.Exception ex) { log.println( - "Exception occured during createInstanceWithArguments()"); + "Exception occurred during createInstanceWithArguments()"); ex.printStackTrace(log); res = false; } diff --git a/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java b/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java index 0eed0e8c6..0b81622f8 100644 --- a/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java +++ b/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java @@ -48,7 +48,7 @@ public class _XServiceInfo extends MultiMethodTest { /** * Just calls the method.<p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getImplementationName() { boolean result = true; @@ -64,7 +64,7 @@ public class _XServiceInfo extends MultiMethodTest { /** * Just calls the method.<p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getSupportedServiceNames() { boolean result = true; diff --git a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java index 1bba7b25c..b616f6edb 100644 --- a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java +++ b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java @@ -112,7 +112,7 @@ public class _XSingleServiceFactory extends MultiMethodTest { tRes.tested("createInstance()", (negative && Inst == null) || (!negative && bOK)); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured during createInstance()"); + log.println("Exception occurred during createInstance()"); if (negative) { ex.printStackTrace(log); } @@ -157,7 +157,7 @@ public class _XSingleServiceFactory extends MultiMethodTest { tRes.tested("createInstanceWithArguments()", bOK); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured during createInstanceWithArguments()"); + log.println("Exception occurred during createInstanceWithArguments()"); ex.printStackTrace(log); tRes.tested("createInstanceWithArguments()",false); } diff --git a/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java b/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java index 940f1fb90..3703b5bfd 100644 --- a/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java +++ b/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java @@ -49,7 +49,7 @@ public class _XTypeProvider extends MultiMethodTest { /** * Just calls the method.<p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getImplementationId() { boolean result = true; diff --git a/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java b/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java index 6d36198bf..000b8fc3e 100644 --- a/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java +++ b/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java @@ -58,7 +58,7 @@ public class _XCompletedConnection extends MultiMethodTest { * Test call the method with handler passed as object relation. * Then value returned is checked.<p> * Has OK status if not null value returned. < > - * FAILED if exception occured, null value returned or object + * FAILED if exception occurred, null value returned or object * relation was not found. */ public void _connectWithCompletion() throws StatusException { diff --git a/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java b/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java index ab4c0d936..d11fa47ee 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java @@ -62,7 +62,7 @@ public class _XCloseable extends MultiMethodTest { oObj.close(); res = true; } catch (SQLException e) { - log.println("Unexpected SQL Exception occured:" + e) ; + log.println("Unexpected SQL Exception occurred:" + e) ; res = false; } @@ -72,10 +72,10 @@ public class _XCloseable extends MultiMethodTest { if (resSet != null) { try { resSet.first(); - log.println("Expected SQLException not occured !"); + log.println("Expected SQLException not occurred !"); res = false; } catch(SQLException e) { - log.println("Expected SQLException occured"); + log.println("Expected SQLException occurred"); res = true; } } diff --git a/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java b/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java index bb391c183..9ef1f0beb 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java @@ -73,7 +73,7 @@ public class _XColumnLocate extends MultiMethodTest { int colIdx = oObj.findColumn(colName) ; result = colIdx == 1 ; } catch (SQLException e) { - log.println("Exception occured:"); + log.println("Exception occurred:"); e.printStackTrace(log); result = false; } diff --git a/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java b/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java index dd2500fdf..e410e2980 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java @@ -59,7 +59,7 @@ public class _XIsolatedConnection extends MultiMethodTest { * Test call the method with handler passed as object relation. * Then value returned is checked.<p> * Has OK status if not null value returned. < > - * FAILED if exception occured, null value returned or object + * FAILED if exception occurred, null value returned or object * relation was not found. */ public void _getIsolatedConnectionWithCompletion() throws StatusException { @@ -86,7 +86,7 @@ public class _XIsolatedConnection extends MultiMethodTest { * Test call the method with handler passed as object relation. * Then value returned is checked.<p> * Has OK status if not null value returned. < > - * FAILED if exception occured, null value returned or object + * FAILED if exception occurred, null value returned or object * relation was not found. */ public void _getIsolatedConnection() throws StatusException { diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java index a87562948..aaac5d126 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java @@ -118,7 +118,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets String parameter (if exists) to SQL NULL value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setNull() { boolean result = true ; @@ -146,7 +146,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets String parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setString() { boolean result = true ; @@ -167,7 +167,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setBoolean() { boolean result = true ; @@ -188,7 +188,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setByte() { boolean result = true ; @@ -209,7 +209,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setShort() { boolean result = true ; @@ -230,7 +230,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setInt() { boolean result = true ; @@ -251,7 +251,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setLong() { boolean result = true ; @@ -272,7 +272,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setFloat() { boolean result = true ; @@ -293,7 +293,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setDouble() { boolean result = true ; @@ -314,7 +314,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setBytes() { boolean result = true ; @@ -335,7 +335,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setDate() { boolean result = true ; @@ -357,7 +357,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setTime() { boolean result = true ; @@ -379,7 +379,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setTimestamp() { boolean result = true ; @@ -401,7 +401,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setBinaryStream() { boolean result = true ; @@ -431,7 +431,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setCharacterStream() { boolean result = true ; @@ -461,7 +461,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setObject() { boolean result = true ; @@ -489,7 +489,7 @@ public class _XParameters extends MultiMethodTest { /** * Sets parameter (if exists) to new value. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _setObjectWithInfo() { boolean result = true ; @@ -542,7 +542,7 @@ public class _XParameters extends MultiMethodTest { /** * Calls method. <p> - * Has OK status if no exceptions occured. + * Has OK status if no exceptions occurred. */ public void _clearParameters() { boolean result = true ; diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java index 0f62b6659..55894e8f8 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java @@ -106,7 +106,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.beforeFirst() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("beforeFirst()", false) ; return ; @@ -132,7 +132,7 @@ public class _XResultSet extends MultiMethodTest { try { result = oObj.isBeforeFirst() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -147,7 +147,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.afterLast() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("afterLast()", false) ; return ; @@ -173,7 +173,7 @@ public class _XResultSet extends MultiMethodTest { try { result = oObj.isAfterLast() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -188,7 +188,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.first() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("first()", false) ; return ; @@ -214,7 +214,7 @@ public class _XResultSet extends MultiMethodTest { try { result = oObj.isFirst() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -229,7 +229,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.last() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("last()", false) ; return ; @@ -254,7 +254,7 @@ public class _XResultSet extends MultiMethodTest { try { result = oObj.isLast() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -271,7 +271,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.absolute(1) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -295,7 +295,7 @@ public class _XResultSet extends MultiMethodTest { try { result &= oObj.getRow() == 1; } catch (SQLException e) { - log.println("Exception occured:"); + log.println("Exception occurred:"); e.printStackTrace(log); result = false; } @@ -319,7 +319,7 @@ public class _XResultSet extends MultiMethodTest { log.println("Row was : " + prevRow + ", row is : " + oObj.getRow()); result &= prevRow + 1 == oObj.getRow() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -342,7 +342,7 @@ public class _XResultSet extends MultiMethodTest { log.println("Row was : " + prevRow + ", row is : " + oObj.getRow()); result &= prevRow - 1 == oObj.getRow() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -367,7 +367,7 @@ public class _XResultSet extends MultiMethodTest { result &= prevRow + 2 == oObj.getRow() ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; result = false ; } @@ -395,7 +395,7 @@ public class _XResultSet extends MultiMethodTest { oObj.refreshRow() ; tRes.tested("refreshRow()", true) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("refreshRow()", false) ; } @@ -414,7 +414,7 @@ public class _XResultSet extends MultiMethodTest { log.println("Value after refresh: " + valAfterRefresh); tRes.tested("refreshRow()", valAfterRefresh.equals(oldValue)); } catch(SQLException e) { - log.println("Exception occured :"); + log.println("Exception occurred :"); e.printStackTrace(log); tRes.tested("refreshRow()", false); } @@ -431,7 +431,7 @@ public class _XResultSet extends MultiMethodTest { boolean res = oObj.rowUpdated() ; tRes.tested("rowUpdated()", true) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("rowUpdated()", false) ; } @@ -446,7 +446,7 @@ public class _XResultSet extends MultiMethodTest { boolean res = oObj.rowInserted() ; tRes.tested("rowInserted()", true) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("rowInserted()", false) ; } @@ -461,7 +461,7 @@ public class _XResultSet extends MultiMethodTest { boolean res = oObj.rowDeleted() ; tRes.tested("rowDeleted()", true) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("rowDeleted()", false) ; } @@ -481,7 +481,7 @@ public class _XResultSet extends MultiMethodTest { tRes.tested("getStatement()", (hasStatement && res != null) || !hasStatement) ; } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; tRes.tested("getStatement()", false) ; } @@ -496,7 +496,7 @@ public class _XResultSet extends MultiMethodTest { try { oObj.first(); } catch (SQLException e) { - log.println("Exception occured :") ; + log.println("Exception occurred :") ; e.printStackTrace(log) ; } } diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRow.java b/qadevOOo/tests/java/ifc/sdbc/_XRow.java index 7e7845344..1fb3aee9a 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XRow.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XRow.java @@ -142,7 +142,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getString() { boolean result = true ; @@ -164,7 +164,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getBoolean() { boolean result = true ; @@ -186,7 +186,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getByte() { boolean result = true ; @@ -208,7 +208,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getShort() { boolean result = true ; @@ -230,7 +230,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getInt() { boolean result = true ; @@ -250,7 +250,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getLong() { boolean result = true ; @@ -270,7 +270,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getFloat() { boolean result = true ; @@ -290,7 +290,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getDouble() { boolean result = true ; @@ -310,7 +310,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getBytes() { boolean result = true ; @@ -330,7 +330,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getDate() { boolean result = true ; @@ -350,7 +350,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getTime() { boolean result = true ; @@ -370,7 +370,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getTimestamp() { boolean result = true ; @@ -390,7 +390,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getBinaryStream() { boolean result = true ; @@ -410,7 +410,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getCharacterStream() { boolean result = true ; @@ -430,7 +430,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getObject() { boolean result = true ; @@ -450,7 +450,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getRef() { boolean result = true ; @@ -470,7 +470,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getBlob() { boolean result = true ; @@ -490,7 +490,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getClob() { boolean result = true ; @@ -510,7 +510,7 @@ public class _XRow extends MultiMethodTest { } /** - * Has <b>OK</b> status if no exceptions occured in method call. + * Has <b>OK</b> status if no exceptions occurred in method call. */ public void _getArray() { boolean result = true ; diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java index 78099cee0..4070143cb 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java @@ -113,7 +113,7 @@ public class _XRowSet extends MultiMethodTest { try { oObj.execute() ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java b/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java index 9f49eec04..dba42d7c7 100644 --- a/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java +++ b/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java @@ -102,7 +102,7 @@ public class _XWarningsSupplier extends MultiMethodTest { } catch (SQLException e) { - log.println("Exception occured :"); + log.println("Exception occurred :"); e.printStackTrace(log); tRes.tested("getWarnings()", res); return; @@ -127,7 +127,7 @@ public class _XWarningsSupplier extends MultiMethodTest { Object warns = oObj.getWarnings(); res = (utils.isVoid(warns)); } catch (SQLException e) { - log.println("Exception occured :"); + log.println("Exception occurred :"); e.printStackTrace(log); tRes.tested("clearWarnings()", res); return; diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java b/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java index 0e11f9c59..1bad514ad 100644 --- a/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java +++ b/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java @@ -69,7 +69,7 @@ public class _XRowLocate extends MultiMethodTest { try { bookmark1 = oObj.getBookmark() ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; } tRes.tested("getBookmark()", bookmark1 != null) ; @@ -90,7 +90,7 @@ public class _XRowLocate extends MultiMethodTest { * </ul> <p> * Has OK status difference between positions of bookmarks (where * cursor was moved to and created new one) equals to 0 and no - * exceptions occured, FAILED otherwise. + * exceptions occurred, FAILED otherwise. */ public void _moveToBookmark() { requiredMethod("getBookmark()") ; @@ -105,7 +105,7 @@ public class _XRowLocate extends MultiMethodTest { } comparison = oObj.compareBookmarks(bookmark1, tmpBookmark) ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; } tRes.tested("moveToBookmark()", comparison == 0) ; @@ -119,7 +119,7 @@ public class _XRowLocate extends MultiMethodTest { * <ul> * <li> <code>getBookmark()</code> : to have a bookmark to move to.</li> * </ul> <p> - * Has OK status if no exceptions occured while method call. + * Has OK status if no exceptions occurred while method call. */ public void _moveRelativeToBookmark() { requiredMethod("getBookmark()") ; @@ -131,7 +131,7 @@ public class _XRowLocate extends MultiMethodTest { bookmark2 = oObj.getBookmark() ; } } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; result = false ; } @@ -159,7 +159,7 @@ public class _XRowLocate extends MultiMethodTest { comparison = oObj.compareBookmarks(bookmark1, bookmark2) ; comparison1 = oObj.compareBookmarks(bookmark1, bookmark1) ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; } if (comparison != -1) { @@ -187,7 +187,7 @@ public class _XRowLocate extends MultiMethodTest { try { res = oObj.hasOrderedBookmarks() ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; result = false ; } @@ -223,7 +223,7 @@ public class _XRowLocate extends MultiMethodTest { result = hash1 != hash2 ; } catch (SQLException e) { - log.println("Exception occured :" + e) ; + log.println("Exception occurred :" + e) ; result = false ; } diff --git a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java index 688b77d2e..33f29a739 100644 --- a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java +++ b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java @@ -95,7 +95,7 @@ public class _DatabaseImportDescriptor extends MultiMethodTest { tRes.tested(name, true); } } catch (Exception e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); diff --git a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java index 9a9e24208..cff161d82 100644 --- a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java +++ b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java @@ -93,7 +93,7 @@ public class _FunctionDescription extends MultiMethodTest { } } catch (Exception e) { log.println( - "Exception occured while testing property 'Arguments'" ); + "Exception occurred while testing property 'Arguments'" ); e.printStackTrace( log ); tRes.tested( "Arguments", false ); } @@ -145,7 +145,7 @@ public class _FunctionDescription extends MultiMethodTest { } catch ( Exception e ) { log.println( - "Exception occured while testing property '" + name + "'" ); + "Exception occurred while testing property '" + name + "'" ); e.printStackTrace( log ); tRes.tested( name, false ); } diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java index f4628605f..8af79c530 100644 --- a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java +++ b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java @@ -133,7 +133,7 @@ public class _SheetSortDescriptor extends MultiMethodTest { tRes.tested(name, true); } } catch (Exception e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java index da7201829..4c18a7a3e 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java +++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java @@ -99,7 +99,7 @@ public class _XDataPilotTables extends MultiMethodTest { bResult &= oSheet.getCellByPosition (CA.Column, CA.Row).getFormula().equals("Filter"); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured! " + e); + log.println("Exception occurred! " + e); bResult = false; } @@ -136,7 +136,7 @@ public class _XDataPilotTables extends MultiMethodTest { bResult &= oSheet.getCellByPosition (CA.Column, CA.Row).getFormula().equals(""); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured ! " + e); + log.println("Exception occurred ! " + e); bResult = false; } log.println(bResult ? "OK" : "FAILED"); diff --git a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java index a1ef29354..6b72d1c76 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java +++ b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java @@ -74,7 +74,7 @@ public class _XDatabaseRanges extends MultiMethodTest { log.println("Exception expected... Test failed."); bResult = false; } catch(com.sun.star.uno.RuntimeException e) { - log.println("Exception occured while testing addNewByName() : " + e); + log.println("Exception occurred while testing addNewByName() : " + e); bResult = true; } @@ -102,7 +102,7 @@ public class _XDatabaseRanges extends MultiMethodTest { oObj.removeByName(name); bResult &= !oObj.hasByName(name); } catch (com.sun.star.uno.RuntimeException e) { - log.println("Exception occured while testing removeByName() : " + e); + log.println("Exception occurred while testing removeByName() : " + e); bResult = false; } diff --git a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java index 4151fdfbc..ee6319d2f 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java +++ b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java @@ -282,7 +282,7 @@ public class _XNamedRanges extends MultiMethodTest { log.println("Exception expected when removed unexistent element!"); bResult = false; } catch (com.sun.star.uno.RuntimeException e) { - log.println("Expected exception occured while testing" + + log.println("Expected exception occurred while testing" + "removeByName() when removed unexistent element."); } diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java index 1eb75f9a3..64801668e 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java +++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java @@ -69,7 +69,7 @@ public class _XSheetOperation extends MultiMethodTest { } catch (com.sun.star.uno.Exception e) { result &= false ; log.println( - "Exception occured while checking results of method"); + "Exception occurred while checking results of method"); e.printStackTrace(log); } @@ -93,7 +93,7 @@ public class _XSheetOperation extends MultiMethodTest { result = resultVal >= 0; } catch (com.sun.star.uno.Exception e) { result = false; - log.println("Exception occured in method computeFunction."); + log.println("Exception occurred in method computeFunction."); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java index a377c1c0d..0381abca8 100644 --- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java +++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java @@ -120,7 +120,7 @@ public class _XSpreadsheets extends MultiMethodTest { * the collection, removes the sheet, tries to insert the sheet with the * bad name returned by method <code>badName()</code>. <p> * Has <b> OK </b> status if the inserted sheet exists in the collection - * after first method call and if exception occured during the second call. <p> + * after first method call and if exception occurred during the second call. <p> */ public void _insertNewByName() { boolean result = false; @@ -152,7 +152,7 @@ public class _XSpreadsheets extends MultiMethodTest { oObj.removeByName(NewSheet); } catch (com.sun.star.uno.RuntimeException e) { log.println( - "Expected exception occured during testing 'insertNewByName'"); + "Expected exception occurred during testing 'insertNewByName'"); result &= true; } catch (com.sun.star.lang.WrappedTargetException e) { log.print("Can't remove sheet '" + NewSheet + "':"); diff --git a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java index 5235bc2fd..83907156c 100644 --- a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java +++ b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java @@ -412,23 +412,23 @@ public class _CharacterProperties extends MultiPropertyTest { tRes.tested(name,true); } else { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); ex.printStackTrace(log); tRes.tested(name, false); } } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured while testing property '" + + log.println("Exception occurred while testing property '" + name + "'"); e.printStackTrace(log); tRes.tested(name, false); diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java index 64c22912f..58c4c0184 100644 --- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java +++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java @@ -300,13 +300,13 @@ public class _ParagraphProperties extends MultiPropertyTest { oObj.setPropertyValue("ParaAdjust", com.sun.star.style.ParagraphAdjust.BLOCK); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured setting property 'ParagraphAdjust'" + e); + log.println("Exception occurred setting property 'ParagraphAdjust'" + e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured setting property 'ParagraphAdjust'" + e); + log.println("Exception occurred setting property 'ParagraphAdjust'" + e); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println("Exception occured setting property 'ParagraphAdjust'" + e); + log.println("Exception occurred setting property 'ParagraphAdjust'" + e); } catch (com.sun.star.beans.PropertyVetoException e) { - log.println("Exception occured setting property 'ParagraphAdjust'" + e); + log.println("Exception occurred setting property 'ParagraphAdjust'" + e); } testProperty("ParaLastLineAdjust", ShortTester); diff --git a/qadevOOo/tests/java/ifc/style/_XStyle.java b/qadevOOo/tests/java/ifc/style/_XStyle.java index 5f6a5e38b..377cd3b8e 100644 --- a/qadevOOo/tests/java/ifc/style/_XStyle.java +++ b/qadevOOo/tests/java/ifc/style/_XStyle.java @@ -107,7 +107,7 @@ public class _XStyle extends MultiMethodTest { try { oObj.setParentStyle(oMyStyle.getName()); } catch (com.sun.star.container.NoSuchElementException e) { - log.println("Exception occured while method call: " + e); + log.println("Exception occurred while method call: " + e); result = false ; } diff --git a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java index edb2ccab1..02b6338d2 100644 --- a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java +++ b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java @@ -117,7 +117,7 @@ public class _XAutoFormattable extends MultiMethodTest { bResult &= !bkgrnd1.equals(bkgrnd2); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured :"); + log.println("Exception occurred :"); e.printStackTrace(log); bResult = false; } diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndex.java b/qadevOOo/tests/java/ifc/text/_BaseIndex.java index 805489358..cd1724181 100644 --- a/qadevOOo/tests/java/ifc/text/_BaseIndex.java +++ b/qadevOOo/tests/java/ifc/text/_BaseIndex.java @@ -134,13 +134,13 @@ public class _BaseIndex extends MultiPropertyTest { indProp.replaceByIndex(0, newVal); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while testing LevelFormat"); + log.println("Exception occurred while testing LevelFormat"); e.printStackTrace(log); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while testing LevelFormat"); + log.println("Exception occurred while testing LevelFormat"); e.printStackTrace(log); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while testing LevelFormat"); + log.println("Exception occurred while testing LevelFormat"); e.printStackTrace(log); } @@ -194,10 +194,10 @@ public class _BaseIndex extends MultiPropertyTest { } } } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while printing LevelFormat"); + log.println("Exception occurred while printing LevelFormat"); e.printStackTrace(log); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while printing LevelFormat"); + log.println("Exception occurred while printing LevelFormat"); e.printStackTrace(log); } } diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java index cc260f209..527851dee 100644 --- a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java +++ b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java @@ -135,7 +135,7 @@ public class _XAutoTextGroup extends MultiMethodTest { result = !util.ValueComparer.equalValue(before, after); } catch (com.sun.star.container.ElementExistException ex) { - log.println("Exception occured while testing insertNewByName"); + log.println("Exception occurred while testing insertNewByName"); ex.printStackTrace(log); result = false; } @@ -180,7 +180,7 @@ public class _XAutoTextGroup extends MultiMethodTest { !ValueComparer.equalValue(before,after)); } catch (com.sun.star.container.NoSuchElementException ex) { - log.println("Exception occured while testing removeByName"); + log.println("Exception occurred while testing removeByName"); ex.printStackTrace(log); tRes.tested("removeByName()",false); } @@ -212,7 +212,7 @@ public class _XAutoTextGroup extends MultiMethodTest { names = oObj.getElementNames() ; result = true; } catch (com.sun.star.container.ElementExistException e) { - log.println("Unexpected exception occured :") ; + log.println("Unexpected exception occurred :") ; e.printStackTrace(log); } finally { if (!result) { @@ -279,15 +279,15 @@ public class _XAutoTextGroup extends MultiMethodTest { oObj.renameByName(str,str+"a",str+"b"); result &= oObj.hasByName(str + "a"); } catch (com.sun.star.container.ElementExistException ex) { - log.println("Exception occured while testing renameByName"); + log.println("Exception occurred while testing renameByName"); ex.printStackTrace(log); result &=false; } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while testing renameByName"); + log.println("Exception occurred while testing renameByName"); ex.printStackTrace(log); result &=false; } catch (com.sun.star.io.IOException ex) { - log.println("Exception occured while testing renameByName"); + log.println("Exception occurred while testing renameByName"); ex.printStackTrace(log); result &=false; } finally { diff --git a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java index ae120dd8c..7648533f8 100644 --- a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java +++ b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java @@ -52,7 +52,7 @@ public class _XDefaultNumberingProvider extends MultiMethodTest { /** * Just gets numberings for "en" locale. <p> * Has <b>OK</b> status if not <code>null</code> value returned - * and no runtime exceptions occured. + * and no runtime exceptions occurred. */ public void _getDefaultOutlineNumberings() { XIndexAccess xIA[] = oObj.getDefaultOutlineNumberings(loc) ; @@ -63,7 +63,7 @@ public class _XDefaultNumberingProvider extends MultiMethodTest { /** * Just gets numberings for "en" locale. <p> * Has <b>OK</b> status if not <code>null</code> value returned - * and no runtime exceptions occured. + * and no runtime exceptions occurred. */ public void _getDefaultContinuousNumberingLevels() { PropertyValue[][] lev = oObj.getDefaultContinuousNumberingLevels(loc) ; diff --git a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java index 5de239103..112008b5f 100644 --- a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java +++ b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java @@ -71,7 +71,7 @@ public class _XRelativeTextContentInsert extends MultiMethodTest { * using relation and inserted into text. Then an instance * of text content is created and inserted after the paragraph. <p> * - * Has <b>OK</b> status if no exceptions occured. + * Has <b>OK</b> status if no exceptions occurred. */ public void _insertTextContentAfter() { @@ -91,7 +91,7 @@ public class _XRelativeTextContentInsert extends MultiMethodTest { tRes.tested("insertTextContentAfter()",true); } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while checking "+ + log.println("Exception occurred while checking "+ "insertTextContentAfter()"); ex.printStackTrace(log); tRes.tested("insertTextContentAfter()",false); @@ -105,7 +105,7 @@ public class _XRelativeTextContentInsert extends MultiMethodTest { * and inserted before the paragraph which was added into * text in <code>insertTextContentAfter</code> method test. <p> * - * Has <b>OK</b> status if no exceptions occured. <p> + * Has <b>OK</b> status if no exceptions occurred. <p> * * The following method tests are to be completed successfully before : * <ul> @@ -123,7 +123,7 @@ public class _XRelativeTextContentInsert extends MultiMethodTest { tRes.tested("insertTextContentBefore()",true); } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured while checking "+ + log.println("Exception occurred while checking "+ "insertTextContentBefore()"); ex.printStackTrace(log); tRes.tested("insertTextContentBefore()",false); diff --git a/qadevOOo/tests/java/ifc/text/_XText.java b/qadevOOo/tests/java/ifc/text/_XText.java index e436ce3b2..e08b15081 100644 --- a/qadevOOo/tests/java/ifc/text/_XText.java +++ b/qadevOOo/tests/java/ifc/text/_XText.java @@ -114,12 +114,12 @@ public class _XText extends MultiMethodTest { log.println( "test for insertTextContent" ); try { oObj.insertTextContent(oCursor, null, false); - log.println("The expected Exception doesn't occured"); + log.println("The expected Exception doesn't occurred"); result &= false; } catch( com.sun.star.lang.IllegalArgumentException iaE ){ // Some exception.FAILED - log.println("Expected Exception occured"); + log.println("Expected Exception occurred"); String msg = iaE.getMessage(); if (msg.equals("")) { log.println("But there is not detailed message"); @@ -161,7 +161,7 @@ public class _XText extends MultiMethodTest { return; } - // no exception occured so it works + // no exception occurred so it works tRes.tested( "removeTextContent()", true ); } diff --git a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java index e9a070078..31869e686 100755..100644 --- a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java +++ b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java @@ -123,19 +123,19 @@ public class _XTextFieldsSupplier extends MultiMethodTest { the_Cursor, oContent, true); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't insert textField.URL", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't insert textField.URL", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't insert textField.URL", e); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't insert textField.URL", e); } @@ -175,7 +175,7 @@ public class _XTextFieldsSupplier extends MultiMethodTest { /** * Just for convenience: log the exception and set the method false. * @param method The name of the method to set to false. - * @param e The Exception that occured. + * @param e The Exception that occurred. */ private void setMethodFalse(String method, Exception e) { log.println("Exception while executing '" + method + "'"); diff --git a/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java b/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java index f89f02b46..29a01b2eb 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java +++ b/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java @@ -54,7 +54,7 @@ public class _XDataContainer extends MultiMethodTest { /** * Sets the content type to some value. <p> - * Has <b>OK</b> status if no runtime exseptions occured. + * Has <b>OK</b> status if no runtime exseptions occurred. */ public void _setContentType() { oObj.setContentType("image/jpeg") ; @@ -78,7 +78,7 @@ public class _XDataContainer extends MultiMethodTest { /** * Sets the data to some byte array. <p> - * Has <b>OK</b> status if no runtime exseptions occured. + * Has <b>OK</b> status if no runtime exseptions occurred. */ public void _setData() { oObj.setData(data) ; @@ -109,7 +109,7 @@ public class _XDataContainer extends MultiMethodTest { /** * Sets the data URL to some URL. <p> - * Has <b>OK</b> status if no runtime exseptions occured. + * Has <b>OK</b> status if no runtime exseptions occurred. */ public void _setDataURL() { dataURL = util.utils.getOfficeTemp((XMultiServiceFactory)tParam.getMSF()) ; diff --git a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java index 377ed9954..9cddb1aca 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java +++ b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java @@ -83,7 +83,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(copiedFile); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'copy()'"); + log.println("Exception occurred while testing 'copy()'"); ex.printStackTrace(log); tRes.tested("copy()",false); } @@ -116,7 +116,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(copiedFile); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'move()'"); + log.println("Exception occurred while testing 'move()'"); ex.printStackTrace(log); tRes.tested("move()",false); } @@ -145,7 +145,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("kill()",!oObj.exists(copiedFile)); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'kill()'"); + log.println("Exception occurred while testing 'kill()'"); ex.printStackTrace(log); tRes.tested("kill()",false); } @@ -162,7 +162,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("isFolder()",oObj.isFolder(dirname)); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'isFolder()'"); + log.println("Exception occurred while testing 'isFolder()'"); ex.printStackTrace(log); tRes.tested("isFolder()",false); } @@ -207,7 +207,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(readonlyCopy); tRes.tested("isReadOnly()",result); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'isReadOnly()'"); + log.println("Exception occurred while testing 'isReadOnly()'"); ex.printStackTrace(log); tRes.tested("isReadOnly()",false); } @@ -254,7 +254,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(readonlyCopy); } catch (Exception ex) { - log.println("Exception occured while testing 'setReadOnly()'"); + log.println("Exception occurred while testing 'setReadOnly()'"); ex.printStackTrace(log); tRes.tested("setReadOnly()",false); } @@ -278,7 +278,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(newFolder); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'createFolder()'"); + log.println("Exception occurred while testing 'createFolder()'"); ex.printStackTrace(log); tRes.tested("createFolder()",false); } @@ -300,7 +300,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("getSize()", fSize == 17 ); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'getSize()'"); + log.println("Exception occurred while testing 'getSize()'"); ex.printStackTrace(log); tRes.tested("getSize()",false); } @@ -324,7 +324,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { "application/vnd.sun.staroffice.fsys-file".equals(fType) ); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'getContentType()'"); + log.println("Exception occurred while testing 'getContentType()'"); ex.printStackTrace(log); tRes.tested("getContentType()",false); } @@ -376,7 +376,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("getDateTimeModified()", res); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'getDateTimeModified()'"); + log.println("Exception occurred while testing 'getDateTimeModified()'"); ex.printStackTrace(log); tRes.tested("getDateTimeModified()",false); } @@ -397,7 +397,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("getFolderContents()", cont.length>0); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'getFolderContents()'"); + log.println("Exception occurred while testing 'getFolderContents()'"); ex.printStackTrace(log); tRes.tested("getFolderContents()",false); } @@ -421,7 +421,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.exists(filename) && !oObj.exists(wrongname)); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'exists()'"); + log.println("Exception occurred while testing 'exists()'"); ex.printStackTrace(log); tRes.tested("exists()",false); } @@ -443,7 +443,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { tRes.tested("openFileRead()", iStream != null); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'openFileRead()'"); + log.println("Exception occurred while testing 'openFileRead()'"); ex.printStackTrace(log); tRes.tested("openFileRead()",false); } @@ -474,7 +474,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(copiedFile); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'openFileWrite()'"); + log.println("Exception occurred while testing 'openFileWrite()'"); ex.printStackTrace(log); tRes.tested("openFileWrite()",false); } @@ -506,7 +506,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.kill(copiedFile); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'openFileReadWrite()'"); + log.println("Exception occurred while testing 'openFileReadWrite()'"); ex.printStackTrace(log); tRes.tested("openFileReadWrite()",false); } @@ -531,7 +531,7 @@ public class _XSimpleFileAccess extends MultiMethodTest { oObj.setInteractionHandler(handler); tRes.tested("setInteractionHandler()", true); } catch (Exception ex) { - log.println("Exception occured while testing 'setInteractionHandler()'"); + log.println("Exception occurred while testing 'setInteractionHandler()'"); ex.printStackTrace(log); tRes.tested("setInteractionHandler()", false); } diff --git a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java index 21c7f7827..7da97e7e8 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java +++ b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java @@ -63,13 +63,13 @@ public class _XSimpleFileAccess2 extends MultiMethodTest { tRes.tested("writeFile()",result); } catch (com.sun.star.ucb.CommandAbortedException ex) { - log.println("CommandAbortedException occured while testing "+ + log.println("CommandAbortedException occurred while testing "+ "'writeFile()'"); ex.printStackTrace(log); tRes.tested("writeFile()",false); } catch (com.sun.star.uno.Exception ex) { - log.println("Exception occured while testing 'writeFile()'"); + log.println("Exception occurred while testing 'writeFile()'"); ex.printStackTrace(log); tRes.tested("writeFile()",false); } diff --git a/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java index 90ea861f9..04e55afc6 100644 --- a/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java +++ b/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java @@ -144,7 +144,7 @@ public class _XSortedDynamicResultSetFactory extends MultiMethodTest { rowCount = set.getRow(); log.println("Number of rows in result set: " + rowCount); } catch (com.sun.star.sdbc.SQLException e) { - log.println("Exception occured while accessing "+ + log.println("Exception occurred while accessing "+ "sorted result set :"); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java index 732861a23..5196b27fe 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java @@ -56,7 +56,7 @@ public class _XFilePicker extends MultiMethodTest { /** * Sets the current directory to the test document directory. <p> - * Has <b>OK</b> status if no exceptions occured. + * Has <b>OK</b> status if no exceptions occurred. */ public void _setDisplayDirectory() { boolean result = true ; @@ -95,7 +95,7 @@ public class _XFilePicker extends MultiMethodTest { /** * Sets default name to file name existing in test document * directory ('space-metal.jpg'). <p> - * Has <b>OK</b> status if no exceptions occured. + * Has <b>OK</b> status if no exceptions occurred. */ public void _setDefaultName() { boolean result = true ; @@ -113,7 +113,7 @@ public class _XFilePicker extends MultiMethodTest { /** * Just switch object to MultiSelectionMode. There is no ways * to check this method (only interactively). <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _setMultiSelectionMode() { diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java index e09fd399f..4fe49a0ca 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java @@ -83,7 +83,7 @@ public class _XFilePickerControlAccess extends MultiMethodTest { /** * Gets the value of the control and stores it. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getValue() { boolean result = true ; @@ -136,7 +136,7 @@ public class _XFilePickerControlAccess extends MultiMethodTest { /** * Gets the label of the control and stores it. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _getLabel() { @@ -182,7 +182,7 @@ public class _XFilePickerControlAccess extends MultiMethodTest { /** * Disables and then enables the control. Can be checked only * interactively. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _enableControl() { boolean result = true ; diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java index 38541aaed..82f9d5e2c 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java @@ -64,7 +64,7 @@ public class _XFilterManager extends MultiMethodTest { /** * Sets the current filter to that which was appended before.<p> - * Has <b>OK</b> status if no exceptions occured, else one of + * Has <b>OK</b> status if no exceptions occurred, else one of * <code>appendFilter</code> and <code>setCurrentFilter</code> * methods failed. <p> * The following method tests are to be completed successfully before : diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java index 502d6f2f7..db99c4554 100644 --- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java +++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java @@ -49,7 +49,7 @@ public class _XFolderPicker extends MultiMethodTest { /** * Sets the current directory to SOffice temp dir. <p> - * Has <b>OK</b> status if no exceptions occured. + * Has <b>OK</b> status if no exceptions occurred. */ public void _setDisplayDirectory() { boolean result = true ; diff --git a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java index 776a91d47..e4d520eaa 100644 --- a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java +++ b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java @@ -56,7 +56,7 @@ public class _XComponentContext extends MultiMethodTest { log.println("worked .... ok"); res &= true; } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured " + e.getMessage()); + log.println("Exception occurred " + e.getMessage()); res &= false; } } diff --git a/qadevOOo/tests/java/ifc/util/_XCancellable.java b/qadevOOo/tests/java/ifc/util/_XCancellable.java index bf8b2df73..a5018167b 100644 --- a/qadevOOo/tests/java/ifc/util/_XCancellable.java +++ b/qadevOOo/tests/java/ifc/util/_XCancellable.java @@ -46,7 +46,7 @@ public class _XCancellable extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b>OK</b> status if no exception has occured. <p> + * Has <b>OK</b> status if no exception has occurred. <p> */ public void _cancel() { oObj.cancel() ; diff --git a/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java b/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java index 8abe0e5b1..f48df9bfd 100644 --- a/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java +++ b/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java @@ -59,27 +59,27 @@ public class _XChangesNotifier extends MultiMethodTest { */ private static class MyChangesListener implements XChangesListener { /** Just lo a call of the listener **/ - boolean bChangesOccured = false; + boolean bChangesOccurred = false; /** A change did occur * @param changesEvent The event. **/ public void changesOccurred(com.sun.star.util.ChangesEvent changesEvent) { - bChangesOccured = true; + bChangesOccurred = true; } /** Disposing of the listener * @param eventObject The event. **/ public void disposing(com.sun.star.lang.EventObject eventObject) { - bChangesOccured = true; + bChangesOccurred = true; } /** * Reset the listener */ public void reset() { - bChangesOccured = false; + bChangesOccurred = false; } /** @@ -87,7 +87,7 @@ public class _XChangesNotifier extends MultiMethodTest { * @return True, if the listener has been called. */ public boolean didChangesOccur() { - return bChangesOccured; + return bChangesOccurred; } } diff --git a/qadevOOo/tests/java/ifc/util/_XCloneable.java b/qadevOOo/tests/java/ifc/util/_XCloneable.java index 85ffe6372..c4cd85234 100644 --- a/qadevOOo/tests/java/ifc/util/_XCloneable.java +++ b/qadevOOo/tests/java/ifc/util/_XCloneable.java @@ -51,7 +51,7 @@ public class _XCloneable extends MultiMethodTest { /** * calls the method. <p> - * Has <b>OK</b> status if no exception has occured. <p> + * Has <b>OK</b> status if no exception has occurred. <p> */ public void _createClone() { boolean result = true; diff --git a/qadevOOo/tests/java/ifc/util/_XFlushable.java b/qadevOOo/tests/java/ifc/util/_XFlushable.java index 0cf4df3ef..324c832c3 100644 --- a/qadevOOo/tests/java/ifc/util/_XFlushable.java +++ b/qadevOOo/tests/java/ifc/util/_XFlushable.java @@ -68,7 +68,7 @@ public class _XFlushable extends MultiMethodTest { /** * Test call method <code>flush</code> and checks if added listener * was called and removed one wasn't. <p> - * Has OK status if no exception has occured. <p> + * Has OK status if no exception has occurred. <p> * Methods to be executed before : * {@link #_addFlushListener}, * {@link #_removeFlushListener} diff --git a/qadevOOo/tests/java/ifc/util/_XModeSelector.java b/qadevOOo/tests/java/ifc/util/_XModeSelector.java index cc0525e1c..ef9a0420c 100644 --- a/qadevOOo/tests/java/ifc/util/_XModeSelector.java +++ b/qadevOOo/tests/java/ifc/util/_XModeSelector.java @@ -50,7 +50,7 @@ public class _XModeSelector extends MultiMethodTest { /** * Calls the method and as argument pass one of the supported modes * that was returned by method getSupportedMode.<p> - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _setMode() { requiredMethod("getSupportedModes()"); @@ -67,7 +67,7 @@ public class _XModeSelector extends MultiMethodTest { /** * Calls the method and check returned value.<p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is equal to value that was set by method setMode. */ public void _getMode() { @@ -78,7 +78,7 @@ public class _XModeSelector extends MultiMethodTest { /** * Calls the method and checks value returned by method.<p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred * and returned value is not null. */ public void _getSupportedModes() { @@ -91,7 +91,7 @@ public class _XModeSelector extends MultiMethodTest { * by method getSupportedMode is passed as argument. * Then the method is called again and the mode that is certainly not supported * is passed. Checks up returned values in both cases.<p> - * Has <b> OK </b> status if no runtime exceptions occured, + * Has <b> OK </b> status if no runtime exceptions occurred, * returned value is true in first call and is false in second call. */ public void _supportsMode() { diff --git a/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java b/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java index f9d314e71..7a4140c6b 100644 --- a/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java +++ b/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java @@ -64,7 +64,7 @@ public class _XModifyBroadcaster extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _addModifyListener() { log.println("'Modified' events are called only in case"+ @@ -75,7 +75,7 @@ public class _XModifyBroadcaster extends MultiMethodTest { /** * Just calls the method. <p> - * Has <b> OK </b> status if no runtime exceptions occured + * Has <b> OK </b> status if no runtime exceptions occurred */ public void _removeModifyListener() { requiredMethod("addModifyListener()"); diff --git a/qadevOOo/tests/java/ifc/util/_XSearchable.java b/qadevOOo/tests/java/ifc/util/_XSearchable.java index eefff1b56..e8c5ae82b 100644 --- a/qadevOOo/tests/java/ifc/util/_XSearchable.java +++ b/qadevOOo/tests/java/ifc/util/_XSearchable.java @@ -129,7 +129,7 @@ public class _XSearchable extends MultiMethodTest { /** * Performs search using descriptor created before. Storing the - * first occurence result. <p> + * first occurrence result. <p> * Has <b> OK </b> status if the method not <code>null</code> * value. <p> * The following method tests are to be completed successfully before : diff --git a/qadevOOo/tests/java/ifc/util/_XTextSearch.java b/qadevOOo/tests/java/ifc/util/_XTextSearch.java index 44be16079..20348fe64 100644 --- a/qadevOOo/tests/java/ifc/util/_XTextSearch.java +++ b/qadevOOo/tests/java/ifc/util/_XTextSearch.java @@ -60,7 +60,7 @@ public class _XTextSearch extends MultiMethodTest { /** * Sets options for searching regular expression in a string, * ignoring case. <p> - * Has <b>OK</b> status if no runtime exceptions occured. + * Has <b>OK</b> status if no runtime exceptions occurred. */ public void _setOptions() { diff --git a/qadevOOo/tests/java/ifc/view/_XControlAccess.java b/qadevOOo/tests/java/ifc/view/_XControlAccess.java index 7d8d2b377..52397c41a 100644 --- a/qadevOOo/tests/java/ifc/view/_XControlAccess.java +++ b/qadevOOo/tests/java/ifc/view/_XControlAccess.java @@ -109,13 +109,13 @@ public class _XControlAccess extends MultiMethodTest { bResult &= oControl != null; } catch (com.sun.star.container.NoSuchElementException e) { - log.println("Exception occured calling the method: " + e); + log.println("Exception occurred calling the method: " + e); bResult = false; } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured calling the method: " + e); + log.println("Exception occurred calling the method: " + e); bResult = false; } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured calling the method: " + e); + log.println("Exception occurred calling the method: " + e); bResult = false; } tRes.tested("getControl()", bResult); diff --git a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java index d21c21709..c909a1577 100644 --- a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java +++ b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java @@ -105,7 +105,7 @@ public class _XSelectionSupplier extends MultiMethodTest { oObj.select(selections[1]); res = selectionChanged; } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured during addSelectionChangeListener()"); + log.println("Exception occurred during addSelectionChangeListener()"); ex.printStackTrace(log); res = false; } @@ -151,7 +151,7 @@ public class _XSelectionSupplier extends MultiMethodTest { } } } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured during select()"); + log.println("Exception occurred during select()"); ex.printStackTrace(log); res = false; } @@ -179,7 +179,7 @@ public class _XSelectionSupplier extends MultiMethodTest { oObj.select(selections[1]); res = !selectionChanged; } catch (com.sun.star.lang.IllegalArgumentException ex) { - log.println("Exception occured during removeSelectionChangeListener()"); + log.println("Exception occurred during removeSelectionChangeListener()"); ex.printStackTrace(log); res = false; } diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java index a03d50bdb..240f20c5a 100644 --- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java +++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java @@ -174,7 +174,7 @@ public class _XDocumentHandler extends MultiMethodTest { * Sets document locator to dummy locator implementation and * calls the <code>startDocument</code> method. <p> * - * Has <b> OK </b> status if no runtime exceptions occured. + * Has <b> OK </b> status if no runtime exceptions occurred. */ public void _startDocument() { if (ToBeSkipped) { @@ -205,9 +205,9 @@ public class _XDocumentHandler extends MultiMethodTest { * This test is finally executed. It finishes XML data * transfering with <code>endDocument</code> method call. <p> * - * Has <b>OK</b> status if no exceptions occured during + * Has <b>OK</b> status if no exceptions occurred during * the whole transfering and if the appropriate changes - * occured in the document where XML data was trnsfered to. + * occurred in the document where XML data was trnsfered to. * This check is performed by checker relation. */ public void _endDocument() { @@ -240,7 +240,7 @@ public class _XDocumentHandler extends MultiMethodTest { * Transfers XML data obtained from relation * <code>'XDocumentHandler.XMLData'</code>. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. <p> * @@ -305,7 +305,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * Does nothing. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. */ @@ -324,7 +324,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * Does nothing. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. */ @@ -343,7 +343,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * Does nothing. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. */ @@ -362,7 +362,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * Does nothing. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. */ @@ -381,7 +381,7 @@ public class _XDocumentHandler extends MultiMethodTest { /** * Does nothing. <p> * - * Has <b>OK</b> status if no exceptions occured during XML data + * Has <b>OK</b> status if no exceptions occurred during XML data * transfering in <code>startDocument</code> and * <code>startElement</code> method tests. */ @@ -394,7 +394,7 @@ public class _XDocumentHandler extends MultiMethodTest { boolean result = locatorResult ; if (locatorException != null) { - log.println("Exception occured during setDocumentLocator() call:") ; + log.println("Exception occurred during setDocumentLocator() call:") ; locatorException.printStackTrace(log) ; log.println("Wrapped exception :" + locatorException.WrappedException) ; diff --git a/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java b/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java index 6f2e850c5..46f835270 100644 --- a/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java +++ b/qadevOOo/tests/java/mod/_defreg/NestedRegistry.java @@ -155,9 +155,9 @@ public class NestedRegistry extends TestCase { copyFile(source, openF, log) ; copyFile(source, mergeF, log) ; } catch (java.io.IOException e) { - log.println("Exception occured while copying files"); + log.println("Exception occurred while copying files"); e.printStackTrace(log); - throw new StatusException("Exception occured while copying files", e); + throw new StatusException("Exception occurred while copying files", e); } try { diff --git a/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java b/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java index b1c9c8642..8f54c7741 100644 --- a/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java +++ b/qadevOOo/tests/java/mod/_nestedreg.uno/NestedRegistry.java @@ -151,9 +151,9 @@ public class NestedRegistry extends TestCase { copyFile(source, openF, log) ; copyFile(source, mergeF, log) ; } catch (java.io.IOException e) { - log.println("Exception occured while copying files"); + log.println("Exception occurred while copying files"); e.printStackTrace(log); - throw new StatusException("Exception occured while copying files", e); + throw new StatusException("Exception occurred while copying files", e); } try { diff --git a/qadevOOo/tests/java/mod/_remotebridge.uno/various.java b/qadevOOo/tests/java/mod/_remotebridge.uno/various.java index 8cdd56280..35093e771 100644 --- a/qadevOOo/tests/java/mod/_remotebridge.uno/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge.uno/various.java @@ -125,12 +125,12 @@ public class various extends TestCase { /** * Calls <code>accept()</code> method in a separate thread. - * Then stores exception thrown by call if it occured, or + * Then stores exception thrown by call if it occurred, or * return value. */ protected class AcceptorThread extends Thread { /** - * If exception occured during method call it is + * If exception occurred during method call it is * stored in this field. */ public Exception ex = null ; diff --git a/qadevOOo/tests/java/mod/_remotebridge/various.java b/qadevOOo/tests/java/mod/_remotebridge/various.java index c2cb26046..631babbd2 100644 --- a/qadevOOo/tests/java/mod/_remotebridge/various.java +++ b/qadevOOo/tests/java/mod/_remotebridge/various.java @@ -125,12 +125,12 @@ public class various extends TestCase { /** * Calls <code>accept()</code> method in a separate thread. - * Then stores exception thrown by call if it occured, or + * Then stores exception thrown by call if it occurred, or * return value. */ protected class AcceptorThread extends Thread { /** - * If exception occured during method call it is + * If exception occurred during method call it is * stored in this field. */ public Exception ex = null ; diff --git a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java index 0054823cf..ef06da8f3 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinkObj.java @@ -128,19 +128,19 @@ public class ScAreaLinkObj extends TestCase { oObj = (XInterface) AnyConverter.toObject( new Type(XInterface.class), links.getByIndex(0)) ; } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java index edb102225..b8d12f660 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAreaLinksObj.java @@ -130,15 +130,15 @@ public class ScAreaLinksObj extends TestCase { tEnv = new TestEnvironment(oObj); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java index 9fd4c7310..5c68f5fb2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatFieldObj.java @@ -93,7 +93,7 @@ public class ScAutoFormatFieldObj extends TestCase { new Type(XInterface.class),formatIndex.getByIndex(0)); } catch (com.sun.star.uno.Exception e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; } diff --git a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java index 70f051f8f..7409ddb8f 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScAutoFormatsObj.java @@ -148,7 +148,7 @@ public class ScAutoFormatsObj extends TestCase{ return tEnv; } catch (com.sun.star.uno.Exception e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java index 1baa4c21d..9d55a42b2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScCellCursorObj.java @@ -186,19 +186,19 @@ public class ScCellCursorObj extends TestCase { oSheet.getCellByPosition(3, 2).setFormula("xTextDoc"); oSheet.getCellByPosition(3, 3).setFormula("xTextDoc"); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while creating test object:"); + log.println("Exception occurred while creating test object:"); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.container.NoSuchElementException e) { - log.println("Exception occured while creating test object:"); + log.println("Exception occurred while creating test object:"); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while creating test object:"); + log.println("Exception occurred while creating test object:"); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while creating test object:"); + log.println("Exception occurred while creating test object:"); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java index 1b39d32a3..03bc2c447 100644 --- a/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldObj.java @@ -164,19 +164,19 @@ public class ScCellFieldObj extends TestCase { oCell = oSheet.getCellByPosition(1,4); oText = (XText)UnoRuntime.queryInterface(XText.class, oCell); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java index b410257f7..25ff3fd87 100644 --- a/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScCellFieldsObj.java @@ -141,19 +141,19 @@ public class ScCellFieldsObj extends TestCase { oObj = xTextFieldsSupp.getTextFields(); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java index f394e1dd9..eacbd22d2 100644 --- a/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScCellsEnumeration.java @@ -141,15 +141,15 @@ public class ScCellsEnumeration extends TestCase { cellArr[1] = oCell_2; cellArr[2] = oCell_3; } catch(com.sun.star.lang.WrappedTargetException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch(com.sun.star.lang.IllegalArgumentException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScCellsObj.java b/qadevOOo/tests/java/mod/_sc/ScCellsObj.java index dfaf72aa5..28fc57715 100644 --- a/qadevOOo/tests/java/mod/_sc/ScCellsObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScCellsObj.java @@ -138,15 +138,15 @@ public class ScCellsObj extends TestCase { cellArr[2] = oCell_2; cellArr[1] = oCell_3; } catch(com.sun.star.lang.WrappedTargetException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch(com.sun.star.lang.IndexOutOfBoundsException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch(com.sun.star.lang.IllegalArgumentException e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java index 1f98b8e90..d8e078b0e 100644 --- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_CellAreaLinksEnumeration.java @@ -111,15 +111,15 @@ public class ScIndexEnumeration_CellAreaLinksEnumeration extends TestCase { tEnv.addObjRelation("ENUM",ea); } catch (com.sun.star.beans.UnknownPropertyException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println ("Exception occured while creating test Object.") ; + log.println ("Exception occurred while creating test Object.") ; e.printStackTrace(log) ; throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java index 8212b7828..57f64a051 100644 --- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TableAutoFormatEnumeration.java @@ -95,7 +95,7 @@ public class ScIndexEnumeration_TableAutoFormatEnumeration extends TestCase{ return tEnv; } catch (com.sun.star.uno.Exception e) { - log.println ("Exception occured while creating test Object."); + log.println ("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java index 95065d5d7..f825acf36 100644 --- a/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java +++ b/qadevOOo/tests/java/mod/_sc/ScIndexEnumeration_TextFieldEnumeration.java @@ -138,19 +138,19 @@ public class ScIndexEnumeration_TextFieldEnumeration extends TestCase { oObj = xTextFieldsSupp.getTextFields().createEnumeration(); } catch (com.sun.star.lang.WrappedTargetException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.lang.IllegalArgumentException e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } catch (com.sun.star.uno.Exception e) { - log.println("Exception occured while creating test Object."); + log.println("Exception occurred while creating test Object."); e.printStackTrace(log); throw new StatusException("Couldn't create test object", e); } diff --git a/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java index 128acaa84..bea551aac 100644 --- a/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java +++ b/qadevOOo/tests/java/mod/_sc/ScStyleFamilyObj.java @@ -145,15 +145,15 @@ public class ScStyleFamilyObj extends TestCase { } catch (com.sun.star.lang.WrappedTargetException e) { e.printStackTrace(log); throw new StatusException( - "Exception occured while getting StyleFamily", e); + "Exception occurred while getting StyleFamily", e); } catch (com.sun.star.lang.IndexOutOfBoundsException e) { e.printStackTrace(log); throw new StatusException( - "Exception occured while getting StyleFamily", e); + "Exception occurred while getting StyleFamily", e); } catch (com.sun.star.lang.IllegalArgumentException e) { e.printStackTrace(log); throw new StatusException( - "Exception occured while getting StyleFamily", e); + "Exception occurred while getting StyleFamily", e); } SOfficeFactory SOF = SOfficeFactory.getFactory( (XMultiServiceFactory)tParam.getMSF()); diff --git a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java index 4defeb81b..796fbcbcf 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLContentExporter.java @@ -186,7 +186,7 @@ public class XMLContentExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -206,7 +206,7 @@ public class XMLContentExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return checkTags(); diff --git a/qadevOOo/tests/java/mod/_sc/XMLExporter.java b/qadevOOo/tests/java/mod/_sc/XMLExporter.java index 1e2454c52..4b0fd2caa 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLExporter.java @@ -195,7 +195,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -214,7 +214,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java index c6ae9c78b..c2f59a41e 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLMetaExporter.java @@ -176,7 +176,7 @@ public class XMLMetaExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -195,7 +195,7 @@ public class XMLMetaExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java index 9ddce92e1..5e273d8ea 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java @@ -184,7 +184,7 @@ public class XMLMetaImporter extends TestCase { logF.println("Title returned = '" + title + "'") ; return impTitle.equals(title) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java index 9126221ad..f1ddc0cbb 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsExporter.java @@ -177,7 +177,7 @@ public class XMLSettingsExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -196,7 +196,7 @@ public class XMLSettingsExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java index 68b2df5b5..49d7fc88e 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLSettingsImporter.java @@ -206,7 +206,7 @@ public class XMLSettingsImporter extends TestCase { logF.println("ShowGrid = " + gVal ) ; return "false".equals(gVal) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java index 51671d8d2..3ce240bc8 100644 --- a/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_sc/XMLStylesExporter.java @@ -182,7 +182,7 @@ public class XMLStylesExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -201,7 +201,7 @@ public class XMLStylesExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java b/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java index 5c8730b7b..3fe055e9d 100644 --- a/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java +++ b/qadevOOo/tests/java/mod/_simplereg.uno/SimpleRegistry.java @@ -145,7 +145,7 @@ public class SimpleRegistry extends TestCase { copyFile(source, tmpDir + destroyF, log); copyFile(source, tmpDir + mergeF, log); } catch (java.io.IOException e) { - log.println("Exception occured while copying files"); + log.println("Exception occurred while copying files"); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java index a3c5786f4..657bac3b3 100644 --- a/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java +++ b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java @@ -149,7 +149,7 @@ public class SimpleRegistry extends TestCase { copyFile(source, tmpDir + destroyF, log); copyFile(source, tmpDir + mergeF, log); } catch (java.io.IOException e) { - log.println("Exception occured while copying files"); + log.println("Exception occurred while copying files"); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/mod/_sm/XMLExporter.java b/qadevOOo/tests/java/mod/_sm/XMLExporter.java index b6f5bcab6..f2ef6f91e 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLExporter.java @@ -167,7 +167,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -186,7 +186,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sm/XMLImporter.java b/qadevOOo/tests/java/mod/_sm/XMLImporter.java index f598f28f0..01216ceff 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLImporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLImporter.java @@ -157,7 +157,7 @@ public class XMLImporter extends TestCase { logF.println("Formula returned = '" + gFormula + "'") ; return impFormula.equals(gFormula) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java index 3c721eda6..e29896995 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLMetaExporter.java @@ -169,7 +169,7 @@ public class XMLMetaExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -188,7 +188,7 @@ public class XMLMetaExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java index 2b9b3e8dd..4c4f2e4f8 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLMetaImporter.java @@ -185,7 +185,7 @@ public class XMLMetaImporter extends TestCase { return result ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java index 9995169a3..b8f1ae4dc 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLSettingsExporter.java @@ -168,7 +168,7 @@ public class XMLSettingsExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -187,7 +187,7 @@ public class XMLSettingsExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java b/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java index 7b4731f13..6760e7958 100644 --- a/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java +++ b/qadevOOo/tests/java/mod/_sm/XMLSettingsImporter.java @@ -167,7 +167,7 @@ public class XMLSettingsImporter extends TestCase { logF.println("Margin returned: " + gMargin); return impMargin == gMargin.shortValue() ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sw/CharacterStyle.java b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java index 95c705093..581e3646f 100755..100644 --- a/qadevOOo/tests/java/mod/_sw/CharacterStyle.java +++ b/qadevOOo/tests/java/mod/_sw/CharacterStyle.java @@ -122,11 +122,11 @@ public class CharacterStyle extends TestCase { oStyle = (XStyle) UnoRuntime.queryInterface( XStyle.class,oSFIA.getByIndex(0)); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } @@ -139,7 +139,7 @@ public class CharacterStyle extends TestCase { oMSF.createInstance("com.sun.star.style.CharacterStyle"); oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt); } catch ( com.sun.star.uno.Exception e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java b/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java index f0903c99e..c4e5d1252 100755..100644 --- a/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java +++ b/qadevOOo/tests/java/mod/_sw/ConditionalParagraphStyle.java @@ -109,15 +109,15 @@ public class ConditionalParagraphStyle extends TestCase { oStyle = (XStyle) UnoRuntime.queryInterface( XStyle.class,oSFIA.getByIndex(1)); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.container.NoSuchElementException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } @@ -130,7 +130,7 @@ public class ConditionalParagraphStyle extends TestCase { oMSF.createInstance("com.sun.star.style.ConditionalParagraphStyle"); oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt); } catch ( com.sun.star.uno.Exception e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/PageStyle.java b/qadevOOo/tests/java/mod/_sw/PageStyle.java index 19a518cf9..10e68d732 100755..100644 --- a/qadevOOo/tests/java/mod/_sw/PageStyle.java +++ b/qadevOOo/tests/java/mod/_sw/PageStyle.java @@ -104,15 +104,15 @@ public class PageStyle extends TestCase { log.println("Chosen pool style: "+oStyle.getName()); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.container.NoSuchElementException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } @@ -126,7 +126,7 @@ public class PageStyle extends TestCase { // oMSF.createInstanceWithArguments("com.sun.star.style.PageStyle",new Object[]{oStyle}); oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt); } catch ( com.sun.star.uno.Exception e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java b/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java index be55107c9..0bed3a90d 100755..100644 --- a/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java +++ b/qadevOOo/tests/java/mod/_sw/ParagraphStyle.java @@ -103,15 +103,15 @@ public class ParagraphStyle extends TestCase { oStyle = (XStyle) UnoRuntime.queryInterface( XStyle.class,oSFIA.getByIndex(1)); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.container.NoSuchElementException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } @@ -124,7 +124,7 @@ public class ParagraphStyle extends TestCase { oMSF.createInstance("com.sun.star.style.ParagraphStyle"); oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt); } catch ( com.sun.star.uno.Exception e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java index d99a6dcfa..14118a339 100644 --- a/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java +++ b/qadevOOo/tests/java/mod/_sw/SwAccessiblePageView.java @@ -126,13 +126,13 @@ public class SwAccessiblePageView extends TestCase { new Type(XInterface.class),oEnum2.nextElement()); } catch ( com.sun.star.lang.WrappedTargetException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } catch ( com.sun.star.container.NoSuchElementException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } catch ( com.sun.star.lang.IllegalArgumentException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } try { @@ -142,19 +142,19 @@ public class SwAccessiblePageView extends TestCase { UnoRuntime.queryInterface(XPropertySet.class, para); paraP.setPropertyValue("BreakType",com.sun.star.style.BreakType.PAGE_AFTER); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.beans.UnknownPropertyException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.beans.PropertyVetoException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java b/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java index 1fac0d274..700b58c6b 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java +++ b/qadevOOo/tests/java/mod/_sw/SwXLineNumberingProperties.java @@ -103,7 +103,7 @@ public class SwXLineNumberingProperties extends TestCase { } } catch ( com.sun.star.lang.IllegalArgumentException e ) { e.printStackTrace(log); - log.println("Exception occured: " + e); + log.println("Exception occurred: " + e); } XLineNumberingProperties oLNP = (XLineNumberingProperties) diff --git a/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java index 30dbe80c7..9b4e47594 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java +++ b/qadevOOo/tests/java/mod/_sw/SwXNumberingRules.java @@ -119,7 +119,7 @@ public class SwXNumberingRules extends TestCase { ControlCharacter.PARAGRAPH_BREAK, false); } } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } @@ -134,13 +134,13 @@ public class SwXNumberingRules extends TestCase { NumStyleI = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class,NumStyles); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } catch ( com.sun.star.container.NoSuchElementException e ) { log.println("Error, no such style family..."); e.printStackTrace(log); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } @@ -156,16 +156,16 @@ public class SwXNumberingRules extends TestCase { XIndexAccess nRules = (XIndexAccess) UnoRuntime.queryInterface(XIndexAccess.class, props.getPropertyValue("NumberingRules")); instance1 = nRules.getByIndex(0); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } catch ( com.sun.star.beans.UnknownPropertyException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java index 6bb88deb1..e9e135c8c 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXParagraph.java +++ b/qadevOOo/tests/java/mod/_sw/SwXParagraph.java @@ -213,13 +213,13 @@ public class SwXParagraph extends TestCase { new Type(XInterface.class),oEnum2.nextElement()); } catch ( com.sun.star.lang.WrappedTargetException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } catch ( com.sun.star.container.NoSuchElementException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } catch ( com.sun.star.lang.IllegalArgumentException e ) { e.printStackTrace(log); - log.println("Error: exception occured..."); + log.println("Error: exception occurred..."); } try { @@ -230,19 +230,19 @@ public class SwXParagraph extends TestCase { paraP.setPropertyValue("NumberingStyleName","Numbering 4"); nRules = paraP.getPropertyValue("NumberingRules"); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.beans.UnknownPropertyException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } catch ( com.sun.star.beans.PropertyVetoException e ) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } @@ -252,7 +252,7 @@ public class SwXParagraph extends TestCase { oObj = (XInterface) AnyConverter.toObject( new Type(XInterface.class),oEnum.nextElement()); } catch ( Exception e) { - log.println("Error, exception occured..."); + log.println("Error, exception occurred..."); e.printStackTrace(log); throw new StatusException( "Couldn't get Paragraph", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/SwXStyle.java b/qadevOOo/tests/java/mod/_sw/SwXStyle.java index 417080e22..1f53900cf 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXStyle.java +++ b/qadevOOo/tests/java/mod/_sw/SwXStyle.java @@ -140,15 +140,15 @@ public class SwXStyle extends TestCase { oStyle = (XStyle) AnyConverter.toObject( new Type(XStyle.class),oSFIA.getByIndex(10)); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } @@ -161,7 +161,7 @@ public class SwXStyle extends TestCase { oMSF.createInstance("com.sun.star.style.CharacterStyle"); oMyStyle = (XStyle) UnoRuntime.queryInterface(XStyle.class, oInt); } catch ( com.sun.star.uno.Exception e ) { - log.println("Error: exception occured."); + log.println("Error: exception occurred."); e.printStackTrace(log); throw new StatusException( "Couldn't create environment ", e ); } diff --git a/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java b/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java index f5ec37061..9247afa85 100644 --- a/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java +++ b/qadevOOo/tests/java/mod/_sw/SwXTextColumns.java @@ -120,16 +120,16 @@ public class SwXTextColumns extends TestCase { oStyle = (XStyle) AnyConverter.toObject( new Type(XStyle.class),oSFNA.getByName("Standard")); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Error, exception occured while getting style."); + log.println("Error, exception occurred while getting style."); e.printStackTrace(log); } catch ( com.sun.star.lang.IndexOutOfBoundsException e ) { - log.println("Error, exception occured while getting style."); + log.println("Error, exception occurred while getting style."); e.printStackTrace(log); } catch ( com.sun.star.container.NoSuchElementException e ) { - log.println("Error, exception occured while getting style."); + log.println("Error, exception occurred while getting style."); e.printStackTrace(log); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Error, exception occured while getting style."); + log.println("Error, exception occurred while getting style."); e.printStackTrace(log); } @@ -141,13 +141,13 @@ public class SwXTextColumns extends TestCase { oObj = (XTextColumns) AnyConverter.toObject( new Type(XTextColumns.class),xProps.getPropertyValue("TextColumns")); } catch ( com.sun.star.lang.WrappedTargetException e ) { - log.println("Exception occured while getting style property"); + log.println("Exception occurred while getting style property"); e.printStackTrace(log); } catch ( com.sun.star.beans.UnknownPropertyException e ) { - log.println("Exception occured while getting style property"); + log.println("Exception occurred while getting style property"); e.printStackTrace(log); } catch ( com.sun.star.lang.IllegalArgumentException e ) { - log.println("Exception occured while getting style property"); + log.println("Exception occurred while getting style property"); e.printStackTrace(log); } @@ -172,7 +172,7 @@ public class SwXTextColumns extends TestCase { ControlCharacter.LINE_BREAK, false ); } } catch ( com.sun.star.lang.IllegalArgumentException e ){ - log.println("Exception occured while inserting Text"); + log.println("Exception occurred while inserting Text"); e.printStackTrace(log); } diff --git a/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java b/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java index f59512b92..b5ad93854 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLContentExporter.java @@ -166,7 +166,7 @@ public class XMLContentExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -186,7 +186,7 @@ public class XMLContentExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return checkTags(); diff --git a/qadevOOo/tests/java/mod/_sw/XMLExporter.java b/qadevOOo/tests/java/mod/_sw/XMLExporter.java index 66c55706f..849159ae5 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLExporter.java @@ -170,7 +170,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -189,7 +189,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return checkTags() ; diff --git a/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java index ed1661d27..17ef8afeb 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLMetaExporter.java @@ -170,7 +170,7 @@ public class XMLMetaExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -190,7 +190,7 @@ public class XMLMetaExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return checkTags(); diff --git a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java index 6deab9672..ce97682aa 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java @@ -176,7 +176,7 @@ public class XMLMetaImporter extends TestCase { logF.println("Title returned = '" + title + "'") ; return impTitle.equals(title) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java index fbea9eb7b..20569eb97 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLSettingsExporter.java @@ -179,7 +179,7 @@ public class XMLSettingsExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -199,7 +199,7 @@ public class XMLSettingsExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java index 0d7772a82..bb12e2b41 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLStylesExporter.java @@ -172,7 +172,7 @@ public class XMLStylesExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -192,7 +192,7 @@ public class XMLStylesExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java index c8bde32a1..a81432f13 100644 --- a/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java +++ b/qadevOOo/tests/java/mod/_sw/XMLStylesImporter.java @@ -175,7 +175,7 @@ public class XMLStylesImporter extends TestCase { logF.println("Prefix returned = '" + prefix + "'") ; return impPrefix.equals(prefix) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java index 93d9de99b..b8b3d2598 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentExporter.java @@ -173,7 +173,7 @@ public class XMLContentExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -192,7 +192,7 @@ public class XMLContentExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check() ; diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java index 4801b2a4c..e29f5dc98 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLContentImporter.java @@ -193,7 +193,7 @@ public class XMLContentImporter extends TestCase { return impValue.equals(title) ; } catch (com.sun.star.uno.Exception e) { logF.println - ("Exception occured while checking filter :") ; + ("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java index ccea9da56..bb725ec8d 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLExporter.java @@ -176,7 +176,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -195,7 +195,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check() ; diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java index 52b3b3ce0..5a6bd0258 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLImporter.java @@ -191,7 +191,7 @@ public class XMLImporter extends TestCase { return impValue.equals(title) ; } catch (com.sun.star.uno.Exception e) { logF.println - ("Exception occured while checking filter :") ; + ("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java index ce399da29..a4b762161 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesExporter.java @@ -163,7 +163,7 @@ public class XMLStylesExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -182,7 +182,7 @@ public class XMLStylesExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check() ; diff --git a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java index 01f89d61a..5a4707302 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Chart/XMLStylesImporter.java @@ -172,7 +172,7 @@ public class XMLStylesImporter extends TestCase { logF.println(" TRUE returned."); return true ; /* } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java index b0f38f3d7..6e6b06cdd 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLContentExporter.java @@ -185,7 +185,7 @@ public class XMLContentExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -204,7 +204,7 @@ public class XMLContentExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java index 996fc2c7c..ca9b64b0b 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLExporter.java @@ -186,7 +186,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -205,7 +205,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java index b572027f3..536981d3c 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaExporter.java @@ -176,7 +176,7 @@ public class XMLMetaExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -196,7 +196,7 @@ public class XMLMetaExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java index ff76e821a..aaf8557c9 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java @@ -177,7 +177,7 @@ public class XMLMetaImporter extends TestCase { logF.println("Title returned = '" + title + "'") ; return impTitle.equals(title) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java index a1f70a022..2d5866204 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLSettingsExporter.java @@ -182,7 +182,7 @@ public class XMLSettingsExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -202,7 +202,7 @@ public class XMLSettingsExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java index bd4180571..8022b9d0b 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Draw/XMLStylesExporter.java @@ -184,7 +184,7 @@ public class XMLStylesExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -204,7 +204,7 @@ public class XMLStylesExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java index defe48794..7b117020e 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java @@ -179,7 +179,7 @@ public class XMLContentExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -198,7 +198,7 @@ public class XMLContentExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check() ; diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java index 8de42bcb3..dba067e5b 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentImporter.java @@ -208,7 +208,7 @@ public class XMLContentImporter extends TestCase { logF.println("Page name returned = '" + gName + "'") ; return impPageName.equals(gName) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java index 18fab3f93..4b11248f4 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java @@ -182,7 +182,7 @@ public class XMLExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -201,7 +201,7 @@ public class XMLExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java index fd7a4f871..0e528ba36 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java @@ -178,7 +178,7 @@ public class XMLMetaExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -197,7 +197,7 @@ public class XMLMetaExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java index 7c69de6e1..3d3605596 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java @@ -176,7 +176,7 @@ public class XMLMetaImporter extends TestCase { logF.println("Title returned = '" + title + "'") ; return impTitle.equals(title) ; } catch (com.sun.star.uno.Exception e) { - logF.println("Exception occured while checking filter :") ; + logF.println("Exception occurred while checking filter :") ; e.printStackTrace(logF) ; return false ; } diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java index 69a3a45ed..25ca9e170 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java @@ -191,7 +191,7 @@ public class XMLSettingsExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -210,7 +210,7 @@ public class XMLSettingsExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java index aeca441c2..288012758 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java @@ -181,7 +181,7 @@ public class XMLStylesExporter extends TestCase { /** * This class checks the XML for tags and data required and returns * checking result to <code>XFilter</code> interface test. All - * the information about errors occured in XML data is written + * the information about errors occurred in XML data is written * to log specified. * @see ifc.document._XFilter */ @@ -200,7 +200,7 @@ public class XMLStylesExporter extends TestCase { * which returns the result of XML checking. * @return <code>true</code> if the XML data exported was * valid (i.e. all necessary tags and character data exists), - * <code>false</code> if some errors occured. + * <code>false</code> if some errors occurred. */ public boolean checkFilter() { return check(); diff --git a/testautomation/chart2/tools/ch_tools_axes.inc b/testautomation/chart2/tools/ch_tools_axes.inc index ef897fbc3..67d77ea8d 100644 --- a/testautomation/chart2/tools/ch_tools_axes.inc +++ b/testautomation/chart2/tools/ch_tools_axes.inc @@ -40,7 +40,7 @@ ' Return codes (for all functions): ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 to 9: A functional problem occured. +' Error 2 to 9: A functional problem occurred. ' Error 11 to 19: Wrong marginal conditions end up in Failure, e.g. control not visible. ' Note: Following errors can be used for negative testing. ' Error 42: Wrong input. Probably only of interest during test development. diff --git a/testautomation/chart2/tools/ch_tools_chart_type.inc b/testautomation/chart2/tools/ch_tools_chart_type.inc index 7cf0a1e7d..4d8a5aad5 100644 --- a/testautomation/chart2/tools/ch_tools_chart_type.inc +++ b/testautomation/chart2/tools/ch_tools_chart_type.inc @@ -51,7 +51,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in failure, e.g. control not visible. ' ' NOTE: Following errors can also be used for 'negative' testing. diff --git a/testautomation/chart2/tools/ch_tools_data_labels.inc b/testautomation/chart2/tools/ch_tools_data_labels.inc index 879ddae59..ee189de12 100644 --- a/testautomation/chart2/tools/ch_tools_data_labels.inc +++ b/testautomation/chart2/tools/ch_tools_data_labels.inc @@ -46,7 +46,7 @@ 'Return codes: 'Error 0: Success. 'Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -'Error 2 TO 9: A functional problem occured. +'Error 2 TO 9: A functional problem occurred. 'Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible. 'NOTE: This errors can also be used for 'negative' testing. 'Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/chart2/tools/ch_tools_grids.inc b/testautomation/chart2/tools/ch_tools_grids.inc index d909ef742..cf6430487 100644 --- a/testautomation/chart2/tools/ch_tools_grids.inc +++ b/testautomation/chart2/tools/ch_tools_grids.inc @@ -43,7 +43,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/chart2/tools/ch_tools_legend.inc b/testautomation/chart2/tools/ch_tools_legend.inc index 9c16c71d1..ed056c411 100644 --- a/testautomation/chart2/tools/ch_tools_legend.inc +++ b/testautomation/chart2/tools/ch_tools_legend.inc @@ -44,7 +44,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in failture, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/chart2/tools/ch_tools_statistics.inc b/testautomation/chart2/tools/ch_tools_statistics.inc index 59bd74496..75dbd8838 100644 --- a/testautomation/chart2/tools/ch_tools_statistics.inc +++ b/testautomation/chart2/tools/ch_tools_statistics.inc @@ -47,7 +47,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in failture, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development. diff --git a/testautomation/chart2/tools/ch_tools_tab_borders_lines.inc b/testautomation/chart2/tools/ch_tools_tab_borders_lines.inc index 4d9847615..b7a33c2a7 100644 --- a/testautomation/chart2/tools/ch_tools_tab_borders_lines.inc +++ b/testautomation/chart2/tools/ch_tools_tab_borders_lines.inc @@ -43,7 +43,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/chart2/tools/ch_tools_tab_pages.inc b/testautomation/chart2/tools/ch_tools_tab_pages.inc index 63d88d35c..eeda6c0c6 100644 --- a/testautomation/chart2/tools/ch_tools_tab_pages.inc +++ b/testautomation/chart2/tools/ch_tools_tab_pages.inc @@ -42,7 +42,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/chart2/tools/ch_tools_titles.inc b/testautomation/chart2/tools/ch_tools_titles.inc index c3b64a6fa..61a82f886 100644 --- a/testautomation/chart2/tools/ch_tools_titles.inc +++ b/testautomation/chart2/tools/ch_tools_titles.inc @@ -43,7 +43,7 @@ ' Return codes: ' Error 0: Success. ' Error 1: The basic action beeing applied caused a serious problem, e.g. a crash. -' Error 2 TO 9: A functional problem occured. +' Error 2 TO 9: A functional problem occurred. ' Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible. ' NOTE: This errors can also be used for 'negative' testing. ' Error 42: Wrong input. Probably only of interest during test development . diff --git a/testautomation/global/system/includes/iniinfo.inc b/testautomation/global/system/includes/iniinfo.inc index a716a5d98..fec317478 100755..100644 --- a/testautomation/global/system/includes/iniinfo.inc +++ b/testautomation/global/system/includes/iniinfo.inc @@ -983,7 +983,7 @@ function getSofficeNative() as string end if getSofficeNative = gOfficePath ' set return value else - '/// If error occured, set returnvalue to "" - empty srting ///' + '/// If error occurred, set returnvalue to "" - empty srting ///' getSofficeNative = "" ' set return value end if end function diff --git a/testautomation/global/system/includes/master.inc b/testautomation/global/system/includes/master.inc index 562e9a957..ace281886 100755..100644 --- a/testautomation/global/system/includes/master.inc +++ b/testautomation/global/system/includes/master.inc @@ -577,7 +577,7 @@ end sub '------------------------------------------------------------------------- sub TestExit - '/// Automatically called at the end of a testcase or directly called when an error occured + '/// Automatically called at the end of a testcase or directly called when an error occurred '///+<li>Write the data for status page in a list in status.inc</li></ul> Call PleaseRecover ("TestExit") if ((gTestName <> "") AND isStatusEnabled()) then @@ -616,7 +616,7 @@ sub PleaseRecover (sWhat as String) gStartTheOffice = FALSE 'This is the trigger for a restart after application crashed: sError = ResetApplication - 'If sError = empty then no error occured. + 'If sError = empty then no error occurred. if sError <> "" then printlog " ** Error in " + sWhat + " -Routine **" warnlog sError diff --git a/testautomation/global/tools/includes/optional/t_set_standard_controls.inc b/testautomation/global/tools/includes/optional/t_set_standard_controls.inc index 8384edcc2..fa31c0462 100644 --- a/testautomation/global/tools/includes/optional/t_set_standard_controls.inc +++ b/testautomation/global/tools/includes/optional/t_set_standard_controls.inc @@ -51,7 +51,7 @@ '///<b>Return codes:</b> '///+<ul><li>Error 0: Success</li> '///+<li>Error 1: The basic action beeing applied caused a serious problem, e.g. a crash</li> -'///+<li>Error 2 TO 9: A functional problem occured.</li> +'///+<li>Error 2 TO 9: A functional problem occurred.</li> '///+<li>Error 11 TO 19: Wrong marginal conditions end up in Failure, e.g. control not visible</li></ul> '/// NOTE: This errors can also be used for 'negative' testing. '///+<ul><li>Error 42: Wrong input. Probably only of interest during test development</li> diff --git a/testautomation/global/tools/includes/required/t_tools2.inc b/testautomation/global/tools/includes/required/t_tools2.inc index 76422a5e8..e4f3bd984 100755..100644 --- a/testautomation/global/tools/includes/required/t_tools2.inc +++ b/testautomation/global/tools/includes/required/t_tools2.inc @@ -617,7 +617,7 @@ function fRelativeToAbsolutePath (sRelativePath as string) as string sIntern = sRelativePath ' get count of 'relative path ups' aSplitOnDoublePoints = split(sIntern, gPathSigne+"..") - ' for every occurence cut part from path + ' for every occurrence cut part from path iHowOften = uBound(aSplitOnDoublePoints)-1 for i = 0 to iHowOften ' Split on every "/.." diff --git a/testautomation/writer/optional/includes/regression/issuezilla/w_issuezilla_regression.inc b/testautomation/writer/optional/includes/regression/issuezilla/w_issuezilla_regression.inc index 5e13f9353..adba422ad 100755..100644 --- a/testautomation/writer/optional/includes/regression/issuezilla/w_issuezilla_regression.inc +++ b/testautomation/writer/optional/includes/regression/issuezilla/w_issuezilla_regression.inc @@ -387,7 +387,7 @@ testcase i76637 Kontext "DocumentWriter" FileReload printlog "reloading ..here the crash happened in i76637." - '///crash occured here + '///crash occurred here Call hCloseDocument Call hCloseDocument diff --git a/testautomation/writer/optional/includes/undo/w_undo_history_1.inc b/testautomation/writer/optional/includes/undo/w_undo_history_1.inc index 244643532..142f7ad1e 100755..100644 --- a/testautomation/writer/optional/includes/undo/w_undo_history_1.inc +++ b/testautomation/writer/optional/includes/undo/w_undo_history_1.inc @@ -135,8 +135,8 @@ testcase tUndoReplaceAll FindAndReplace.Close Kontext "DocumentWriter" - '/// string in Undo list has to be: Replace: '14 occurences of and' - Call CheckUndoStringInUndoList ( 5, "14 occurences of 'and'" ) + '/// string in Undo list has to be: Replace: '14 occurrences of and' + Call CheckUndoStringInUndoList ( 5, "14 occurrences of 'and'" ) '/// <U><B>CHECK: Delete</B></U> '/// Backspace 4 times to delete characters diff --git a/testautomation/writer/tools/includes/w_tools_undo.inc b/testautomation/writer/tools/includes/w_tools_undo.inc index 8040b34dc..423e2cecb 100644 --- a/testautomation/writer/tools/includes/w_tools_undo.inc +++ b/testautomation/writer/tools/includes/w_tools_undo.inc @@ -92,7 +92,7 @@ sub CheckUndoStringInUndoList(vType as integer, optional vShould as string) ' Replace all case 5: Select Case vShould - case "14 occurences of 'and'" + case "14 occurrences of 'and'" Select Case iSprache Case 01: if UndoStringFromUndoList <> "Replace: 14 occurrences of 'and'" then Warnlog "Wrong text in Undo-List: " & UndoStringFromUndoList Case 34: if UndoStringFromUndoList <> "Reemplazar: 6 ocurrencias de 'and'" then Warnlog "Wrong text in Undo-List: " & UndoStringFromUndoList diff --git a/testautomation/xml/optional/includes/sxw7_03.inc b/testautomation/xml/optional/includes/sxw7_03.inc index 6dc71c8e6..adc163b9d 100755..100644 --- a/testautomation/xml/optional/includes/sxw7_03.inc +++ b/testautomation/xml/optional/includes/sxw7_03.inc @@ -429,16 +429,16 @@ testcase tEventsToObjects end if else if l = 1 then - warnlog "Event on Graphic failed! No Message Box occured!" + warnlog "Event on Graphic failed! No Message Box occurred!" end if if l = 2 then - warnlog "Event on OLE object failed! No Message Box occured!" + warnlog "Event on OLE object failed! No Message Box occurred!" end if if l = 3 then - warnlog "Event on text frame object failed! No Message Box occured!" + warnlog "Event on text frame object failed! No Message Box occurred!" end if if l = 4 then - warnlog "Event on text frame object (frame style applied) failed! No Message Box occured!" + warnlog "Event on text frame object (frame style applied) failed! No Message Box occurred!" end if end if if l <> 4 then diff --git a/testgraphical/source/CallExternals.pm b/testgraphical/source/CallExternals.pm index 39db0c641..6fa58f92a 100644 --- a/testgraphical/source/CallExternals.pm +++ b/testgraphical/source/CallExternals.pm @@ -489,7 +489,7 @@ sub ExecSQL($) ($error, @aResult) = callphp(getPHPExecutable(), $sSQLDirect, singleQuote($sSQL)); if ($error) { - log_print ("ExecSQL: An Error occured.\n"); + log_print ("ExecSQL: An Error occurred.\n"); log_print ("PHP: " . getPHPExecutable() . "\n"); log_print ("SQL Statement: " . singleQuote($sSQL) . "\n"); # exit(1); diff --git a/testgraphical/source/fill_documents_loop.pl b/testgraphical/source/fill_documents_loop.pl index 494826224..5698f4b09 100644 --- a/testgraphical/source/fill_documents_loop.pl +++ b/testgraphical/source/fill_documents_loop.pl @@ -192,7 +192,7 @@ sub createDBEntriesForEveryDocument($) my $sStr = shift; if ($sStr =~ /^MySQL-Error/ ) { - # we don't do anything if an error occured + # we don't do anything if an error occurred return; } diff --git a/testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java b/testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java index 903e370fa..8366929d4 100644 --- a/testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java +++ b/testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java @@ -700,7 +700,7 @@ public class IniFile implements Enumeration } /** - * Helper to count the occurence of Sections + * Helper to count the occurrence of Sections * @return returns the count of '^['.*']$' Elements */ public int getElementCount() diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index 269621782..095da1b4c 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -1260,7 +1260,7 @@ sal_Int32 TestBridgeImpl::run( const Sequence< OUString > & rArgs ) catch (Exception & exc) { OString cstr( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) ); - fprintf( stderr, "exception occured: %s\n", cstr.getStr() ); + fprintf( stderr, "exception occurred: %s\n", cstr.getStr() ); throw; } diff --git a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx index ab4912916..e0f9f75ae 100644 --- a/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx +++ b/testtools/source/bridgetest/cli/cli_cpp_bridgetest.cxx @@ -970,7 +970,7 @@ static bool raiseException(XBridgeTest* xLBT ) catch (System::Exception* exc) { System::Text::StringBuilder* s = new System::Text::StringBuilder(); - s->Append(S"cli_cpp_bridgetest: unexpected exception occured in XMain::run. Original exception: "); + s->Append(S"cli_cpp_bridgetest: unexpected exception occurred in XMain::run. Original exception: "); s->Append(exc->GetType()->Name); s->Append(S"\n Message: "); s->Append(exc->Message); diff --git a/testtools/source/bridgetest/cli/cli_cs_bridgetest.cs b/testtools/source/bridgetest/cli/cli_cs_bridgetest.cs index 8872968e1..bcaeb359a 100644 --- a/testtools/source/bridgetest/cli/cli_cs_bridgetest.cs +++ b/testtools/source/bridgetest/cli/cli_cs_bridgetest.cs @@ -1024,7 +1024,7 @@ static bool raiseException(XBridgeTest xLBT ) catch (System.Exception exc) { throw new unoidl.com.sun.star.uno.RuntimeException( - "cli_cs_bridgetest.cs: unexpected exception occured in XMain::run. Original exception: " + + "cli_cs_bridgetest.cs: unexpected exception occurred in XMain::run. Original exception: " + exc.GetType().Name + "\n Message: " + exc.Message , null); } } diff --git a/testtools/source/bridgetest/cli/cli_vb_bridgetest.vb b/testtools/source/bridgetest/cli/cli_vb_bridgetest.vb index 58e4521ba..903c3cb15 100644 --- a/testtools/source/bridgetest/cli/cli_vb_bridgetest.vb +++ b/testtools/source/bridgetest/cli/cli_vb_bridgetest.vb @@ -850,7 +850,7 @@ Public Class BridgeTest Throw Catch e as System.Exception Throw New unoidl.com.sun.star.uno.RuntimeException( _ - "cli_vb_bridgetest.vb: unexpected exception occured in XMain::run. " _ + "cli_vb_bridgetest.vb: unexpected exception occurred in XMain::run. " _ & "Original exception: " + e.GetType().Name + "\n Message: " _ & e.Message , Nothing) |