Kaydet (Commit) 6d623c9e authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: Ibe0a436f38da760267d9b33893e3c2e8fef2f1d5
Reviewed-on: https://gerrit.libreoffice.org/18964Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 8e4388f6
...@@ -357,7 +357,7 @@ public class CheckModuleAPI extends ComplexTestCase ...@@ -357,7 +357,7 @@ public class CheckModuleAPI extends ComplexTestCase
aModuleHashMap.put("sfx", "sfx2"); aModuleHashMap.put("sfx", "sfx2");
aModuleHashMap.put("sm", "starmath"); aModuleHashMap.put("sm", "starmath");
// it could the that the parameter looks like "fwk,fwl". This results in double "famework,framework". // it could be that the parameter looks like "fwk,fwl". This results in double "famework,framework".
// The following loop correct this to only one "framework" // The following loop correct this to only one "framework"
final Set<String> keys = aModuleHashMap.keySet(); final Set<String> keys = aModuleHashMap.keySet();
......
...@@ -45,7 +45,7 @@ import lib.StatusException; ...@@ -45,7 +45,7 @@ import lib.StatusException;
* <ul> * <ul>
* <li> <code>'XAccessibleSelection.multiSelection'</code> * <li> <code>'XAccessibleSelection.multiSelection'</code>
* (of type <code>Boolean</code>) <b> optional </b>: * (of type <code>Boolean</code>) <b> optional </b>:
* Indicates whether or not mutiply children could be selected. * Indicates whether or not multiply children could be selected.
* If the relation is <code>false</code> then more than 1 child * If the relation is <code>false</code> then more than 1 child
* couldn't be selected. </li> * couldn't be selected. </li>
* </ul> <p> * </ul> <p>
...@@ -583,4 +583,4 @@ public class _XAccessibleSelection extends MultiMethodTest { ...@@ -583,4 +583,4 @@ public class _XAccessibleSelection extends MultiMethodTest {
return res; return res;
} }
} }
\ No newline at end of file
...@@ -110,12 +110,12 @@ public class _XControl extends MultiMethodTest { ...@@ -110,12 +110,12 @@ public class _XControl extends MultiMethodTest {
tRes.tested("createPeer()",true); tRes.tested("createPeer()",true);
} }
/** /*
* Test calls the method. Then the object ralation 'WINPEER' is * Test calls the method. Then the object relation 'WINPEER' is
* obtained, and compared with the peer, gotten from (XControl) oObj * obtained, and compared with the peer, gotten from (XControl) oObj
* variable.<p> * variable.<p>
* Has <b> OK </b> status if peer gotten isn't null * Has <b> OK </b> status if peer gotten isn't null
* The following method tests are to be completed successfully before : * The following method tests are to be completed successfully before:
*/ */
public void _getPeer() { public void _getPeer() {
requiredMethod("createPeer()"); requiredMethod("createPeer()");
......
...@@ -92,7 +92,7 @@ public class _XUserInputInterception extends MultiMethodTest { ...@@ -92,7 +92,7 @@ public class _XUserInputInterception extends MultiMethodTest {
/** indicates if the mouseReleased event was called*/ /** indicates if the mouseReleased event was called*/
private boolean m_keyReleased2 = false; private boolean m_keyReleased2 = false;
/** get the object rlation XUserInputInterception.XModel from the /** get the object relation XUserInputInterception.XModel from the
* test environment * test environment
*/ */
@Override @Override
......
...@@ -173,7 +173,7 @@ public class _XMultiPropertySet extends MultiMethodTest { ...@@ -173,7 +173,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
return; return;
} }
// Change one of the property to be sure, that this event was cauched. // Change one of the property to be sure that this event was catched.
for (int i=0; i<testPropsAmount;i++) { for (int i=0; i<testPropsAmount;i++) {
log.print("Trying to change property " + testPropsNames[i]); log.print("Trying to change property " + testPropsNames[i]);
try { try {
......
...@@ -123,7 +123,7 @@ public class _XAcceptor extends MultiMethodTest { ...@@ -123,7 +123,7 @@ public class _XAcceptor extends MultiMethodTest {
XAcceptor dupAcceptor = null ; XAcceptor dupAcceptor = null ;
XConnector xConnector = null ; XConnector xConnector = null ;
// creating services requierd // creating services required
try { try {
Object oConnector = (tParam.getMSF()). Object oConnector = (tParam.getMSF()).
createInstance("com.sun.star.connection.Connector") ; createInstance("com.sun.star.connection.Connector") ;
......
...@@ -163,7 +163,7 @@ public class _XChangeBroadcaster extends MultiMethodTest { ...@@ -163,7 +163,7 @@ public class _XChangeBroadcaster extends MultiMethodTest {
/** /**
* Changes the content of the component depending on whether * Changes the content of the component depending on whether
* <code>XTextComponent</code> is supported or not. If yes * <code>XTextComponent</code> is supported or not. If yes
* then the text is chahged, if not the relation <code>change()</code> * then the text is changed, if not the relation <code>change()</code>
* method is used. * method is used.
*/ */
protected void changeContent() { protected void changeContent() {
......
...@@ -87,7 +87,7 @@ public class _XDispatchProviderInterception extends MultiMethodTest { ...@@ -87,7 +87,7 @@ public class _XDispatchProviderInterception extends MultiMethodTest {
TestInterceptor interceptor = null ; TestInterceptor interceptor = null ;
/** /**
* Cereates new interceptor implementation. * Creates new interceptor implementation.
*/ */
@Override @Override
public void before() { public void before() {
......
...@@ -123,7 +123,7 @@ public class _XDispatchRecorder extends MultiMethodTest { ...@@ -123,7 +123,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
oObj.startRecording(xFrame); oObj.startRecording(xFrame);
// positve test // positive test
dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText"); dispURL = utils.parseURL(tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue(); PropertyValue prop = new PropertyValue();
......
...@@ -59,7 +59,7 @@ public class _XModuleManager extends MultiMethodTest { ...@@ -59,7 +59,7 @@ public class _XModuleManager extends MultiMethodTest {
* <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
* coresponding value.<p> * coresponding value.<p>
* As enhancement the method <CODE>identify()</CODE> was called with incvalid * As enhancement the method <CODE>identify()</CODE> was called with invalid
* parameter. In this case the thrown exceptions was catched. * parameter. In this case the thrown exceptions was catched.
*/ */
public XModuleManager oObj = null; public XModuleManager oObj = null;
...@@ -100,7 +100,7 @@ public class _XModuleManager extends MultiMethodTest { ...@@ -100,7 +100,7 @@ public class _XModuleManager extends MultiMethodTest {
(Status.failed("Relation 'xModelSeq' not found.")) ; (Status.failed("Relation 'xModelSeq' not found.")) ;
} }
/** The method <CODE>identify()</CODE> was used for every entry in sequeze of /* The method <CODE>identify()</CODE> was used for every entry in sequence of
* object relations. * object relations.
*/ */
public void _identify() { public void _identify() {
......
...@@ -39,7 +39,7 @@ import com.sun.star.frame.DispatchResultEvent; ...@@ -39,7 +39,7 @@ import com.sun.star.frame.DispatchResultEvent;
* </code>): URL for passing to <code>dispatch()</code> method. </li> * </code>): URL for passing to <code>dispatch()</code> method. </li>
* <li> <code>[OPTIONAL] 'XNotifyingDispatchArgument'</code> * <li> <code>[OPTIONAL] 'XNotifyingDispatchArgument'</code>
* (of type sequence<code>com::sun::star::beans::PropertyValue * (of type sequence<code>com::sun::star::beans::PropertyValue
* </code>): argumets for <code>dispatchWithNotification()</code> method. </li> * </code>): arguments for <code>dispatchWithNotification()</code> method. </li>
* <ul> <p> * <ul> <p>
* @see com.sun.star.frame.XDispatch * @see com.sun.star.frame.XDispatch
* @see com.sun.star.frame.XNotifyingDispatch * @see com.sun.star.frame.XNotifyingDispatch
......
...@@ -49,7 +49,7 @@ public class _XObjectInputStream extends MultiMethodTest { ...@@ -49,7 +49,7 @@ public class _XObjectInputStream extends MultiMethodTest {
public XObjectInputStream oObj = null; public XObjectInputStream oObj = null;
/** /**
* Test reads perisist object from stream and compares properties * Test reads persist object from stream and compares properties
* of the object with properties of persist object obtained * of the object with properties of persist object obtained
* from relation <code>'PersistObject'</code> <p> * from relation <code>'PersistObject'</code> <p>
* Has <b> OK </b> status if returned value isn't null and values * Has <b> OK </b> status if returned value isn't null and values
......
...@@ -110,7 +110,7 @@ public class _XDictionaryList extends MultiMethodTest { ...@@ -110,7 +110,7 @@ public class _XDictionaryList extends MultiMethodTest {
* <code>processDictionaryListEvent</code>, removes listener, checks flag * <code>processDictionaryListEvent</code>, removes listener, checks flag
* <code>listenerCalled</code> and checks returned value. <p> * <code>listenerCalled</code> and checks returned value. <p>
* Has <b> OK </b> status if returned value is true and value of flag * Has <b> OK </b> status if returned value is true and value of flag
* <code>listenerCallled</code> is true. <p> * <code>listenerCalled</code> is true. <p>
*/ */
public void _addDictionaryListEventListener() { public void _addDictionaryListEventListener() {
listenerCalled = false; listenerCalled = false;
...@@ -138,7 +138,7 @@ public class _XDictionaryList extends MultiMethodTest { ...@@ -138,7 +138,7 @@ public class _XDictionaryList extends MultiMethodTest {
* <code>processDictionaryListEvent</code>, checks flag * <code>processDictionaryListEvent</code>, checks flag
* <code>listenerCalled</code> and checks returned value. <p> * <code>listenerCalled</code> and checks returned value. <p>
* Has <b> OK </b> status if returned value is false and value of flag * Has <b> OK </b> status if returned value is false and value of flag
* <code>listenerCallled</code> is false. <p> * <code>listenerCalled</code> is false. <p>
*/ */
public void _removeDictionaryListEventListener() { public void _removeDictionaryListEventListener() {
listenerCalled = false; listenerCalled = false;
......
...@@ -41,7 +41,7 @@ public class _XProxyFactory extends MultiMethodTest { ...@@ -41,7 +41,7 @@ public class _XProxyFactory extends MultiMethodTest {
*/ */
public XProxyFactory oObj; public XProxyFactory oObj;
/** /*
* First an implementation of * First an implementation of
* <code>com.sun.star.lang.XInitialization</code> interface * <code>com.sun.star.lang.XInitialization</code> interface
* is made which sets a flag when its <code>initialize()</code> * is made which sets a flag when its <code>initialize()</code>
...@@ -50,7 +50,7 @@ public class _XProxyFactory extends MultiMethodTest { ...@@ -50,7 +50,7 @@ public class _XProxyFactory extends MultiMethodTest {
* object is tried to query for <code>XInitialization</code> * object is tried to query for <code>XInitialization</code>
* interface and it's <code>initialize</code> method is * interface and it's <code>initialize</code> method is
* called. The goal is to check if the real object method * called. The goal is to check if the real object method
* was called throwgh it's proxy. <p> * was called through its proxy. <p>
* Has <b>OK</b> status if the real object method was * Has <b>OK</b> status if the real object method was
* called and parameters were passed correctly. * called and parameters were passed correctly.
*/ */
......
...@@ -116,7 +116,7 @@ public class _XRangeSelection extends MultiMethodTest { ...@@ -116,7 +116,7 @@ public class _XRangeSelection extends MultiMethodTest {
// wait for listeners // wait for listeners
waitForEventIdle(); waitForEventIdle();
// get closer button: move if window cobvers the sheet center // get closer button: move if window covers the sheet center
Point closer = getCloser(center); Point closer = getCloser(center);
if (closer == null) if (closer == null)
throw new StatusException(Status.failed("Couldn't get the close Button.")); throw new StatusException(Status.failed("Couldn't get the close Button."));
......
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