Fix typos
Change-Id: I8e429d1f03aac7c7cdb7ff4b43b3f46d40292510 Reviewed-on: https://gerrit.libreoffice.org/16709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
This commit is contained in:
parent
e9e61a4a78
commit
7f73bb5b44
@ -186,7 +186,7 @@ public class AnyConverter
|
||||
*
|
||||
* <p>If <em>object</em> is an any with an interface type, then true is also
|
||||
* returned if the any contains a null reference. This is because interfaces
|
||||
* are allowed to havea null value contrary to other UNO types.</p>
|
||||
* are allowed to have a null value contrary to other UNO types.</p>
|
||||
*
|
||||
* @param object the object to check.
|
||||
* @return true if the any contains an object.
|
||||
|
@ -661,7 +661,7 @@ javaPluginError jfw_plugin_startJavaVirtualMachine(
|
||||
#ifndef ANDROID
|
||||
// On linux we load jvm with RTLD_GLOBAL. This is necessary for debugging, because
|
||||
// libjdwp.so need a symbol (fork1) from libjvm which it only gets if the jvm is loaded
|
||||
// witd RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so
|
||||
// with RTLD_GLOBAL. On Solaris libjdwp.so is correctly linked with libjvm.so
|
||||
osl::Module moduleRt;
|
||||
#if defined(LINUX)
|
||||
if (!moduleRt.load(sRuntimeLib, SAL_LOADMODULE_GLOBAL | SAL_LOADMODULE_NOW))
|
||||
|
@ -910,7 +910,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
|
||||
|
||||
//check if the directory path is good, that is a JRE was already recognized.
|
||||
//Then we need not detect it again
|
||||
//For example, a sun JKD contains <jdk>/bin/java and <jdk>/jre/bin/java.
|
||||
//For example, a sun JDK contains <jdk>/bin/java and <jdk>/jre/bin/java.
|
||||
//When <jdk>/bin/java has been found then we need not find <jdk>/jre/bin/java.
|
||||
//Otherwise we would execute java two times for every JDK found.
|
||||
MapIt entry2 = find_if(mapJREs.begin(), mapJREs.end(),
|
||||
|
@ -324,7 +324,7 @@ XFCell* LwpCellLayout::ConvertCell(LwpObjectID aTableID, sal_uInt16 nRow, sal_uI
|
||||
OUString aStyleName = m_StyleName;
|
||||
|
||||
// if cell layout is aTableID's default cell layout
|
||||
// we should judt its style by current position
|
||||
// we should adjust its style by current position
|
||||
if (pTable->GetDefaultCellStyle() == GetObjectID())
|
||||
{
|
||||
aStyleName = GetCellStyleName(nRow, nCol, pTable->GetTableLayout());
|
||||
|
@ -56,7 +56,7 @@
|
||||
#ifndef INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX
|
||||
#define INCLUDED_LOTUSWORDPRO_SOURCE_FILTER_LWPFRIBHEADER_HXX
|
||||
|
||||
#define FRIB_TAG_NOUNICODE 0x40 // Don't xlate text to/from Unicode
|
||||
#define FRIB_TAG_NOUNICODE 0x40 // Don't traslate text to/from Unicode
|
||||
#define FRIB_TAG_MODIFIER 0x80 // This frib has a modifier on it
|
||||
#define FRIB_TAG_TYPEMASK (FRIB_TAG_NOUNICODE | FRIB_TAG_MODIFIER)
|
||||
|
||||
|
@ -252,7 +252,7 @@ bool LwpVirtualLayout::IsPage()
|
||||
return (GetLayoutType() == LWP_PAGE_LAYOUT);
|
||||
}
|
||||
/**
|
||||
* @descr: Whether this layout is heaer layout or not
|
||||
* @descr: Whether this layout is header layout or not
|
||||
* @param:
|
||||
* @return:
|
||||
*/
|
||||
|
@ -786,7 +786,7 @@ void LwpPara::RegisterStyle()
|
||||
pStyle->SetParentStyleName(m_ParentStyleName);
|
||||
m_StyleName = pXFStyleManager->AddStyle(pStyle).m_pStyle->GetStyleName();
|
||||
}
|
||||
// maybe useful for futer version
|
||||
// maybe useful for further version
|
||||
// deleted because Leader of Table is not supported in this version
|
||||
//AddTabStyleForTOC();
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ void LwpStory::Parse(IXFStream* pOutputStream)
|
||||
|
||||
#include "lwppagelayout.hxx"
|
||||
/**************************************************************************
|
||||
* @descr: Set current page layout. If pPageLayout is a mirro page layout,
|
||||
* @descr: Set current page layout. If pPageLayout is a mirror page layout,
|
||||
use odd child page layout as current page layout.
|
||||
* @param:
|
||||
* @param:
|
||||
@ -235,7 +235,7 @@ void LwpStory::SortPageLayout()
|
||||
if(pLayout->IsPage())
|
||||
{
|
||||
LwpLayout::UseWhenType eSectionType = static_cast<LwpPageLayout*>(pLayout)->GetUseWhenType();
|
||||
//for mirror page, the child is pagelayout
|
||||
//for mirror page, the child is pagelayout
|
||||
LwpVirtualLayout* pParent = pLayout->GetParentLayout();
|
||||
if(eSectionType != LwpLayout::StartWithinColume && pParent && !pParent->IsPage())
|
||||
{
|
||||
|
@ -738,7 +738,7 @@ void LwpTableLayout::RegisterStyle()
|
||||
XFStyleManager* pXFStyleManager = LwpGlobalMgr::GetInstance()->GetXFStyleManager();
|
||||
m_StyleName = pXFStyleManager->AddStyle(pTableStyle).m_pStyle->GetStyleName();
|
||||
|
||||
//convert to OO table now and register row stle
|
||||
//convert to OO table now and register row style
|
||||
// traverse
|
||||
TraverseTable();
|
||||
|
||||
|
@ -105,7 +105,7 @@ public:
|
||||
void Read(LwpObjectStream *pStrm);
|
||||
};
|
||||
/**
|
||||
* @brief Merget options contained in UIDocument structure
|
||||
* @brief Merge options contained in UIDocument structure
|
||||
* not parsed yet
|
||||
*/
|
||||
class LwpMergeOptions
|
||||
|
@ -369,7 +369,7 @@ void XFFont::ToXml(IXFStream *pStrm)
|
||||
pAttrList->AddAttribute("style:text-blinking", "true" );
|
||||
}
|
||||
|
||||
//position & sacle:
|
||||
//position & scale:
|
||||
if( ((m_nFlag & XFFONT_FLAG_SCALE) && m_nScale>0 ) ||
|
||||
((m_nFlag & XFFONT_FLAG_POSITION) && m_nPosition != 0)
|
||||
)
|
||||
|
@ -71,7 +71,7 @@
|
||||
/**
|
||||
* @brief
|
||||
* Font factory.
|
||||
* Because font object are so used so offten, so make a factory to manager them.
|
||||
* Because font object are so used so often, so make a factory to manager them.
|
||||
* The fonts with same properties will only exist one instance.
|
||||
*/
|
||||
class XFFontFactory
|
||||
|
@ -122,7 +122,7 @@ public:
|
||||
void SetY(double y);
|
||||
|
||||
/**
|
||||
* @descr Set frame wieth.
|
||||
* @descr Set frame width.
|
||||
*/
|
||||
void SetWidth(double width);
|
||||
|
||||
|
@ -166,7 +166,7 @@ if ( $main::operatingSystem =~ m/darwin/ )
|
||||
print " Error: An office installation is required, please specify the path to a valid installation.\n";
|
||||
} else
|
||||
{
|
||||
# special work for a network installation, no prgram directory but a link to the soffice binary
|
||||
# special work for a network installation, no program directory but a link to the soffice binary
|
||||
if ( (! -d "$main::OFFICE_HOME/program") && (-e "$main::OFFICE_HOME/soffice") )
|
||||
{
|
||||
my $soserver = `ls -l $OFFICE_HOME_SUGGESTION/soffice | sed -n 's/.* -> //p'`;
|
||||
|
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
# wikilinks.py:
|
||||
# This throwaway prgram can be used to convert idl_chapter_refs.txt to a
|
||||
# This throwaway program can be used to convert idl_chapter_refs.txt to a
|
||||
# "fake" IDL file that can be fed to doxygen to get the DevGuide Wiki links.
|
||||
|
||||
import sys
|
||||
|
@ -647,7 +647,7 @@ public class ConfigExamples
|
||||
}
|
||||
}
|
||||
|
||||
/// this method is called to report an error during dialog execution to the zuser
|
||||
// this method is called to report an error during dialog execution to the user
|
||||
public void informUserOfError(Exception e) {
|
||||
System.err.println("ERROR in GridEditor:");
|
||||
e.printStackTrace();
|
||||
|
@ -383,7 +383,7 @@ class SalesFilter implements XActionListener, XPropertyChangeListener, XResetLis
|
||||
|
||||
if ( aFilterItems.size() > 10 ) // (6 standard items + 5 user defined items)
|
||||
{
|
||||
// the first (and thus oldes) user defined item
|
||||
// the first (and thus oldest) user defined item
|
||||
aFilterItems.remove( 6 );
|
||||
// keep our date vector synchron
|
||||
m_aFilterDates.remove( 6 );
|
||||
|
@ -124,7 +124,7 @@ public UnoMenu(XComponentContext _xContext, XMultiComponentFactory _xMCF) {
|
||||
|
||||
// set up a window description and create the window. A parent window is always necessary for this...
|
||||
com.sun.star.awt.WindowDescriptor aWindowDescriptor = new com.sun.star.awt.WindowDescriptor();
|
||||
// a TopWindow is contains a title bar and is able to inlude menus...
|
||||
// a TopWindow is contains a title bar and is able to include menus...
|
||||
aWindowDescriptor.Type = WindowClass.TOP;
|
||||
// specify the position and height of the window on the parent window
|
||||
aWindowDescriptor.Bounds = _aRectangle;
|
||||
|
@ -455,7 +455,7 @@ public class FunctionHelper
|
||||
com.sun.star.frame.XDispatchProvider.class,
|
||||
xFrame);
|
||||
|
||||
// Ask himn for right dispatch object for given URL.
|
||||
// Ask him for right dispatch object for given URL.
|
||||
// Force given frame as target for following dispatch by using "".
|
||||
// It means the same like "_self".
|
||||
xDispatcher = xProvider.queryDispatch(aURL,"",0);
|
||||
@ -866,8 +866,8 @@ public class FunctionHelper
|
||||
|
||||
/**
|
||||
* helper to get a file URL selected by user
|
||||
* This method doesn't show any API concepts ...
|
||||
* but is necessary rof this demo application.
|
||||
* This method doesn't show any API concepts...
|
||||
* but is necessary for this demo application.
|
||||
*
|
||||
* @param aParent parent window of this dialog
|
||||
* @param bOpen If it is set to true =>
|
||||
|
@ -42,7 +42,7 @@ import java.util.ArrayList;
|
||||
* It's not allowed to call synchronous back to the office if a java object
|
||||
* was called in a oneway declared interface method. Then it must be
|
||||
* executed asynchronous. To do so - a thread can be created which use this
|
||||
* interface. It get the object, which whis to be called back and the type and
|
||||
* interface. It get the object, which has to be called back and the type and
|
||||
* parameter of the original request.
|
||||
*
|
||||
*/
|
||||
|
@ -624,10 +624,10 @@ public class Interceptor implements com.sun.star.frame.XFrameActionListener,
|
||||
m_xFrame = null;
|
||||
}
|
||||
|
||||
// it's a good idead to cancel listening for frame action events
|
||||
// it's a good idea to cancel listening for frame action events
|
||||
// before(!) we deregister us as an interceptor.
|
||||
// Because registration and deregistratio nof interceptor objects
|
||||
// will force sending of frame action events ...!
|
||||
// will force sending of frame action events...!
|
||||
if (bIsActionListener)
|
||||
xFrame.removeFrameActionListener(this);
|
||||
|
||||
|
@ -249,7 +249,7 @@ class StatusListener implements com.sun.star.frame.XStatusListener,
|
||||
// Only if status is enabled we can look for his value!
|
||||
if (aEvent.IsEnabled)
|
||||
{
|
||||
// look for the right type ofthe UI control
|
||||
// look for the right type of the UI control
|
||||
// Following actions depend on it.
|
||||
|
||||
|
||||
|
@ -214,8 +214,8 @@ public class AsciiReplaceFilter
|
||||
/**
|
||||
* For external user of us we must provide our internal filter name
|
||||
* (which is registered inside configuration package TypeDetection).
|
||||
* User will be able then to ask there for furthe information about us.
|
||||
* Otherwhise we must implement a full featured XPropertySet ...
|
||||
* User will be able then to ask there for further information about us.
|
||||
* Otherwhise we must implement a full featured XPropertySet...
|
||||
*
|
||||
* @return our internal filter name of configuration
|
||||
*/
|
||||
@ -593,7 +593,7 @@ public class AsciiReplaceFilter
|
||||
}
|
||||
|
||||
/**
|
||||
* helper function to convert the used StringBuffer into a Strig value.
|
||||
* helper function to convert the used StringBuffer into a String value.
|
||||
* And we use this chance to have a look on optional filter options
|
||||
* which can invite replacing of strings.
|
||||
*/
|
||||
|
@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
@attention This class mustn't be threadsafe - because instances of it
|
||||
are used temp. only - not as members. So no concurrent access
|
||||
should occur.
|
||||
Another reason: It wuold be very difficult to safe every
|
||||
Another reason: it would be very difficult to safe every
|
||||
access on our internal member. To do so - we must implement
|
||||
special methods instead of allowing pure member access.
|
||||
************************************************************************-*/
|
||||
|
@ -39,7 +39,7 @@ import com.sun.star.util.thePathSettings;
|
||||
|
||||
/*
|
||||
* Provides example code how to access and use the
|
||||
* path pathsettings servce.
|
||||
* path pathsettings service.
|
||||
*/
|
||||
public class PathSettingsTest {
|
||||
|
||||
@ -131,7 +131,7 @@ public class PathSettingsTest {
|
||||
}
|
||||
}
|
||||
|
||||
// Try to modfiy the work path property. After running this example
|
||||
// Try to modify the work path property. After running this example
|
||||
// you should see the new value of "My Documents" in the path options
|
||||
// tab page, accessible via "Tools - Options - [Star|Open]Office -
|
||||
// Paths".
|
||||
|
@ -51,7 +51,7 @@ public class TextDocumentStructure {
|
||||
xContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
|
||||
System.out.println("Connected to a running office ...");
|
||||
|
||||
// get the rmeote service manger
|
||||
// get the remote service manager
|
||||
com.sun.star.lang.XMultiComponentFactory xMCF =
|
||||
xContext.getServiceManager();
|
||||
|
||||
|
@ -204,7 +204,7 @@ published service Content
|
||||
be sorted, otherwise it can be left empty.
|
||||
</li>
|
||||
</ul>
|
||||
The exceution must be aborted by the implementation of this command
|
||||
The execution must be aborted by the implementation of this command
|
||||
(by throwing a CommandAbortedException), if an
|
||||
unsupported mode is requested.
|
||||
</td>
|
||||
@ -234,7 +234,7 @@ published service Content
|
||||
<li>com::sun::star::ucb::OpenCommandArgument::Properties: empty ( ignored )</li>
|
||||
<li>com::sun::star::ucb::OpenCommandArgument2::SortingInfo: empty ( ignored )</li>
|
||||
</ul>
|
||||
<p>The exceution must be aborted by the implementation of this command
|
||||
<p>The execution must be aborted by the implementation of this command
|
||||
(by throwing a CommandAbortedException), if an
|
||||
unsupported mode is requested.</p>
|
||||
</td>
|
||||
|
@ -82,7 +82,7 @@
|
||||
the service nad singleton type info.
|
||||
In the same step i have updated the reference type library with the rdb of
|
||||
OOo2.0.1 and have patched the following singleton types to ensure that we need
|
||||
only one type ibrary:
|
||||
only one type library:
|
||||
- com.sun.star.script.browse.theBrowseNodeFactory
|
||||
- com.sun.star.script.provider.theMasterScriptProviderFactory
|
||||
- com.sun.star.util.theMacroExpander
|
||||
|
@ -53,7 +53,7 @@
|
||||
</prop>
|
||||
<prop oor:name="UIName" oor:localized="true" oor:type="xs:string">
|
||||
<info>
|
||||
<desc>Localized name of the filter, whch can be shown at the UI.</desc>
|
||||
<desc>Localized name of the filter, which can be shown at the UI.</desc>
|
||||
</info>
|
||||
</prop>
|
||||
</group>
|
||||
|
@ -76,7 +76,7 @@ struct AxisModel
|
||||
sal_Int32 mnLabelOffset; /// Tick mark label distance from axis.
|
||||
sal_Int32 mnMajorTickMark; /// Major tick mark style.
|
||||
sal_Int32 mnMajorTimeUnit; /// Time unit for major tick marks on date axis.
|
||||
sal_Int32 mnMinorTickMark; /// Mainor tick mark style.
|
||||
sal_Int32 mnMinorTickMark; /// Minor tick mark style.
|
||||
sal_Int32 mnMinorTimeUnit; /// Time unit for minor tick marks on date axis.
|
||||
sal_Int32 mnOrientation; /// Axis orientation (value order min to max, or max to min).
|
||||
sal_Int32 mnTickLabelPos; /// Position of tick mark labels relative to the axis.
|
||||
|
@ -378,7 +378,7 @@ bool BinaryCodec_RCF::startBlock( sal_Int32 nCounter )
|
||||
rtlCipherError eResult =
|
||||
rtl_cipher_init( mhCipher, rtl_Cipher_DirectionDecode, pnKeyData, RTL_DIGEST_LENGTH_MD5, 0, 0 );
|
||||
|
||||
// rrase key data array and leave
|
||||
// erase key data array and leave
|
||||
rtl_secureZeroMemory (pnKeyData, sizeof(pnKeyData));
|
||||
return eResult == rtl_Cipher_E_None;
|
||||
}
|
||||
|
@ -158,7 +158,7 @@ namespace oox { namespace ppt {
|
||||
// this was ppt_ without an interesting thing after that
|
||||
// just copy it verbatim
|
||||
sRes.append("ppt_");
|
||||
// we are going to adjust for ppt_@ after the swtich
|
||||
// we are going to adjust for ppt_@ after the switch
|
||||
// so compensate for the fact we did not really process
|
||||
// an extra character after ppt_
|
||||
nIndex -= 1;
|
||||
|
@ -1676,7 +1676,7 @@ void OStorage_Impl::CloneStreamElement( const OUString& aStreamName,
|
||||
// child stream should be used for copiing. Probably the children m_xPackageStream
|
||||
// can be used as a base of a new stream, that would be copied to result
|
||||
// storage. The only problem is that some package streams can be accessed from outside
|
||||
// at the same time ( now solwed by wrappers that remember own position ).
|
||||
// at the same time (now solved by wrappers that remember own position).
|
||||
|
||||
if ( bEncryptionDataProvided )
|
||||
pElement->m_pStream->GetCopyOfLastCommit( xTargetStream, aEncryptionData );
|
||||
|
@ -38,7 +38,7 @@ public class java_complex implements TestBase
|
||||
{
|
||||
|
||||
/**
|
||||
* This function executes the complex tests given as parameter "-o" or "TestJob". It querys for the correspond class
|
||||
* This function executes the complex tests given as parameter "-o" or "TestJob". It queries for the correspond class
|
||||
* and crates the JobDescription.
|
||||
* @return true of all tests run successfully, else false
|
||||
*/
|
||||
|
@ -137,13 +137,13 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
|
||||
|
||||
try
|
||||
{
|
||||
// some tests are very dynamic in its exceution time so that
|
||||
// a threadTimeOut fails. In this cases the logging mechanisim
|
||||
// some tests are very dynamic in their execution time so that
|
||||
// a threadTimeOut fails. In this cases the logging mechanism
|
||||
// is a useful way to detect that a office respective a test
|
||||
// is running and not death.
|
||||
// But way ThreadTimeOut?
|
||||
// There exists a complex test which uses no office. Therefore
|
||||
// a logging mechanisim to detect a stalled test.
|
||||
// a logging mechanism to detect a stalled test.
|
||||
int lastPing = -1;
|
||||
int newPing = 0;
|
||||
|
||||
|
@ -25,7 +25,7 @@ import util.utils;
|
||||
|
||||
/**
|
||||
* This class is printing to a <CODE>LogWriter</CODE>. This could be useful if a UNO-API
|
||||
* function runns longer the time out. To avoid the assumption of death applikation
|
||||
* function runs longer than time out. To avoid the assumption of death application
|
||||
* a simple string is logged for 100 times of time out.</br>
|
||||
* Example:</br>
|
||||
* logger = new LoggingThread((LogWriter)log, tParam);
|
||||
|
@ -89,7 +89,7 @@ class SimpleStatus {
|
||||
}
|
||||
|
||||
/**
|
||||
* The constructor initialize state and reson field.
|
||||
* The constructor initialize state and reason field.
|
||||
*/
|
||||
protected SimpleStatus(String runStateString, boolean state) {
|
||||
this.state = state;
|
||||
@ -127,4 +127,4 @@ class SimpleStatus {
|
||||
return "FAILED";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ public class TestResult {
|
||||
* and makes the state of the method completed. It's equal to
|
||||
* tested(method, Status(result)) call.
|
||||
*
|
||||
* @param method reffers to the method whoch was tested
|
||||
* @param method reffers to the method which was tested
|
||||
* @param result the result of testing the method
|
||||
*
|
||||
* @return the result value
|
||||
@ -85,4 +85,4 @@ public class TestResult {
|
||||
return testedMethods.get( method );
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ import share.DescEntry;
|
||||
|
||||
/**
|
||||
*
|
||||
* this class summs up the results of the subentries of a given DescEntry<br>
|
||||
* this class adds up the results of the subentries of a given DescEntry
|
||||
* and fills the subentries in cases of SKIPPED states
|
||||
*/
|
||||
public class Summarizer
|
||||
|
@ -72,7 +72,7 @@ public class UITools {
|
||||
}
|
||||
|
||||
/**
|
||||
* Helper mathod: set a text into AccessibleEdit field
|
||||
* Helper method: set a text into AccessibleEdit field
|
||||
* @param textfiledName is the name of the text field
|
||||
* @param stringToSet is the string to set
|
||||
* @throws java.lang.Exception if something fail
|
||||
|
@ -508,7 +508,7 @@ public class XMLTools {
|
||||
|
||||
/**
|
||||
* Checks if this tag matches tag passed in parameters.
|
||||
* I.e. if tag specifies only its name it mathes if names
|
||||
* I.e. if tag specifies only its name it matches if names
|
||||
* are equal (attributes don't make sense). If there are
|
||||
* some attributes names specified in this tag method checks
|
||||
* if all names present in attribute list <code>list</code>
|
||||
|
@ -250,7 +250,7 @@ public class utils {
|
||||
settingPath = (String) pthSettings.getPropertyValue(setting);
|
||||
|
||||
} catch (Exception e) {
|
||||
System.out.println("Couldn't get stting value for " + setting);
|
||||
System.out.println("Couldn't get string value for " + setting);
|
||||
e.printStackTrace();
|
||||
}
|
||||
return settingPath;
|
||||
|
@ -395,7 +395,7 @@ public class CheckModuleAPI extends ComplexTestCase
|
||||
final String line = outs[i];
|
||||
if (line.matches("[0-9]+? of [0-9]+? tests failed"))
|
||||
{
|
||||
log.println("mached line: " + line);
|
||||
log.println("matched line: " + line);
|
||||
if (line.matches("0 of [0-9]+? tests failed"))
|
||||
{
|
||||
ok = true;
|
||||
|
@ -117,7 +117,7 @@ public class _XTreeNode extends MultiMethodTest {
|
||||
mCount = oObj.getChildCount();
|
||||
log.println("got count '" + mCount + "' of children");
|
||||
if (mCount < 1 ) {
|
||||
log.println("ERROR: got a count < 1. The test object must be support morw then zero children => FAILED");
|
||||
log.println("ERROR: got a count < 1. The test object must be support more then zero children => FAILED");
|
||||
bOK = false;
|
||||
}
|
||||
tRes.tested("getChildCount()", bOK);
|
||||
|
@ -98,7 +98,7 @@ public class _XPropertyAccess extends MultiMethodTest {
|
||||
* <CODE>XPropertyAccess.propertyToChange</CODE> has changed</LI>
|
||||
* <li><CODE>com.sun.star.lang.IllegalArgumentException</CODE> was thrown if a <CODE>Integer</CODE>
|
||||
* value was set to a <CODE>String</CODE> property</LI>
|
||||
* <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was throen if an invalid property
|
||||
* <li><CODE>com.sun.star.beans.UnknownPropertyException</CODE> was thrown if an invalid property
|
||||
* was set</LI>
|
||||
* </ul>
|
||||
*/
|
||||
@ -112,7 +112,7 @@ public class _XPropertyAccess extends MultiMethodTest {
|
||||
PropertyValue[] newProps = new PropertyValue[1];
|
||||
newProps[0] = propertyToChange;
|
||||
|
||||
log.println("try to set property vlaues given by object relation 'XPropertyAccess.propertyToChange'...");
|
||||
log.println("try to set property values given by object relation 'XPropertyAccess.propertyToChange'...");
|
||||
oObj.setPropertyValues(newProps);
|
||||
|
||||
} catch (UnknownPropertyException ex) {
|
||||
|
@ -186,7 +186,7 @@ public class _XPropertyState extends MultiMethodTest {
|
||||
result = false ;
|
||||
} else {
|
||||
if (ps.length != 1) {
|
||||
log.println("!!! Array lebgth returned is invalid - " +
|
||||
log.println("!!! Array length returned is invalid - " +
|
||||
ps.length) ;
|
||||
result = false ;
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ public class _XDataFormatTranslator extends MultiMethodTest {
|
||||
/**
|
||||
* Gets data flavour from system data type, which was gotten
|
||||
* from 'text/html' MIME type. <p>
|
||||
* Has <b>OK</b> status if DataFlavour returned has 'text/hrml' MIME
|
||||
* Has <b>OK</b> status if DataFlavour returned has 'text/html' MIME
|
||||
* type.
|
||||
*/
|
||||
public void _getDataFlavorFromSystemDataType() {
|
||||
|
@ -65,7 +65,7 @@ public class _XClipboardNotifier extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* Simpliest <code>XTransferable</code> interface implementation
|
||||
* which supports "text/htmp" data type.
|
||||
* which supports "text/html" data type.
|
||||
*/
|
||||
class MyTransferable implements XTransferable {
|
||||
DataFlavor[] supportedFlavors;
|
||||
|
@ -100,7 +100,7 @@ public class _XModuleManager extends MultiMethodTest {
|
||||
(Status.failed("Relation 'xModelSeq' not found.")) ;
|
||||
}
|
||||
|
||||
/** The method <CODE>identify()</CODE> was tesed for every entry in sequeze of
|
||||
/** The method <CODE>identify()</CODE> was used for every entry in sequeze of
|
||||
* object relations.
|
||||
*/
|
||||
public void _identify() {
|
||||
|
@ -62,7 +62,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
|
||||
/**
|
||||
* Retrieves all relations. If optional relation
|
||||
* <code>FrameLoader.Frame</code> not found
|
||||
* creates a new document and otains its frame for loading. <p>
|
||||
* creates a new document and obtains its frame for loading. <p>
|
||||
*
|
||||
* Also <code>MediaDescriptor</code> is created using
|
||||
* URL from <code>FrameLoader.URL</code> relation.
|
||||
@ -83,7 +83,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
|
||||
|
||||
XURLTransformer xURLTrans = null;
|
||||
|
||||
// if frame is not contained in relations the writer frmame will be used.
|
||||
// if frame is not contained in relations the writer frame will be used.
|
||||
if (frame == null) {
|
||||
try {
|
||||
log.println( "creating a textdocument" );
|
||||
|
@ -202,7 +202,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* Helper class to handle the phonetic equivalence of unicode characters
|
||||
* This class delivers an amount oif 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.
|
||||
*/
|
||||
public static class UnicodeStringPair {
|
||||
|
@ -43,7 +43,7 @@ public class _XDeleteRows extends MultiMethodTest {
|
||||
* Retrieves bookmark using XRowLocate and deletes
|
||||
* row pointed by this bookmark. <p>
|
||||
* Has OK status if number of rows after deleting is less than before
|
||||
* and no exception rizes while method call, FAILED otherwise. <p>
|
||||
* and no exception rises while method call, FAILED otherwise. <p>
|
||||
*/
|
||||
public void _deleteRows() {
|
||||
XRowLocate xRowLocate = UnoRuntime.queryInterface(XRowLocate.class, oObj);
|
||||
|
@ -70,7 +70,7 @@ public class _XSheetOperation extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* Test calls the method and checks returned value. <p>
|
||||
* Has <b> OK </b> status if returned value is equal or greate than zero
|
||||
* Has <b> OK </b> status if returned value is equal or greater than zero
|
||||
* and no exceptions were thrown. <p>
|
||||
*/
|
||||
public void _computeFunction() {
|
||||
|
@ -83,7 +83,7 @@ public class _XTableChart extends MultiMethodTest {
|
||||
/**
|
||||
* Test calls the method and stores the range returned. <p>
|
||||
* Has <b> OK </b> status if the method returns not
|
||||
* <code>null</code> valuie. <p>
|
||||
* <code>null</code> value. <p>
|
||||
*/
|
||||
public void _getRanges() {
|
||||
the_Ranges = oObj.getRanges();
|
||||
|
@ -170,7 +170,7 @@ public class _XCommandProcessor extends MultiMethodTest {
|
||||
* The following method tests are to be completed successfully before :
|
||||
* <ul>
|
||||
* <li> <code> createCommandIdentifier() </code> : to have a unique
|
||||
* identifier which is used to abourt started command. </li>
|
||||
* identifier which is used to abort started command. </li>
|
||||
* </ul>
|
||||
*/
|
||||
public void _abort() {
|
||||
|
@ -60,7 +60,7 @@ public class _XFormLayerAccess extends MultiMethodTest {
|
||||
}
|
||||
|
||||
/**
|
||||
* Test disables the FormDesignMode and calls the mthod. <p>
|
||||
* Test disables the FormDesignMode and calls the method. <p>
|
||||
* Has <b> OK </b> status if the method returns
|
||||
* a not empty object of kind of com.sun.star.form.XFormController<P>
|
||||
* The following method tests are to be completed successfully before :
|
||||
|
@ -97,7 +97,7 @@ public class SwXStyle extends TestCase {
|
||||
* Object relations created :
|
||||
* <ul>
|
||||
* <li> <code>'PoolStyle'</code> for
|
||||
* {@link ifc.style._XStyle} : slyle indexed '10' obtained from
|
||||
* {@link ifc.style._XStyle} : style indexed '10' obtained from
|
||||
* StyleFamily indexed '0' from text document using
|
||||
* <code>XIndexAccess</code> interface.</li>
|
||||
* </ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user