Fix typos

Change-Id: I263a4348774051626f57547f3fdab00a18a92f75
Reviewed-on: https://gerrit.libreoffice.org/78792
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini 2019-09-10 10:36:33 +02:00 committed by Julien Nabet
parent 17f9aa97f8
commit b86ab7eb8b
10 changed files with 15 additions and 15 deletions

View File

@ -132,7 +132,7 @@ public class _XShape extends MultiMethodTest {
log.println("Expected: "+sNew.Height+";"+sNew.Width);
log.println("Getting: "+gSize.Height+";"+gSize.Width);
//errors in calculation from points/twips less then 1 are acceptable
//errors in calculation from points/twips less than 1 are acceptable
result &= (sNew.Height-gSize.Height <= 2) && (sNew.Width-gSize.Width <= 2);
if (result && ((sNew.Height-gSize.Height != 0) || (sNew.Width-gSize.Width != 0))){

View File

@ -173,11 +173,11 @@ public class _XMarkableStream extends MultiMethodTest {
int offset = oObj.offsetToMark(mark);
res = offset == 0;
} catch(com.sun.star.lang.IllegalArgumentException e) {
log.println("Couldn't get offser to mark");
log.println("Couldn't get offset to mark");
e.printStackTrace(log);
res = false;
} catch(com.sun.star.io.IOException e) {
log.println("Couldn't get offser to mark");
log.println("Couldn't get offset to mark");
e.printStackTrace(log);
res = false;
}

View File

@ -42,7 +42,7 @@ import com.sun.star.uno.UnoRuntime;
* has <code>Object[]</code> type. This relation is used as
* a parameter for <code>createInstanceWithArguments</code>
* method call. If this relation doesn't exist test pass
* zerro length array as argument. </li>
* zero length array as argument. </li>
* <li> <code>'XSingleServiceFactory.MustSupport'</code> <b>(optional)</b>:
* of type <code>java.lang.Class[]</code>. This is an array of UNO
* interface classes which must be supported by created instance.
@ -114,7 +114,7 @@ public class _XSingleServiceFactory extends MultiMethodTest {
/**
* Calls the method and checks the value returned. If relation
* with method argument doesn't exist new zerro length array
* with method argument doesn't exist new zero length array
* is created. <p>
* Has <b>OK</b> status if non null value is returned.
* If the relation exists which specifies required interfaces

View File

@ -69,7 +69,7 @@ public class _XCachedContentResultSetFactory extends MultiMethodTest {
* of rows from result set created and its stub are retrieved
* using their static representations and comared. <p>
* Has <b>OK</b> status if numbers of rows are equal and they are
* greater then 0 (because JAR file contains at least one entry).
* greater than 0 (because JAR file contains at least one entry).
*/
public void _createCachedContentResultSet() {
boolean result = true ;

View File

@ -67,7 +67,7 @@ public class _XCachedContentResultSetStubFactory extends MultiMethodTest {
* of rows in cached result set created and its source set are retrieved
* and comared. <p>
* Has <b>OK</b> status if numbers of rows are equal and they are
* greater then 0 (because JAR file contains at least one entry).
* greater than 0 (because JAR file contains at least one entry).
*/
public void _createCachedContentResultSetStub() {
boolean result = true ;

View File

@ -70,7 +70,7 @@ public class _XCachedDynamicResultSetFactory extends MultiMethodTest {
* of rows from result set created and its stub are retrieved
* using their static representations and comared. <p>
* Has <b>OK</b> status if numbers of rows are equal and they are
* greater then 0 (because JAR file contains at least one entry).
* greater than 0 (because JAR file contains at least one entry).
*/
public void _createCachedDynamicResultSet() {
boolean result = true ;

View File

@ -71,7 +71,7 @@ public class _XCachedDynamicResultSetStubFactory extends MultiMethodTest {
* of rows from result set stub created and its source set are retrieved
* using their static representations and compared. <p>
* Has <b>OK</b> status if numbers of rows are equal and they are
* greater then 0 (because JAR file contains at least one entry).
* greater than 0 (because JAR file contains at least one entry).
*/
public void _createCachedDynamicResultSetStub() {
boolean result = true ;

View File

@ -64,7 +64,7 @@ public class _XSortedDynamicResultSetFactory extends MultiMethodTest {
* a dynamic result set is to be created. It is created by
* retrieving content list from JAR archive.
* Has <b>OK</b> status if numbers of rows are equal and they are
* greater then 0 (because JAR file contains at least one entry).
* greater than 0 (because JAR file contains at least one entry).
*/
public void _createSortedDynamicResultSet() {
boolean result = true ;

View File

@ -53,7 +53,7 @@ public class Invocation extends TestCase {
* has <code>Object[]</code> type. This relation is used as
* a parameter for <code>createInstanceWithArguments</code>
* method call. If this relation doesn't exist test pass
* zerro length array as argument. Here
* zero length array as argument. Here
* <code>com.sun.star.io.Pipe</code> instance is passed.</li>
* <li> <code>'XSingleServiceFactory.MustSupport'</code> :
* for interface {@link _ifc.lang.XSingleServiceFactory}.

View File

@ -139,7 +139,7 @@ void XSheetOutline::testShowLevel()
aSheetOutline->showLevel(2, table::TableOrientation_COLUMNS);
std::cout << " verifiy showLevel col apres" << getVisibleAdress(aSheet, "OutlineSheet.A1:Z30") << std::endl;
std::cout << " verify showLevel col apres" << getVisibleAdress(aSheet, "OutlineSheet.A1:Z30") << std::endl;
// verify that level 2 and level 1 are shown --> column 0..3 & column 22..26
// level 3 & 4 are hidden --> column 4..19
@ -161,18 +161,18 @@ void XSheetOutline::testShowLevel()
aSheetOutline->showDetail(getAddressFromRangeString(rowLevel1));
aSheetOutline->showDetail(getAddressFromRangeString(rowLevel2));
std::cout << " verifiy showLevel row avant" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
std::cout << " verify showLevel row avant" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
aSheetOutline->hideDetail(aLevel1);
aSheetOutline->hideDetail(aLevel2);
aSheetOutline->hideDetail(aLevel3);
aSheetOutline->hideDetail(aLevel4);
std::cout << " verifiy showLevel row juste avant" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
std::cout << " verify showLevel row juste avant" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
aSheetOutline->showLevel(2, table::TableOrientation_ROWS);
std::cout << " verifiy showLevel row apres" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
std::cout << " verify showLevel row apres" << OUStringToOString(getVisibleAdress("OutlineSheet.A1:Z30"), RTL_TEXTENCODING_UTF8).getStr() << std::endl;
// verify rows visible 0..3 & 24..29
// verfiy rows hidden 4..23