diff --git a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
index ce1b634c9085..2cf6bf863f88 100644
--- a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
+++ b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java
@@ -306,7 +306,7 @@ public class MyPersistObject implements XPersistObject, XTypeProvider,
* Gives a factory for creating the service.
* This method is called by the JavaLoader
*
- * @return returns a XSingleServiceFactory for creating the component
+ * @return returns an XSingleServiceFactory for creating the component
* @param implName the name of the implementation for which a service is desired
* @param multiFactory the service manager to be used if needed
* @param regKey the registryKey
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
index d83e952fc2bf..894e3f0c7bcc 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
@@ -59,7 +59,7 @@ public class _XAccessibleContext extends MultiMethodTest {
/**
* Calls the method and stores the number of children.
- * Has OK status if non-negative number returned. + * Has OK status if a non-negative number is returned. */ public void _getAccessibleChildCount() { childCount = oObj.getAccessibleChildCount(); @@ -70,8 +70,8 @@ public class _XAccessibleContext extends MultiMethodTest { /** * Tries to get every child and checks its parent.
* - * Has OK status if parent of every child - * and the tested component are the same objects. + * Has OK status if the parent of every child + * and the tested component are the same object. * * The following method tests are to be completed successfully before : *
* * Has OK status if the parent's child and the tested - * component are the same objects. + * component are the same object. * * The following method tests are to be completed successfully before : *
* - * Has OK status if non-negative number returned. + * Has OK status if a non-negative number is returned. */ public void _getAccessibleRole() { short role = oObj.getAccessibleRole(); @@ -249,7 +249,7 @@ public class _XAccessibleContext extends MultiMethodTest { /** * Get the accessible name of the component.
* - * Has OK status if the name has non-zero length. + * Has OK status if the name is not null. */ public void _getAccessibleName() { String name = oObj.getAccessibleName(); @@ -260,7 +260,7 @@ public class _XAccessibleContext extends MultiMethodTest { /** * Get the accessible description of the component.
* - * Has OK status if the description has non-zero length. + * Has OK status if the description is not null. */ public void _getAccessibleDescription() { String descr = oObj.getAccessibleDescription(); diff --git a/qadevOOo/tests/java/ifc/awt/_XComboBox.java b/qadevOOo/tests/java/ifc/awt/_XComboBox.java index b830c6776234..85bed8b60802 100644 --- a/qadevOOo/tests/java/ifc/awt/_XComboBox.java +++ b/qadevOOo/tests/java/ifc/awt/_XComboBox.java @@ -135,7 +135,7 @@ public class _XComboBox extends MultiMethodTest { } /** - * Adds one two items to the last position and check the number of + * Adds two items to the last position and check the number of * items after addition.
* Has OK status if the number of items increased by 2.
* The following method tests are to be executed before : @@ -157,7 +157,7 @@ public class _XComboBox extends MultiMethodTest { /** * Gets the current number of items and tries to remove them all * then checks number of items.
- * Has OK status if no items remains.
+ * Has OK status if no items remain.
* The following method tests are to be executed before : *
getItems * Has OK status if the number of items increased by 2.
* The following method tests are to be executed before : @@ -178,7 +178,7 @@ public class _XListBox extends MultiMethodTest { /** * Gets the current number of items and tries to remove them all * then checks number of items.
- * Has OK status if no items remains.
+ * Has OK status if no items remain.
* The following method tests are to be executed before : *
getItems 'INSTANCE1', ..., 'INSTANCEN' : N relations
-* which represents objects to be inserted. See below
+* which represent objects to be inserted. See below
* for more information.'XIndexContainerINDEX' : For internal test
* usage. Contains current thread number. * XIndexContainer needs n ObjectRelations "INSTANCEn" , where n=1, ..., * THRCNT.
-* When this interface tested by different threads, it must use different +* When this interface is tested by different threads, it must use different * instances to insert/remove - one for each thread. *
* That's why we use objRelation "XIndexContainerINDEX" to store the number of -* last taken instance. If there is no such relation, it initialize with 1. +* last taken instance. If there is no such relation, it initializes with 1. *
-* This ObjectRelations should be necessary to create an Object, -* which is insertable by insterByIndex() +* These ObjectRelations should be necessary to create an Object, +* which is insertable by insertByIndex() * INSTANCEn are n Objectrelations so that every thread can insert its own -* object. n depends on the variable THRCNT which and comes from API.INI +* object. n depends on the variable THRCNT and comes from API.INI *
* Why that: * If you insert the same Object by insertByIndex() several times you * don't insert the Object several times. The first insertByIndex() inserts -* the Object to the Container but all other insertByIndex() changes +* the Object into the Container but all other insertByIndex() calls change * the Index in the Container because it's the same Object.
* Test is multithread compliant.
* @see com.sun.star.container.XIndexContainer @@ -72,7 +72,7 @@ public class _XIndexContainer extends MultiMethodTest { * First tries to insert proper object. Second tries to insert * null value. For each test thread different objects are inserted * on different indexes. For example for the first started test index - * is 0 and object is get from relation 'INSTANCE1', and so on.
+ * is 0 and object is retrieved from relation 'INSTANCE1', and so on.
* Has OK status if in the first case getByIndex
* method returns non null value and in the second
* IndexOutOfBoundsException was thrown.
diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
index 502a102a4463..b96b02415cc1 100644
--- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
@@ -42,11 +42,11 @@ import com.sun.star.util.XURLTransformer;
* This test needs the following object relations :
*
'FrameLoader.URL' (of type String):
- * a url of component to be loaded 'FrameLoader.Frame' (optional)
* (of type com.sun.star.frame.XFrame):
- * a target frame where component to be loaded. If this
- * relation is omitted then a text document created and its
+ * a target frame where component is to be loaded. If this
+ * relation is omitted then a text document is created and its
* frame is used.
*
@@ -61,7 +61,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
/**
* Retrieves all relations. If optional relation
- * FrameLoader.Frame not found
+ * FrameLoader.Frame is not found,
* creates a new document and obtains its frame for loading.
*
* Also MediaDescriptor is created using
@@ -101,7 +101,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
(XURLTransformer.class, o) ;
} catch ( com.sun.star.uno.Exception e ) {
- // Some exception occurs.FAILED
+ // Some exception occurred. FAILED
e.printStackTrace( log );
throw new StatusException( "Couldn't create a document.", e );
}
@@ -122,7 +122,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
/**
- * Tries to load component to a frame.
+ * Tries to load a component into a frame.
* Has OK status if true is returned.
*/
public void _load() {
@@ -132,7 +132,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
}
/**
- * Tries to load component to a frame in separate thread to
+ * Tries to load component to a frame in a separate thread to
* avoid blocking of the current thread and immediately
* cancels loading.
*
diff --git a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
index 0fe58a683209..022c49cbb7bd 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
@@ -71,7 +71,7 @@ public class _XTransliteration extends MultiMethodTest {
}
/**
- * Calls the method for load IGNORE_CASE module and checks the name returned
+ * Calls the method to load IGNORE_CASE module and checks the name returned
* by the method getName.
* Has OK status if the method getName returns the
* string "case ignore (generic)".
@@ -91,7 +91,7 @@ public class _XTransliteration extends MultiMethodTest {
* Loads LOWERCASE_UPPERCASE module and checks the current
* name of object.
*
- * Has OK status if the name of the object is equals to
+ * Has OK status if the name of the object is equal to
* 'lower_to_upper(generic)'
*/
public void _loadModuleNew() {
@@ -109,7 +109,7 @@ public class _XTransliteration extends MultiMethodTest {
}
/**
- * Calls the method for load LOWERCASE_UPPERCASE module and
+ * Calls the method to load LOWERCASE_UPPERCASE module and
* checks the name returned by the method getName.
* Has OK status if the method getName returns the
* string "lower_to_upper(generic)".
@@ -126,7 +126,7 @@ public class _XTransliteration extends MultiMethodTest {
}
/**
- * Calls the method for load UPPERCASE_LOWERCASE module and
+ * Calls the method to load UPPERCASE_LOWERCASE module and
* checks the name returned by the method getName.
* Has OK status if the method getName returns the
* string "upper_to_lower(generic)".
@@ -276,10 +276,10 @@ public class _XTransliteration extends MultiMethodTest {
* substrings, and without of bounds offset and length
* parameters.
* - * Has OK status if comparings of equal substrings - * always return 0, if comparisons of none equal returns + * Has OK status if comparisons of equal substrings + * always return 0, if comparisons of non-equal returns * proper value according to lexicographical order and if - * comparisons with invalid parameters return none 0 value. + * comparisons with invalid parameters return non-zero value. */ public void _compareSubstring() { oObj.loadModule(TransliterationModules.LOWERCASE_UPPERCASE, loc); @@ -352,9 +352,9 @@ public class _XTransliteration extends MultiMethodTest { * Test performed for sets of equal strings and not equal * strings.
*
- * Has OK status if comparings of equal strings
- * always return 0 and if comparisons of none equal returns
- * proper value according to lexicographical order .
+ * Has OK status if comparisons of equal strings
+ * always return 0 and if comparisons of non-equal returns
+ * proper value according to lexicographical order.
*/
public void _compareString() {
oObj.loadModule(TransliterationModules.LOWERCASE_UPPERCASE, loc);
diff --git a/qadevOOo/tests/java/mod/_stm/Pump.java b/qadevOOo/tests/java/mod/_stm/Pump.java
index 9f5bb1603e0c..5a4201992663 100644
--- a/qadevOOo/tests/java/mod/_stm/Pump.java
+++ b/qadevOOo/tests/java/mod/_stm/Pump.java
@@ -55,11 +55,11 @@ public class Pump extends TestCase {
/**
* Creating a TestEnvironment for the interfaces to be tested.
* Creates an instance of the service com.sun.star.io.Pump.
- * Settings up input and output streams for the created pump.
+ * Setting up input and output streams for the created pump.
* Object relations created :
*
'InputStream' for
- * {@link ifc.io._XActiveDataSource}(an input stream to set) 'OutputStream' for
* {@link ifc.io._XActiveDataSource}(an output stream to set) com.sun.star.io.Pump.
- * Settings up input and output streams for the created pump.
+ * Setting up input and output streams for the created pump.
* Object relations created :
* 'InputStream' for
- * {@link ifc.io._XActiveDataSource}(an input stream to set) 'OutputStream' for
* {@link ifc.io._XActiveDataSource}(an output stream to set)