diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2010-12-04 13:28:03 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-05 19:13:22 +0000 |
commit | f20ff43473f1d33be368d61b8d0f6bcbb644df14 (patch) | |
tree | 9bff166cbb029acf5c3a7a7a68d67151ae47d9e3 /qadevOOo | |
parent | e98d09d0ad16a6bd843f0b691d39dd0bac4ff357 (diff) |
Replace all occured, occurance etc.
Diffstat (limited to 'qadevOOo')
203 files changed, 573 insertions, 573 deletions
diff --git a/qadevOOo/runner/convwatch/ReportDesignerTest.java b/qadevOOo/runner/convwatch/ReportDesignerTest.java index 703a2b2f3073..28441bab5af4 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 bd54a66b65fd..4df9a394c742 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 a0592d5ce143..69083df762c2 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 c414accd44ac..f1d7685ce3df 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 a02f93c04347..94a6ed276f24 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 6485cd840950..30a7785ae660 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 c55da50327a6..a357c22804d9 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 199eb1c01451..b9da3402c4d0 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 8388b4c2222f..32586c6a0f3b 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 dd9749119a8f..4090820e3988 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 a744afe0a3f8..0967ddd65d27 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 259500fe0c8f..2d79f3cb13de 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 3f882f10fafb..f51b79aaad6c 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 783563acb21d..ef5b7d797864 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 3062fedbe093..12d14e6f2c9c 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 19240d37a292..ec09836d0b4d 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 c5e302451c21..58879927648c 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 3aacd8515144..fa2168f64fdb 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 8dd65e33050c..c76ed69eb581 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 588962be5afd..3c7504043d4b 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 a8eaf303302e..1aacf65de587 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 a5fc0bf98170..33893c01e66c 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 e93d97e85e19..7b9bcf790ecf 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 f47320fa3e2c..531da240a4df 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 60dd0c9b7fdf..3815c5f53c0e 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 9d1e4a84702e..bf9a25f6f13e 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 65003777182c..87319b4ce5cd 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 5cbd0145d76e..f82d43c72eb8 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 348ac264ecf5..d892f82ceb9e 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 327aacbef7bf..ba701e6c72e4 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 95f31140b847..a2e2965a609b 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 8824c3bba9ac..f69acb0fe0a5 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 e1203d7a6e31..25dce084da78 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 f3cfda4e6085..eb48a5346e18 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 d4d29cfb4354..d9b1cea4ca71 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 27948c941f9b..f22b42de40f9 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 dfc135843b44..07efacb4f415 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 ced711b1cf94..dcf65676bf7f 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 99f920e92019..48419c681f78 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 7622c547253d..b9e43d8eca69 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 12ae67dedea3..17db38f45bf1 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 2c142573ef01..78f2834b7eb2 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 e3122bc28f66..6bd5f268f7d7 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 eb6fe34c5ff3..fb032c29857e 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 5339febb521a..62c0b5651a30 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 eaf5a2d5991d..4e4d8c3821d5 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 6835b2d87aaf..af22525d732d 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 186ede4922d3..92acba6af18b 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 c790d42df531..932f11c305b4 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 166dae9de48e..61ece066456e 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 bfba13d6bb2e..ffbb373998b2 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 76a7be2593dc..6b5bba477a81 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 581fe0de7821..783928d63c28 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 dfdaa7acd735..69dab7717946 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 2296bf5802df..f0a015bacabe 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 33996a2f6f5f..30d4267ab33c 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 836abbe75f85..eede08aefb32 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 1b3ae8920357..f2b5c9a930e8 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 abeb24bf1e33..1e0712cc0ab2 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 588ff1efe3c4..0235bc3ec2f1 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 5bbb6560fe59..1018ca870112 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 643f68865de6..66f9bd1400b9 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 a43eaf6f53e8..6bfef83a1110 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 1fa0c93f868b..a2175b253b04 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 92b7332ef74a..240921760c9c 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 4128b26847d2..95d11c380e60 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 c3968a7e21ab..36e1d70cc6f5 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 347a3b7dc870..a631a3a5b917 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 4a527a5d98f1..82de50a71a9e 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 2a7e989418b2..78c107ecfa8c 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 39e7a0b9bb49..1f05ce04cee1 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 6fad036bec57..6fb30437e185 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 5bd47fa83904..47cab885203e 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 bd6bcd7a4f86..b7fb16815e1a 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 6fa133e28780..fcc54dd8b278 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 4edc1eb45e54..f9e8391b8c04 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 8bf57eb657fe..fd96d58c5538 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 1203fdeecbcb..24e89ece6e2a 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 5a1c5f054719..916c9fc21934 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 94d1e87ca9ed..7df7903aef6b 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 4ce7fe05a410..767d77951b67 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 e1cecaeb1849..d91b466bfb58 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 4abeca730765..f5436d8931e4 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 49d3be1daf35..393bfdc89f6b 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 3ff929c895dd..928359a498b9 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 1bc68938ce41..c07760be1906 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 123f7729fb5a..f6bb0af16e18 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 8dc2192ab057..14a1503fd360 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 7877ad3742d9..6ca603e7f69c 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 d91c5c1ab2d0..e94f8f511096 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 36ea27516c26..f8795163937f 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 e462a9aecab2..062c6819dcb0 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 69c7d1468b7a..6fc34cbff826 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 6c442d0255a5..9fed384d622b 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 0bfa4cba2957..8c756872dbf0 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 cbca4c600a4a..f084f18b9966 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 6c8bca02ada1..f1f0d7b6f474 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 bb819a0f43e7..7b94760e562b 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 3fe0017ad6db..87bffebba2dd 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 cf63e30250d9..44b7a7809dc6 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 09ee1da76551..b896a5b7efbd 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 c5f5307cda41..36cfc3e4baf6 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 6baffd4bfdfe..87802df02103 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 e57c50c00714..e48b213fc135 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 1b3682586778..8abd70de37fa 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 d6e6977222a4..10f70e277c58 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 d412b93531da..e55e35667cce 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 bf0bb6bea2c8..9cb43e19346f 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 4843d25f93fc..39301bea1d2d 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 fb19f6d97888..9233e1fe2548 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 f5b465012f70..d91e0aa9b2f0 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 f8ffc74e9abc..b1bdf2bbc2ae 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 76d94a618a69..6371feeb881a 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 41d3f6a91db6..f93733bec2a0 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 eaacd4a5966a..b9515fff4adb 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 7cfa8462fbda..9323ee1436f5 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 5eb811570515..cb58dde31f25 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 589bf6ef931d..4cb6f01497e5 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 f14dafba9d0c..423a5696af1e 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 45ceec2db964..f7bc1fc5df8f 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 07c5c3b93f6d..cf205d267772 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 cc960d2b191b..4a09938710d6 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 4b761e6dea65..6ac136747243 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 5942b69fd63f..6a28371f0ccc 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 cd7ffc0840b5..ca135c75af3f 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 6899f13d8ae2..1aed93a6b2c8 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 4591be5cfc2e..3b9301a538a8 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 c18d84e5d5f6..83a325b213b3 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 fddf9850ca02..f189a3c39a64 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 34ca57c63cfe..bd797fbf33ae 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 91c3014387df..27a243e0e326 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 4f701c087f71..d84d8fa3f725 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 2eea43aa726d..b98b1750697d 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 e304789f3430..9352a7404872 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 66b70aa5e020..bff921c278f3 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 baa1d5488be0..389030dced38 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 6c5f7dc53997..906be67e617b 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 0bcaecc361db..0501f1949d06 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 88491ab7a186..d016593ba0f1 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 9ecf4045bfb8..186507d8d707 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 1c3c64e25b98..37a11ddf916b 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 32f1158bf42c..aa6d2c8f0b90 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 21590965fbdf..ee30e9bddd15 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 55ed9e3c3b73..ba29b4e8702c 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 a2f0d11e3bb5..7330830c7942 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 f91389211354..fd1ccfe24200 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 5b41b5bb2928..1d5393209ff4 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 4e83d890427e..1731314b16e7 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 787c0e33881d..5ccf1ad9dd1d 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 a399e095fed8..708f55e5782b 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 6f1c23f614ce..781a61f414df 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 3c90df65111e..97778d6082ec 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 56a9ec8e6579..af1b8fc18a54 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 f7a038f5dd88..339d02cc8b7c 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 02c5cfb566f7..a66fc5c28f3e 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 29deca17e424..f0efa6410a37 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 04c3cbc76c2a..b0931e5b973e 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 72954a3aa93f..4814cc29de2e 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 f0f5f387e0ef..578c188073be 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 07d2bd70e6d9..c3ec0926dead 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 e593bdcdcda3..a416be02bb4a 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 3b98986c9290..fda55a01c2be 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 635e104ec307..e14e435a8c27 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 f5308b47d8e0..7c493045f26c 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 f9c04de22cea..e302f8e5125e 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 5e546997cd01..4fc133964925 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 06be0540f4ed..2f62e6228396 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 4c91540d52c2..d5dc53dcf180 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 20e667cd4be5..072071bb04eb 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 25434add31cb..4c7b369d37a9 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 1c75183170d3..b8822c4a3025 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 f70fa3e11ae1..5d4ddb903f62 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 aa339c2679b5..433b40ea9b68 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 72c7f759d9ff..c292150dc9a2 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 5e31bc5f75ff..35ff7f739f9e 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 8fc9bb8fa9aa..ab6e9a92b137 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 cdb1b5d67830..99a61a82bbdb 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 898f3a441e98..d06018a3c620 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 b24c71bb66bd..a42c394bc3d2 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 37f9594841d1..4299aafd8044 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 aeab9166d41d..97ca747338a0 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 aa99852595df..cc734526248d 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 9b30cffb1b3b..35e88a6a8a27 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 f59fad454154..a22e638a9e6d 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 6fe4765389da..f3a565f96305 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 5e48b073fc9f..183e2f495097 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 c0edd4f82cda..e63dcbde03dd 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 83a422df9128..86b2239cfe96 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 4405b5c5ac60..366bf5c023ac 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 7bd02228203d..5b695ee3e540 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 f628a1c11b8f..13abc4a2aace 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 1b468c8a373c..82c63a746f0a 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 4cfc5a72acaf..a643602585dd 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 244b7c9e3591..bb8f3aae4a6f 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 ee6a4cf35d2b..bdbc9611e3b5 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 9caf84ef2d94..4214d64c2638 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 ec6d6104da7a..be2389c3197c 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 bb919b651ae0..d977beab0bb9 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 cfb3d1117021..d23f0a7fbc68 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 a71443adbcc5..115a6f616732 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 154f1380a9cc..e22e5f8f852b 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 31aad6b65034..3565e44280a8 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 db0b45e3ae8b..55f30d1d8ca6 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(); |