Kaydet (Commit) 7f56e581 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I72bec7ec76fbbbfee9d5185ac1a358659f0d06b5
Reviewed-on: https://gerrit.libreoffice.org/35638Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst b958eae8
...@@ -166,7 +166,7 @@ public class APIDescGetter extends DescGetter ...@@ -166,7 +166,7 @@ public class APIDescGetter extends DescGetter
} }
else else
{ {
//look the scenarion like this? : //look the scenario like this? :
// sw.SwXBodyText,sw.SwXTextCursor // sw.SwXBodyText,sw.SwXTextCursor
ArrayList<String> subs = getSubObjects(job); ArrayList<String> subs = getSubObjects(job);
DescEntry[] entries = new DescEntry[subs.size()]; DescEntry[] entries = new DescEntry[subs.size()];
......
...@@ -263,7 +263,7 @@ public class ConfigHelper ...@@ -263,7 +263,7 @@ public class ConfigHelper
XNameContainer.class,xGroup); XNameContainer.class,xGroup);
} catch(com.sun.star.container.NoSuchElementException ex) { } catch(com.sun.star.container.NoSuchElementException ex) {
throw new com.sun.star.uno.Exception(ex, throw new com.sun.star.uno.Exception(ex,
"could not get extensilbe group '"+extGroup+ "could not get extensible group '"+extGroup+
"' from group '"+ group + "' from group '"+ group +
"' from set '"+ setName +"'"); "' from set '"+ setName +"'");
} }
......
...@@ -203,4 +203,4 @@ public class TestParameters extends HashMap<String,Object> { ...@@ -203,4 +203,4 @@ public class TestParameters extends HashMap<String,Object> {
return "unorc"; return "unorc";
} }
}// finish class TestParamenters }// finish class TestParameters
...@@ -43,7 +43,7 @@ public interface LogWriter { ...@@ -43,7 +43,7 @@ public interface LogWriter {
/** /**
* Set a <CODE>Watcher</CODE> to the <CODE>LogWriter</CODE> * Set a <CODE>Watcher</CODE> to the <CODE>LogWriter</CODE>
* This is useful if a test starts a new office instance by itself. In this cases * This is useful if a test starts a new office instance by itself. In this cases
* the <CODE>LogWritter</CODE> could retrigger the <CODE>Watcher</CODE> * the <CODE>LogWriter</CODE> could retrigger the <CODE>Watcher</CODE>
* @see share.Watcher * @see share.Watcher
* @param watcher the new <CODE>Watcher</CODE> * @param watcher the new <CODE>Watcher</CODE>
*/ */
......
...@@ -57,7 +57,7 @@ public interface PropertyName { ...@@ -57,7 +57,7 @@ public interface PropertyName {
*/ */
String DEBUG_IS_ACTIVE = "DebugIsActive"; String DEBUG_IS_ACTIVE = "DebugIsActive";
/** /**
* parameter name: "OutProduceer" * parameter name: "OutProducer"
* This parameter contains the class used<br> * This parameter contains the class used<br>
* for Logging * for Logging
*/ */
......
...@@ -215,7 +215,7 @@ public class utils { ...@@ -215,7 +215,7 @@ public class utils {
} }
/** /**
* In the office there are some sttetings available. This function * In the office there are some settings available. This function
* returns the value of the given setting name. For Example the setting name "Temp" * returns the value of the given setting name. For Example the setting name "Temp"
* "Temp" returns the temp folder of the office instance. * "Temp" returns the temp folder of the office instance.
* @param msf a XMultiServiceFactory * @param msf a XMultiServiceFactory
...@@ -694,7 +694,7 @@ public class utils { ...@@ -694,7 +694,7 @@ public class utils {
* Validate the connection string. Returned is an error message, starting * Validate the connection string. Returned is an error message, starting
* with "Error:", or a warning, if the command might work. * with "Error:", or a warning, if the command might work.
* @param connectString The connection string that is checked. * @param connectString The connection string that is checked.
* @param checkAppExecutionCommand If the AppExecutionCommand is checked, the error messages willbe different. * @param checkAppExecutionCommand If the AppExecutionCommand is checked, the error message is different.
* @return The error message, or OK, if no error was detected. * @return The error message, or OK, if no error was detected.
*/ */
private static String validateConnectString(String connectString, boolean checkAppExecutionCommand) { private static String validateConnectString(String connectString, boolean checkAppExecutionCommand) {
......
...@@ -70,7 +70,7 @@ public class _XAccessibleEditableText extends MultiMethodTest { ...@@ -70,7 +70,7 @@ public class _XAccessibleEditableText extends MultiMethodTest {
/** /**
* Retrieves object relation. Stores initial component text * Retrieves object relation. Stores initial component text
* for restoding it in <code>after</code>. * for restoring it in <code>after</code>.
*/ */
@Override @Override
protected void before() { protected void before() {
......
...@@ -198,7 +198,7 @@ public class _XUserInputInterception extends MultiMethodTest { ...@@ -198,7 +198,7 @@ public class _XUserInputInterception extends MultiMethodTest {
* Has <b> OK </b> status if only one of the listener are triggered. <p> * Has <b> OK </b> status if only one of the listener are triggered. <p>
* The following method tests are to be completed successfully before : * The following method tests are to be completed successfully before :
* <ul> * <ul>
* <li> <code> addMouseKlickHandler() </code> : adds two key listener </li> * <li> <code> addMouseClickHandler() </code> : adds two key listener </li>
* </ul> * </ul>
*/ */
public void _removeMouseClickHandler() { public void _removeMouseClickHandler() {
......
...@@ -102,7 +102,7 @@ public class _XNameAccess extends MultiMethodTest { ...@@ -102,7 +102,7 @@ public class _XNameAccess extends MultiMethodTest {
* </ul> * </ul>
*/ */
public void _getByName() { public void _getByName() {
log.println("reqiure getElementNames() ..."); log.println("require getElementNames() ...");
requiredMethod("getElementNames()"); requiredMethod("getElementNames()");
log.println("require getElementNames() ...OK"); log.println("require getElementNames() ...OK");
log.println("testing getByName() ..."); log.println("testing getByName() ...");
......
...@@ -87,7 +87,7 @@ public class _XShapeCombiner extends MultiMethodTest { ...@@ -87,7 +87,7 @@ public class _XShapeCombiner extends MultiMethodTest {
boolean result = false; boolean result = false;
log.println("spiltting the shape..."); log.println("splitting the shape...");
oObj.split(oGroup); oObj.split(oGroup);
int countAfterSplit = oShapes.getCount(); int countAfterSplit = oShapes.getCount();
......
...@@ -40,7 +40,7 @@ public class _XReset extends MultiMethodTest { ...@@ -40,7 +40,7 @@ public class _XReset extends MultiMethodTest {
public static XReset oObj = null; public static XReset oObj = null;
/** /**
* Indicates if listeners must approve restes requests or not. * Indicates if listeners must approve reset requests or not.
*/ */
protected boolean approve = true; protected boolean approve = true;
/** /**
......
...@@ -88,7 +88,7 @@ public class _XSubmit extends MultiMethodTest { ...@@ -88,7 +88,7 @@ public class _XSubmit extends MultiMethodTest {
} }
/** /**
* Before submision tries to set 'TargetURL' property * Before submission tries to set 'TargetURL' property
* of component to some value assuming that component * of component to some value assuming that component
* supports <code>com.sun.star.form.HTMLForm</code> * supports <code>com.sun.star.form.HTMLForm</code>
* service. * service.
......
...@@ -95,7 +95,7 @@ public class _XController extends MultiMethodTest { ...@@ -95,7 +95,7 @@ public class _XController extends MultiMethodTest {
/** /**
* At first object relation 'FirstModel' is gotten. Then test calls the * At first object relation 'FirstModel' is gotten. Then test calls the
* method. <p> * method. <p>
* Has <b> OK </b> status if string rapresentation of an object, returned by * Has <b> OK </b> status if string representation of an object, returned by
* the method is equal to string representation of corresponding object * the method is equal to string representation of corresponding object
* relation. * relation.
*/ */
......
...@@ -515,7 +515,7 @@ public class _XFrame extends MultiMethodTest { ...@@ -515,7 +515,7 @@ public class _XFrame extends MultiMethodTest {
* Test calls the method. <p> * Test calls the method. <p>
* Has <b> OK </b> status if the method successfully returns. * Has <b> OK </b> status if the method successfully returns.
* In case a frame should initialised twice, a * In case a frame should initialised twice, a
* <CODE>com.sun.star.uno.RuntimeException</CODE> was thron. This is ok. But since * <CODE>com.sun.star.uno.RuntimeException</CODE> was thrown. This is ok. But since
* a com.sun.star.uno.RuntimeException could thrown in any state the message of * a com.sun.star.uno.RuntimeException could thrown in any state the message of
* the exception must contain a defined string. In this case the test get an * the exception must contain a defined string. In this case the test get an
* <CODE>OK</CODE> status. * <CODE>OK</CODE> status.
......
...@@ -54,7 +54,7 @@ public class _XModuleManager extends MultiMethodTest { ...@@ -54,7 +54,7 @@ public class _XModuleManager extends MultiMethodTest {
/** Test calls the method. <p> /** Test calls the method. <p>
* The onject relations <CODE>XModuleManager.XFrame</CODE>, * The onject relations <CODE>XModuleManager.XFrame</CODE>,
* <CODE>XModuleManager.XController</CODE> and <CODE>XModuleManager.XModel</CODE> * <CODE>XModuleManager.XController</CODE> and <CODE>XModuleManager.XModel</CODE>
* are sequenzes of <CODE>PropertyValue</CODE>. The value of a PropertyValue * are sequences of <CODE>PropertyValue</CODE>. The value of a PropertyValue
* contains a <CODE>XFrame</CODE>, <CODE>XController</CODE> or a * contains a <CODE>XFrame</CODE>, <CODE>XController</CODE> or a
* <CODE>XModel</CODE>. The name of the PropertyValue contains the expected return * <CODE>XModel</CODE>. The name of the PropertyValue contains the expected return
* value of method <CODE>indetify()</CODE> if the method was called with * value of method <CODE>indetify()</CODE> if the method was called with
......
...@@ -202,7 +202,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest { ...@@ -202,7 +202,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
/** /**
* Helper class to handle the phonetic equivalence of unicode characters * Helper class to handle the phonetic equivalence of unicode characters
* This class delivers an amount of unicode characters and the equivalent phonetics * This class delivers an amount of unicode characters and the equivalent phonetics
* for the "getPhoneticCandidate" test. Euivalents are only usable for zh,CN locale. * for the "getPhoneticCandidate" test. Equivalents are only usable for zh,CN locale.
*/ */
public static class UnicodeStringPair { public static class UnicodeStringPair {
static final int valCount = 78; static final int valCount = 78;
......
...@@ -145,7 +145,7 @@ public class _XActiveDataControl extends MultiMethodTest { ...@@ -145,7 +145,7 @@ public class _XActiveDataControl extends MultiMethodTest {
/** /**
* Tests <code>removeListener()</code>. Before, it ensures that other * Tests <code>removeListener()</code>. Before, it ensures that other
* tests are perforemed and that <code>addListener()</code> is okay. Then, * tests are performed and that <code>addListener()</code> is okay. Then,
* calls <code>XActiveDataControl.start()</code> and checks that no method * calls <code>XActiveDataControl.start()</code> and checks that no method
* of the listener was called. * of the listener was called.
*/ */
......
...@@ -48,7 +48,7 @@ import com.sun.star.uno.XInterface; ...@@ -48,7 +48,7 @@ import com.sun.star.uno.XInterface;
* <li> <code>'StreamData'</code> (of type <code>Vector</code>): * <li> <code>'StreamData'</code> (of type <code>Vector</code>):
* vector of data for comparing with data that obtained from stream </li> * vector of data for comparing with data that obtained from stream </li>
* <li> <code>'StreamWriter'</code> (of type <code>XDataOutputStream</code>): * <li> <code>'StreamWriter'</code> (of type <code>XDataOutputStream</code>):
* a possiblitiy to write values to the stream. </li> * a possibility to write values to the stream. </li>
* <ul> <p> * <ul> <p>
* After test completion object environment has to be recreated. * After test completion object environment has to be recreated.
* @see com.sun.star.io.XDataInputStream * @see com.sun.star.io.XDataInputStream
......
...@@ -76,7 +76,7 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest { ...@@ -76,7 +76,7 @@ public class _XRowSetApproveBroadcaster extends MultiMethodTest {
/** /**
* Implementation of <code>XRowSetApproveListener</code> interface * Implementation of <code>XRowSetApproveListener</code> interface
* which just detects and stores approve requipements. They are checked * which just detects and stores approve requirements. They are checked
* later. * later.
*/ */
private static class TestListener implements XRowSetApproveListener { private static class TestListener implements XRowSetApproveListener {
......
...@@ -309,7 +309,7 @@ public class _ParagraphProperties extends MultiPropertyTest { ...@@ -309,7 +309,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
/** /**
* Tested with com.sun.star.text.NumberingLevel <p> * Tested with com.sun.star.text.NumberingLevel <p>
* The value of this property is a com.sun.star.container.XIndexReplace which is represneted by * The value of this property is a com.sun.star.container.XIndexReplace which is represented by
* com.sun.star.text.NumberingLevel. * com.sun.star.text.NumberingLevel.
* The following property tests are to be completed successfully before : * The following property tests are to be completed successfully before :
* <ul> * <ul>
......
...@@ -74,7 +74,7 @@ public class _XStyle extends MultiMethodTest { ...@@ -74,7 +74,7 @@ public class _XStyle extends MultiMethodTest {
/** /**
* Test calls the method. <p> * Test calls the method. <p>
* Has <b> OK </b> status if the method sreturns <code>true</code>. <p> * Has <b> OK </b> status if the method returns <code>true</code>. <p>
*/ */
public void _isInUse() { public void _isInUse() {
tRes.tested("isInUse()",oObj.isInUse()); tRes.tested("isInUse()",oObj.isInUse());
......
...@@ -56,7 +56,7 @@ import util.utils; ...@@ -56,7 +56,7 @@ import util.utils;
* </ul> <p> * </ul> <p>
* This test needs the following object relations : * This test needs the following object relations :
* <ul> * <ul>
* <li> <code>'ImageMap'</code> (an inmplementation of * <li> <code>'ImageMap'</code> (an implementation of
* <code>com.sun.star.image.ImageMapObject</code>): * <code>com.sun.star.image.ImageMapObject</code>):
* is used to insert a new Map into collection * is used to insert a new Map into collection
* from 'ImageMap' property. </li> * from 'ImageMap' property. </li>
......
...@@ -230,7 +230,7 @@ public class _XTextTableCursor extends MultiMethodTest { ...@@ -230,7 +230,7 @@ public class _XTextTableCursor extends MultiMethodTest {
} }
/** /**
* First splits the cell horyzontally. Then the end cell * First splits the cell horizontally. Then the end cell
* name is checked. Second split all cells vertically and * name is checked. Second split all cells vertically and
* again the end cell name is checked<p> * again the end cell name is checked<p>
* *
......
...@@ -418,7 +418,7 @@ public class _XURLTransformer extends MultiMethodTest { ...@@ -418,7 +418,7 @@ public class _XURLTransformer extends MultiMethodTest {
url.Complete = expectedCompleteFTP; url.Complete = expectedCompleteFTP;
log.println("getPresentation('" + expectedCompleteFTP + "', false): "); log.println("getPresentation('" + expectedCompleteFTP + "', false): ");
// the password must be masquarade with <****> // the password must be masquerade with <****>
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
for (int n = 0 ; n < password.length(); n++){ for (int n = 0 ; n < password.length(); n++){
sb.append("*"); sb.append("*");
......
...@@ -137,7 +137,7 @@ public class GenericModelTest extends TestCase { ...@@ -137,7 +137,7 @@ public class GenericModelTest extends TestCase {
/** /**
* describes the kind of the shape which should be created. * describes the kind of the shape which should be created.
* Example: m_kindOfshape=DateFiled * Example: m_kindOfshape=DateFilled
*/ */
protected String m_kindOfControl = null; protected String m_kindOfControl = null;
......
...@@ -485,7 +485,7 @@ public class ODatabaseForm extends TestCase { ...@@ -485,7 +485,7 @@ public class ODatabaseForm extends TestCase {
// adding an object for XNameReplace testing // adding an object for XNameReplace testing
log.println("adding oInstace as obj relation to environment"); log.println("adding oInstance as obj relation to environment");
tEnv.addObjRelation("INSTANCE", oInstance); tEnv.addObjRelation("INSTANCE", oInstance);
......
...@@ -113,7 +113,7 @@ public class ScTabViewObj extends TestCase { ...@@ -113,7 +113,7 @@ public class ScTabViewObj extends TestCase {
/* /*
* Creating a TestEnvironment for the interfaces to be tested. * Creating a TestEnvironment for the interfaces to be tested.
* Retrives the current controller of the spreadsheet document using the * Retrieves the current controller of the spreadsheet document using the
* interface <code>XModel</code>. The controller is the instance of the * interface <code>XModel</code>. The controller is the instance of the
* service <code>com.sun.star.sheet.SpreadsheetView</code>. Retrieves * service <code>com.sun.star.sheet.SpreadsheetView</code>. Retrieves
* a collection of spreadsheets from the document and takes one of them. * a collection of spreadsheets from the document and takes one of them.
......
...@@ -222,7 +222,7 @@ public class SwXMailMerge extends TestCase { ...@@ -222,7 +222,7 @@ public class SwXMailMerge extends TestCase {
tEnv.addObjRelation("DataAccessDescriptor.XResultSet", oResultSet); tEnv.addObjRelation("DataAccessDescriptor.XResultSet", oResultSet);
tEnv.addObjRelation("DataAccessDescriptor.XConnection", getRemoteXConnection(Param)); tEnv.addObjRelation("DataAccessDescriptor.XConnection", getRemoteXConnection(Param));
// com.sun.star.text.MailMaerge // com.sun.star.text.MailMerge
tEnv.addObjRelation("MailMerge.XConnection", getRemoteXConnection(Param)); tEnv.addObjRelation("MailMerge.XConnection", getRemoteXConnection(Param));
tEnv.addObjRelation("MailMerge.XResultSet", oMMXResultSet); tEnv.addObjRelation("MailMerge.XResultSet", oMMXResultSet);
......
...@@ -86,7 +86,7 @@ public class SwXNumberingRules extends TestCase { ...@@ -86,7 +86,7 @@ public class SwXNumberingRules extends TestCase {
* Creating a TestEnvironment for the interfaces to be tested. * Creating a TestEnvironment for the interfaces to be tested.
* At first some strings are inserted to a text document, then style families * At first some strings are inserted to a text document, then style families
* are gotten from text document using <code>XStyleFamiliesSupplier</code>. * are gotten from text document using <code>XStyleFamiliesSupplier</code>.
* Then style family 'NuberingRules' is retrieved, then style indexed '0' * Then style family 'NumberingRules' is retrieved, then style indexed '0'
* is obtained. At the end property value 'NumberingRules' is obtained from * is obtained. At the end property value 'NumberingRules' is obtained from
* given style. * given style.
*/ */
......
...@@ -45,7 +45,7 @@ import util.utils; ...@@ -45,7 +45,7 @@ import util.utils;
/** /**
* Test for object which is represented by accessible component of the 'Font' * Test for object which is represented by accessible component of the 'Font'
* combo box in Format->Character... dislog box. * combo box in Format->Character... dialog box.
* <p> * <p>
* *
* Object implements the following interfaces : * Object implements the following interfaces :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment