diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-09-10 10:36:47 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-09-10 11:56:52 +0200 |
commit | fce010450534e6992345f5df7b9d9665befb7c6e (patch) | |
tree | 9c5d1bde7db671a95ee47b3191e83da08f9e7e44 | |
parent | 2acafef57153bfa1ade59e887a55457ba677b976 (diff) |
Fix typos
Change-Id: Ibc1b7393a8e65bf23c78fdb9da78c6b73b544cf3
Reviewed-on: https://gerrit.libreoffice.org/78793
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r-- | framework/qa/complex/framework/recovery/RecoveryTest.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test06.java | 24 | ||||
-rw-r--r-- | package/qa/ofopxmlstorages/Test06.java | 24 | ||||
-rw-r--r-- | package/qa/storages/Test06.java | 24 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java | 2 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/chart/_ChartAxis.java | 4 | ||||
-rw-r--r-- | qadevOOo/tests/java/ifc/container/_XIndexAccess.java | 2 |
7 files changed, 41 insertions, 41 deletions
diff --git a/framework/qa/complex/framework/recovery/RecoveryTest.java b/framework/qa/complex/framework/recovery/RecoveryTest.java index 5c95e3bdc659..2f5882899bfa 100644 --- a/framework/qa/complex/framework/recovery/RecoveryTest.java +++ b/framework/qa/complex/framework/recovery/RecoveryTest.java @@ -530,7 +530,7 @@ public class RecoveryTest extends ComplexTestCase { int height = rand.nextInt(maxHeight + 1); int width = rand.nextInt((windowMaxSize.Width-posSize.Y) + 1); - // be sure that the new size his greater then the half of windowMaxSize + // be sure that the new size his greater than the half of windowMaxSize posSize.Height = (height < (maxHeight / 2)) ? height + (maxHeight / 2) : height; posSize.Width = (width < (maxWidth / 2)) ? width + (maxWidth / 2) : width; diff --git a/odk/examples/java/Storage/Test06.java b/odk/examples/java/Storage/Test06.java index 22ff96a72221..027a4a2c1521 100644 --- a/odk/examples/java/Storage/Test06.java +++ b/odk/examples/java/Storage/Test06.java @@ -62,7 +62,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion because of illegal parameter : " + e ); + m_aTestHelper.Error( "Unexpected exception because of illegal parameter : " + e ); return false; } @@ -90,7 +90,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent stream for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent stream for reading : " + e ); return false; } @@ -105,7 +105,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent storage for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent storage for reading : " + e ); return false; } @@ -120,7 +120,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to remove nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to remove nonexistent element : " + e ); return false; } @@ -135,7 +135,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename nonexistent element : " + e ); return false; } @@ -150,7 +150,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename to the name of existent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename to the name of existent element : " + e ); return false; } @@ -167,7 +167,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for copying : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for copying : " + e ); return false; } @@ -184,7 +184,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for moving : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for moving : " + e ); return false; } @@ -221,7 +221,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of copying of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of copying of nonexistent element: " + e ); return false; } @@ -236,7 +236,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of moving of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of moving of nonexistent element: " + e ); return false; } @@ -251,7 +251,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for copying already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for copying already exists: " + e ); return false; } @@ -266,7 +266,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for moving already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for moving already exists: " + e ); return false; } diff --git a/package/qa/ofopxmlstorages/Test06.java b/package/qa/ofopxmlstorages/Test06.java index afc3fcd4a0f1..b0b6b7bcc705 100644 --- a/package/qa/ofopxmlstorages/Test06.java +++ b/package/qa/ofopxmlstorages/Test06.java @@ -74,7 +74,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion because of illegal parameter : " + e ); + m_aTestHelper.Error( "Unexpected exception because of illegal parameter : " + e ); return false; } @@ -102,7 +102,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent stream for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent stream for reading : " + e ); return false; } @@ -117,7 +117,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent storage for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent storage for reading : " + e ); return false; } @@ -132,7 +132,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to remove nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to remove nonexistent element : " + e ); return false; } @@ -147,7 +147,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename nonexistent element : " + e ); return false; } @@ -162,7 +162,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename to the name of existent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename to the name of existent element : " + e ); return false; } @@ -179,7 +179,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for copying : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for copying : " + e ); return false; } @@ -196,7 +196,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for moving : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for moving : " + e ); return false; } @@ -232,7 +232,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of copying of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of copying of nonexistent element: " + e ); return false; } @@ -247,7 +247,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of moving of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of moving of nonexistent element: " + e ); return false; } @@ -262,7 +262,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for copying already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for copying already exists: " + e ); return false; } @@ -277,7 +277,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for moving already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for moving already exists: " + e ); return false; } diff --git a/package/qa/storages/Test06.java b/package/qa/storages/Test06.java index 2954ca1421c3..7d379f1823e4 100644 --- a/package/qa/storages/Test06.java +++ b/package/qa/storages/Test06.java @@ -75,7 +75,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion because of illegal parameter : " + e ); + m_aTestHelper.Error( "Unexpected exception because of illegal parameter : " + e ); return false; } @@ -103,7 +103,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent stream for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent stream for reading : " + e ); return false; } @@ -118,7 +118,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to open nonexistent storage for reading : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to open nonexistent storage for reading : " + e ); return false; } @@ -133,7 +133,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to remove nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to remove nonexistent element : " + e ); return false; } @@ -148,7 +148,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename nonexistent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename nonexistent element : " + e ); return false; } @@ -163,7 +163,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of try to rename to the name of existent element : " + e ); + m_aTestHelper.Error( "Unexpected exception in case of try to rename to the name of existent element : " + e ); return false; } @@ -180,7 +180,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for copying : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for copying : " + e ); return false; } @@ -197,7 +197,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case empty reference is provieded as target for moving : " + e ); + m_aTestHelper.Error( "Unexpected exception in case empty reference is provided as target for moving : " + e ); return false; } @@ -234,7 +234,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of copying of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of copying of nonexistent element: " + e ); return false; } @@ -249,7 +249,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case of moving of nonexistent element: " + e ); + m_aTestHelper.Error( "Unexpected exception in case of moving of nonexistent element: " + e ); return false; } @@ -264,7 +264,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for copying already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for copying already exists: " + e ); return false; } @@ -279,7 +279,7 @@ public class Test06 implements StorageTest { {} catch( Exception e ) { - m_aTestHelper.Error( "Unexpected excepion in case target for moving already exists: " + e ); + m_aTestHelper.Error( "Unexpected exception in case target for moving already exists: " + e ); return false; } diff --git a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java index 9dcb8cca585f..de59741d4b2d 100644 --- a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java +++ b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java @@ -104,7 +104,7 @@ public class _XUnoControlContainer extends MultiMethodTest { /** * Test calls the method, then checks returned value.<p> - * Has <b> OK </b> status if method returns a value that greater then zerro.<p> + * Has <b> OK </b> status if method returns a value that greater than zero.<p> * * The following method tests are to be completed successfully before : * <ul> diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java index 8c8e17c65606..2a295c20886f 100644 --- a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java +++ b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java @@ -60,7 +60,7 @@ public class _ChartAxis extends MultiPropertyTest { public void _Max() { try { //if AutoOrigin isn't true then this property works only when - //current Origin is less then new value of Max + //current Origin is less than new value of Max oObj.setPropertyValue("AutoOrigin", Boolean.TRUE); oObj.setPropertyValue("AutoMax",Boolean.FALSE); } catch(com.sun.star.lang.WrappedTargetException e) { @@ -92,7 +92,7 @@ public class _ChartAxis extends MultiPropertyTest { public void _Min() { try { //if AutoOrigin isn't true then this property works only when - //current Origin is greater then new value of Min + //current Origin is greater than new value of Min oObj.setPropertyValue("AutoOrigin", Boolean.TRUE); oObj.setPropertyValue("AutoMin", Boolean.FALSE); } catch(com.sun.star.lang.WrappedTargetException e) { diff --git a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java index 2a361ddbfd64..6b19084289ba 100644 --- a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java +++ b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java @@ -50,7 +50,7 @@ public class _XIndexAccess extends MultiMethodTest { public void _getCount() { boolean result = true; log.println("getting the number of the elements"); - // hope we haven't a count lower than zerro ;-) + // hope we haven't a count lower than zero ;-) count = -1; count = oObj.getCount(); result = (count != -1); |