Many spelling fixes: directory qadevOOo.
Attempt to clean up most but certainly not all the spelling mistakes that found home in OpenOffice through decades. We could probably blame the international nature of the code but it is somewhat shameful that this wasn't done before. (cherry picked from commit c3f20ae9a447f50517fe545a53de91d412c3337c) Conflicts: qadevOOo/runner/base/java_complex.java qadevOOo/runner/basicrunner/BasicHandler.java qadevOOo/runner/basicrunner/basichelper/Connector.java qadevOOo/runner/helper/LoggingThread.java qadevOOo/runner/helper/StreamSimulator.java qadevOOo/runner/helper/URLHelper.java qadevOOo/runner/stats/SQLExecution.java qadevOOo/runner/util/SOfficeFactory.java qadevOOo/runner/util/utils.java qadevOOo/tests/basic/ifc/awt/XWindow/awt_XWindow.xba qadevOOo/tests/basic/ifc/beans/XPropertyState/beans_XPropertyState.xba qadevOOo/tests/basic/ifc/container/XIndexReplace/container_XIndexReplace.xba qadevOOo/tests/basic/ifc/io/XMarkableStream/io_XMarkableStream.xba qadevOOo/tests/basic/ifc/lang/XInitialization/lang_XInitialization.xba qadevOOo/tests/basic/ifc/sdbc/XCloseable/sdbc_XCloseable.xba qadevOOo/tests/basic/ifc/sdbcx/XRowLocate/sdbcx_XRowLocate.xba qadevOOo/tests/basic/ifc/text/XRelativeTextContentInsert/text_XRelativeTextContentInsert.xba qadevOOo/tests/basic/ifc/text/XTextColumns/text_XTextColumns.xba qadevOOo/tests/basic/mod/dynamicloader.uno/Dynamic/dynamicloader_uno_Dynamic.xba qadevOOo/tests/basic/mod/dynamicloader/Dynamic/dynamicloader_Dynamic.xba qadevOOo/tests/basic/mod/sc/ScDDELinkObj/sc_ScDDELinkObj.xba qadevOOo/tests/basic/mod/sc/ScDDELinksObj/sc_ScDDELinksObj.xba qadevOOo/tests/basic/mod/sc/ScIndexEnumeration_DDELinksEnumeration/sc_ScIndexEnumeration_DDELinksEnumeration.xba qadevOOo/tests/java/ifc/container/_XNameReplace.java qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java qadevOOo/tests/java/ifc/frame/_XFrame.java qadevOOo/tests/java/ifc/i18n/_XCalendar.java qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java qadevOOo/tests/java/ifc/sdbc/_XRowSet.java qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java qadevOOo/tests/java/ifc/util/_XTextSearch.java qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java qadevOOo/tests/java/mod/_bridgefac.uno/package.html qadevOOo/tests/java/mod/_connector.uno/package.html qadevOOo/tests/java/mod/_corereflection.uno/package.html qadevOOo/tests/java/mod/_forms/GenericModelTest.java qadevOOo/tests/java/mod/_implreg.uno/package.html qadevOOo/tests/java/mod/_introspection.uno/package.html qadevOOo/tests/java/mod/_invocadapt.uno/package.html qadevOOo/tests/java/mod/_invocation.uno/package.html qadevOOo/tests/java/mod/_nestedreg.uno/package.html qadevOOo/tests/java/mod/_sc/XMLMetaImporter.java qadevOOo/tests/java/mod/_servicemgr.uno/package.html qadevOOo/tests/java/mod/_shlibloader.uno/package.html qadevOOo/tests/java/mod/_simplereg.uno/package.html qadevOOo/tests/java/mod/_streams.uno/package.html qadevOOo/tests/java/mod/_sw/SwXTextView.java qadevOOo/tests/java/mod/_sw/XMLMetaImporter.java qadevOOo/tests/java/mod/_typeconverter.uno/package.html qadevOOo/tests/java/mod/_typemgr.uno/package.html qadevOOo/tests/java/mod/_uuresolver.uno/package.html qadevOOo/tests/java/mod/_xmloff/Draw/XMLMetaImporter.java qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaImporter.java Change-Id: I1ca48fdbb7aa71685b6145218d482dd9fa41be26
This commit is contained in:
parent
dc7ba1af23
commit
f2023b24ff
@ -85,7 +85,7 @@ public class java_complex implements TestBase
|
||||
boolean returnVal = true;
|
||||
|
||||
// the concept of the TimeOut depends on runner logs. If the runner log,
|
||||
// for exmaple to start a test method, the timeout was restet. This is not
|
||||
// for example to start a test method, the timeout was reset. This is not
|
||||
// while the test itself log something like "open docuent...".
|
||||
// An property of complex test could be that it have only one test method
|
||||
// which works for serveral minutes. Ih this case the TimeOut get not trigger
|
||||
|
@ -374,7 +374,7 @@ public class ConvWatchStarter extends EnhancedComplexTestCase
|
||||
// aSemaphore.V(aSemaphore.getSemaphoreFile());
|
||||
// aSemaphore.sleep(2);
|
||||
// // wait some time maybe an other process will take the semaphore
|
||||
// // I know, this is absolutly dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// // I know, this is absolutely dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// }
|
||||
}
|
||||
|
||||
|
@ -315,7 +315,7 @@ public class DB extends DBHelper
|
||||
{
|
||||
String sError = e.getMessage();
|
||||
GlobalLogWriter.get().println("DB: Original SQL error: " + sError);
|
||||
// throw new ValueNotFoundException("Cant execute SQL: " + _sSQL);
|
||||
// throw new ValueNotFoundException("Can't execute SQL: " + _sSQL);
|
||||
}
|
||||
return aResultList;
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ public class DBHelper
|
||||
{
|
||||
String sError = e.getMessage();
|
||||
GlobalLogWriter.get().println("DB: Original SQL error: " + sError);
|
||||
throw new ValueNotFoundException("Cant execute SQL: " + _sSQL);
|
||||
throw new ValueNotFoundException("Can't execute SQL: " + _sSQL);
|
||||
}
|
||||
}
|
||||
catch(SQLException e)
|
||||
|
@ -59,7 +59,7 @@ public class FileHelper
|
||||
return true;
|
||||
}
|
||||
// This is just nice for DEBUG behaviour
|
||||
// due to the fact this is absolutly context dependency no one should use it.
|
||||
// due to the fact this is absolutely context dependency no one should use it.
|
||||
// else
|
||||
// {
|
||||
// System.out.println("FileHelper:exists() tell this path doesn't exists. Check it. path is:" );
|
||||
|
@ -395,7 +395,7 @@ public class MSOfficePrint
|
||||
File aPerlScript = new File(userdir + fs + _sScriptName);
|
||||
if (FileHelper.isDebugEnabled())
|
||||
{
|
||||
GlobalLogWriter.get().println("Search for local existance of " + aPerlScript.getAbsolutePath());
|
||||
GlobalLogWriter.get().println("Search for local existence of " + aPerlScript.getAbsolutePath());
|
||||
}
|
||||
|
||||
if (aPerlScript.exists())
|
||||
|
@ -371,7 +371,7 @@ public class OfficePrint {
|
||||
* @param _sPrintFileURL
|
||||
* @return true, if print has been done.
|
||||
* Be careful, true means only print returns with no errors, to be sure print is really done
|
||||
* check existance of _sPrintFileURL
|
||||
* check existence of _sPrintFileURL
|
||||
*/
|
||||
|
||||
public static boolean printToFileWithOOo(GraphicalTestArguments _aGTA,
|
||||
@ -588,7 +588,7 @@ public class OfficePrint {
|
||||
|
||||
// configure Office to allow to execute macos
|
||||
|
||||
// TODO: We need a possiblity to set the printer name also for StarOffice/OpenOffice
|
||||
// TODO: We need a possibility to set the printer name also for StarOffice/OpenOffice
|
||||
if (OSHelper.isWindows())
|
||||
{
|
||||
if (_aGTA.getPrinterName() != null)
|
||||
|
@ -274,7 +274,7 @@ public class ReferenceBuilder extends EnhancedComplexTestCase
|
||||
// aSemaphore.V(aSemaphore.getSemaphoreFile());
|
||||
// aSemaphore.sleep(2);
|
||||
// // wait some time maybe an other process will take the semaphore
|
||||
// // I know, this is absolutly dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// // I know, this is absolutely dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ public class FileHelper
|
||||
return true;
|
||||
}
|
||||
// This is just nice for DEBUG behaviour
|
||||
// due to the fact this is absolutly context dependency no one should use it.
|
||||
// due to the fact this is absolutely context dependency no one should use it.
|
||||
// else
|
||||
// {
|
||||
// System.out.println("FileHelper:exists() tell this path doesn't exists. Check it. path is:" );
|
||||
|
@ -483,7 +483,7 @@ public class MSOfficePostscriptCreator implements IOffice
|
||||
File aPerlScript = new File(sFileName);
|
||||
if (FileHelper.isDebugEnabled())
|
||||
{
|
||||
GlobalLogWriter.println("Search for local existance of " + aPerlScript.getAbsolutePath());
|
||||
GlobalLogWriter.println("Search for local existence of " + aPerlScript.getAbsolutePath());
|
||||
}
|
||||
|
||||
if (aPerlScript.exists())
|
||||
|
@ -421,7 +421,7 @@ public class OpenOfficePostscriptCreator implements IOffice
|
||||
*
|
||||
* @return true, if print has been done.
|
||||
* Be careful, true means only print returns with no errors, to be sure print is really done
|
||||
* check existance of _sPrintFileURL
|
||||
* check existence of _sPrintFileURL
|
||||
*/
|
||||
|
||||
// public boolean printToFileWithOOo(ParameterHelper _aGTA,
|
||||
@ -556,7 +556,7 @@ public class OpenOfficePostscriptCreator implements IOffice
|
||||
|
||||
// configure Office to allow to execute macos
|
||||
|
||||
// TODO: We need a possiblity to set the printer name also for StarOffice/OpenOffice
|
||||
// TODO: We need a possibility to set the printer name also for StarOffice/OpenOffice
|
||||
if (OSHelper.isWindows())
|
||||
{
|
||||
if (_aGTA.getPrinterName() != null)
|
||||
@ -1386,7 +1386,7 @@ public class OpenOfficePostscriptCreator implements IOffice
|
||||
// aSemaphore.V(aSemaphore.getSemaphoreFile());
|
||||
// aSemaphore.sleep(2);
|
||||
// // wait some time maybe an other process will take the semaphore
|
||||
// // I know, this is absolutly dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// // I know, this is absolutely dirty, but the whole convwatch is dirty and need a big cleanup.
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ import com.sun.star.util.*;
|
||||
* <li><CODE><prop oor:name="UserItem"></CODE>
|
||||
* represents a <CODE>property</CODE> of the extensible group</LI>
|
||||
* </UL>
|
||||
* We assume in the following examples the existance of:<P>
|
||||
* We assume in the following examples the existence of:<P>
|
||||
* <CODE>ConfigHelper aConfig = new ConfigHelper(xMSF, "org.openoffice.Office.Views", false);</CODE>
|
||||
* <ul>
|
||||
* <li>If you like to insert a new <CODE>Group</CODE> into the <CODE>Set</CODE> "Windows":<p>
|
||||
@ -248,7 +248,7 @@ public class ConfigHelper
|
||||
|
||||
/**
|
||||
* Update a property of a group container of a set container
|
||||
* @param setName the name of the <CODE>set</CODE> which containes the <CODE>group</CODE>
|
||||
* @param setName the name of the <CODE>set</CODE> which contains the <CODE>group</CODE>
|
||||
* @param groupName the name of the <CODE>group</CODE> which property should be changed
|
||||
* @param propName the name of the property which should be changed
|
||||
* @param propValue the value the property should get
|
||||
@ -285,7 +285,7 @@ public class ConfigHelper
|
||||
|
||||
/**
|
||||
* Insert a property in an extensible group container or else update it
|
||||
* @param setName the name of the <CODE>set</CODE> which containes the <CODE>group</CODE>
|
||||
* @param setName the name of the <CODE>set</CODE> which contains the <CODE>group</CODE>
|
||||
* @param group The name of the <CODE>group</CODE> which conatins the <CODE>extensible group</CODE>.
|
||||
* @param extGroup The name of the <CODE>extensible group</CODE> which
|
||||
* [should] contain the property
|
||||
|
@ -781,7 +781,7 @@ public class ProcessHandler
|
||||
*
|
||||
* The method can also be called before the command
|
||||
* starts its execution. Then the text is buffered
|
||||
* and transfered to command when it will be started.
|
||||
* and transferred to command when it will be started.
|
||||
* @param str
|
||||
*/
|
||||
public void printInputText(String str)
|
||||
|
@ -48,7 +48,7 @@ import com.sun.star.uno.UnoRuntime;
|
||||
* 3. to set status for a call 'tRes.tested(String method,
|
||||
* boolean result)' should be used. For example 'tRes.tested("getText()",
|
||||
* true)'. Also 'tRes.assert(String assertion, boolean result)' call can
|
||||
* be used. Note, that one can call the methods not neccesarily from the
|
||||
* be used. Note, that one can call the methods not necessarily from the
|
||||
* test for the tested method, but from other method tests too (in the
|
||||
* MultiMethodTest subclass). See also TestResult and MultiMethodTest.tRes
|
||||
* documentation.
|
||||
|
@ -107,7 +107,7 @@ public class CalcTools {
|
||||
/**
|
||||
*
|
||||
* returns an <CODE>XSpreadsheet</CODE> from a Calc document.
|
||||
* @param xSheetDoc the Calc docuent which containes the sheet
|
||||
* @param xSheetDoc the Calc docuent which contains the sheet
|
||||
* @param sheetNumber the number of the sheet to return
|
||||
* @throws java.lang.Exception on any error an <CODE>java.lang.Exception</CODE> was thrown
|
||||
* @return calc sheet
|
||||
|
@ -52,7 +52,7 @@ import java.sql.DriverManager;
|
||||
|
||||
/**
|
||||
* Provides useful methods for working with SOffice databases.
|
||||
* Database creation, data transfering, outputting infromation.
|
||||
* Database creation, data transferring, outputting infromation.
|
||||
*/
|
||||
public class DBTools {
|
||||
|
||||
|
@ -616,4 +616,4 @@ public class SOfficeFactory {
|
||||
}
|
||||
return null;
|
||||
} // finish queryXServiceInfo
|
||||
}
|
||||
}
|
||||
|
@ -457,9 +457,9 @@ public class utils {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method check via Office the existance of the given file URL
|
||||
* This method check via Office the existence of the given file URL
|
||||
* @param msf the multiservice factory
|
||||
* @param fileURL the file which existance should be checked
|
||||
* @param fileURL the file which existence should be checked
|
||||
* @return true if the file exists, else false
|
||||
*/
|
||||
public static boolean fileExists(XMultiServiceFactory msf, String fileURL) {
|
||||
@ -482,7 +482,7 @@ public class utils {
|
||||
}
|
||||
|
||||
/**
|
||||
* This method deletes via office the given file URL. It checks the existance
|
||||
* This method deletes via office the given file URL. It checks the existence
|
||||
* of <CODE>fileURL</CODE>. If exists it will be deletet.
|
||||
* @param xMsf the multiservice factory
|
||||
* @param fileURL the file to delete
|
||||
|
@ -197,7 +197,7 @@ public class _XWindow extends MultiMethodTest {
|
||||
/**
|
||||
* Test calls the method. Then we check if listener's methods were called
|
||||
* when we move, resize, hide and show the window. The resizing is
|
||||
* performed depending on 'XWindow.ControlShape' existance. If this
|
||||
* performed depending on 'XWindow.ControlShape' existence. If this
|
||||
* relation exists then the size and position of container control
|
||||
* shape is changed, else the position and size of window itself is
|
||||
* chaged<p>
|
||||
|
@ -133,7 +133,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
|
||||
log.println("ERROR: expected IndexOutOfBoundsException was not thrown => FAILED");
|
||||
bOK = false;
|
||||
} catch (com.sun.star.lang.IllegalArgumentException ex) {
|
||||
log.println("ERROR: wrong IllegalArgumentException was thrown. Expeced is IndexOutOfBoundsException => FAILED");
|
||||
log.println("ERROR: wrong IllegalArgumentException was thrown. Expected is IndexOutOfBoundsException => FAILED");
|
||||
bOK = false;
|
||||
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
|
||||
log.println("Expected IndexOutOfBoundsException was thrown => OK");
|
||||
@ -170,7 +170,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
|
||||
try {
|
||||
log.println("try to remove node at invalid index '-3'");
|
||||
oObj.removeChildByIndex(-3);
|
||||
log.println("ERROR: expeced IndexOutOfBoundsException was not thrown => FAILED");
|
||||
log.println("ERROR: expected IndexOutOfBoundsException was not thrown => FAILED");
|
||||
bOK = false;
|
||||
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
|
||||
log.println("expected IndexOutOfBoundsException was thrown => OK");
|
||||
|
@ -59,7 +59,7 @@ public class _XIndexAccess extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* This method tests the IndexAccess from the first element,
|
||||
* the middle element and the last element. Finaly it test
|
||||
* the middle element and the last element. Finally it test
|
||||
* Exceptions which throws by a not available index. <p>
|
||||
* Has <b> OK </b> status if first, middle and last elements
|
||||
* successfully returned and has non null value; and if on
|
||||
|
@ -71,7 +71,7 @@ public class _XIndexContainer extends MultiMethodTest {
|
||||
/**
|
||||
* First tries to insert proper object. Second tries to insert
|
||||
* null value. For each test thread different objects are inserted
|
||||
* on different indexes. For exmaple for the first started test index
|
||||
* on different indexes. For example for the first started test index
|
||||
* is 0 and object is get from relation 'INCTANCE1', and so on. <p>
|
||||
* Has <b>OK</b> status if in the first case <code>getByIndex</code>
|
||||
* method returns non null value and in the second <code>
|
||||
|
@ -120,7 +120,7 @@ public class _XDocumentInsertable extends MultiMethodTest {
|
||||
/**
|
||||
* Tries to insert document from URL specified by relation or
|
||||
* from default URL. If no relation was passed, text range is
|
||||
* checked for existance of loaded document content. In case
|
||||
* checked for existence of loaded document content. In case
|
||||
* if relation was found, then its <code>isInserted</code>
|
||||
* method is used to check insertion.<p>
|
||||
* A Second test uses an invalid URL and checks for correct exceptions.
|
||||
|
@ -37,7 +37,7 @@ import com.sun.star.lang.EventObject;
|
||||
* <li> <code>'XUpdateBroadcaster.Checker'</code> : <code>
|
||||
* _XUpdateBroadcaster.UpdateChecker</code> interface implementation
|
||||
* which can update, commit data and check if the data was successfully
|
||||
* commited.</li>
|
||||
* committed.</li>
|
||||
* <ul> <p>
|
||||
* Test is <b> NOT </b> multithread compilant. <p>
|
||||
* @see com.sun.star.form.XUpdateBroadcaster
|
||||
@ -48,8 +48,8 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
UpdateChecker checker = null ;
|
||||
|
||||
/**
|
||||
* Interface for relation. Updating, commiting and checking
|
||||
* if data was commited is object dependent behaviour.
|
||||
* Interface for relation. Updating, committing and checking
|
||||
* if data was committed is object dependent behaviour.
|
||||
*/
|
||||
public static interface UpdateChecker {
|
||||
/**
|
||||
@ -61,9 +61,9 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
*/
|
||||
public void commit() throws com.sun.star.uno.Exception ;
|
||||
/**
|
||||
* Checks if the data commited by <code>commit</code> method
|
||||
* Checks if the data committed by <code>commit</code> method
|
||||
* became permanent in data source.
|
||||
* @return <code>true</code> if data was commited.
|
||||
* @return <code>true</code> if data was committed.
|
||||
*/
|
||||
public boolean wasCommited() throws com.sun.star.uno.Exception ;
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
* Has <b>OK</b> status if on update rejected only <code>
|
||||
* approveUpdate</code> listener method was called, and if
|
||||
* on update approved <code>approveUpdate</code> and
|
||||
* <code>updated</code> methods called, and data was commited
|
||||
* <code>updated</code> methods called, and data was committed
|
||||
* to the source.
|
||||
*/
|
||||
public void _addUpdateListener() {
|
||||
@ -138,18 +138,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
shortWait() ;
|
||||
checker.commit() ;
|
||||
shortWait() ;
|
||||
boolean commited = checker.wasCommited() ;
|
||||
boolean committed = checker.wasCommited() ;
|
||||
|
||||
shortWait() ;
|
||||
|
||||
bResult = listener.approveCalled &&
|
||||
! listener.updateCalled &&
|
||||
! commited ;
|
||||
! committed ;
|
||||
|
||||
log.println("Calling with no approving : approveUpdate() was " +
|
||||
(listener.approveCalled ? "":"NOT")+" called, updated() was "+
|
||||
(listener.updateCalled ? "":"NOT")+" called, the value was " +
|
||||
(commited ? "" : "NOT") + " commited.") ;
|
||||
(committed ? "" : "NOT") + " committed.") ;
|
||||
|
||||
shortWait() ;
|
||||
|
||||
@ -160,18 +160,18 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
|
||||
shortWait() ;
|
||||
checker.commit() ;
|
||||
shortWait() ;
|
||||
commited = checker.wasCommited() ;
|
||||
committed = checker.wasCommited() ;
|
||||
|
||||
shortWait() ;
|
||||
|
||||
log.println("Calling with approving : approveUpdate() was " +
|
||||
(listener.approveCalled ? "":"NOT")+" called, updated() was "+
|
||||
(listener.updateCalled ? "":"NOT")+" called, the value was "+
|
||||
(commited ? "" : "NOT") + " commited.") ;
|
||||
(committed ? "" : "NOT") + " committed.") ;
|
||||
|
||||
bResult = listener.approveCalled &&
|
||||
listener.updateCalled &&
|
||||
commited ;
|
||||
committed ;
|
||||
} catch (com.sun.star.uno.Exception e) {
|
||||
bResult = false ;
|
||||
e.printStackTrace(log) ;
|
||||
|
@ -55,7 +55,7 @@ public class _XModuleManager extends MultiMethodTest {
|
||||
* The onject relations <CODE>XModuleManager.XFrame</CODE>,
|
||||
* <CODE>XModuleManager.XController</CODE> and <CODE>XModuleManager.XModel</CODE>
|
||||
* are sequenzes of <CODE>PropertyValue</CODE>. The value of a PropertyValue
|
||||
* containes 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
|
||||
* value of method <CODE>indetify()</CODE> if the method was called with
|
||||
* coresponding value.<p>
|
||||
|
@ -134,7 +134,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* Tries to load component to a frame in separate thread to
|
||||
* avoid blocking of the current thread and imediately
|
||||
* avoid blocking of the current thread and immediately
|
||||
* cancels loading. <p>
|
||||
*
|
||||
* Has <b> OK </b> status if <code>flase</code> is returned,
|
||||
|
@ -130,7 +130,7 @@ public class _XMarkableStream extends MultiMethodTest {
|
||||
* The following method tests are to be completed successfully before :
|
||||
* <ul>
|
||||
* <li> <code> jumpToFurthest() </code> : for the right order of tests
|
||||
* excecution </li>
|
||||
* execution </li>
|
||||
* </ul>
|
||||
*/
|
||||
public void _jumpToMark() {
|
||||
|
@ -402,4 +402,4 @@ public class _XSimpleRegistry extends MultiMethodTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -73,7 +73,7 @@ public class _XResultSetUpdate extends MultiMethodTest {
|
||||
public void update() throws SQLException ;
|
||||
/**
|
||||
* Checks if updates made by method <code>update</code> was
|
||||
* commited to the data source.
|
||||
* committed to the data source.
|
||||
*/
|
||||
public boolean wasUpdated() throws SQLException ;
|
||||
/**
|
||||
@ -131,7 +131,7 @@ public class _XResultSetUpdate extends MultiMethodTest {
|
||||
/**
|
||||
* Using relation methods first updates some data in the current
|
||||
* row, then calls <code>updateRow</code> method to commit data.
|
||||
* Then checks if the data changed was commited. <p>
|
||||
* Then checks if the data changed was committed. <p>
|
||||
* Executes <code>moveToCurrentRow</code> method test before to
|
||||
* be sure that cursor is not on the insert row. <p>
|
||||
* Has OK status if data in the source was changed.
|
||||
@ -154,7 +154,7 @@ public class _XResultSetUpdate extends MultiMethodTest {
|
||||
/**
|
||||
* Using relation methods first updates some data in the current
|
||||
* row, then calls <code>cancelRowUpdates</code> method.
|
||||
* Then checks if the data changed was not commited. <p>
|
||||
* Then checks if the data changed was not committed. <p>
|
||||
* Executes <code>moveToCurrentRow</code> method test before to
|
||||
* be sure that cursor is not on the insert row. <p>
|
||||
* Has OK status if data in the source was not changed.
|
||||
|
@ -65,7 +65,7 @@ public class _XActivationBroadcaster extends MultiMethodTest {
|
||||
xSpreadsheetView.setActiveSheet(two);
|
||||
|
||||
if (listenerCalled) {
|
||||
log.println("Listener was called eventhough it is removed");
|
||||
log.println("Listener was called even though it is removed");
|
||||
}
|
||||
|
||||
xSpreadsheetView.setActiveSheet(org);
|
||||
|
@ -41,7 +41,7 @@ public class _XSystemShellExecute extends MultiMethodTest {
|
||||
public XSystemShellExecute oObj = null;
|
||||
|
||||
/**
|
||||
* Excecutes 'java SystemShellExecute SystemShellExecute.txt' command line.
|
||||
* Executes 'java SystemShellExecute SystemShellExecute.txt' command line.
|
||||
* <p>Has <b> OK </b> status if the method successfully returns
|
||||
* and file 'SystemShellExecute.txt' was created. <p>
|
||||
*/
|
||||
|
@ -69,7 +69,7 @@ public class _XAutoTextGroup extends MultiMethodTest {
|
||||
* Constructs a unique string for current interface thread
|
||||
* for naming purposes. All old entries which names are
|
||||
* started with prefix used for entry names, are deleted
|
||||
* from the group (they can remain after previous unsuccessfull
|
||||
* from the group (they can remain after previous unsuccessful
|
||||
* test runs). The relation is obtained.
|
||||
*
|
||||
* @throws StatusException if the relation is not found.
|
||||
|
@ -85,10 +85,10 @@ public class _XText extends MultiMethodTest {
|
||||
// get indexaccess to the tablecollection
|
||||
XIndexAccess xIA = info.getCollection();
|
||||
|
||||
// this comparision works just because it has to be at least one
|
||||
// this comparison works just because it has to be at least one
|
||||
// table at this point regardless which thread inserted it
|
||||
// there is although the possibility that the first threads call
|
||||
// failed, the second not and comparision happens after second threads
|
||||
// failed, the second not and comparison happens after second threads
|
||||
// otherwise if something fails it should have thrown an exception
|
||||
//tRes.tested("insertTextContent()", xIA.getCount() > 0 );
|
||||
|
||||
|
@ -132,7 +132,7 @@ public class _XCachedDynamicResultSetStubFactory extends MultiMethodTest {
|
||||
setFac = UnoRuntime.queryInterface
|
||||
(XCachedDynamicResultSetFactory.class, fac) ;
|
||||
} catch (com.sun.star.uno.Exception e) {
|
||||
log.println("Cant instantiate a service") ;
|
||||
log.println("Can't instantiate a service") ;
|
||||
e.printStackTrace(log) ;
|
||||
result = false ;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ import com.sun.star.ui.dialogs.XFilePickerControlAccess;
|
||||
* <code>Short</code>) : control identifier in the extended
|
||||
* FilePicker dialog. </li>
|
||||
* <li> <code>'XFilePickerControlAccess.ControlValue'</code> (of type
|
||||
* <code>Object</code>) <b>optional</b> (but mostly desireable
|
||||
* <code>Object</code>) <b>optional</b> (but mostly desirable
|
||||
* since the control has emtpy initial value):
|
||||
* the value which can set for the control . </li>
|
||||
* <ul> <p>
|
||||
|
@ -188,7 +188,7 @@ public class _XDocumentHandler extends MultiMethodTest {
|
||||
|
||||
/**
|
||||
* This test is finally executed. It finishes XML data
|
||||
* transfering with <code>endDocument</code> method call. <p>
|
||||
* transferring with <code>endDocument</code> method call. <p>
|
||||
*
|
||||
* Has <b>OK</b> status if no exceptions occurred during
|
||||
* the whole transfering and if the appropriate changes
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'acceptor'.</P>
|
||||
<P>Contains all test cases for the module 'acceptor'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'brdgfctr'.</P>
|
||||
<P>Contains all test cases for the module 'brdgfctr'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'connectr'.</P>
|
||||
<P>Contains all test cases for the module 'connectr'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'corefl'.</P>
|
||||
<P>Contains all test cases for the module 'corefl'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'cpld'.</P>
|
||||
<P>Contains all test cases for the module 'cpld'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -203,7 +203,7 @@ public class ORowSet extends TestCase {
|
||||
/**
|
||||
* Creating a Testenvironment for the interfaces to be tested.
|
||||
* The database (DBF) file is copied from test document directory
|
||||
* into SOffice temp dir with unique name for each enviroment
|
||||
* into SOffice temp dir with unique name for each environment
|
||||
* creation. If the file cann't be copied (is not released)
|
||||
* then another unique name is used (file name suffix incremented
|
||||
* by 1).<p>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'dbaccess'.</P>
|
||||
<P>Contains all test cases for the module 'dbaccess'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'defreg'.</P>
|
||||
<P>Contains all test cases for the module 'defreg'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'fileacc'.</P>
|
||||
<P>Contains all test cases for the module 'fileacc'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -351,7 +351,7 @@ public class GenericModelTest extends TestCase {
|
||||
* <li> <code>'XUpdateBroadcaster.Checker'</code> : <code>
|
||||
* _XUpdateBroadcaster.UpdateChecker</code> interface implementation
|
||||
* which can update, commit data and check if the data was successfully
|
||||
* commited.</li>
|
||||
* committed.</li>
|
||||
* <li> <code>'DataAwareControlModel.NewFieldName'</code> : for
|
||||
* <code>com.sun.star.form.DataAwareControlModel</code> service
|
||||
* which contains new name of the field ('_DATE') to bind control to.
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'forms'.</P>
|
||||
<P>Contains all test cases for the module 'forms'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -87,7 +87,7 @@ public class JobExecutor extends TestCase {
|
||||
* </ol>. <p>
|
||||
*
|
||||
* First these two conditions are checked. If job and event are not
|
||||
* registered they are inserted into configuration and commited.
|
||||
* registered they are inserted into configuration and committed.
|
||||
* After what SOffice must be destroyed for proper initialization
|
||||
* of <code>JobExecutor</code> after startup. <p>
|
||||
*
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'impreg'.</P>
|
||||
<P>Contains all test cases for the module 'impreg'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'insp'.</P>
|
||||
<P>Contains all test cases for the module 'insp'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'inv'.</P>
|
||||
<P>Contains all test cases for the module 'inv'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'invadp'.</P>
|
||||
<P>Contains all test cases for the module 'invadp'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'jen'.</P>
|
||||
<P>Contains all test cases for the module 'jen'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'jen'.</P>
|
||||
<P>Contains all test cases for the module 'jen'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'namingservice'.</P>
|
||||
<P>Contains all test cases for the module 'namingservice'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'proxyfac'.</P>
|
||||
<P>Contains all test cases for the module 'proxyfac'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'rdbtdp'.</P>
|
||||
<P>Contains all test cases for the module 'rdbtdp'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'remotebridge'.</P>
|
||||
<P>Contains all test cases for the module 'remotebridge'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -120,15 +120,15 @@ public class ScDrawPageObj extends TestCase {
|
||||
} catch (com.sun.star.lang.WrappedTargetException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e) ;
|
||||
throw new StatusException("Can't create environment", e) ;
|
||||
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e) ;
|
||||
throw new StatusException("Can't create environment", e) ;
|
||||
} catch (com.sun.star.lang.IllegalArgumentException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e) ;
|
||||
throw new StatusException("Can't create environment", e) ;
|
||||
}
|
||||
|
||||
// create test environment here
|
||||
|
@ -119,7 +119,7 @@ public class XMLMetaExporter extends TestCase {
|
||||
FilterChecker filter = new FilterChecker(log);
|
||||
Any arg = new Any(new Type(XDocumentHandler.class),filter);
|
||||
|
||||
// Checking tags existance and changed property value
|
||||
// Checking tags existence and changed property value
|
||||
filter.addTag(new XMLTools.Tag ("office:document-meta"));
|
||||
filter.addTag(new XMLTools.Tag ("office:meta"));
|
||||
filter.addCharactersEnclosed("TestDocument",
|
||||
|
@ -121,7 +121,7 @@ public class XMLStylesExporter extends TestCase {
|
||||
Any arg = new Any(new Type(XDocumentHandler.class),filter);
|
||||
|
||||
String newName = "NewStyle" + counter++;
|
||||
// Adding tags for checking existance of head tag and property value
|
||||
// Adding tags for checking existence of head tag and property value
|
||||
filter.addTag(new XMLTools.Tag("office:document-styles"));
|
||||
filter.addTag(new XMLTools.Tag("style:style","style:name", newName));
|
||||
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'sc'.</P>
|
||||
<P>Contains all test cases for the module 'sc'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'sd'.</P>
|
||||
<P>Contains all test cases for the module 'sd'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'simreg'.</P>
|
||||
<P>Contains all test cases for the module 'simreg'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'smgr'.</P>
|
||||
<P>Contains all test cases for the module 'smgr'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'stm'.</P>
|
||||
<P>Contains all test cases for the module 'stm'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -173,15 +173,15 @@ public class SvxDrawPage extends TestCase {
|
||||
} catch (com.sun.star.lang.WrappedTargetException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e);
|
||||
throw new StatusException("Can't create environment", e);
|
||||
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e);
|
||||
throw new StatusException("Can't create environment", e);
|
||||
} catch (com.sun.star.lang.IllegalArgumentException e) {
|
||||
log.println("Couldn't create insance");
|
||||
e.printStackTrace(log);
|
||||
throw new StatusException("Can't create enviroment", e);
|
||||
throw new StatusException("Can't create environment", e);
|
||||
}
|
||||
|
||||
// create test environment here
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'svx'.</P>
|
||||
<P>Contains all test cases for the module 'svx'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -140,7 +140,7 @@ public class SwXMailMerge extends TestCase {
|
||||
oResultSet.next();
|
||||
myBookMarks[1] = oRowLocate.getBookmark();
|
||||
} catch (SQLException e) {
|
||||
throw new StatusException("Cant get Bookmarks", e);
|
||||
throw new StatusException("Can't get Bookmarks", e);
|
||||
}
|
||||
// </create Bookmarks>
|
||||
|
||||
|
@ -129,7 +129,7 @@ public class XMLStylesExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Cheching Head Tag existance and that property has changed
|
||||
// Cheching Head Tag existence and that property has changed
|
||||
filter.addTag(new XMLTools.Tag ("office:document-styles"));
|
||||
filter.addTag(new XMLTools.Tag ("text:footnotes-configuration",
|
||||
"style:num-prefix","New Property")) ;
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'sw'.</P>
|
||||
<P>Contains all test cases for the module 'sw'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'sysdtrans'.</P>
|
||||
<P>Contains all test cases for the module 'sysdtrans'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'tcv'.</P>
|
||||
<P>Contains all test cases for the module 'tcv'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'tdmgr'.</P>
|
||||
<P>Contains all test cases for the module 'tdmgr'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'toolkit'.</P>
|
||||
<P>Contains all test cases for the module 'toolkit'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -18,6 +18,6 @@
|
||||
-->
|
||||
<HTML>
|
||||
<BODY>
|
||||
<P>Containes all test cases for the module 'uuresolver'.</P>
|
||||
<P>Contains all test cases for the module 'uuresolver'.</P>
|
||||
</BODY>
|
||||
</HTML>
|
||||
</HTML>
|
||||
|
@ -119,7 +119,7 @@ public class XMLContentExporter extends TestCase {
|
||||
FilterChecker filter = new FilterChecker(log);
|
||||
Any arg = new Any(new Type(XDocumentHandler.class),filter);
|
||||
|
||||
// Adding tags for checking existance of head tag and other tags
|
||||
// Adding tags for checking existence of head tag and other tags
|
||||
filter.addTag(new XMLTools.Tag("office:document-content"));
|
||||
filter.addTag(new XMLTools.Tag("office:body"));
|
||||
filter.addTagEnclosed(
|
||||
|
@ -121,7 +121,7 @@ public class XMLExporter extends TestCase {
|
||||
FilterChecker filter = new FilterChecker(log);
|
||||
Any arg = new Any(new Type(XDocumentHandler.class),filter);
|
||||
|
||||
// Adding tags for checking existance of head tag and other tags
|
||||
// Adding tags for checking existence of head tag and other tags
|
||||
filter.addTag(new XMLTools.Tag("office:document"));
|
||||
filter.addTag(new XMLTools.Tag("office:body"));
|
||||
filter.addTagEnclosed(
|
||||
|
@ -138,7 +138,7 @@ public class XMLMetaExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Checking Head Tag existance and that property has changed
|
||||
// Checking Head Tag existence and that property has changed
|
||||
filter.addTag(new XMLTools.Tag ("office:document-meta"));
|
||||
filter.addTagEnclosed(
|
||||
new XMLTools.Tag("office:meta"),
|
||||
|
@ -139,7 +139,7 @@ public class XMLSettingsExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Checking Head Tag existance and that property has changed
|
||||
// Checking Head Tag existence and that property has changed
|
||||
filter.addTag(new XMLTools.Tag ("office:document-settings"));
|
||||
filter.addTagEnclosed(
|
||||
new XMLTools.Tag ("office:settings"),
|
||||
|
@ -149,7 +149,7 @@ public class XMLStylesExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Checking Head Tag existance and that property has changed
|
||||
// Checking Head Tag existence and that property has changed
|
||||
filter.addTag(new XMLTools.Tag ("office:document-styles"));
|
||||
filter.addTag(new XMLTools.Tag ("office:styles"));
|
||||
filter.addTagEnclosed(
|
||||
|
@ -139,7 +139,7 @@ public class XMLMetaExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Checking tags existance and changed property value
|
||||
// Checking tags existence and changed property value
|
||||
filter.addTag(new XMLTools.Tag ("office:document-meta"));
|
||||
filter.addTagEnclosed(
|
||||
new XMLTools.Tag("office:meta"),
|
||||
|
@ -150,7 +150,7 @@ public class XMLSettingsExporter extends TestCase {
|
||||
throw new StatusException("Can't create component.", e) ;
|
||||
}
|
||||
|
||||
// Adding tags for checking existance of head tag and other tags
|
||||
// Adding tags for checking existence of head tag and other tags
|
||||
filter.addTagEnclosed(new XMLTools.Tag("office:settings"),
|
||||
new XMLTools.Tag("office:document-settings"));
|
||||
filter.addTagEnclosed(new XMLTools.Tag("config:config-item-set"),
|
||||
|
@ -124,7 +124,7 @@ public class XMLStylesExporter extends TestCase {
|
||||
Any arg = new Any(new Type(XDocumentHandler.class),filter);
|
||||
|
||||
String newName = "NewGraphicsStyle" + counter++;
|
||||
// Adding tags for checking existance of head tag and property value
|
||||
// Adding tags for checking existence of head tag and property value
|
||||
filter.addTag(new XMLTools.Tag("office:document-styles"));
|
||||
filter.addTag(new XMLTools.Tag("office:styles"));
|
||||
filter.addTag(new XMLTools.Tag("style:style","style:name", newName));
|
||||
|
Loading…
x
Reference in New Issue
Block a user