summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-12-20 11:25:37 +0100
committerAndras Timar <andras.timar@collabora.com>2013-12-20 15:55:00 +0100
commitb55259eeb549482477c57d854f3de72aff345edb (patch)
tree35e474b8458ae776a8455f4f78e73ae28c611180 /qadevOOo
parent377ec698afc98a9a098b456f4ae3c694498df6a2 (diff)
typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/convwatch/MSOfficePrint.java2
-rw-r--r--qadevOOo/runner/graphical/MSOfficePostscriptCreator.java2
-rw-r--r--qadevOOo/runner/helper/StreamSimulator.java8
-rw-r--r--qadevOOo/runner/helper/URLHelper.java6
-rw-r--r--qadevOOo/runner/lib/MultiMethodTest.java2
-rw-r--r--qadevOOo/runner/lib/MultiPropertyTest.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XContainerQuery.java4
-rw-r--r--qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_RowSet.java2
-rw-r--r--qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XAutoFormattable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XURLTransformer.java10
12 files changed, 23 insertions, 23 deletions
diff --git a/qadevOOo/runner/convwatch/MSOfficePrint.java b/qadevOOo/runner/convwatch/MSOfficePrint.java
index 3b3ed466c895..40eeeaa2d6b0 100644
--- a/qadevOOo/runner/convwatch/MSOfficePrint.java
+++ b/qadevOOo/runner/convwatch/MSOfficePrint.java
@@ -265,7 +265,7 @@ public class MSOfficePrint
if (! OSHelper.isWindows())
{
// TODO: use a better Exception!!!
- throw new ConvWatchCancelException/*WrongEnvironmentException*/("We doesn't work within windows environment.");
+ throw new ConvWatchCancelException/*WrongEnvironmentException*/("We don't work within windows environment.");
}
diff --git a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
index a64c04792f8a..ba1b64af9fcb 100644
--- a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
+++ b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
@@ -348,7 +348,7 @@ public class MSOfficePostscriptCreator implements IOffice
if (! OSHelper.isWindows())
{
// TODO: use a better Exception!!!
- throw new WrongEnvironmentException("We doesn't work within windows environment.");
+ throw new WrongEnvironmentException("We don't work within windows environment.");
}
diff --git a/qadevOOo/runner/helper/StreamSimulator.java b/qadevOOo/runner/helper/StreamSimulator.java
index da5f422e722e..ad4dfc903a26 100644
--- a/qadevOOo/runner/helper/StreamSimulator.java
+++ b/qadevOOo/runner/helper/StreamSimulator.java
@@ -76,7 +76,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
*
* @throw com.sun.star.io.NotConnectedException
* in case the internal streams to the file on disk couldn't established.
- * They are neccessary. Otherwhise this simulator can't realy work.
+ * They are necessary. Otherwhise this simulator can't really work.
*/
public StreamSimulator( String sFileName , boolean bInput ,
lib.TestParameters param ) throws com.sun.star.io.NotConnectedException
@@ -128,7 +128,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XInputStream.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open in-stream.
*/
public int readBytes( /*OUT*/ byte[][] lData ,
@@ -298,7 +298,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XOutputStream.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open out-stream.
*/
public void writeBytes( /*IN*/byte[] lData ) throws com.sun.star.io.NotConnectedException ,
@@ -395,7 +395,7 @@ public class StreamSimulator implements com.sun.star.io.XInputStream ,
/**
* following methods simulates the XSeekable.
* The notice all actions inside the internal protocol
- * and try to map all neccessary functions to the internal
+ * and try to map all necessary functions to the internal
* open stream.
*/
public void seek( /*IN*/long nLocation ) throws com.sun.star.lang.IllegalArgumentException,
diff --git a/qadevOOo/runner/helper/URLHelper.java b/qadevOOo/runner/helper/URLHelper.java
index 568178e4bf9b..d4504f81359b 100644
--- a/qadevOOo/runner/helper/URLHelper.java
+++ b/qadevOOo/runner/helper/URLHelper.java
@@ -31,7 +31,7 @@ import com.sun.star.util.XURLTransformer;
/**
* It collects some static helper functons to handle URLs.
- * Sometimes it's neccessary to convert URL from/to system paths.
+ * Sometimes it's necessary to convert URL from/to system paths.
* Or from string to strutural notations (e.g. com.sun.star.util.URL).
* And sometimes java had another notation then the office it has.
*
@@ -83,7 +83,7 @@ public class URLHelper
/**
* The same as getFileURLFromSystemPath() before but uses string parameter instead
- * of a File type. It exist to supress converting of neccessary parameters in the
+ * of a File type. It exist to supress converting of necessary parameters in the
* outside code. But of course getFileURLFromSystemPath(File) will be a little bit faster
* then this method ...
*
@@ -148,7 +148,7 @@ public class URLHelper
/**
* The same as getURLWithProtocolFromSystemPath() before but uses string parameter instead
- * of a File types. It exist to supress converting of neccessary parameters in the
+ * of a File types. It exist to supress converting of necessary parameters in the
* outside code. But of course getURLWithProtocolFromSystemPath(File,File,String) will be
* a little bit faster then this method ...
*
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java
index b28194b7f0b5..cdba3a200d45 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -53,7 +53,7 @@ import com.sun.star.uno.UnoRuntime;
* MultiMethodTest subclass). See also TestResult and MultiMethodTest.tRes
* documentation.
*
- * 4. the before() and after() methods can be overriden to perform some
+ * 4. the before() and after() methods can be overridden to perform some
* actions, accordingly, before and after calling the test methods.
*
* 5. besides tRes, there are some fields initialized in the MultiMethodTest,
diff --git a/qadevOOo/runner/lib/MultiPropertyTest.java b/qadevOOo/runner/lib/MultiPropertyTest.java
index c52a9d84f71c..bffd56837d7f 100644
--- a/qadevOOo/runner/lib/MultiPropertyTest.java
+++ b/qadevOOo/runner/lib/MultiPropertyTest.java
@@ -514,7 +514,7 @@ public class MultiPropertyTest extends MultiMethodTest
}
/**
- * Overriden method of <code>PropertyTester</code> which
+ * Overridden method of <code>PropertyTester</code> which
* retruns new value from two values specified.
*
* @return The second value if old value is equal to the first
diff --git a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
index 2d7659bfb244..06f6301ded7d 100644
--- a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
+++ b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
@@ -43,7 +43,7 @@ import com.sun.star.container.XEnumeration;
* Normaly <code>createSubSetEnumerationByProperties()</code> covers all
* possible queries. But for special cases, i.e. sorted output, the function
* <code>createSubSetEnumerationByQuery()</code> was made. The special cases was not
-* implemented by default in the implemetation object. So this function could be
+* implemented by default in the implementation object. So this function could be
* marked as <code>optional</code></li>
* <ul> <p>
* <p>
@@ -90,7 +90,7 @@ public class _XContainerQuery extends MultiMethodTest {
boolean bResult = true;
if ( m_queryStrings == null ) {
- log.println("This object does not have an implemetation for this function");
+ log.println("This object does not have an implementation for this function");
// This is not a bug, because it's a feature for future purposes
} else {
for (int i = 0; i < m_queryStrings.length; i++){
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
index d6a6576a2e11..3cec7554a81a 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
@@ -72,13 +72,13 @@ public class _XDocumentInsertable extends MultiMethodTest {
*/
public static abstract class InsertChecker {
/**
- * Must be overriden to check if document was
+ * Must be overridden to check if document was
* successfully inserted.
* @return <code>true</code> if document was inserted.
*/
public abstract boolean isInserted() ;
/**
- * Can be overriden to specify different than default
+ * Can be overridden to specify different than default
* document name. This document must be situated in
* the test document disrectory, and its name must
* be specified relational to this directory. By
diff --git a/qadevOOo/tests/java/ifc/sdb/_RowSet.java b/qadevOOo/tests/java/ifc/sdb/_RowSet.java
index 1f3097de6070..9a50fbd1f524 100644
--- a/qadevOOo/tests/java/ifc/sdb/_RowSet.java
+++ b/qadevOOo/tests/java/ifc/sdb/_RowSet.java
@@ -97,7 +97,7 @@ public class _RowSet extends MultiPropertyTest {
}
/**
- * Overriden method which tests all the properties
+ * Overridden method which tests all the properties
* with <code>SafeTester</code>.
*
* @see SafeTester
diff --git a/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java b/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
index 58b4d343c1a6..d5a3e5b96fef 100644
--- a/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
+++ b/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
@@ -35,7 +35,7 @@ import com.sun.star.system.XSimpleMailClientSupplier;
* <ul>
* <li> <code>'SystemMailExist'</code> (of type <code>Boolean</code>):
* if <code>true</code> then <code>SimpleSystemMail</code> service
-* is available, if NOT then the service is not availabel or
+* is available, if NOT then the service is not availablel or
* OS doesn't has system mail.</li>
* <ul> <p>
* @see com.sun.star.system.XSimpleMailClientSupplier
diff --git a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
index 87d729bc962b..ed26a8817863 100644
--- a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
+++ b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
@@ -98,7 +98,7 @@ public class _XAutoFormattable extends MultiMethodTest {
// applying style
oObj.autoFormat(name);
- // getting new cell's backround.
+ // getting new cell's background.
Integer bkgrnd2;
try {
bkgrnd2 = (Integer) PS.getPropertyValue("CellBackColor");
diff --git a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
index f73b76c67be7..cdedf7dbd9d5 100644
--- a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
+++ b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
@@ -421,15 +421,15 @@ public class _XURLTransformer extends MultiMethodTest {
url.Complete = expectedCompleteFTP;
log.println("getPresentation('" + expectedCompleteFTP + "', false): ");
// the password must be masqurade with <****>
- String asterix = "";
+ String asterisk = "";
for (int n = 0 ; n < password.length(); n++){
- asterix += "*";
+ asterisk += "*";
}
- asterix = "<" + asterix.substring(1,asterix.length());
- asterix = asterix.substring(0,asterix.length()-1) + ">";
+ asterisk = "<" + asterisk.substring(1,asterisk.length());
+ asterisk = asterisk.substring(0,asterisk.length()-1) + ">";
presentation = oObj.getPresentation(url, false);
- String expectedPresentation = "ftp://" + user + ":" + asterix + "@" +
+ String expectedPresentation = "ftp://" + user + ":" + asterisk + "@" +
server + ":" + port + path + "/" + name;
res &= presentation.equals(expectedPresentation);
log.println("Resulted presentation: " + presentation);