Fix typos
Change-Id: Ibc1b7393a8e65bf23c78fdb9da78c6b73b544cf3 Reviewed-on: https://gerrit.libreoffice.org/78793 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
2acafef571
commit
fce0104505
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user