summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/form
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/ifc/form')
-rw-r--r--qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XFormController.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGrid.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/_XLoadable.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java26
-rw-r--r--qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java6
8 files changed, 23 insertions, 23 deletions
diff --git a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
index dd5ea363df9e..77f7abfd5224 100644
--- a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
+++ b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
@@ -102,7 +102,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 2af5b05a6574..db48cd4e50ca 100644
--- a/qadevOOo/tests/java/ifc/form/_XFormController.java
+++ b/qadevOOo/tests/java/ifc/form/_XFormController.java
@@ -56,7 +56,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 ca0830486b4f..e1f64286ee7f 100644
--- a/qadevOOo/tests/java/ifc/form/_XGrid.java
+++ b/qadevOOo/tests/java/ifc/form/_XGrid.java
@@ -63,7 +63,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 daf64f7b686b..7ea5f8130fb7 100644
--- a/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java
+++ b/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java
@@ -66,7 +66,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 6ef186d66726..5b0440d79cfd 100644
--- a/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java
+++ b/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java
@@ -43,7 +43,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() {
@@ -53,7 +53,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 3515d4ce2463..20c889208b3c 100644
--- a/qadevOOo/tests/java/ifc/form/_XLoadable.java
+++ b/qadevOOo/tests/java/ifc/form/_XLoadable.java
@@ -204,7 +204,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 1a7c5bbd33d1..c011efd52fe5 100644
--- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
@@ -42,7 +42,7 @@ import com.sun.star.lang.EventObject;
* <li> <code>'XUpdateBroadcaster.Checker'</code> : <code>
* _XUpdateBroadcaster.UpdateChecker</code> interface implementation
* which can update, commit data and check if the data was successfully
-* commited.</li>
+* committed.</li>
* <ul> <p>
* Test is <b> NOT </b> multithread compilant. <p>
* @see com.sun.star.form.XUpdateBroadcaster
@@ -53,8 +53,8 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
UpdateChecker checker = null ;
/**
- * Interface for relation. Updating, commiting and checking
- * if data was commited is object dependent behaviour.
+ * Interface for relation. Updating, committing and checking
+ * if data was committed is object dependent behaviour.
*/
public static interface UpdateChecker {
/**
@@ -66,9 +66,9 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
*/
public void commit() throws com.sun.star.uno.Exception ;
/**
- * Checks if the data commited by <code>commit</code> method
+ * Checks if the data committed by <code>commit</code> method
* became permanent in data source.
- * @return <code>true</code> if data was commited.
+ * @return <code>true</code> if data was committed.
*/
public boolean wasCommited() throws com.sun.star.uno.Exception ;
}
@@ -130,7 +130,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
* Has <b>OK</b> status if on update rejected only <code>
* approveUpdate</code> listener method was called, and if
* on update approved <code>approveUpdate</code> and
- * <code>updated</code> methods called, and data was commited
+ * <code>updated</code> methods called, and data was committed
* to the source.
*/
public void _addUpdateListener() {
@@ -143,18 +143,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
shortWait() ;
checker.commit() ;
shortWait() ;
- boolean commited = checker.wasCommited() ;
+ boolean committed = checker.wasCommited() ;
shortWait() ;
bResult = listener.approveCalled &&
! listener.updateCalled &&
- ! commited ;
+ ! committed ;
log.println("Calling with no approving : approveUpdate() was " +
(listener.approveCalled ? "":"NOT")+" called, updated() was "+
(listener.updateCalled ? "":"NOT")+" called, the value was " +
- (commited ? "" : "NOT") + " commited.") ;
+ (committed ? "" : "NOT") + " committed.") ;
shortWait() ;
@@ -165,18 +165,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
shortWait() ;
checker.commit() ;
shortWait() ;
- commited = checker.wasCommited() ;
+ committed = checker.wasCommited() ;
shortWait() ;
log.println("Calling with approving : approveUpdate() was " +
(listener.approveCalled ? "":"NOT")+" called, updated() was "+
(listener.updateCalled ? "":"NOT")+" called, the value was "+
- (commited ? "" : "NOT") + " commited.") ;
+ (committed ? "" : "NOT") + " committed.") ;
bResult = listener.approveCalled &&
listener.updateCalled &&
- commited ;
+ committed ;
} catch (com.sun.star.uno.Exception e) {
bResult = false ;
e.printStackTrace(log) ;
@@ -215,7 +215,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 82e7789a4852..54b3816bf127 100644
--- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
+++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
@@ -142,17 +142,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