summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:07 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:07 +0200
commite076213c4e1a1708e70c3ac65180c6a3ceb04349 (patch)
treef951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc
parentb9bff9906e94ef3b1c8d6da779269122d39d8354 (diff)
recreated tag libreoffice-3.3.1.1 which had these commits:
commit 51b472e78a48fc214cb73929bc1e7fc273838d57 (tag: refs/tags/libreoffice-3.3.1.1) Author: Petr Mladek <pmladek@suse.cz> Date: Tue Feb 8 18:07:46 2011 +0100 Version 3.3.1.1, tag libreoffice-3.3.1.1 (3.3.1-rc1) commit 4a7775fc7f2f9f18063e5c137deb1e3edb0c1caf Author: Jan Holesovsky <kendy@suse.cz> Date: Mon Feb 7 21:23:30 2011 +0100 Branch libreoffice-3-3-1 This is 'libreoffice-3-3-1' - the stable branch for the 3.3.1 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master. commit 5c1062b2bb1697eeca47e551eef913813efd0eaa Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 23:05:58 2011 +0100 Please, ignore the previous message; it was for the libreoffice-3-3-0 branch This is 'libreoffice-3-3' - the stable branch for the 3.3.x releases. Only safe changes, reviewed by anoter person are allowed. If you want to build something cool, unstable, and risky, use master. commit 5874d96a88795f941f8a900d9834e2704e8884ae Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 22:39:09 2011 +0100 Branch libreoffice-3-3-0 This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master.
Notes
split repo tag: testing_libreoffice-3.3.1.1 split repo tag: testing_libreoffice-3.3.1.2
Diffstat (limited to 'qadevOOo/tests/java/ifc')
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessible.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java96
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java50
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java42
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleImage.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java22
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java2
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java92
-rw-r--r--qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java18
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java8
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java12
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java10
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java24
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlDialogElement.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java12
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java12
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java14
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java8
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java10
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java12
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlModel.java4
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java10
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java10
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java12
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java16
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java16
-rw-r--r--qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XButton.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XCheckBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XComboBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XControlContainer.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XCurrencyField.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XDateField.java8
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XDialog.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XFixedText.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XImageConsumer.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XImageProducer.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XItemListener.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XLayoutConstrains.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XListBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XMessageBoxFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XNumericField.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XPatternField.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XRadioButton.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XScrollBar.java48
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XSpinField.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XSpinValue.java50
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTabController.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTabControllerModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTextComponent.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTextLayoutConstrains.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTextListener.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTimeField.java4
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XToolkit.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XTopWindow.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java52
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java120
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XView.java8
-rw-r--r--qadevOOo/tests/java/ifc/awt/_XWindow.java6
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_TreeControlModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeDataModel.java16
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java110
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java340
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java84
-rw-r--r--qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java108
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XExactName.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XHierarchicalPropertySet.java8
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XIntrospection.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XMultiHierarchicalPropertySet.java8
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java12
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java12
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XProperty.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java56
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java56
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertySet.java24
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertySetInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertyState.java16
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XPropertyWithState.java42
-rw-r--r--qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java24
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XBridge.java2
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java4
-rw-r--r--qadevOOo/tests/java/ifc/chart/_BarDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java6
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartAxis.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java6
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartLegend.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartStatistics.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartTitle.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_Diagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_LineDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_StackableDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_StockDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_X3DDisplay.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XAxisXSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XAxisYSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XAxisZSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XChartData.java12
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XChartDataArray.java14
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XChartDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XDiagram.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XStatisticDisplay.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XTwoAxisXSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/configuration/_XTemplateContainer.java12
-rw-r--r--qadevOOo/tests/java/ifc/configuration/_XTemplateInstance.java10
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XBackend.java14
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java2
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XLayer.java26
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java34
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java76
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java22
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java34
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java12
-rw-r--r--qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java62
-rw-r--r--qadevOOo/tests/java/ifc/connection/_XAcceptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/connection/_XConnector.java4
-rw-r--r--qadevOOo/tests/java/ifc/container/_XChild.java6
-rw-r--r--qadevOOo/tests/java/ifc/container/_XContainer.java56
-rw-r--r--qadevOOo/tests/java/ifc/container/_XContainerQuery.java34
-rw-r--r--qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XElementAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XEnumeration.java4
-rw-r--r--qadevOOo/tests/java/ifc/container/_XEnumerationAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XHierarchicalName.java4
-rw-r--r--qadevOOo/tests/java/ifc/container/_XHierarchicalNameAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XIndexAccess.java10
-rw-r--r--qadevOOo/tests/java/ifc/container/_XIndexContainer.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XIndexReplace.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XNameAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/container/_XNameContainer.java4
-rw-r--r--qadevOOo/tests/java/ifc/container/_XNameReplace.java48
-rw-r--r--qadevOOo/tests/java/ifc/container/_XNamed.java4
-rw-r--r--qadevOOo/tests/java/ifc/container/_XSet.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java2
-rw-r--r--qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_DocumentInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_ExportFilter.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_ImportFilter.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_LinkTarget.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_OfficeDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_Settings.java26
-rw-r--r--qadevOOo/tests/java/ifc/document/_XActionLockable.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XDocumentInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java12
-rw-r--r--qadevOOo/tests/java/ifc/document/_XEmbeddedObjectSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XEventBroadcaster.java42
-rw-r--r--qadevOOo/tests/java/ifc/document/_XEventsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XExporter.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XFilter.java16
-rw-r--r--qadevOOo/tests/java/ifc/document/_XImporter.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XMimeTypeInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/document/_XTypeDetection.java6
-rw-r--r--qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java16
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_CaptionShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ConnectorProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_DrawingDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java8
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_EllipseShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_EllipseShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_FillProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_GenericDrawingDocument.java6
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java8
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_Layer.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_LineProperties.java4
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_MeasureProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_MeasureShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_PolyPolygonBezierDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_PolyPolygonDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java10
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ShadowProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_Shape.java12
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_Text.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_TextProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_TextShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_TextShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XControlShape.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPageExpander.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPageSummarizer.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPageSupplier.java4
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPages.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawPagesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XDrawView.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XGluePointsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XLayerManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XLayerSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XMasterPageTarget.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XMasterPagesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShape.java10
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeBinder.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeGroup.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapeGrouper.java2
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_XShapes.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_FormComponent.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_FormControlModel.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XBoundComponent.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XBoundControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/_XConfirmDeleteBroadcaster.java10
-rwxr-xr-xqadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java14
-rw-r--r--qadevOOo/tests/java/ifc/form/_XFormController.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XFormsSupplier.java8
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGrid.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XImageProducerSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XLoadListener.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XLoadable.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/_XReset.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/_XSubmit.java8
-rw-r--r--qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java6
-rw-r--r--qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseCheckBox.java6
-rw-r--r--qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseRadioButton.java6
-rw-r--r--qadevOOo/tests/java/ifc/form/binding/_XBindableValue.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_CheckBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_ComboBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_CommandButton.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_CurrencyField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DataForm.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseComboBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseFormattedField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseImageControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseListBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabasePatternField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DatabaseTextField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_DateField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_FileControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_FormattedField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_GridControl.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_HTMLForm.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_HiddenControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_ImageButton.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_ListBox.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java12
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_NumericField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_PatternField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_RadioButton.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_RichTextControl.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_ScrollBar.java6
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_SpinButton.java4
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_TextField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/component/_TimeField.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/submission/_XSubmission.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/submission/_XSubmissionSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/validation/_XValidatable.java2
-rw-r--r--qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java6
-rw-r--r--qadevOOo/tests/java/ifc/form/validation/_XValidityConstraintListener.java10
-rw-r--r--qadevOOo/tests/java/ifc/formula/_FormulaProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_Desktop.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_Frame.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_FrameLoader.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XComponentLoader.java30
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XController.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDesktop.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatch.java22
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java34
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java4
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFrame.java14
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java6
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFrameLoader.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java4
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java4
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XLayoutManager.java52
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XModel.java2
-rwxr-xr-xqadevOOo/tests/java/ifc/frame/_XModuleManager.java34
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java12
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java48
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XStatusListener.java8
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XStorable.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java4
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java12
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java4
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XCalendar.java18
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java4
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XCollator.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java26
-rwxr-xr-xqadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java50
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java10
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XIndexEntrySupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XLocaleData.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java2
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XTransliteration.java2
-rw-r--r--qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java38
-rw-r--r--qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java68
-rw-r--r--qadevOOo/tests/java/ifc/io/_XActiveDataControl.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XActiveDataSink.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XActiveDataSource.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XConnectable.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XDataInputStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XDataOutputStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XInputStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XMarkableStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XObjectInputStream.java4
-rw-r--r--qadevOOo/tests/java/ifc/io/_XObjectOutputStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XOutputStream.java2
-rw-r--r--qadevOOo/tests/java/ifc/io/_XPersistObject.java2
-rw-r--r--qadevOOo/tests/java/ifc/java/_XJavaThreadRegister_11.java2
-rw-r--r--qadevOOo/tests/java/ifc/java/_XJavaVM.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_ServiceManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XComponent.java14
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XEventListener.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XInitialization.java10
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XLocalizable.java8
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XMain.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java6
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java12
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XServiceDisplayName.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XServiceInfo.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/lang/_XTypeProvider.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XAvailableLocales.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XHyphenator.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceEventBroadcaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XSpellChecker.java10
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XSupportedLocales.java2
-rw-r--r--qadevOOo/tests/java/ifc/linguistic2/_XThesaurus.java2
-rw-r--r--qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_OutlineView.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_Presentation.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_PresentationView.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_PreviewView.java4
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_SlidesView.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_XCustomPresentationSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_XPresentation.java2
-rw-r--r--qadevOOo/tests/java/ifc/presentation/_XPresentationSupplier.java2
-rwxr-xr-xqadevOOo/tests/java/ifc/qadevooo/_SelfTest.java6
-rw-r--r--qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java2
-rw-r--r--qadevOOo/tests/java/ifc/reflection/_XProxyFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/reflection/_XTypeDescriptionEnumerationAccess.java8
-rw-r--r--qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java2
-rw-r--r--qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java4
-rw-r--r--qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java2
-rw-r--r--qadevOOo/tests/java/ifc/script/_XTypeConverter.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_DataAccessDescriptor.java12
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_DataSource.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_DatasourceAdministrationDialog.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_ErrorMessageDialog.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_QueryDefinition.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_RowSet.java8
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_SingleSelectQueryComposer.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XBookmarksSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java2
-rwxr-xr-xqadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java8
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XFormDocumentsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XParametersSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XQueryDefinitionsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XReportDocumentsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java70
-rw-r--r--qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java98
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_ResultSet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_RowSet.java6
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XCloseable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XDataSource.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XDriver.java6
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XDriverManager.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XParameters.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XResultSet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRow.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRowSet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_ResultSet.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XColumnsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XCreateCatalog.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XDropCatalog.java2
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java4
-rw-r--r--qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DataPilotField.java36
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Scenario.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Shape.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCell.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java18
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_TableValidation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java8
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XAreaLink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCalculatable.java18
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java14
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java38
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XCellSeries.java62
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDDELink.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java8
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java38
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java30
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java22
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java48
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XLabelRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java26
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XNamedRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java26
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java86
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenario.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java14
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenarios.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java28
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java6
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java10
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java12
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java48
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java24
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java20
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java4
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewPane.java2
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java2
-rw-r--r--qadevOOo/tests/java/ifc/style/_CharacterProperties.java40
-rw-r--r--qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian.java2
-rw-r--r--qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex.java8
-rwxr-xr-xqadevOOo/tests/java/ifc/style/_CharacterStyle.java4
-rwxr-xr-xqadevOOo/tests/java/ifc/style/_PageProperties.java22
-rwxr-xr-xqadevOOo/tests/java/ifc/style/_PageStyle.java12
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphProperties.java48
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java4
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java10
-rw-r--r--qadevOOo/tests/java/ifc/style/_ParagraphStyle.java4
-rw-r--r--qadevOOo/tests/java/ifc/style/_Style.java4
-rw-r--r--qadevOOo/tests/java/ifc/style/_XStyle.java2
-rw-r--r--qadevOOo/tests/java/ifc/style/_XStyleFamiliesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/system/_XProxySettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_CellProperties.java12
-rw-r--r--qadevOOo/tests/java/ifc/table/_TableColumn.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_TableRow.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XAutoFormattable.java14
-rw-r--r--qadevOOo/tests/java/ifc/table/_XCell.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XCellCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XCellRange.java6
-rw-r--r--qadevOOo/tests/java/ifc/table/_XColumnRowRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XTableChart.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XTableCharts.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/table/_XTableColumns.java8
-rw-r--r--qadevOOo/tests/java/ifc/table/_XTableRows.java18
-rw-r--r--qadevOOo/tests/java/ifc/task/_XInteractionHandler.java2
-rw-r--r--qadevOOo/tests/java/ifc/task/_XJob.java8
-rw-r--r--qadevOOo/tests/java/ifc/task/_XJobExecutor.java2
-rw-r--r--qadevOOo/tests/java/ifc/task/_XStatusIndicatorFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_BaseFrame.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_BaseIndex.java16
-rw-r--r--qadevOOo/tests/java/ifc/text/_BaseIndexMark.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_CellProperties.java4
-rw-r--r--qadevOOo/tests/java/ifc/text/_CellRange.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_Defaults.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_DocumentIndex.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_DocumentSettings.java4
-rw-r--r--qadevOOo/tests/java/ifc/text/_Footnote.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_FootnoteSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_GenericTextDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_MailMerge.java12
-rw-r--r--qadevOOo/tests/java/ifc/text/_NumberingLevel.java42
-rw-r--r--qadevOOo/tests/java/ifc/text/_NumberingRules.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java6
-rw-r--r--qadevOOo/tests/java/ifc/text/_PrintSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_Text.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextColumns.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextContent.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java6
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextFieldMaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextFrame.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextGraphicObject.java6
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextPortion.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextSection.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextTable.java6
-rw-r--r--qadevOOo/tests/java/ifc/text/_TextTableRow.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_ViewSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XDocumentIndex.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XFootnote.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java18
-rw-r--r--qadevOOo/tests/java/ifc/text/_XPageCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XPagePrintable.java14
-rw-r--r--qadevOOo/tests/java/ifc/text/_XParagraphCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XSentenceCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XSimpleText.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XText.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextColumns.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextContent.java14
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextCursor.java4
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextDocument.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextField.java2
-rwxr-xr-xqadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java22
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextFrame.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextRange.java8
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java18
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextRangeMover.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextSection.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextTable.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextTableCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/text/_XWordCursor.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XCommandProcessor2.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XContentIdentifierFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XContentProvider.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XContentProviderFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XDataContainer.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XFileIdentifierConverter.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XParameterizedContentProvider.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XPropertySetRegistryFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderAcceptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderActivator.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java2
-rw-r--r--qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java74
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java14
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManagerSupplier.java10
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIConfiguration.java20
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIConfigurationListener.java4
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java46
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java18
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java12
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIElementFactory.java4
-rwxr-xr-xqadevOOo/tests/java/ifc/ui/_XUIElementFactoryRegistration.java10
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_FilePicker.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java4
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XControlInformation.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java50
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java106
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilePreview.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilterGroupManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java2
-rw-r--r--qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java2
-rw-r--r--qadevOOo/tests/java/ifc/uno/_XComponentContext.java8
-rw-r--r--qadevOOo/tests/java/ifc/uno/_XNamingService.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_PathSettings.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_SearchDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XCancellable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XChangesBatch.java24
-rw-r--r--qadevOOo/tests/java/ifc/util/_XChangesNotifier.java34
-rw-r--r--qadevOOo/tests/java/ifc/util/_XCloneable.java24
-rw-r--r--qadevOOo/tests/java/ifc/util/_XFlushable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XImportable.java26
-rw-r--r--qadevOOo/tests/java/ifc/util/_XIndent.java12
-rw-r--r--qadevOOo/tests/java/ifc/util/_XMergeable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XModeSelector.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XModifiable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XNumberFormatsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XNumberFormatter.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XProtectable.java10
-rw-r--r--qadevOOo/tests/java/ifc/util/_XRefreshable.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XReplaceDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XReplaceable.java16
-rw-r--r--qadevOOo/tests/java/ifc/util/_XSearchDescriptor.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XSearchable.java16
-rw-r--r--qadevOOo/tests/java/ifc/util/_XSortable.java28
-rw-r--r--qadevOOo/tests/java/ifc/util/_XStringEscape.java16
-rw-r--r--qadevOOo/tests/java/ifc/util/_XStringSubstitution.java30
-rw-r--r--qadevOOo/tests/java/ifc/util/_XTextSearch.java2
-rw-r--r--qadevOOo/tests/java/ifc/util/_XURLTransformer.java4
-rw-r--r--qadevOOo/tests/java/ifc/view/_XControlAccess.java4
-rw-r--r--qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java52
-rw-r--r--qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java144
-rw-r--r--qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java18
-rw-r--r--qadevOOo/tests/java/ifc/view/_XPrintSettingsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/view/_XPrintable.java4
-rw-r--r--qadevOOo/tests/java/ifc/view/_XScreenCursor.java4
-rw-r--r--qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java36
-rw-r--r--qadevOOo/tests/java/ifc/view/_XViewSettingsSupplier.java2
-rw-r--r--qadevOOo/tests/java/ifc/xml/_UserDefinedAttributeSupplier.java10
-rw-r--r--qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java2
720 files changed, 3197 insertions, 3197 deletions
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessible.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessible.java
index f4f302114c9d..0fe7c890e378 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessible.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessible.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
index f9ef9e52c1e6..8518931c03c2 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleAction.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
index c5e302451c21..958d703047dd 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -84,7 +84,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
int curX = 0;
//while (!oObj.containsPoint(new Point(curX, bounds.Y)) && curX < bounds.Width+bounds.X) {
- while (!oObj.containsPoint(new Point(curX, 0)) &&
+ while (!oObj.containsPoint(new Point(curX, 0)) &&
(curX < bounds.Width)) {
curX++;
}
@@ -93,7 +93,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
//if ((bounds.X <= curX) && (curX < bounds.Width+bounds.X)) {
if (curX < bounds.Width) {
- log.println("Upper bound of box containsPoint point (" + curX +
+ log.println("Upper bound of box containsPoint point (" + curX +
",0) - OK");
} else {
log.println(
@@ -104,9 +104,9 @@ public class _XAccessibleComponent extends MultiMethodTest {
curX = 0;
//while (!oObj.containsPoint(new Point(curX, bounds.Y+bounds.Height - 1))
- while (!oObj.containsPoint(new Point(curX, bounds.Height - 1)) &&
+ while (!oObj.containsPoint(new Point(curX, bounds.Height - 1)) &&
(curX < bounds.Width)) {
- log.println("containsPoint returns false for (" + curX + "," +
+ log.println("containsPoint returns false for (" + curX + "," +
bounds.Height + ")");
curX++;
}
@@ -115,7 +115,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
//if ((bounds.X <= curX) && (curX < bounds.Width+bounds.X)) {
if (curX < bounds.Width) {
- log.println("Lower bound of box containsPoint point (" + curX +
+ log.println("Lower bound of box containsPoint point (" + curX +
"," + (bounds.Height - 1) + ") - OK");
} else {
log.println(
@@ -126,7 +126,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
int curY = 0;
//while (!oObj.containsPoint(new Point(bounds.X, curY)) && curY < bounds.Height+bounds.Y) {
- while (!oObj.containsPoint(new Point(0, curY)) &&
+ while (!oObj.containsPoint(new Point(0, curY)) &&
(curY < bounds.Height)) {
curY++;
}
@@ -135,7 +135,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
//if ((bounds.Y <= curY) && (curY < bounds.Height+bounds.Y)) {
if (curY < bounds.Height) {
- log.println("Left bound of box containsPoint point (0," + curY +
+ log.println("Left bound of box containsPoint point (0," + curY +
") - OK");
} else {
log.println(
@@ -147,7 +147,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
//while (!oObj.containsPoint(new Point(bounds.X+bounds.Width - 1, curY))
// && curY < bounds.Height+bounds.Y) {
- while (!oObj.containsPoint(new Point(bounds.Width - 1, curY)) &&
+ while (!oObj.containsPoint(new Point(bounds.Width - 1, curY)) &&
(curY < bounds.Height)) {
curY++;
}
@@ -156,7 +156,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
//if ((bounds.Y <= curY) && (curY < bounds.Height + bounds.Y)) {
if (curY < bounds.Height) {
- log.println("Right bound of box containsPoint point (" +
+ log.println("Right bound of box containsPoint point (" +
(bounds.Width - 1) + "," + curY + ") - OK");
} else {
log.println(
@@ -185,7 +185,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
}
if (locRes) {
- log.println("Outer upper and lower bounds contain no component " +
+ log.println("Outer upper and lower bounds contain no component " +
"points - OK");
} else {
result = false;
@@ -211,7 +211,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
}
if (locRes) {
- log.println("Outer left and right bounds contain no component " +
+ log.println("Outer left and right bounds contain no component " +
"points - OK");
} else {
result = false;
@@ -244,20 +244,20 @@ public class _XAccessibleComponent extends MultiMethodTest {
continue;
}
- log.println("Checking child with bounds " + "(" + chBnd.X +
- "," + chBnd.Y + "),(" + chBnd.Width + "," +
- chBnd.Height + "): " +
+ log.println("Checking child with bounds " + "(" + chBnd.X +
+ "," + chBnd.Y + "),(" + chBnd.Width + "," +
+ chBnd.Height + "): " +
util.AccessibilityTools.accessibleToString(
children[i]));
XAccessibleContext xAc = (XAccessibleContext) UnoRuntime.queryInterface(
- XAccessibleContext.class,
+ XAccessibleContext.class,
children[i]);
boolean MightBeCovered = false;
boolean isShowing = xAc.getAccessibleStateSet()
.contains(com.sun.star.accessibility.AccessibleStateType.SHOWING);
- log.println("\tStateType containsPoint SHOWING: " +
+ log.println("\tStateType containsPoint SHOWING: " +
isShowing);
if (!isShowing) {
@@ -271,7 +271,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
int curX = chBnd.Width / 2;
int curY = chBnd.Height / 2;
- while (!children[i].containsPoint(new Point(curX, curY)) &&
+ while (!children[i].containsPoint(new Point(curX, curY)) &&
(curX > 0) && (curY > 0)) {
curX--;
curY--;
@@ -287,23 +287,23 @@ public class _XAccessibleComponent extends MultiMethodTest {
// trying the point laying on child
XAccessible xAcc = oObj.getAccessibleAtPoint(
- new Point(chBnd.X + curX,
+ new Point(chBnd.X + curX,
chBnd.Y + curY));
-
+
Point p = new Point(chBnd.X + curX,chBnd.X + curX);
-
+
if (isCovered(p) && isShowing) {
log.println(
"Child might be covered by another and can't be reached");
MightBeCovered = true;
}
-
+
KnownBounds.add(chBnd);
if (xAcc == null) {
- log.println("The child not found at point (" +
- (chBnd.X + curX) + "," + (chBnd.Y + curY) +
+ log.println("The child not found at point (" +
+ (chBnd.X + curX) + "," + (chBnd.Y + curY) +
") - FAILED");
if (isShowing) {
@@ -313,12 +313,12 @@ public class _XAccessibleComponent extends MultiMethodTest {
}
} else {
XAccessible xAccCh = (XAccessible) UnoRuntime.queryInterface(
- XAccessible.class,
+ XAccessible.class,
children[i]);
XAccessibleContext xAccC = (XAccessibleContext) UnoRuntime.queryInterface(
- XAccessibleContext.class,
+ XAccessibleContext.class,
children[i]);
- log.println("Child found at point (" + (chBnd.X + curX) +
+ log.println("Child found at point (" + (chBnd.X + curX) +
"," + (chBnd.Y + curY) + ") - OK");
boolean res = false;
@@ -353,24 +353,24 @@ public class _XAccessibleComponent extends MultiMethodTest {
log.print("is hidden behind the found Child ");
log.println(xAcc.getAccessibleContext()
.getAccessibleName() + " - OK");
- } else {
+ } else {
log.println(
"The children found is not the same");
log.println("Expected: " + expName);
log.println("Description: " + expDesc);
- log.println("Found: " +
+ log.println("Found: " +
xAcc.getAccessibleContext()
.getAccessibleName());
- log.println("Description: " +
+ log.println("Description: " +
xAcc.getAccessibleContext()
.getAccessibleDescription());
if (MightBeCovered) {
log.println("... Child is covered by another - OK");
- } else {
+ } else {
log.println("... FAILED");
result = false;
}
-
+
}
}
}
@@ -381,26 +381,26 @@ public class _XAccessibleComponent extends MultiMethodTest {
new Point(chBnd.X - 1, chBnd.Y - 1));
if (xAcc == null) {
- log.println("No children found at point (" +
- (chBnd.X - 1) + "," + (chBnd.Y - 1) +
+ log.println("No children found at point (" +
+ (chBnd.X - 1) + "," + (chBnd.Y - 1) +
") - OK");
result &= true;
} else {
XAccessible xAccCh = (XAccessible) UnoRuntime.queryInterface(
- XAccessible.class,
+ XAccessible.class,
children[i]);
boolean res = util.AccessibilityTools.equals(xAccCh, xAcc);
if (res) {
- log.println("The same child found outside " +
- "its bounds at (" + (chBnd.X - 1) + "," +
+ log.println("The same child found outside " +
+ "its bounds at (" + (chBnd.X - 1) + "," +
(chBnd.Y - 1) + ") - FAILED");
result = false;
}
}
}
} else {
- log.println("There are no children supporting " +
+ log.println("There are no children supporting " +
"XAccessibleComponent");
}
@@ -419,9 +419,9 @@ public class _XAccessibleComponent extends MultiMethodTest {
bounds = oObj.getBounds();
result &= ((bounds != null) && (bounds.X >= 0) && (bounds.Y >= 0) && (bounds.Width > 0) && (bounds.Height > 0));
- log.println("Bounds = " +
- ((bounds != null)
- ? ("(" + bounds.X + "," + bounds.Y + "),(" +
+ log.println("Bounds = " +
+ ((bounds != null)
+ ? ("(" + bounds.X + "," + bounds.Y + "),(" +
bounds.Width + "," + bounds.Height + ")") : "null"));
tRes.tested("getBounds()", result);
@@ -474,7 +474,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
if (parent != null) {
Point parLoc = parent.getLocationOnScreen();
- log.println("Parent location is (" + parLoc.X + "," + parLoc.Y +
+ log.println("Parent location is (" + parLoc.X + "," + parLoc.Y +
")");
result &= ((parLoc.X + bounds.X) == loc.X);
@@ -550,7 +550,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
XAccessible child = xAccCon.getAccessibleChild(i);
XAccessibleContext xAccConCh = child.getAccessibleContext();
XAccessibleComponent xChAccComp = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
xAccConCh);
if (xChAccComp != null) {
@@ -592,7 +592,7 @@ public class _XAccessibleComponent extends MultiMethodTest {
XAccessibleContext xAccConPar = xAccPar.getAccessibleContext();
XAccessibleComponent parent = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
xAccConPar);
if (parent == null) {
@@ -631,9 +631,9 @@ public class _XAccessibleComponent extends MultiMethodTest {
disposeEnvironment();
}
}
-
+
private boolean isCovered(Point p) {
- int elements = KnownBounds.size();
+ int elements = KnownBounds.size();
boolean Covered = false;
for (int k=0;k<elements;k++) {
Rectangle known = (Rectangle) KnownBounds.get(k);
@@ -641,11 +641,11 @@ public class _XAccessibleComponent extends MultiMethodTest {
Covered &= (known.Y < p.Y);
Covered &= (p.Y < known.Y+known.Height);
Covered &= (p.X < known.X+known.Width);
-
+
if (Covered) {
break;
}
- }
+ }
return Covered;
}
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
index 47b24a337f2c..a71e8da71b44 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleContext.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class _XAccessibleContext extends MultiMethodTest {
requiredMethod("getAccessibleChildCount()");
log.println("testing 'getAccessibleChild()'...");
-
+
boolean bOK = true;
int counter = childCount;
@@ -106,72 +106,72 @@ public class _XAccessibleContext extends MultiMethodTest {
XAccessible ch = oObj.getAccessibleChild(i);
XAccessibleContext chAC = ch.getAccessibleContext();
- log.println("## Child " + i + ": " +
+ log.println("## Child " + i + ": " +
chAC.getAccessibleDescription());
if (!AccessibilityTools.equals(chAC.getAccessibleParent()
- .getAccessibleContext(),
+ .getAccessibleContext(),
oObj)) {
- log.println("The parent of child and component " +
+ log.println("The parent of child and component " +
"itself differ.");
log.println("\tRole:");
- log.println("Getting: " +
+ log.println("Getting: " +
chAC.getAccessibleParent()
.getAccessibleContext()
.getAccessibleRole());
log.println("Expected: " + oObj.getAccessibleRole());
log.println("\tImplementationName:");
- log.println("Getting: " +
+ log.println("Getting: " +
util.utils.getImplName(
chAC.getAccessibleParent()
.getAccessibleContext()));
log.println("Expected: " + util.utils.getImplName(oObj));
log.println("\tAccessibleDescription:");
- log.println("Getting(Description): " +
+ log.println("Getting(Description): " +
chAC.getAccessibleParent()
.getAccessibleContext()
.getAccessibleDescription());
- log.println("Expected(Description): " +
+ log.println("Expected(Description): " +
oObj.getAccessibleDescription());
log.println("\tAccessibleName:");
- log.println("Getting(Name): " +
+ log.println("Getting(Name): " +
chAC.getAccessibleParent()
.getAccessibleContext()
.getAccessibleName());
- log.println("Expected(Name): " +
+ log.println("Expected(Name): " +
oObj.getAccessibleName());
log.println("\tChildCount:");
- log.println("Getting: " +
+ log.println("Getting: " +
chAC.getAccessibleParent()
.getAccessibleContext()
.getAccessibleChildCount());
- log.println("Expected: " +
+ log.println("Expected: " +
oObj.getAccessibleChildCount());
log.println("\tParentName:");
- log.println("Getting (Name): " +
+ log.println("Getting (Name): " +
chAC.getAccessibleParent()
.getAccessibleContext()
.getAccessibleParent()
.getAccessibleContext()
.getAccessibleName());
- log.println("Expected(Name): " +
+ log.println("Expected(Name): " +
oObj.getAccessibleParent()
.getAccessibleContext()
.getAccessibleName());
-
+
log.println("##");
bOK = false;
} else {
log.println("Role: " + chAC.getAccessibleRole());
log.println("Name: " + chAC.getAccessibleName());
- log.println("IndexInParent: " +
+ log.println("IndexInParent: " +
chAC.getAccessibleIndexInParent());
- log.println("ImplementationName: " +
+ log.println("ImplementationName: " +
util.utils.getImplName(chAC));
}
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
@@ -222,7 +222,7 @@ public class _XAccessibleContext extends MultiMethodTest {
} else {
bOK &= AccessibilityTools.equals(parentAC.getAccessibleChild(
idx)
- .getAccessibleContext(),
+ .getAccessibleContext(),
oObj);
}
@@ -230,7 +230,7 @@ public class _XAccessibleContext extends MultiMethodTest {
log.println("Expected: " + util.utils.getImplName(oObj));
if (parentAC.getAccessibleChild(idx) != null) {
- log.println("Getting: " +
+ log.println("Getting: " +
util.utils.getImplName(
parentAC.getAccessibleChild(idx)
.getAccessibleContext()));
@@ -326,12 +326,12 @@ public class _XAccessibleContext extends MultiMethodTest {
e.printStackTrace(log);
}
- tRes.tested("getLocale()",
+ tRes.tested("getLocale()",
(loc != null) && (loc.Language.length() > 0));
}
- protected boolean checkStates(String[] expectedStateNames,
- short[] expectedStates,
+ protected boolean checkStates(String[] expectedStateNames,
+ short[] expectedStates,
XAccessibleStateSet set) {
boolean works = true;
@@ -339,11 +339,11 @@ public class _XAccessibleContext extends MultiMethodTest {
boolean contains = set.contains(expectedStates[k]);
if (contains) {
- log.println("Set contains " + expectedStateNames[k] +
+ log.println("Set contains " + expectedStateNames[k] +
" ... OK");
works &= true;
} else {
- log.println("Set doesn't contain " + expectedStateNames[k] +
+ log.println("Set doesn't contain " + expectedStateNames[k] +
" ... FAILED");
works &= false;
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
index eac528b41121..2d3162adbc2f 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEditableText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
index c1cb7302efce..cee6b4c36369 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleEventBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,11 +81,11 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
if (old instanceof com.sun.star.accessibility.XAccessible) {
System.out.println("Old: "+((XAccessible)old).getAccessibleContext().getAccessibleName());
}
-
+
Object nev=ev.NewValue;
if (nev instanceof com.sun.star.accessibility.XAccessible) {
System.out.println("New: "+((XAccessible)nev).getAccessibleContext().getAccessibleName());
- }
+ }
notifiedEvent = ev;
}
@@ -109,7 +109,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
}
EventProducer prod = null ;
- EvListener list = new EvListener();
+ EvListener list = new EvListener();
/**
* Adds two listeners and fires event by mean of object relation. <p>
@@ -117,19 +117,19 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
*/
public void _addEventListener() {
log.println("adding listener");
- oObj.addEventListener(list);
+ oObj.addEventListener(list);
boolean isTransient = chkTransient(tEnv.getTestObject());
log.println("fire event");
prod.fireEvent() ;
- try {
+ try {
Thread.sleep(3000);
}
catch (InterruptedException ex) {
- }
-
+ }
+
boolean works = true;
-
+
if (list.notifiedEvent == null) {
if (!isTransient) {
log.println("listener wasn't called");
@@ -137,12 +137,12 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
} else {
log.println("Object is Transient, listener isn't expected to be called");
}
- oObj.removeEventListener(list);
+ oObj.removeEventListener(list);
}
-
+
if (EventMsg != null) {
log.println(EventMsg);
- tRes.tested("addEventListener()", Status.skipped(true) );
+ tRes.tested("addEventListener()", Status.skipped(true) );
return;
}
@@ -163,7 +163,7 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
public void _removeEventListener() {
requiredMethod("addEventListener()");
- list.notifiedEvent = null;
+ list.notifiedEvent = null;
log.println("remove listener");
oObj.removeEventListener(list);
@@ -183,11 +183,11 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
tRes.tested("removeEventListener()", list.notifiedEvent == null);
- }
-
+ }
+
protected static boolean chkTransient(Object Testcase) {
boolean ret = false;
- XAccessibleContext accCon = (XAccessibleContext)
+ XAccessibleContext accCon = (XAccessibleContext)
UnoRuntime.queryInterface(XAccessibleContext.class,Testcase);
if (accCon.getAccessibleStateSet().contains(
com.sun.star.accessibility.AccessibleStateType.TRANSIENT)){
@@ -196,17 +196,17 @@ public class _XAccessibleEventBroadcaster extends MultiMethodTest {
throw new lib.StatusException(lib.Status.failed("Parent doesn't manage descendents"));
}
ret=true;
- }
+ }
return ret;
- }
-
+ }
+
/**
* Forces environment recreation.
*/
protected void after() {
if (destroy) disposeEnvironment();
}
-
-
+
+
}
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java
index 422cfa96e334..a0bc677a42c9 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleExtendedComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleImage.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleImage.java
index 7a4dfafff615..cc9b1dc3fc85 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleImage.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleImage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
index e575e332845b..199cc62a7f27 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleSelection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -221,7 +221,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
oObj.selectAccessibleChild(k);
shortWait();
isSelected = oObj.isAccessibleChildSelected(k);
- log.println("isAccessibleChildSelected - " +
+ log.println("isAccessibleChildSelected - " +
isSelected);
res &= isSelected;
} else {
@@ -258,7 +258,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
if ((childCount > 0) && !OneAlwaysSelected) {
try {
- log.print("isAccessibleChildSelected(" + (childCount - 1) +
+ log.print("isAccessibleChildSelected(" + (childCount - 1) +
")? ");
boolean isSel = oObj.isAccessibleChildSelected(childCount - 1);
@@ -305,7 +305,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
log.println(isSelected);
res = isSelected;
- log.print("isAccessibleChildSelected(" + (childCount - 1) +
+ log.print("isAccessibleChildSelected(" + (childCount - 1) +
")? ");
isSelected = oObj.isAccessibleChildSelected(childCount - 1);
log.println(isSelected);
@@ -350,11 +350,11 @@ public class _XAccessibleSelection extends MultiMethodTest {
oObj.selectAccessibleChild(i);
long curtime = System.currentTimeMillis();
long checktime = System.currentTimeMillis();
-
+
while (!oObj.isAccessibleChildSelected(i) && (checktime-curtime<5000)) {
checktime = System.currentTimeMillis();
}
-
+
log.println("OK");
}
}
@@ -367,9 +367,9 @@ public class _XAccessibleSelection extends MultiMethodTest {
int sCount = chkSelectable(tEnv.getTestObject());
log.println("Found " + sCount + " selectable Childs");
-
+
int selectedCount = oObj.getSelectedAccessibleChildCount();
- log.println("After selecting all accessible " + selectedCount +
+ log.println("After selecting all accessible " + selectedCount +
" are selected");
boolean res = true;
@@ -443,7 +443,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
if (isSelectable(tEnv.getTestObject(), k)) {
oObj.selectAccessibleChild(k);
shortWait();
- log.println("selected child count: " +
+ log.println("selected child count: " +
oObj.getSelectedAccessibleChildCount());
XAccessible selChild = oObj.getSelectedAccessibleChild(0);
res &= (selChild != null);
@@ -521,7 +521,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
}
int newSelCount = oObj.getSelectedAccessibleChildCount();
- log.println("getSelectedAccessibleChildCount():" +
+ log.println("getSelectedAccessibleChildCount():" +
newSelCount);
if (OneAlwaysSelected && (selCount == 1)) {
@@ -579,7 +579,7 @@ public class _XAccessibleSelection extends MultiMethodTest {
//selecting menuitems or the separator will lead to closing the menu
if ((accCon.getAccessibleChild(index).getAccessibleContext()
- .getAccessibleRole() == AccessibleRole.MENU_ITEM) ||
+ .getAccessibleRole() == AccessibleRole.MENU_ITEM) ||
(accCon.getAccessibleChild(index).getAccessibleContext()
.getAccessibleRole() == AccessibleRole.SEPARATOR)) {
res = false;
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
index fa851bb79ea2..4a1ec00e11e8 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
index c72c25590396..60afee689fd8 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -117,7 +117,7 @@ public class _XAccessibleText extends MultiMethodTest {
if (component == null) {
component = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
tEnv.getTestObject());
}
@@ -260,7 +260,7 @@ public class _XAccessibleText extends MultiMethodTest {
res &= isEqCh;
if (!isEqCh) {
- log.println("At the position " + i +
+ log.println("At the position " + i +
"was expected character: " + text.charAt(i));
log.println("but was returned: " + ch);
@@ -316,7 +316,7 @@ public class _XAccessibleText extends MultiMethodTest {
try {
log.println("getCharacterAttributes(chCount-1)");
- PropertyValue[] props = oObj.getCharacterAttributes(chCount - 1,
+ PropertyValue[] props = oObj.getCharacterAttributes(chCount - 1,
attr);
res &= (props != null);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
@@ -379,7 +379,7 @@ public class _XAccessibleText extends MultiMethodTest {
try {
for (int i = 0; i < lastIndex; i++) {
log.println("getCharacterBounds(" + i + ")");
- chBounds = oObj.getCharacterBounds(i);
+ chBounds = oObj.getCharacterBounds(i);
boolean localres = true;
localres = chBounds.X >= 0;
@@ -390,13 +390,13 @@ public class _XAccessibleText extends MultiMethodTest {
localres &= ((chBounds.Y + chBounds.Height) > 0);
if (!localres) {
- log.println("Text at this place: "+oObj.getCharacter(i));
+ log.println("Text at this place: "+oObj.getCharacter(i));
log.println("Character bounds outside component");
- log.println("Character rect: " + chBounds.X + ", " +
- chBounds.Y + ", " + chBounds.Width + ", " +
+ log.println("Character rect: " + chBounds.X + ", " +
+ chBounds.Y + ", " + chBounds.Width + ", " +
chBounds.Height);
- log.println("Component rect: " + bounds.X + ", " +
- bounds.Y + ", " + bounds.Width + ", " +
+ log.println("Component rect: " + bounds.X + ", " +
+ bounds.Y + ", " + bounds.Width + ", " +
bounds.Height);
res &= localres;
}
@@ -435,7 +435,7 @@ public class _XAccessibleText extends MultiMethodTest {
* </ul>
*/
public void _getIndexAtPoint() {
- //requiredMethod("getCharacterBounds()");
+ //requiredMethod("getCharacterBounds()");
boolean res = true;
log.print("getIndexAtPoint(-1, -1):");
@@ -471,13 +471,13 @@ public class _XAccessibleText extends MultiMethodTest {
int y = aRect.Y + (aRect.Height / 2);
Point aPoint = new Point(x, y);
int nIndex = oObj.getIndexAtPoint(aPoint);
-
+
x = aRect.X;
y = aRect.Y + (aRect.Height / 2);
aPoint = new Point(x, y);
- int left = oObj.getIndexAtPoint(aPoint);
-
-
+ int left = oObj.getIndexAtPoint(aPoint);
+
+
int[] previous = (int[]) tEnv.getObjRelation("PreviousUsed");
@@ -492,12 +492,12 @@ public class _XAccessibleText extends MultiMethodTest {
if (nIndex != i) {
// for some letters the center of the rectangle isn't recognised
// in this case we are happy if the left border of the rectangle
- // returns the correct value.
+ // returns the correct value.
if (left !=i) {
- log.println("## Method didn't work for Point (" + x + "," + y +
+ log.println("## Method didn't work for Point (" + x + "," + y +
")");
log.println("Expected Index " + i);
- log.println("Gained Index: " + nIndex);
+ log.println("Gained Index: " + nIndex);
log.println("Left Border: "+left);
log.println("CharacterAtIndex: " + text);
res &= false;
@@ -748,7 +748,7 @@ public class _XAccessibleText extends MultiMethodTest {
boolean res = true;
boolean locRes = true;
-
+
String txtRange = "";
try {
@@ -761,7 +761,7 @@ public class _XAccessibleText extends MultiMethodTest {
res &= locRes;
if (!locRes) {
- log.println("Was expected: " +
+ log.println("Was expected: " +
text.substring(1, chCount - 2));
}
}
@@ -774,7 +774,7 @@ public class _XAccessibleText extends MultiMethodTest {
res &= locRes;
if (!locRes) {
- log.println("Was expected: " +
+ log.println("Was expected: " +
text.substring(0, chCount - 1));
}
@@ -853,7 +853,7 @@ public class _XAccessibleText extends MultiMethodTest {
try {
log.print("getTextAtIndex(-1, AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextAtIndex(-1,
+ txt = oObj.getTextAtIndex(-1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -866,10 +866,10 @@ public class _XAccessibleText extends MultiMethodTest {
}
try {
- log.print("getTextAtIndex(chCount+1," +
+ log.print("getTextAtIndex(chCount+1," +
" AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextAtIndex(chCount + 1,
+ txt = oObj.getTextAtIndex(chCount + 1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -882,14 +882,14 @@ public class _XAccessibleText extends MultiMethodTest {
}
try {
- log.print("getTextAtIndex(chCount," +
+ log.print("getTextAtIndex(chCount," +
" AccessibleTextType.WORD):");
txt = oObj.getTextAtIndex(chCount, AccessibleTextType.WORD);
log.println("'" + txt.SegmentText + "'");
res &= compareLength(0,txt.SegmentText);
if (!tEnv.getTestCase().getObjectName().equals("SmGraphicAccessible")) {
- log.print("getTextAtIndex(1," +
+ log.print("getTextAtIndex(1," +
" AccessibleTextType.PARAGRAPH):");
txt = oObj.getTextAtIndex(1, AccessibleTextType.PARAGRAPH);
log.println("'" + txt.SegmentText + "'");
@@ -927,7 +927,7 @@ public class _XAccessibleText extends MultiMethodTest {
try {
log.print("getTextBeforeIndex(-1, AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBeforeIndex(-1,
+ txt = oObj.getTextBeforeIndex(-1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -940,10 +940,10 @@ public class _XAccessibleText extends MultiMethodTest {
}
try {
- log.print("getTextBeforeIndex(chCount+1, " +
+ log.print("getTextBeforeIndex(chCount+1, " +
"AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBeforeIndex(chCount + 1,
+ txt = oObj.getTextBeforeIndex(chCount + 1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -957,31 +957,31 @@ public class _XAccessibleText extends MultiMethodTest {
try {
if (!tEnv.getTestCase().getObjectName().equals("SmGraphicAccessible")) {
- log.print("getTextBeforeIndex(chCount," +
+ log.print("getTextBeforeIndex(chCount," +
" AccessibleTextType.WORD):");
- txt = oObj.getTextBeforeIndex(chCount,
+ txt = oObj.getTextBeforeIndex(chCount,
AccessibleTextType.WORD);
log.println("'" + txt.SegmentText + "'");
res &= compareLength(chCount, txt.SegmentText);
}
- log.print("getTextBeforeIndex(1," +
+ log.print("getTextBeforeIndex(1," +
" AccessibleTextType.PARAGRAPH):");
txt = oObj.getTextBeforeIndex(1, AccessibleTextType.PARAGRAPH);
log.println("'" + txt.SegmentText + "'");
res &= compareLength(0, txt.SegmentText);
- log.print("getTextBeforeIndex(chCount-1," +
+ log.print("getTextBeforeIndex(chCount-1," +
" AccessibleTextType.CHARACTER):");
- txt = oObj.getTextBeforeIndex(chCount - 1,
+ txt = oObj.getTextBeforeIndex(chCount - 1,
AccessibleTextType.CHARACTER);
log.println("'" + txt.SegmentText + "'");
- res &= compareStrings(text.substring(chCount - 2, chCount - 1),
+ res &= compareStrings(text.substring(chCount - 2, chCount - 1),
txt.SegmentText);
if (chCount > 2) {
- log.print("getTextBeforeIndex(2," +
+ log.print("getTextBeforeIndex(2," +
" AccessibleTextType.CHARACTER):");
txt = oObj.getTextBeforeIndex(2, AccessibleTextType.CHARACTER);
log.println("'" + txt.SegmentText + "'");
@@ -1019,7 +1019,7 @@ public class _XAccessibleText extends MultiMethodTest {
try {
log.print("getTextBehindIndex(-1, AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBehindIndex(-1,
+ txt = oObj.getTextBehindIndex(-1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -1032,10 +1032,10 @@ public class _XAccessibleText extends MultiMethodTest {
}
try {
- log.print("getTextBehindIndex(chCount+1, " +
+ log.print("getTextBehindIndex(chCount+1, " +
"AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBehindIndex(chCount + 1,
+ txt = oObj.getTextBehindIndex(chCount + 1,
AccessibleTextType.PARAGRAPH);
log.println("Exception was expected");
res &= false;
@@ -1048,31 +1048,31 @@ public class _XAccessibleText extends MultiMethodTest {
}
try {
- log.print("getTextBehindIndex(chCount," +
+ log.print("getTextBehindIndex(chCount," +
" AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBehindIndex(chCount,
+ txt = oObj.getTextBehindIndex(chCount,
AccessibleTextType.PARAGRAPH);
log.println("'" + txt.SegmentText + "'");
res &= (txt.SegmentText.length() == 0);
- log.print("getTextBehindIndex(chCount-1," +
+ log.print("getTextBehindIndex(chCount-1," +
" AccessibleTextType.PARAGRAPH):");
- txt = oObj.getTextBehindIndex(chCount - 1,
+ txt = oObj.getTextBehindIndex(chCount - 1,
AccessibleTextType.PARAGRAPH);
log.println("'" + txt.SegmentText + "'");
res &= (txt.SegmentText.length() == 0);
- log.print("getTextBehindIndex(1," +
+ log.print("getTextBehindIndex(1," +
" AccessibleTextType.CHARACTER):");
txt = oObj.getTextBehindIndex(1, AccessibleTextType.CHARACTER);
log.println("'" + txt.SegmentText + "'");
res &= txt.SegmentText.equals(text.substring(2, 3));
if (chCount > 2) {
- log.print("getTextBehindIndex(chCount-2," +
+ log.print("getTextBehindIndex(chCount-2," +
" AccessibleTextType.CHARACTER):");
- txt = oObj.getTextBehindIndex(chCount - 2,
+ txt = oObj.getTextBehindIndex(chCount - 2,
AccessibleTextType.CHARACTER);
log.println("'" + txt.SegmentText + "'");
res &= txt.SegmentText.equals(text.substring(chCount - 1, chCount));
diff --git a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
index 201d5675ff0c..4364d709870b 100644
--- a/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
+++ b/qadevOOo/tests/java/ifc/accessibility/_XAccessibleValue.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -134,7 +134,7 @@ public class _XAccessibleValue extends MultiMethodTest {
boolean partResult=true;
String noMax = "com.sun.star.comp.toolkit.AccessibleScrollBar";
String implName = util.utils.getImplName(oObj);
-
+
if (tEnv.getObjRelation("ValueNotPersitent")!=null) {
log.println("Excluded since it works like AccessibleAction");
tRes.tested("setCurrentValue()",Status.skipped(true));
@@ -151,12 +151,12 @@ public class _XAccessibleValue extends MultiMethodTest {
Object setVal = getObjectValue(newVal, val.getClass());
result &= oObj.setCurrentValue(setVal);
-
+
if (!result) {
log.println("The value can't be set");
throw new StatusException(Status.skipped(true));
}
-
+
double resVal = getDoubleValue(oObj.getCurrentValue());
log.println("Res value is " + resVal);
@@ -174,8 +174,8 @@ public class _XAccessibleValue extends MultiMethodTest {
log.println("Setting to "+ getObjectValue(maxVal, val.getClass()));
resVal = getDoubleValue(oObj.getCurrentValue());
log.println("Result max value is " + resVal);
- partResult = Math.abs(maxVal - resVal) < 0.00001;
-
+ partResult = Math.abs(maxVal - resVal) < 0.00001;
+
if (implName.equals(noMax)) {
log.println("If one sets the maximum value of a scroll bar with XScrollBar::setMaximum(),"+
"then XScrollBar::getValue() returns the maximum value minus the visible size of"+
@@ -183,14 +183,14 @@ public class _XAccessibleValue extends MultiMethodTest {
//using abitrary Value, since we can't determine the resulting value
partResult = resVal > 10;
}
-
+
result &=partResult;
log.println("\t works: "+partResult);
log.println("Checking truncating of min/max values");
oObj.setCurrentValue(getObjectValue(minVal - 1, val.getClass()));
log.println("Setting to "+ getObjectValue(minVal -1 , val.getClass()));
- resVal = getDoubleValue(oObj.getCurrentValue());
+ resVal = getDoubleValue(oObj.getCurrentValue());
log.println("Result min value is " + resVal);
result &= Math.abs(minVal - resVal) < 0.00001;
log.println("\t works: "+(Math.abs(minVal - resVal) < 0.00001));
@@ -207,7 +207,7 @@ public class _XAccessibleValue extends MultiMethodTest {
//using abitrary Value, since we can't determine the resulting value
partResult = resVal > 10;
}
-
+
result &=partResult;
log.println("\t works: "+partResult);
} else {
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
index 545995a641fe..ff9ac9c269c4 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -79,7 +79,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
log.println("Testing with custom Property tester") ;
testProperty("BackgroundColor", ColorTester) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -87,7 +87,7 @@ public class _UnoControlButtonModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
index 115a416ba640..4d7d77fad501 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlCheckBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,8 +70,8 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
-
+ }
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -104,6 +104,6 @@ public class _UnoControlCheckBoxModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
index 544c8c2ee6e1..c3d3133bd8fb 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlComboBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,7 +65,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -101,7 +101,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
}
}) ;
}
-
+
public void _Text() {
try {
oObj.setPropertyValue("MaxTextLen",new Short((short)0));
@@ -112,7 +112,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
}
testProperty("Text");
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -124,7 +124,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -132,7 +132,7 @@ public class _UnoControlComboBoxModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
} //EOF UnoControlComboBoxModel
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
index 8ae486c2d8e7..88cf0a8aa2a7 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlContainerModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
index 3638498a0152..906da48cf1ae 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlCurrencyFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -80,7 +80,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -91,7 +91,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
@@ -104,7 +104,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -115,7 +115,7 @@ public class _UnoControlCurrencyFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(123) : null ;
}
}) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
index c0d17a541c46..baeb99479760 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlDateFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,7 +67,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -79,7 +79,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
@@ -117,7 +117,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -129,7 +129,7 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -137,9 +137,9 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
-
- public void _DateShowCentury() {
+ }
+
+ public void _DateShowCentury() {
boolean res = false;
try {
util.dbg.printPropertyInfo(oObj,"DateShowCentury",log);
@@ -160,14 +160,14 @@ public class _UnoControlDateFieldModel extends MultiPropertyTest {
} catch (com.sun.star.beans.UnknownPropertyException upe) {
log.println("Don't know the Property 'DateShowCentury'");
} catch (com.sun.star.lang.WrappedTargetException wte) {
- log.println("WrappedTargetException while getting Property 'DateShowCentury'");
+ log.println("WrappedTargetException while getting Property 'DateShowCentury'");
} catch (com.sun.star.lang.IllegalArgumentException iae) {
log.println("IllegalArgumentException while getting Property 'DateShowCentury'");
} catch (com.sun.star.beans.PropertyVetoException pve) {
log.println("PropertyVetoException while getting Property 'DateShowCentury'");
- }
- tRes.tested("DateShowCentury",res);
-
+ }
+ tRes.tested("DateShowCentury",res);
+
}
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogElement.java b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogElement.java
index f9746fb6210f..2e20cf12a979 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogElement.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogElement.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -29,7 +29,7 @@ package ifc.awt;
import lib.MultiPropertyTest;
-public class _UnoControlDialogElement extends MultiPropertyTest {
-
+public class _UnoControlDialogElement extends MultiPropertyTest {
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
index 88b2ecafcb30..f58bebbf5272 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlDialogModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@ public class _UnoControlDialogModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -82,6 +82,6 @@ public class _UnoControlDialogModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
}) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
index fee61c671be1..cd9b09eb7447 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlEditModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,7 +69,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -80,7 +80,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
@@ -105,7 +105,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -117,7 +117,7 @@ public class _UnoControlEditModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -125,6 +125,6 @@ public class _UnoControlEditModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
index 144ccd46a205..ad5e3d0be64a 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFileControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,7 +65,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -76,7 +76,7 @@ public class _UnoControlFileControlModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
index f9087e46cd41..382c39bffbbb 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedLineModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
index d66cfde5995a..9c96a2510fd1 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFixedTextModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,7 +62,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -73,7 +73,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
@@ -86,7 +86,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -98,7 +98,7 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -106,6 +106,6 @@ public class _UnoControlFixedTextModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
index 31bc7959a287..f277cbef2664 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlFormattedFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
log.println("Testing with custom Property tester") ;
testProperty("DefaultControl", ControlTester) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -97,7 +97,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
@@ -111,7 +111,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -123,7 +123,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
super.getNewValue(p,v) ;
}
}) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
@@ -166,7 +166,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -182,7 +182,7 @@ public class _UnoControlFormattedFieldModel extends MultiPropertyTest {
return newValue;
}
}) ;
- }
+ }
/**
* This property can be void, so if old value is <code> null </code>
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
index 8b4183aa88fe..b82f65e07220 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlGroupBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,7 +59,7 @@ public class _UnoControlGroupBoxModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -71,7 +71,7 @@ public class _UnoControlGroupBoxModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -79,7 +79,7 @@ public class _UnoControlGroupBoxModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
index 4955cce1dc1a..f9344d5a6ccf 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlImageControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -79,7 +79,7 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -90,8 +90,8 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
-
+ }
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -104,6 +104,6 @@ public class _UnoControlImageControlModel extends MultiPropertyTest {
}
}) ;
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
index 97c4bebde37e..21eba19082dc 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlListBoxModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,7 +65,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -76,7 +76,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
@@ -101,7 +101,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -113,7 +113,7 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -121,6 +121,6 @@ public class _UnoControlListBoxModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlModel.java
index 63dc6009d75d..c40f64620313 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,6 +30,6 @@ package ifc.awt;
import lib.MultiPropertyTest;
public class _UnoControlModel extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
index 4ea032cce8a5..913f4235911f 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlNumericFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -68,7 +68,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -79,7 +79,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
@@ -92,7 +92,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -103,7 +103,7 @@ public class _UnoControlNumericFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
index 2fa75c03ba53..51fb016698ce 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlPatternFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -75,7 +75,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
@@ -88,7 +88,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -99,7 +99,7 @@ public class _UnoControlPatternFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(4321) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
index 54bdb7195f16..a59e9f0963a2 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlProgressBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
index b7b54c05addf..31442493895b 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlRadioButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* Redefined method returns value, that differs from property value.
*/
@@ -83,7 +83,7 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
return new Integer(17);
}
};
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
@@ -91,8 +91,8 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
public void _TextLineColor() {
log.println("Testing with custom Property tester") ;
testProperty("TextLineColor", ColorTester) ;
- }
-
+ }
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -103,6 +103,6 @@ public class _UnoControlRadioButtonModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
index 824c6f0185d8..edb8a07b986b 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlScrollBarModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,12 +58,12 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
- protected Object getNewValue(String p, Object old) {
+ protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(32768) : null ;
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -74,8 +74,8 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
-
+ }
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -86,15 +86,15 @@ public class _UnoControlScrollBarModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(65324) : null ;
}
}) ;
- }
-
+ }
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
*/
public void _ScrollValue() {
testProperty("ScrollValue", new PropertyTester() {
- protected Object getNewValue(String p, Object old) {
+ protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(10) : new Integer(15) ;
}
}) ;
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
index a0489db5cdf6..12464db2a4ff 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlSpinButtonModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,19 +31,19 @@ import lib.MultiPropertyTest;
import util.utils;
public class _UnoControlSpinButtonModel extends MultiPropertyTest {
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
*/
public void _BackgroundColor() {
testProperty("BackgroundColor", new PropertyTester() {
- protected Object getNewValue(String p, Object old) {
+ protected Object getNewValue(String p, Object old) {
return utils.isVoid(old) ? new Integer(32768) : null ;
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -54,8 +54,8 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
-
+ }
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -66,6 +66,6 @@ public class _UnoControlSpinButtonModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(65324) : null ;
}
}) ;
- }
-
+ }
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java b/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
index 1e1a0b78d058..035ca42be8a1 100644
--- a/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_UnoControlTimeFieldModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be VOID, and in case if it is so new
* value must defined.
@@ -83,7 +83,7 @@ public class _UnoControlTimeFieldModel extends MultiPropertyTest {
return utils.isVoid(old) ? new Integer(1234) : null ;
}
}) ;
- }
+ }
/**
* This property can be VOID, and in case if it is so new
diff --git a/qadevOOo/tests/java/ifc/awt/_XButton.java b/qadevOOo/tests/java/ifc/awt/_XButton.java
index 3aacd8515144..c8c9adb2cf33 100644
--- a/qadevOOo/tests/java/ifc/awt/_XButton.java
+++ b/qadevOOo/tests/java/ifc/awt/_XButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XCheckBox.java b/qadevOOo/tests/java/ifc/awt/_XCheckBox.java
index e8307ed8f8bb..a0063d76e9d6 100644
--- a/qadevOOo/tests/java/ifc/awt/_XCheckBox.java
+++ b/qadevOOo/tests/java/ifc/awt/_XCheckBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XComboBox.java b/qadevOOo/tests/java/ifc/awt/_XComboBox.java
index 8dd65e33050c..aa3aecbcca2d 100644
--- a/qadevOOo/tests/java/ifc/awt/_XComboBox.java
+++ b/qadevOOo/tests/java/ifc/awt/_XComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XControl.java b/qadevOOo/tests/java/ifc/awt/_XControl.java
index fbf10ca97271..7f12c8cabad8 100644
--- a/qadevOOo/tests/java/ifc/awt/_XControl.java
+++ b/qadevOOo/tests/java/ifc/awt/_XControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XControlContainer.java b/qadevOOo/tests/java/ifc/awt/_XControlContainer.java
index 831df3461041..3ee305ea4e84 100644
--- a/qadevOOo/tests/java/ifc/awt/_XControlContainer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XControlContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java b/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java
index 588962be5afd..755643ad522b 100644
--- a/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XCurrencyField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java b/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
index 909723b8a429..1d1ccf3a3fe5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
+++ b/qadevOOo/tests/java/ifc/awt/_XDataTransferProviderAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XDateField.java b/qadevOOo/tests/java/ifc/awt/_XDateField.java
index a8eaf303302e..fd22837a36f5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XDateField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XDateField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -75,12 +75,12 @@ public class _XDateField extends MultiMethodTest {
requiredMethod("getDate()") ;
boolean result = true ;
- oObj.setDate(19000101) ;
+ oObj.setDate(19000101) ;
result = oObj.getDate() == 19000101 ;
-
+
if (! result ) {
- System.out.println("getDate: "+oObj.getDate()+" , expected 19000101");
+ System.out.println("getDate: "+oObj.getDate()+" , expected 19000101");
}
tRes.tested("setDate()", result) ;
diff --git a/qadevOOo/tests/java/ifc/awt/_XDialog.java b/qadevOOo/tests/java/ifc/awt/_XDialog.java
index a5fc0bf98170..91dc2a0cdf0f 100644
--- a/qadevOOo/tests/java/ifc/awt/_XDialog.java
+++ b/qadevOOo/tests/java/ifc/awt/_XDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XFixedText.java b/qadevOOo/tests/java/ifc/awt/_XFixedText.java
index e93d97e85e19..5fc61841b7f5 100644
--- a/qadevOOo/tests/java/ifc/awt/_XFixedText.java
+++ b/qadevOOo/tests/java/ifc/awt/_XFixedText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java b/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java
index f47320fa3e2c..96e1de152adb 100644
--- a/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XImageConsumer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
index 60dd0c9b7fdf..9e039772039c 100644
--- a/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XImageProducer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XItemListener.java b/qadevOOo/tests/java/ifc/awt/_XItemListener.java
index b5f920f4ffa7..27991c1eab52 100644
--- a/qadevOOo/tests/java/ifc/awt/_XItemListener.java
+++ b/qadevOOo/tests/java/ifc/awt/_XItemListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XLayoutConstrains.java b/qadevOOo/tests/java/ifc/awt/_XLayoutConstrains.java
index 81bfc6889175..4c11ebdb6b23 100644
--- a/qadevOOo/tests/java/ifc/awt/_XLayoutConstrains.java
+++ b/qadevOOo/tests/java/ifc/awt/_XLayoutConstrains.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XListBox.java b/qadevOOo/tests/java/ifc/awt/_XListBox.java
index 9d1e4a84702e..70becc6327cb 100644
--- a/qadevOOo/tests/java/ifc/awt/_XListBox.java
+++ b/qadevOOo/tests/java/ifc/awt/_XListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XMessageBoxFactory.java b/qadevOOo/tests/java/ifc/awt/_XMessageBoxFactory.java
index 9c96506938da..9ec01eb5aaa1 100644
--- a/qadevOOo/tests/java/ifc/awt/_XMessageBoxFactory.java
+++ b/qadevOOo/tests/java/ifc/awt/_XMessageBoxFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XNumericField.java b/qadevOOo/tests/java/ifc/awt/_XNumericField.java
index 65003777182c..3b86d1a9a22d 100644
--- a/qadevOOo/tests/java/ifc/awt/_XNumericField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XNumericField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XPatternField.java b/qadevOOo/tests/java/ifc/awt/_XPatternField.java
index 5cbd0145d76e..acf6312ba9a9 100644
--- a/qadevOOo/tests/java/ifc/awt/_XPatternField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XPatternField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XRadioButton.java b/qadevOOo/tests/java/ifc/awt/_XRadioButton.java
index 348ac264ecf5..c901c0cebadb 100644
--- a/qadevOOo/tests/java/ifc/awt/_XRadioButton.java
+++ b/qadevOOo/tests/java/ifc/awt/_XRadioButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XScrollBar.java b/qadevOOo/tests/java/ifc/awt/_XScrollBar.java
index a5a55d300aeb..cbaf7119ca77 100644
--- a/qadevOOo/tests/java/ifc/awt/_XScrollBar.java
+++ b/qadevOOo/tests/java/ifc/awt/_XScrollBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ public class _XScrollBar extends MultiMethodTest {
com.sun.star.awt.XAdjustmentListener listener = new AdjustmentListener();
public void _addAdjustmentListener() {
- util.FormTools.switchDesignOf((XMultiServiceFactory) tParam.getMSF(),
+ util.FormTools.switchDesignOf((XMultiServiceFactory) tParam.getMSF(),
(XTextDocument) tEnv.getObjRelation("Document"));
shortWait();
oObj.addAdjustmentListener(listener);
@@ -68,35 +68,35 @@ public class _XScrollBar extends MultiMethodTest {
requiredMethod("addAdjustmentListener()");
tRes.tested("removeAdjustmentListener()", true);
}
-
+
public void _setBlockIncrement() {
oObj.setBlockIncrement(15);
oObj.setBlockIncrement(5);
int bi = oObj.getBlockIncrement();
tRes.tested("setBlockIncrement()",bi==5);
- }
+ }
public void _getBlockIncrement() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setBlockIncrement()");
- tRes.tested("getBlockIncrement()", true);
+ tRes.tested("getBlockIncrement()", true);
}
-
+
public void _setLineIncrement() {
oObj.setLineIncrement(12);
oObj.setLineIncrement(2);
int li = oObj.getLineIncrement();
tRes.tested("setLineIncrement()",li==2);
- }
+ }
public void _getLineIncrement() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setLineIncrement()");
- tRes.tested("getLineIncrement()", true);
+ tRes.tested("getLineIncrement()", true);
}
public void _setMaximum() {
@@ -105,44 +105,44 @@ public class _XScrollBar extends MultiMethodTest {
int max = oObj.getMaximum();
tRes.tested("setMaximum()",max==480);
}
-
+
public void _getMaximum() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setMaximum()");
- tRes.tested("getMaximum()", true);
+ tRes.tested("getMaximum()", true);
}
-
+
public void _setOrientation() {
oObj.setOrientation(ScrollBarOrientation.HORIZONTAL);
oObj.setOrientation(ScrollBarOrientation.VERTICAL);
int ori = oObj.getOrientation();
tRes.tested("setOrientation()",ori==ScrollBarOrientation.VERTICAL);
- }
+ }
public void _getOrientation() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setOrientation()");
- tRes.tested("getOrientation()", true);
+ tRes.tested("getOrientation()", true);
}
-
+
public void _setValue() {
oObj.setMaximum(600);
oObj.setValue(480);
oObj.setValue(520);
int val = oObj.getValue();
tRes.tested("setValue()",val==520);
- }
+ }
public void _getValue() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setValue()");
- tRes.tested("getValue()", true);
+ tRes.tested("getValue()", true);
}
public void _setVisibleSize() {
@@ -150,14 +150,14 @@ public class _XScrollBar extends MultiMethodTest {
oObj.setVisibleSize(500);
int vs = oObj.getVisibleSize();
tRes.tested("setVisibleSize()",vs==500);
- }
-
+ }
+
public void _getVisibleSize() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setVisibleSize()");
- tRes.tested("getVisibleSize()", true);
+ tRes.tested("getVisibleSize()", true);
}
public void _setValues() {
@@ -165,8 +165,8 @@ public class _XScrollBar extends MultiMethodTest {
oObj.setValues(70, 210, 500);
int val = oObj.getValue();
int vs = oObj.getVisibleSize();
- int max = oObj.getMaximum();
- tRes.tested("setValues()",((val==70) && (vs==210) && (max==500)));
+ int max = oObj.getMaximum();
+ tRes.tested("setValues()",((val==70) && (vs==210) && (max==500)));
}
private void adjustScrollBar() {
@@ -176,17 +176,17 @@ public class _XScrollBar extends MultiMethodTest {
XScrollBar.class, tEnv.getTestObject());
sc.setValue(500);
-
+
shortWait();
XAccessible acc = (XAccessible) UnoRuntime.queryInterface(
XAccessible.class, tEnv.getTestObject());
XAccessibleComponent aCom = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
acc.getAccessibleContext());
- Point location = aCom.getLocationOnScreen();
+ Point location = aCom.getLocationOnScreen();
//Point location = (Point) tEnv.getObjRelation("Location");
//XAccessibleComponent aCom = (XAccessibleComponent) tEnv.getObjRelation("Location");
//Point location = aCom.getLocationOnScreen();
diff --git a/qadevOOo/tests/java/ifc/awt/_XSpinField.java b/qadevOOo/tests/java/ifc/awt/_XSpinField.java
index 327aacbef7bf..e18bc8589610 100644
--- a/qadevOOo/tests/java/ifc/awt/_XSpinField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XSpinField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XSpinValue.java b/qadevOOo/tests/java/ifc/awt/_XSpinValue.java
index e0ab3513b6fe..dbbcc2c0332c 100644
--- a/qadevOOo/tests/java/ifc/awt/_XSpinValue.java
+++ b/qadevOOo/tests/java/ifc/awt/_XSpinValue.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,13 +40,13 @@ import java.awt.event.InputEvent;
import lib.MultiMethodTest;
public class _XSpinValue extends MultiMethodTest {
-
+
public XSpinValue oObj;
public boolean adjusted = false;
com.sun.star.awt.XAdjustmentListener listener = new AdjustmentListener();
public void _addAdjustmentListener() {
- util.FormTools.switchDesignOf((XMultiServiceFactory) tParam.getMSF(),
+ util.FormTools.switchDesignOf((XMultiServiceFactory) tParam.getMSF(),
(XTextDocument) tEnv.getObjRelation("Document"));
shortWait();
oObj.addAdjustmentListener(listener);
@@ -67,22 +67,22 @@ public class _XSpinValue extends MultiMethodTest {
requiredMethod("addAdjustmentListener()");
tRes.tested("removeAdjustmentListener()", true);
}
-
+
public void _setSpinIncrement() {
oObj.setSpinIncrement(15);
oObj.setSpinIncrement(5);
int bi = oObj.getSpinIncrement();
tRes.tested("setSpinIncrement()",bi==5);
- }
+ }
public void _getSpinIncrement() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setSpinIncrement()");
- tRes.tested("getSpinIncrement()", true);
+ tRes.tested("getSpinIncrement()", true);
}
-
+
public void _setMaximum() {
oObj.setMaximum(490);
@@ -90,30 +90,30 @@ public class _XSpinValue extends MultiMethodTest {
int max = oObj.getMaximum();
tRes.tested("setMaximum()",max==480);
}
-
+
public void _getMaximum() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setMaximum()");
- tRes.tested("getMaximum()", true);
+ tRes.tested("getMaximum()", true);
}
-
+
public void _setMinimum() {
oObj.setMinimum(90);
oObj.setMinimum(80);
int max = oObj.getMinimum();
tRes.tested("setMinimum()",max==80);
}
-
+
public void _getMinimum() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setMinimum()");
- tRes.tested("getMinimum()", true);
- }
-
+ tRes.tested("getMinimum()", true);
+ }
+
public void _setOrientation() {
boolean res = true;
try {
@@ -125,30 +125,30 @@ public class _XSpinValue extends MultiMethodTest {
int ori = oObj.getOrientation();
res &= (ori==ScrollBarOrientation.VERTICAL);
tRes.tested("setOrientation()",res );
- }
+ }
public void _getOrientation() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setOrientation()");
- tRes.tested("getOrientation()", true);
+ tRes.tested("getOrientation()", true);
}
-
+
public void _setValue() {
oObj.setMaximum(600);
oObj.setValue(480);
oObj.setValue(520);
int val = oObj.getValue();
tRes.tested("setValue()",val==520);
- }
+ }
public void _getValue() {
//this method is checked in the corresponding set method
//so that method is requiered here and if it works
//this method is given OK too
requiredMethod("setValue()");
- tRes.tested("getValue()", true);
+ tRes.tested("getValue()", true);
}
public void _setValues() {
@@ -156,8 +156,8 @@ public class _XSpinValue extends MultiMethodTest {
oObj.setValues(70, 210, 200);
int val = oObj.getValue();
int min = oObj.getMinimum();
- int max = oObj.getMaximum();
- tRes.tested("setValues()",((min==70) && (max==210) && (val==200)));
+ int max = oObj.getMaximum();
+ tRes.tested("setValues()",((min==70) && (max==210) && (val==200)));
}
private void adjustScrollBar() {
@@ -167,17 +167,17 @@ public class _XSpinValue extends MultiMethodTest {
XSpinValue.class, tEnv.getTestObject());
sv.setValue(500);
-
+
shortWait();
XAccessible acc = (XAccessible) UnoRuntime.queryInterface(
XAccessible.class, tEnv.getTestObject());
XAccessibleComponent aCom = (XAccessibleComponent) UnoRuntime.queryInterface(
- XAccessibleComponent.class,
+ XAccessibleComponent.class,
acc.getAccessibleContext());
- Point location = aCom.getLocationOnScreen();
+ Point location = aCom.getLocationOnScreen();
//Point location = (Point) tEnv.getObjRelation("Location");
//XAccessibleComponent aCom = (XAccessibleComponent) tEnv.getObjRelation("Location");
//Point location = aCom.getLocationOnScreen();
@@ -216,5 +216,5 @@ public class _XSpinValue extends MultiMethodTest {
System.out.println("Listener disposed");
}
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XTabController.java b/qadevOOo/tests/java/ifc/awt/_XTabController.java
index baf9b8f97bcc..a266bcbfc0f9 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTabController.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTabController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XTabControllerModel.java b/qadevOOo/tests/java/ifc/awt/_XTabControllerModel.java
index 42442185c539..c1637450dbd9 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTabControllerModel.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTabControllerModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
index 850b281b00f8..3a8a64c115fe 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -188,12 +188,12 @@ public class _XTextComponent extends MultiMethodTest {
oObj.setText(text);
oObj.setSelection(new Selection(0,3));
boolean result = oObj.getSelectedText().equals(text);
-
+
if (! result) {
System.out.println("Getting '"+oObj.getSelectedText()+"'");
System.out.println("Expected '"+text+"'");
}
-
+
tRes.tested("getSelectedText()",result);
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextLayoutConstrains.java b/qadevOOo/tests/java/ifc/awt/_XTextLayoutConstrains.java
index 135a1abe917b..10663621dd2d 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextLayoutConstrains.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextLayoutConstrains.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XTextListener.java b/qadevOOo/tests/java/ifc/awt/_XTextListener.java
index df40799cb369..245642a803d8 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTextListener.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTextListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,14 +115,14 @@ public class _XTextListener extends MultiMethodTest {
tRes.tested("textChanged()", result) ;
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XTimeField.java b/qadevOOo/tests/java/ifc/awt/_XTimeField.java
index 95f31140b847..59da87e5de7e 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTimeField.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTimeField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -74,7 +74,7 @@ public class _XTimeField extends MultiMethodTest {
oObj.setTime(11150000) ;
result = oObj.getTime() == 11150000 ;
-
+
if (! result ) {
System.out.println("Getting "+oObj.getTime()+ " expected 11150000");
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XToolkit.java b/qadevOOo/tests/java/ifc/awt/_XToolkit.java
index 8824c3bba9ac..c70d66594013 100644
--- a/qadevOOo/tests/java/ifc/awt/_XToolkit.java
+++ b/qadevOOo/tests/java/ifc/awt/_XToolkit.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
index e1203d7a6e31..f3e2d7c5354c 100644
--- a/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
+++ b/qadevOOo/tests/java/ifc/awt/_XTopWindow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
index 99fd41135c1a..41c2579eda81 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUnoControlContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,12 +56,12 @@ public class _XUnoControlContainer extends MultiMethodTest {
private XTabController tabControl1 = null;
private XTabController tabControl2 = null;
- /**
+ /**
* This method gets the object relations.
- *
+ *
*/
protected void before() {
-
+
tabControl1 = (XTabController) tEnv.getObjRelation("TABCONTROL1");
tabControl2 = (XTabController) tEnv.getObjRelation("TABCONTROL2");
if ((tabControl1 == null) || (tabControl2 == null)){
@@ -70,16 +70,16 @@ public class _XUnoControlContainer extends MultiMethodTest {
}
TabControllers[0] = tabControl1;
TabControllers[1] = tabControl2;
-
+
}
-
-
-
+
+
+
/**
* This tests removes the object relations <code>TABCONTROL1</code> and
* <code>TABCONTROL1</code>.
- * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
- * get before calling method is smaller then sequenze of
+ * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
+ * get before calling method is smaller then sequenze of
* <code>XTabController[]</code> get after calling method.<p>
*
* The following method tests are to be completed successfully before :
@@ -91,23 +91,23 @@ public class _XUnoControlContainer extends MultiMethodTest {
public void _setTabControllers() {
requiredMethod( "getTabControllers()");
requiredMethod( "removeTabController()");
-
+
log.println("removing TABCONTROL1 and TABCONTROL2");
oObj.removeTabController(tabControl1);
oObj.removeTabController(tabControl2);
-
+
log.println("get current controllers");
XTabController[] myTabControllers = oObj.getTabControllers();
log.println("set new controllers");
oObj.setTabControllers( TabControllers );
-
+
log.println("get new current controllers");
XTabController[] myNewTabControllers = oObj.getTabControllers();
- tRes.tested("setTabControllers()",
+ tRes.tested("setTabControllers()",
(myTabControllers.length < myNewTabControllers.length ));
-
+
}
/**
@@ -127,28 +127,28 @@ public class _XUnoControlContainer extends MultiMethodTest {
/**
* Test calls the method with object relation 'TABCONTROL1' as a parameter.<p>
- * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
- * get before calling method is smaller then sequenze of
+ * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
+ * get before calling method is smaller then sequenze of
* <code>XTabController[]</code> get after calling method.<p>
*/
public void _addTabController() {
log.println("get current controllers");
XTabController[] myTabControllers = oObj.getTabControllers();
-
+
log.println("add TABCONTROL1");
oObj.addTabController( tabControl1 );
-
+
log.println("get new current controllers");
XTabController[] myNewTabControllers = oObj.getTabControllers();
-
- tRes.tested("addTabController()",
+
+ tRes.tested("addTabController()",
(myTabControllers.length < myNewTabControllers.length ));
}
/**
* Test calls the method with object relation 'TABCONTROL2' as a parameter.<p>
- * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
- * get before calling method is smaller then sequenze of
+ * Has <b> OK </b> status if the sequenze of <code>XTabController[]</code>
+ * get before calling method is smaller then sequenze of
* <code>XTabController[]</code> get after calling method.<p>
*
* The following method tests are to be completed successfully before :
@@ -163,17 +163,17 @@ public class _XUnoControlContainer extends MultiMethodTest {
log.println("add TABCONTROL2");
oObj.addTabController( tabControl2 );
-
+
log.println("get current controllers");
XTabController[] myTabControllers = oObj.getTabControllers();
-
+
log.println("remove TABCONTROL2");
oObj.removeTabController(tabControl2);
log.println("get new current controllers");
XTabController[] myNewTabControllers = oObj.getTabControllers();
- tRes.tested("removeTabController()",
+ tRes.tested("removeTabController()",
(myTabControllers.length > myNewTabControllers.length ));
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
index cf52cfb5bd57..a5cbb17829f4 100644
--- a/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
+++ b/qadevOOo/tests/java/ifc/awt/_XUserInputInterception.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,9 +67,9 @@ import util.AccessibilityTools;
*/
public class _XUserInputInterception extends MultiMethodTest {
public XUserInputInterception oObj = null;
-
+
private XModel m_XModel = null;
-
+
/** the listener 1 for the mouse click test */
private MyMouseClickHandler1 m_MouseListener1 = null;
/** the listener 2 for the mouse click test */
@@ -84,23 +84,23 @@ public class _XUserInputInterception extends MultiMethodTest {
private boolean m_mousePressed1 = false;
/** indicates if the mouseReleased event was called*/
private boolean m_mouseReleased1 = false;
-
+
/** indicates if the mousePressed event was called*/
private boolean m_mousePressed2 = false;
/** indicates if the mouseReleased event was called*/
private boolean m_mouseReleased2 = false;
-
+
/** indicates if the mousePressed event was called*/
private boolean m_keyPressed1 = false;
/** indicates if the mouseReleased event was called*/
private boolean m_keyReleased1 = false;
-
+
/** indicates if the mousePressed event was called*/
private boolean m_keyPressed2 = false;
/** indicates if the mouseReleased event was called*/
private boolean m_keyReleased2 = false;
-
- /** get the object rlation XUserInputInterception.XModel from the
+
+ /** get the object rlation XUserInputInterception.XModel from the
* test environment
*/
protected void before() {
@@ -113,25 +113,25 @@ public class _XUserInputInterception extends MultiMethodTest {
/**
* This test adds two different key listener to the object. <p>
- *
+ *
* Has <b> OK </b> if no exception is thrown.
*/
public void _addKeyHandler() {
-
+
log.println("creating key listener 1");
m_KeyListener1 = new MyKeyHandler1();
-
+
log.println("creating key listener 2");
m_KeyListener2 = new MyKeyHandler2();
-
-
+
+
log.println("adding key listener 1");
oObj.addKeyHandler(m_KeyListener1);
-
+
log.println("adding key listener 2");
oObj.addKeyHandler(m_KeyListener2);
-
+
tRes.tested("addKeyHandler()", true);
}
@@ -149,21 +149,21 @@ public class _XUserInputInterception extends MultiMethodTest {
requiredMethod("addKeyHandler()");
log.println("remove key listener 2");
-
+
oObj.removeKeyHandler(m_KeyListener2);
-
+
log.println("starting thread to check the key listener...");
EventTrigger et = new EventTrigger(m_XModel, EventTriggerType.KEY_TEXT_INTO_DOC);
et.run();
-
+
util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT) * 2);
log.println("key listener thread should be finished.");
-
-
+
+
boolean bOK = m_keyPressed1 & m_keyReleased1 &
! m_keyPressed2 & ! m_keyReleased2;
-
+
if (! bOK){
log.println("The key listener has not the expectd status:");
log.println("listener\texpected\tgot");
@@ -172,16 +172,16 @@ public class _XUserInputInterception extends MultiMethodTest {
log.println("keyPressed2\tfalse\t"+m_keyPressed2);
log.println("keyReleased2\tfalse\t"+m_keyReleased2);
}
-
+
log.println("remove Key listener 1");
oObj.removeKeyHandler(m_KeyListener1);
-
+
tRes.tested("removeKeyHandler()", bOK);
}
/**
* This test adds two different mouse klick listener to the object. <p>
- *
+ *
* Has <b> OK </b> if no exception is thrown.
*/
public void _addMouseClickHandler() {
@@ -189,12 +189,12 @@ public class _XUserInputInterception extends MultiMethodTest {
m_MouseListener1 = new MyMouseClickHandler1();
log.println("creating mouse listener 2");
m_MouseListener2 = new MyMouseClickHandler2();
-
+
log.println("adding mouse listener 1");
oObj.addMouseClickHandler(m_MouseListener1);
log.println("adding mouse listener 2");
oObj.addMouseClickHandler(m_MouseListener2);
-
+
tRes.tested("addMouseClickHandler()", true);
}
@@ -210,22 +210,22 @@ public class _XUserInputInterception extends MultiMethodTest {
*/
public void _removeMouseClickHandler() {
requiredMethod("addMouseClickHandler");
-
+
log.println("remove mouse listener 2");
-
+
oObj.removeMouseClickHandler(m_MouseListener2);
-
+
log.println("starting thread to check the mouse listener...");
EventTrigger et = new EventTrigger(m_XModel, EventTriggerType.MOUSE_KLICK_INTO_DOC);
et.run();
-
+
util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT) * 2);
log.println("mouse listener thread should be finished.");
-
+
boolean bOK = m_mousePressed1 & m_mouseReleased1 &
! m_mousePressed2 & ! m_mouseReleased2;
-
+
if (! bOK){
log.println("The mouse listener has not the expectd status:");
log.println("listener\t\texpected\tgot");
@@ -234,21 +234,21 @@ public class _XUserInputInterception extends MultiMethodTest {
log.println("mousePressed2\tfalse\t\t"+m_mousePressed2);
log.println("mouseReleased2\tfalse\t\t"+m_mouseReleased2);
}
-
+
log.println("remove mouse listener 1");
oObj.removeMouseClickHandler(m_MouseListener1);
-
+
tRes.tested("removeMouseClickHandler()", bOK);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
/**
* Listener which added and its method must be called
* on <code>keyPressed</code> and <code>keyReleased</code> call.
@@ -322,7 +322,7 @@ public class _XUserInputInterception extends MultiMethodTest {
"This should not be happen because listener is removed!");
}
}
-
+
/**
* Listener which added and its method must be called
* on <code>mousePressed</code> and <code>mouseReleased</code> call.
@@ -358,7 +358,7 @@ public class _XUserInputInterception extends MultiMethodTest {
log.println("XMouseClickHandler 1: disposing-Event");
}
};
-
+
/**
* Listener which added and removed. Its method must NOT be called
* on <code>mousePressed</code> and <code>mouseReleased</code> call.
@@ -397,14 +397,14 @@ public class _XUserInputInterception extends MultiMethodTest {
" This should not be happen because listener is removed!");
}
};
-
+
/**
* To check the events this class is a thread which click a mouse button and
* press a key with the <CODE>Robot</CODE> class
* @see java.awt.Robot
*/
private class EventTrigger extends Thread{
-
+
/**
* represents a <CODE>AccessibilityTools</CODE>
*/
@@ -418,7 +418,7 @@ public class _XUserInputInterception extends MultiMethodTest {
* represents a <CODE>XModel</CODE> of a document
*/
private XModel xModel = null;
-
+
/**
* Creates an instacne of this class. The parameter <CODE>eType</CODE> represents
* the kind of event wich will be triggert at <CODE>run()</CODE>
@@ -430,17 +430,17 @@ public class _XUserInputInterception extends MultiMethodTest {
this.xModel = model;
this.eventType = eType;
}
-
+
/**
* Triggers the event wich is represented by <CODE>eventType</CODE>
* The scenarios are:
* <ul>
* <li>EventTest.EventTriggerType.MOUSE_KLICK_INTO_DOC
- * which calls
+ * which calls
* <li><CODE>clickIntoDoc</CODE></LI>
* </LI>
* <li>EventTest.EventTriggerType.KEY_TEXT_INTO_DOC
- * which calls
+ * which calls
* <li><CODE>clickIntodoc</CODE></LI>
* <li><CODE>keyIntoDoc</CODE></LI>
* </LI>
@@ -449,7 +449,7 @@ public class _XUserInputInterception extends MultiMethodTest {
public void run(){
switch (this.eventType){
-
+
case EventTriggerType.MOUSE_KLICK_INTO_DOC:
clickIntoDoc();
break;
@@ -457,7 +457,7 @@ public class _XUserInputInterception extends MultiMethodTest {
clickIntoDoc();
keyIntoDoc();
break;
-
+
}
}
/**
@@ -471,14 +471,14 @@ public class _XUserInputInterception extends MultiMethodTest {
try{
util.DesktopTools.bringWindowToFront(xModel);
-
+
XWindow xWindow = at.getCurrentWindow(
- (XMultiServiceFactory) tParam.getMSF(),
+ (XMultiServiceFactory) tParam.getMSF(),
xModel);
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
-
+
+
XAccessibleContext xPanel = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
XAccessibleComponent xPanelCont = (XAccessibleComponent) UnoRuntime.queryInterface(XAccessibleComponent.class, xPanel);
@@ -504,7 +504,7 @@ public class _XUserInputInterception extends MultiMethodTest {
log.println("could not click into the scroll bar: " + e.toString());
}
}
-
+
/**
* This method press the "A" key. Therefore it uses the <CODE>Robot</CODE>
* class.
@@ -519,21 +519,21 @@ public class _XUserInputInterception extends MultiMethodTest {
} catch (java.awt.AWTException e) {
log.println("couldn't press key");
}
-
+
}
}
-
- /** This interface represents all possible actions which could be used
+
+ /** This interface represents all possible actions which could be used
* in the <CODE>EventTrigger</CODE> class.
* @see EventTest.EventTrigger
- */
+ */
private interface EventTriggerType{
-
+
/** klick the mouse into the scroll bar*/
final public static int MOUSE_KLICK_INTO_DOC = 1;
-
+
/** write some text into a spread sheet*/
final public static int KEY_TEXT_INTO_DOC = 2;
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XView.java b/qadevOOo/tests/java/ifc/awt/_XView.java
index a3f87c2ea3dc..a54c5268387b 100644
--- a/qadevOOo/tests/java/ifc/awt/_XView.java
+++ b/qadevOOo/tests/java/ifc/awt/_XView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -131,13 +131,13 @@ public class _XView extends MultiMethodTest {
oObj.setZoom(2,2);
tRes.tested("setZoom()", true);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/_XWindow.java b/qadevOOo/tests/java/ifc/awt/_XWindow.java
index f3cfda4e6085..80c3c70763fb 100644
--- a/qadevOOo/tests/java/ifc/awt/_XWindow.java
+++ b/qadevOOo/tests/java/ifc/awt/_XWindow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -270,7 +270,7 @@ public class _XWindow extends MultiMethodTest {
log.println("set object invisible...");
oObj.setVisible(false);
shortWait();
- res = wListener.hidden && !wListener.resized
+ res = wListener.hidden && !wListener.resized
&& !wListener.moved && !wListener.shown;
result &= res;
if (!res) {
@@ -288,7 +288,7 @@ public class _XWindow extends MultiMethodTest {
log.println("set object visible...");
oObj.setVisible(true) ;
shortWait();
- res = wListener.shown && !wListener.resized &&
+ res = wListener.shown && !wListener.resized &&
!wListener.hidden && !wListener.moved;
result &= res;
if (!res) {
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_TreeControlModel.java b/qadevOOo/tests/java/ifc/awt/tree/_TreeControlModel.java
index 197ec80110e8..4cd54d7ae8e4 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_TreeControlModel.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_TreeControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeDataModel.java b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeDataModel.java
index cc21a2828db0..d6ff1ce97dd9 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeDataModel.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeDataModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ import lib.MultiMethodTest;
public class _XMutableTreeDataModel extends MultiMethodTest {
public XMutableTreeDataModel oObj = null;
-
+
private XMutableTreeNode mNewNode = null;
/**
@@ -70,26 +70,26 @@ public class _XMutableTreeDataModel extends MultiMethodTest {
*/
public void _setRoot() {
requiredMethod("createNode()") ;
-
+
boolean bOK = true;
try {
-
+
oObj.setRoot(mNewNode);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: while trying to set a new root an IllegalArgumentException was thrown:\n" + ex.toString());
}
-
+
try {
-
+
oObj.setRoot(null);
bOK = false;
log.println("ERROR: while trying to set a null object as root expected IllegalArgumentException was not thrown.");
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("expected IllegalArgumentException was thrown => ok");
-
+
}
-
+
tRes.tested("setRoot()", bOK);
}
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
index e90665889733..1373d97c4904 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XMutableTreeNode.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,68 +51,68 @@ import lib.StatusException;
* @see com.sun.star.awt.tree.XTreeDataModel
*/
public class _XMutableTreeNode extends MultiMethodTest {
-
+
public XMutableTreeNode oObj = null;
-
+
private int mCount = 0;
-
+
private XMutableTreeNodeCreator nodeCreator = null;
-
+
public static interface XMutableTreeNodeCreator{
public XMutableTreeNode createNode(String name);
}
-
+
public void before(){
nodeCreator = (XMutableTreeNodeCreator) tEnv.getObjRelation("XMutableTreeNodeCreator");
if (nodeCreator == null){
throw new StatusException(Status.failed(
"Couldn't get relation 'XMutableTreeNodeCreator'"));
}
-
+
}
-
+
public void _appendChild(){
boolean bOK = true;
-
+
log.println("try to append a valid node...");
-
+
XMutableTreeNode myNode = nodeCreator.createNode("myNodeToAppend");
-
+
try {
oObj.appendChild(myNode);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not appedn a valid node: " + ex.toString());
bOK = false;
}
-
+
log.println("try to append the node a second time...");
try {
-
+
oObj.appendChild(myNode);
log.println("ERROR: expected IllegalArgumentException was not thrown => FAILED");
bOK = false;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("expected IllegalArgumentException was thrown => OK");
}
-
+
log.println("try to append the object itself...");
try {
-
+
oObj.appendChild(oObj);
log.println("ERROR: expected IllegalArgumentException was not thrown => FAILED");
bOK = false;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("expected IllegalArgumentException was thrown => OK");
}
-
+
tRes.tested("appendChild()", bOK);
}
-
+
public void _insertChildByIndex(){
boolean bOK = true;
XMutableTreeNode myNode = nodeCreator.createNode("myNodeToInsert");
-
+
try {
log.println("try to insert a valid node...");
oObj.insertChildByIndex(0, myNode);
@@ -123,7 +123,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
log.println("ERROR: could not insert a valid node on index '0': " + ex.toString());
bOK = false;
}
-
+
try {
log.println("try to insert a valid node a second time...");
oObj.insertChildByIndex(0, myNode);
@@ -137,7 +137,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
}
XMutableTreeNode myNode2 = nodeCreator.createNode("myNodeToInsert2");
-
+
try {
log.println("try to insert a valid node on invalid index '-3'...");
oObj.insertChildByIndex(-3, myNode2);
@@ -149,7 +149,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
log.println("Expected IndexOutOfBoundsException was thrown => OK");
}
-
+
try {
log.println("try to insert the object itself...");
oObj.insertChildByIndex(0, oObj);
@@ -164,12 +164,12 @@ public class _XMutableTreeNode extends MultiMethodTest {
tRes.tested("insertChildByIndex()", bOK);
}
-
+
public void _removeChildByIndex(){
-
+
requiredMethod("insertChildByIndex()");
boolean bOK = true;
-
+
try {
log.println("try to remove node at index '0'...");
oObj.removeChildByIndex(0);
@@ -177,7 +177,7 @@ public class _XMutableTreeNode extends MultiMethodTest {
log.println("ERROR: IndexOutOfBoundsException was thrown => FAILED");
bOK = false;
}
-
+
try {
log.println("try to remove node at invalid index '-3'");
oObj.removeChildByIndex(-3);
@@ -188,88 +188,88 @@ public class _XMutableTreeNode extends MultiMethodTest {
}
tRes.tested("removeChildByIndex()", bOK);
}
-
+
public void _setHasChildrenOnDemand(){
boolean bOK = true;
-
+
log.println("setHasChildrenOnDemand(true)");
oObj.setHasChildrenOnDemand(true);
-
+
log.println("setHasChildrenOnDemand(false)");
oObj.setHasChildrenOnDemand(false);
-
+
tRes.tested("setHasChildrenOnDemand()", bOK);
}
-
+
public void _setDisplayValue(){
boolean bOK = true;
-
+
log.println("setDisplayValue(\"MyTestValue\")");
oObj.setDisplayValue("MyTestValue");
log.println("setDisplayValue(null)");
oObj.setDisplayValue(null);
-
+
log.println("oObj.setDisplayValue(oObj)");
oObj.setDisplayValue(oObj);
-
+
tRes.tested("setDisplayValue()", bOK);
}
-
+
public void _setNodeGraphicURL(){
boolean bOK = true;
-
+
log.println("setNodeGraphicURL(\"MyTestURL\")");
oObj.setNodeGraphicURL("MyTestURL");
-
+
log.println("setNodeGraphicURL(null)");
oObj.setNodeGraphicURL(null);
-
+
tRes.tested("setNodeGraphicURL()", bOK);
}
-
+
public void _setExpandedGraphicURL(){
boolean bOK = true;
-
+
log.println("setExpandedGraphicURL(\"myExpandedURL\")");
oObj.setExpandedGraphicURL("myExpandedURL");
-
+
log.println("setExpandedGraphicURL(null)");
oObj.setExpandedGraphicURL(null);
-
+
tRes.tested("setExpandedGraphicURL()", bOK);
}
-
+
public void _setCollapsedGraphicURL(){
boolean bOK = true;
-
+
log.println("setCollapsedGraphicURL(\"myCollapsedURL\")");
oObj.setCollapsedGraphicURL("myCollapsedURL");
-
+
log.println("setCollapsedGraphicURL(null)");
oObj.setCollapsedGraphicURL(null);
-
+
tRes.tested("setCollapsedGraphicURL()", bOK);
}
-
+
public void _DataValue(){
boolean bOK = true;
-
+
log.println("setDataValue(\"myDataValue\")");
oObj.setDataValue("myDataValue");
-
+
String sDataValue = (String) oObj.getDataValue();
-
+
if ( ! sDataValue.equals("myDataValue")) {
log.println("ERROR: getDataVlaue does not return the value which is inserted before:\n" +
"\texpected: myDataValue\n" +
"\tgot: " + sDataValue);
bOK = false;
}
-
+
log.println("setDataValue(null)");
oObj.setDataValue(null);
-
+
Object oDataValue = oObj.getDataValue();
if ( oDataValue != null) {
log.println("ERROR: getDataVlaue does not return the value which is inserted before:\n" +
@@ -277,10 +277,10 @@ public class _XMutableTreeNode extends MultiMethodTest {
"\tgot: " + oDataValue.toString());
bOK = false;
}
-
+
log.println("oObj.setDisplayValue(oObj)");
oObj.setDisplayValue(oObj);
-
+
oDataValue = oObj.getDataValue();
if ( oDataValue != null) {
log.println("ERROR: getDataVlaue does not return the value which is inserted before:\n" +
@@ -288,8 +288,8 @@ public class _XMutableTreeNode extends MultiMethodTest {
"\tgot: " + oDataValue.toString());
bOK = false;
}
-
+
tRes.tested("DataValue()", bOK);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
index 600298aea9e9..fa327967ceb7 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,41 +67,41 @@ import lib.StatusException;
* @see com.sun.star.awt.tree.XTreeControl
*/
public class _XTreeControl extends MultiMethodTest {
-
+
public XTreeControl oObj = null;
-
+
private XMutableTreeNode mNewNode = null;
-
+
private XMutableTreeNode mXNode = null;
-
+
XTreeExpansionListener mTreeExpansionListener1 = new TreeExpansionListenerImpl1();
-
+
XTreeExpansionListener mTreeExpansionListener2 = new TreeExpansionListenerImpl2();
-
+
XTreeEditListener mTreeEditListener1 = new TreeEditListenerImpl1();
-
+
XTreeEditListener mTreeEditListener2 = new TreeEditListenerImpl2();
-
+
boolean mTreeExpanded1 = false;
boolean mTreeExpanding1 = false;
boolean mTreeCollapsed1 = false;
boolean mTreeCollapsing1 = false;
-
+
boolean mTreeExpanded2 = false;
boolean mTreeExpanding2 = false;
boolean mTreeCollapsed2 = false;
boolean mTreeCollapsing2 = false;
-
+
boolean mTreeNodeEditing1 = false;
boolean mTreeNodeEdit1 = false;
-
+
boolean mTreeNodeEditing2 = false;
boolean mTreeNodeEdit2 = false;
-
+
public static interface XTreeDataModelListenerEvent{
public void fireEvent();
}
-
+
public class TreeExpansionListenerImpl1 implements XTreeExpansionListener{
public void requestChildNodes(TreeExpansionEvent treeExpansionEvent) {
log.println("event at ExpansionListener 1: requestChildNodes");
@@ -131,7 +131,7 @@ public class _XTreeControl extends MultiMethodTest {
log.println("event at ExpansionListener 1: disposing");
}
}
-
+
public class TreeExpansionListenerImpl2 implements XTreeExpansionListener{
public void requestChildNodes(TreeExpansionEvent treeExpansionEvent) {
log.println("event at ExpansionListener 2: requestChildNodes");
@@ -160,9 +160,9 @@ public class _XTreeControl extends MultiMethodTest {
public void disposing(EventObject eventObject) {
log.println("event at ExpansionListener 2: disposing");
}
-
+
}
-
+
public class TreeEditListenerImpl1 implements XTreeEditListener{
public void nodeEditing(XTreeNode xTreeNode) throws VetoException {
log.println("event at EditListener 1: nodeEditing");
@@ -178,7 +178,7 @@ public class _XTreeControl extends MultiMethodTest {
log.println("event at EditListener 1: disposing");
}
}
-
+
public class TreeEditListenerImpl2 implements XTreeEditListener{
public void nodeEditing(XTreeNode xTreeNode) throws VetoException {
log.println("event at EditListener 2: nodeEditing");
@@ -195,7 +195,7 @@ public class _XTreeControl extends MultiMethodTest {
log.println("event at EditListener 2: disposing");
}
}
-
+
private void resetTreeExpandingListener(){
mTreeExpanded1 = false;
mTreeExpanded2 = false;
@@ -206,42 +206,42 @@ public class _XTreeControl extends MultiMethodTest {
mTreeCollapsing1 = false;
mTreeCollapsing2 = false;
}
-
+
private void resetEditListener(){
mTreeNodeEditing1 = false;
mTreeNodeEdit1 = false;
mTreeNodeEditing2 = false;
mTreeNodeEdit2 = false;
}
-
+
public void before(){
mXNode = (XMutableTreeNode) tEnv.getObjRelation("XTreeControl_Node");
if (mXNode == null) {
throw new StatusException(Status.failed("ERROR: could not get object relation 'XTreeControl_Node'"));
}
}
-
+
public void _isNodeExpanded() throws ExpandVetoException{
boolean bOK = true;
boolean isExpanded = false;
-
+
try {
isExpanded = oObj.isNodeExpanded(mXNode);
log.println("node is expanded: " + isExpanded);
-
+
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: could not query for 'isNodeExpanded()': " + ex.toString());
}
-
- if (isExpanded)
+
+ if (isExpanded)
try {
-
+
log.println("try to collapse node...");
oObj.collapseNode(mXNode);
-
+
} catch (ExpandVetoException ex) {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
@@ -249,12 +249,12 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
- else
+ else
try {
-
+
log.println("try to expand node...");
oObj.expandNode(mXNode);
-
+
} catch (ExpandVetoException ex) {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
@@ -262,44 +262,44 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
}
-
+
try {
-
+
boolean isAlsoExpanded = oObj.isNodeExpanded(mXNode);
-
+
bOK &= (isExpanded != isAlsoExpanded);
-
+
log.println("node is expanded: " + isAlsoExpanded + " => " + bOK);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: could not query for 'isNodeExpanded()': " + ex.toString());
}
-
+
tRes.tested("isNodeExpanded()", bOK);
-
+
}
public void _isNodeCollapsed(){
-
+
boolean bOK = true;
boolean isCollapsed = false;
-
+
try {
isCollapsed = oObj.isNodeCollapsed(mXNode);
log.println("node is Collapsed: " + isCollapsed);
-
+
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: could not query for 'isNodeCollapsed()': " + ex.toString());
}
-
- if ( ! isCollapsed)
+
+ if ( ! isCollapsed)
try {
-
+
log.println("try to collapse node...");
oObj.collapseNode(mXNode);
-
+
} catch (ExpandVetoException ex) {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
@@ -307,12 +307,12 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
- else
+ else
try {
-
+
log.println("try to expand node...");
oObj.expandNode(mXNode);
-
+
} catch (ExpandVetoException ex) {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
@@ -320,28 +320,28 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
}
-
+
try {
-
+
boolean isAlsoCollapsed = oObj.isNodeCollapsed(mXNode);
-
+
bOK &= (isCollapsed != isAlsoCollapsed);
-
+
log.println("node is Collapsed: " + isAlsoCollapsed + " => " + bOK);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: could not query for 'isNodeCollapsed()': " + ex.toString());
}
-
+
tRes.tested("isNodeCollapsed()", bOK);
-
+
}
public void _makeNodeVisible(){
-
+
boolean bOK = true;
try {
-
+
oObj.makeNodeVisible(mXNode);
} catch (ExpandVetoException ex) {
bOK = false;
@@ -351,53 +351,53 @@ public class _XTreeControl extends MultiMethodTest {
log.println("ERROR: could not call method 'makeNodeVisible()' successfully: " + ex.toString());
}
try {
-
+
bOK &= oObj.isNodeVisible(mXNode);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
bOK = false;
log.println("ERROR: could not call method 'isNodeVisible()' successfully: " + ex.toString());
}
-
+
tRes.tested("makeNodeVisible()", bOK);
-
+
}
public void _isNodeVisible(){
-
+
this.requiredMethod("makeNodeVisible()");
boolean bOK = true;
log.println("since required method 'makeNodeVisible()' uses method 'isNodeVisible()' this test is ok.");
tRes.tested("isNodeVisible()", bOK);
-
+
}
-
+
public void _expandNode(){
-
+
this.requiredMethod("isNodeExpanded()");
-
+
boolean bOK = true;
log.println("since required method 'isnodeExpanded()' uses method 'expandNode()' this test is ok.");
tRes.tested("expandNode()", bOK);
-
+
}
-
+
public void _collapseNode(){
-
+
this.requiredMethod("isNodeCollapsed()");
-
+
boolean bOK = true;
log.println("since required method 'isnodeCollapsed()' uses method 'expandNode()' this test is ok.");
tRes.tested("collapseNode()", bOK);
-
+
}
-
+
public void _addTreeExpansionListener(){
-
+
boolean bOK = true;
-
+
log.println("collapse Node to get an initial status...");
try {
-
+
oObj.collapseNode(mXNode);
} catch (ExpandVetoException ex) {
bOK = false;
@@ -406,15 +406,15 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
-
+
log.println("add mTreeExpansionListener1...");
oObj.addTreeExpansionListener(mTreeExpansionListener1);
-
+
log.println("add mTreeExpansionListener2");
oObj.addTreeExpansionListener(mTreeExpansionListener2);
-
- resetTreeExpandingListener();
-
+
+ resetTreeExpandingListener();
+
log.println("expand Node...");
try {
@@ -427,15 +427,15 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
}
-
+
bOK &= mTreeExpanded1 & mTreeExpanded2 & ! mTreeCollapsed1 & ! mTreeCollapsed2
& mTreeExpanding1 & mTreeExpanding2 & ! mTreeCollapsing1 & ! mTreeCollapsing2;
-
- resetTreeExpandingListener();
-
+
+ resetTreeExpandingListener();
+
log.println("collapse Node...");
try {
-
+
oObj.collapseNode(mXNode);
} catch (ExpandVetoException ex) {
bOK = false;
@@ -444,23 +444,23 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
-
+
bOK &= ! mTreeExpanded1 & ! mTreeExpanded2 & mTreeCollapsed1 & mTreeCollapsed2
& ! mTreeExpanding1 & ! mTreeExpanding2 & mTreeCollapsing1 & mTreeCollapsing2;
-
+
tRes.tested("addTreeExpansionListener()", bOK);
-
+
}
-
+
public void _removeTreeExpansionListener(){
-
+
this.requiredMethod("addTreeExpansionListener()");
-
+
boolean bOK = true;
-
+
log.println("collapse Node to get an initial status...");
try {
-
+
oObj.collapseNode(mXNode);
} catch (ExpandVetoException ex) {
bOK = false;
@@ -469,12 +469,12 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
-
+
resetTreeExpandingListener();
-
+
log.println("remove mTreeExpansionListener2 ...");
oObj.removeTreeExpansionListener(mTreeExpansionListener2);
-
+
log.println("expand Node...");
try {
@@ -487,15 +487,15 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not expand node: " + ex.toString());
}
-
+
bOK &= mTreeExpanded1 & ! mTreeExpanded2 & ! mTreeCollapsed1 & ! mTreeCollapsed2
& mTreeExpanding1 & ! mTreeExpanding2 & ! mTreeCollapsing1 & ! mTreeCollapsing2;
-
- resetTreeExpandingListener();
-
+
+ resetTreeExpandingListener();
+
log.println("collapse Node...");
try {
-
+
oObj.collapseNode(mXNode);
} catch (ExpandVetoException ex) {
bOK = false;
@@ -504,166 +504,166 @@ public class _XTreeControl extends MultiMethodTest {
bOK = false;
log.println("ERROR: could not collapse node: " + ex.toString());
}
-
+
bOK &= ! mTreeExpanded1 & ! mTreeExpanded2 & mTreeCollapsed1 & ! mTreeCollapsed2
& ! mTreeExpanding1 & ! mTreeExpanding2 & mTreeCollapsing1 & ! mTreeCollapsing2;
-
+
log.println("remove mTreeExpansionListener2 ...");
oObj.removeTreeExpansionListener(mTreeExpansionListener2);
-
+
tRes.tested("removeTreeExpansionListener()", bOK);
-
+
}
-
+
public void _getNodeForLocation(){
-
+
boolean bOK = false;
-
-
+
+
tRes.tested("getNodeForLocation()", bOK);
-
+
}
-
+
public void _getClosestNodeForLocation(){
-
+
boolean bOK = false;
-
+
log.println("try to get Node for location 100,100");
XTreeNode myNode = oObj.getClosestNodeForLocation(100,100);
-
+
bOK &= (myNode != null);
-
+
tRes.tested("getClosestNodeForLocation()", bOK);
-
+
}
-
+
public void _isEditing(){
-
+
boolean bOK = false;
-
+
log.println("not ready because of i78701");
-
+
tRes.tested("isEditing()", bOK);
-
+
}
-
+
public void _stopEditing(){
-
+
boolean bOK = false;
log.println("not ready because of i78701");
-
-
+
+
tRes.tested("stopEditing()", bOK);
-
+
}
-
+
public void _cancelEditing(){
-
+
boolean bOK = false;
-
+
log.println("not ready because of i78701");
-
+
tRes.tested("cancelEditing()", bOK);
-
+
}
-
+
public void _startEditingAtNode(){
-
+
boolean bOK = false;
-
+
log.println("not ready because of i78701");
-
+
tRes.tested("startEditingAtNode()", bOK);
-
+
}
-
+
public void _addTreeEditListener(){
-
+
boolean bOK = true;
-
+
log.println("add EditListener 1....");
oObj.addTreeEditListener(mTreeEditListener1);
-
+
log.println("add EditListener 2....");
oObj.addTreeEditListener(mTreeEditListener2);
-
+
resetEditListener();
-
+
try {
-
+
oObj.startEditingAtNode(mXNode);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not start editing at node: " + ex.toString());
bOK = false;
}
-
+
log.println("not ready because of i78701");
bOK = false;
-
-
+
+
tRes.tested("addTreeEditListener()", bOK);
-
+
}
-
+
public void _removeTreeEditListener(){
-
+
boolean bOK = false;
-
+
log.println("not ready because of i78701");
-
+
tRes.tested("removeTreeEditListener()", bOK);
-
+
}
-
+
public void _DefaultExpandedGraphicURL(){
-
+
boolean bOK = true;
-
+
String current = oObj.getDefaultExpandedGraphicURL();
log.println("current DefaultExpandedGraphicURL: " + current);
-
+
String changeUrl = null;
-
- if (current.equals("private:graphicrepository/sd/res/triangle_right.png"))
+
+ if (current.equals("private:graphicrepository/sd/res/triangle_right.png"))
changeUrl = "private:graphicrepository/sd/res/triangle_down.png";
else changeUrl = "private:graphicrepository/sd/res/triangle_right.png";
log.println("try to set '" + changeUrl + "' as new DefaultExpandedGraphicURL");
-
+
oObj.setDefaultExpandedGraphicURL(changeUrl);
-
+
String newUrl = oObj.getDefaultExpandedGraphicURL();
-
+
log.println("new DefaultExpandedGraphicURL: " + newUrl);
-
+
bOK &= ! newUrl.equals(current);
-
+
tRes.tested("DefaultExpandedGraphicURL()", bOK);
-
+
}
-
+
public void _DefaultCollapsedGraphicURL(){
-
+
boolean bOK = true;
-
+
String current = oObj.getDefaultCollapsedGraphicURL();
log.println("current DefaultCollapsedGraphicURL: " + current);
String changeUrl = null;
-
- if (current.equals("private:graphicrepository/sd/res/triangle_right.png"))
+
+ if (current.equals("private:graphicrepository/sd/res/triangle_right.png"))
changeUrl = "private:graphicrepository/sd/res/triangle_down.png";
else changeUrl = "private:graphicrepository/sd/res/triangle_right.png";
log.println("try to set '" + changeUrl + "' as new DefaultCollapsedGraphicURL");
oObj.setDefaultCollapsedGraphicURL(changeUrl);
-
+
String newUrl = oObj.getDefaultCollapsedGraphicURL();
-
+
log.println("new DefaultCollapsedGraphicURL: " + newUrl);
-
+
bOK &= ! newUrl.equals(current);
-
+
tRes.tested("DefaultCollapsedGraphicURL()", bOK);
}
}
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
index c2a98b744bae..340523ee0b9d 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeDataModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,80 +49,80 @@ import lib.StatusException;
* @see com.sun.star.awt.tree.XTreeDataModel
*/
public class _XTreeDataModel extends MultiMethodTest {
-
+
public XTreeDataModel oObj = null;
-
+
private XMutableTreeNode mNewNode = null;
-
+
XTreeDataModelListener mListener1 = new myEventListener1();
-
+
XTreeDataModelListener mListener2 = new myEventListener2();
-
+
XTreeDataModelListenerEvent mListenerEvent = null;
-
+
boolean mTreeStructureChanged1 = false;
-
+
boolean mTreeStructureChanged2 = false;
-
+
public static interface XTreeDataModelListenerEvent{
public void fireEvent();
}
-
+
public class myEventListener1 implements XTreeDataModelListener{
public void treeNodesChanged(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 1: treeNodesChanged");
}
-
+
public void treeNodesInserted(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 1: treeNodesInserted");
}
-
+
public void treeNodesRemoved(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 1: treeNodesRemoved");
}
-
+
public void treeStructureChanged(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 1: treeStructureChanged");
mTreeStructureChanged1 = true;
}
-
+
public void disposing(EventObject eventObject) {
log.println("Listener 1: disposing");
}
}
-
+
public class myEventListener2 implements XTreeDataModelListener{
public void treeNodesChanged(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 2: treeNodesChanged");
}
-
+
public void treeNodesInserted(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 2: treeNodesInserted");
}
-
+
public void treeNodesRemoved(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 2: treeNodesRemoved");
}
-
+
public void treeStructureChanged(TreeDataModelEvent treeDataModelEvent) {
log.println("Listener 2: treeStructureChanged");
mTreeStructureChanged2 = true;
}
-
+
public void disposing(EventObject eventObject) {
log.println("Listener 2: disposing");
}
-
+
}
-
+
public void before(){
mListenerEvent = (XTreeDataModelListenerEvent) tEnv.getObjRelation("XTreeDataModelListenerEvent");
if (mListenerEvent == null) {
- throw new StatusException(Status.failed("ERROR: could not get object relation 'XTreeDataModelListenerEvent'\n" +
+ throw new StatusException(Status.failed("ERROR: could not get object relation 'XTreeDataModelListenerEvent'\n" +
"This object relation must be kind of 'ifc.awt.tree._XTreeDataModel.XTreeDataModelListenerEvent'"));
}
}
-
+
/**
* Gets the title and compares it to the value set in
* <code>setTitle</code> method test. <p>
@@ -133,50 +133,50 @@ public class _XTreeDataModel extends MultiMethodTest {
* </ul>
*/
public void _getRoot() {
-
+
boolean bOK = true;
XTreeNode root = oObj.getRoot();
-
+
tRes.tested("getRoot()", bOK);
-
+
}
-
+
public void _addTreeDataModelListener(){
-
+
boolean bOK = true;
-
+
log.println("add listener 1 to object...");
oObj.addTreeDataModelListener(mListener1);
-
+
log.println("add listener 2 to object...");
oObj.addTreeDataModelListener(mListener2);
-
+
mTreeStructureChanged1 = false;
mTreeStructureChanged2 = false;
-
+
mListenerEvent.fireEvent();
-
+
bOK = mTreeStructureChanged1 & mTreeStructureChanged2;
-
+
tRes.tested("addTreeDataModelListener()", bOK);
}
-
+
public void _removeTreeDataModelListener(){
-
+
boolean bOK = true;
-
+
log.println("remove listener 2 from object...");
oObj.removeTreeDataModelListener(mListener2);
-
+
mTreeStructureChanged1 = false;
mTreeStructureChanged2 = false;
-
+
mListenerEvent.fireEvent();
-
+
bOK = mTreeStructureChanged1 & ! mTreeStructureChanged2;
-
+
tRes.tested("removeTreeDataModelListener()", bOK);
-
+
}
}
diff --git a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
index e1eba75eb497..f7a6424c6152 100644
--- a/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
+++ b/qadevOOo/tests/java/ifc/awt/tree/_XTreeNode.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,44 +51,44 @@ import lib.StatusException;
* @see com.sun.star.awt.tree.XTreeDataModel
*/
public class _XTreeNode extends MultiMethodTest {
-
+
public XTreeNode oObj = null;
-
+
private int mCount = 0;
-
+
String msDisplayValue = null;
String msExpandedGraphicURL = null;
String msCollapsedGraphicURL = null;
String msNodeGraphicURL = null;
-
-
+
+
public void before(){
msDisplayValue = (String) tEnv.getObjRelation("XTreeNode_DisplayValue");
if (msDisplayValue == null){
throw new StatusException(Status.failed(
"Couldn't get relation 'XTreeNode_DisplayVlaue'"));
}
-
+
msExpandedGraphicURL = (String) tEnv.getObjRelation("XTreeNode_ExpandedGraphicURL");
if (msExpandedGraphicURL == null){
throw new StatusException(Status.failed(
"Couldn't get relation 'XTreeNode_ExpandedGraphicURL'"));
}
-
+
msCollapsedGraphicURL = (String) tEnv.getObjRelation("XTreeNode_CollapsedGraphicURL");
if (msCollapsedGraphicURL == null){
throw new StatusException(Status.failed(
"Couldn't get relation 'XTreeNode_CollapsedGraphicURL'"));
}
-
+
msNodeGraphicURL = (String) tEnv.getObjRelation("XTreeNode_NodeGraphicURL");
if(msNodeGraphicURL == null){
throw new StatusException(Status.failed(
"Couldn't get relation 'XTreeNode_NodeGraphicURL'"));
}
-
+
}
-
+
/**
* Gets the title and compares it to the value set in
* <code>setTitle</code> method test. <p>
@@ -101,7 +101,7 @@ public class _XTreeNode extends MultiMethodTest {
public void _getChildAt(){
this.requiredMethod("getChildCount()");
boolean bOK = true;
-
+
for (int i=0; i < mCount ; i++){
XTreeNode xNode = null;
try {
@@ -114,13 +114,13 @@ public class _XTreeNode extends MultiMethodTest {
bOK = false;
}
}
-
+
tRes.tested("getChildAt()", bOK);
}
-
-
+
+
public void _getChildCount(){
-
+
boolean bOK = true;
mCount = oObj.getChildCount();
log.println("got count '" + mCount + "' of children");
@@ -130,11 +130,11 @@ public class _XTreeNode extends MultiMethodTest {
}
tRes.tested("getChildCount()", bOK);
}
-
-
+
+
public void _getParent(){
this.requiredMethod("getChildAt()");
-
+
boolean bOK = true;
XTreeNode xNode = null;
try {
@@ -143,20 +143,20 @@ public class _XTreeNode extends MultiMethodTest {
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
log.println("ERROR: getChildAt(0): " + ex.toString());
}
-
+
log.println("try to get parrent of children");
XTreeNode xParrent = xNode.getParent();
-
-
+
+
bOK = oObj.equals(xParrent);
log.println("original object and parrent should be the same: " + bOK);
tRes.tested("getParent()", bOK);
}
-
-
+
+
public void _getIndex(){
this.requiredMethod("getChildAt()");
-
+
boolean bOK = true;
XTreeNode xNode = null;
try {
@@ -165,57 +165,57 @@ public class _XTreeNode extends MultiMethodTest {
} catch (com.sun.star.lang.IndexOutOfBoundsException ex) {
log.println("ERROR: getChildAt(0): " + ex.toString());
}
-
+
log.println("try to get index from child...");
int index = oObj.getIndex(xNode);
-
+
if (index != 0){
log.println("ERROR: getIndex() does not return '0' => FAILED");
bOK = false;
}
-
+
tRes.tested("getIndex()", bOK);
}
-
-
+
+
public void _hasChildrenOnDemand(){
-
+
boolean bOK = true;
-
+
bOK = oObj.hasChildrenOnDemand();
tRes.tested("hasChildrenOnDemand()", bOK);
}
-
-
+
+
public void _getDisplayValue(){
-
+
boolean bOK = true;
String DisplayValue = null;
Object dispVal = oObj.getDisplayValue();
-
+
try {
DisplayValue = AnyConverter.toString(dispVal);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("ERROR: could not convert the returned object of 'getDisplyValue()' " +
"to String with AnyConverter: " + ex.toString());
}
-
+
if ( ! this.msDisplayValue.equals(DisplayValue)){
log.println("ERROR: getNodeGraphicURL() does not return expected value:\n" +
"\tExpected: " + this.msDisplayValue +"\n" +
"\tGot: " + DisplayValue);
bOK = false;
}
-
+
tRes.tested("getDisplayValue()", bOK);
}
-
-
+
+
public void _getNodeGraphicURL(){
-
+
boolean bOK = true;
String graphicURL = oObj.getNodeGraphicURL();
-
+
if ( ! this.msNodeGraphicURL.equals(graphicURL)){
log.println("ERROR: getNodeGraphicURL() does not return expected value:\n" +
"\tExpected: " + this.msNodeGraphicURL +"\n" +
@@ -224,38 +224,38 @@ public class _XTreeNode extends MultiMethodTest {
}
tRes.tested("getNodeGraphicURL()", bOK);
}
-
-
+
+
public void _getExpandedGraphicURL(){
-
+
boolean bOK = true;
String ExpandedGraphicURL = oObj.getExpandedGraphicURL();
-
+
if ( ! this.msExpandedGraphicURL.equals(ExpandedGraphicURL)){
log.println("ERROR: getExpandedGraphicURL() does not return expected value:\n" +
"\tExpected: " + this.msExpandedGraphicURL +"\n" +
"\tGot: " + ExpandedGraphicURL);
bOK = false;
}
-
+
tRes.tested("getExpandedGraphicURL()", bOK);
}
-
-
+
+
public void _getCollapsedGraphicURL(){
-
+
boolean bOK = true;
-
+
String CollapsedGraphicURL = oObj.getCollapsedGraphicURL();
-
+
if ( ! this.msCollapsedGraphicURL.equals(CollapsedGraphicURL)){
log.println("ERROR: getExpandedGraphicURL() does not return expected value:\n" +
"\tExpected: " + this.msCollapsedGraphicURL +"\n" +
"\tGot: " + CollapsedGraphicURL);
bOK = false;
}
-
+
tRes.tested("getCollapsedGraphicURL()", bOK);
}
-
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/beans/_XExactName.java b/qadevOOo/tests/java/ifc/beans/_XExactName.java
index 805510ca93e0..467980f3e66b 100644
--- a/qadevOOo/tests/java/ifc/beans/_XExactName.java
+++ b/qadevOOo/tests/java/ifc/beans/_XExactName.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
index d4d29cfb4354..7ee65e44ae09 100644
--- a/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XFastPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/beans/_XHierarchicalPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XHierarchicalPropertySet.java
index 43cd9bffb43a..a62e5b56dd7d 100644
--- a/qadevOOo/tests/java/ifc/beans/_XHierarchicalPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XHierarchicalPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ public class _XHierarchicalPropertySet extends MultiMethodTest {
} else {
log.println(
"The component doesn't provide HierarchicalPropertySetInfo");
- tRes.tested("getHierarchicalPropertySetInfo()",
+ tRes.tested("getHierarchicalPropertySetInfo()",
Status.skipped(true));
return;
@@ -111,7 +111,7 @@ public class _XHierarchicalPropertySet extends MultiMethodTest {
//reset Value
oObj.setHierarchicalPropertyValue(pNames[k], oldValue);
-
+
res &= localRes;
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println("Property is unknown");
@@ -122,7 +122,7 @@ public class _XHierarchicalPropertySet extends MultiMethodTest {
} catch (com.sun.star.lang.WrappedTargetException e) {
log.println("WrappedTarget "+e.getMessage());
}
-
+
}
tRes.tested("setHierarchicalPropertyValue()", res);
diff --git a/qadevOOo/tests/java/ifc/beans/_XIntrospection.java b/qadevOOo/tests/java/ifc/beans/_XIntrospection.java
index 0ba091c50309..a1a29d48d624 100644
--- a/qadevOOo/tests/java/ifc/beans/_XIntrospection.java
+++ b/qadevOOo/tests/java/ifc/beans/_XIntrospection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiHierarchicalPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiHierarchicalPropertySet.java
index b9348befa147..5eedf06029f1 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiHierarchicalPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiHierarchicalPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ public class _XMultiHierarchicalPropertySet extends MultiMethodTest {
} else {
log.println(
"The component doesn't provide HierarchicalPropertySetInfo");
- tRes.tested("getHierarchicalPropertySetInfo()",
+ tRes.tested("getHierarchicalPropertySetInfo()",
Status.skipped(true));
return;
@@ -78,7 +78,7 @@ public class _XMultiHierarchicalPropertySet extends MultiMethodTest {
if (ro != null) {
log.println(ro);
- tRes.tested("setHierarchicalPropertyValues()",
+ tRes.tested("setHierarchicalPropertyValues()",
Status.skipped(true));
return;
@@ -100,7 +100,7 @@ public class _XMultiHierarchicalPropertySet extends MultiMethodTest {
Object[] getValues = oObj.getHierarchicalPropertyValues(pNames);
for (int k = 0; k < pNames.length; k++) {
- boolean localRes = ValueComparer.equalValue(getValues[k],
+ boolean localRes = ValueComparer.equalValue(getValues[k],
newValues[k]);
if (!localRes) {
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
index 27948c941f9b..ab71b24327f3 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -177,7 +177,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
boolean result = true ;
// Creating listener
oObj.addPropertiesChangeListener(testPropsNames, PClistener);
-
+
if ((testPropsAmount==1) && (testPropsNames[0].equals("none"))) {
testPropsAmount = 0;
}
@@ -278,15 +278,15 @@ public class _XMultiPropertySet extends MultiMethodTest {
log.println("all properties are readOnly");
tRes.tested("setPropertyValues()",Status.skipped(true));
return;
- }
-
+ }
+
log.println("Changing all properties");
Object[] gValues = oObj.getPropertyValues(testPropsNames);
for (int i=0; i<testPropsAmount;i++) {
Object oldValue = gValues[i];
Object newValue = ValueChanger.changePValue(oldValue);
gValues[i] = newValue;
- }
+ }
try {
oObj.setPropertyValues(testPropsNames, gValues);
@@ -329,7 +329,7 @@ public class _XMultiPropertySet extends MultiMethodTest {
boolean isBound = ((property.Attributes &
PropertyAttribute.BOUND) != 0);
boolean isExcluded = exclProps.contains(name);
-
+
//exclude UserDefined, because we can't change XNameContainer
if (name.indexOf("UserDefined")>0 || name.indexOf("Device")>0) {
isWritable=false;
diff --git a/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java b/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
index 552a012f1161..601450c715ea 100644
--- a/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
+++ b/qadevOOo/tests/java/ifc/beans/_XMultiPropertyStates.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@ public class _XMultiPropertyStates extends MultiMethodTest {
log.print("}");
log.println("");
}
-
+
/**
* Test calls the method and checks return value.
@@ -120,14 +120,14 @@ public class _XMultiPropertyStates extends MultiMethodTest {
// searching for property which currently don't have default value
// and preferable has MAYBEDEFAULT attr
// if no such properties are found then the first one is selected
-
+
String ro = (String) tEnv.getObjRelation("allReadOnly");
if (ro != null) {
log.println(ro);
tRes.tested("setPropertiesToDefault()",Status.skipped(true));
return;
}
-
+
boolean mayBeDef = false;
String propName = names[0];
@@ -140,7 +140,7 @@ public class _XMultiPropertyStates extends MultiMethodTest {
Property prop = null;
try {
prop = xPropSetInfo.getPropertyByName(names[i]);
- }
+ }
catch(com.sun.star.beans.UnknownPropertyException e) {
log.println("couldn't get property info: " + e.toString());
throw new StatusException(Status.failed
@@ -193,7 +193,7 @@ public class _XMultiPropertyStates extends MultiMethodTest {
oObj.setAllPropertiesToDefault();
} catch(RuntimeException e) {
log.println("Ignore Runtime Exception: " + e.getMessage());
- }
+ }
log.println("Checking that all properties are now in DEFAULT state" +
" excepting may be those which 'cann't be default'");
diff --git a/qadevOOo/tests/java/ifc/beans/_XProperty.java b/qadevOOo/tests/java/ifc/beans/_XProperty.java
index a37a6c705b6e..2db3114d856d 100644
--- a/qadevOOo/tests/java/ifc/beans/_XProperty.java
+++ b/qadevOOo/tests/java/ifc/beans/_XProperty.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
index 37b835431b8d..3a6de40053cc 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,12 +46,12 @@ import lib.StatusException;
* @see com.sun.star.beans.XPropertyAccess
*/
public class _XPropertyAccess extends MultiMethodTest {
-
+
/**
* oObj filled by MultiMethodTest
*/
public XPropertyAccess oObj = null;// oObj filled by MultiMethodTest
-
+
/**
* object relation X<CODE>PropertyAccess.propertyToChange</CODE><br>
* This relation must be filled from the module. It contains a property which must
@@ -59,7 +59,7 @@ public class _XPropertyAccess extends MultiMethodTest {
* <CODE>setPropertyValues()</CODE>
*/
public PropertyValue propertyToChange = null;
-
+
/**
* checks if the object relation <CODE>XPropertyAccess.propertyToChange</CODE>
* is available
@@ -70,18 +70,18 @@ public class _XPropertyAccess extends MultiMethodTest {
throw new StatusException(Status.failed("Object raltion 'XPropertyAccess.propertyToChange' is null"));
}
}
-
+
/**
* Test calls the method and checks if the returned sequenze contanis a propterty which is named
* in the object relation <code>XPropertyAccess.propertyToChange</code>.
*/
public void _getPropertyValues() {
PropertyValue[] properties = oObj.getPropertyValues();
-
+
boolean ok = true;
-
+
if (properties != null){
-
+
boolean found = false;
for (int i=0; i < properties.length; i++){
if (properties[i].Name.equals(propertyToChange.Name)) found = true;
@@ -90,16 +90,16 @@ public class _XPropertyAccess extends MultiMethodTest {
log.println("ERROR: could not find desired property '"+ propertyToChange.Name+"'");
ok=false;
}
-
+
} else {
log.println("ERROR: the method returned NULL");
ok =false;
}
-
+
tRes.tested("getPropertyValues()", ok );
return;
}
-
+
/**
* Test calls the method and checks if:
* <ul>
@@ -112,18 +112,18 @@ public class _XPropertyAccess extends MultiMethodTest {
* </ul>
*/
public void _setPropertyValues(){
-
+
boolean ok = true;
boolean test = true;
boolean exp = false;
-
+
try {
PropertyValue[] newProps = new PropertyValue[1];
newProps[0] = propertyToChange;
-
+
log.println("try to set property vlaues given by object relation 'XPropertyAccess.propertyToChange'...");
oObj.setPropertyValues(newProps);
-
+
} catch (UnknownPropertyException ex) {
log.println("ERROR: Exception was thrown while trying to set property value: " +
ex.toString());
@@ -141,11 +141,11 @@ public class _XPropertyAccess extends MultiMethodTest {
ex.toString());
test = false;
}
-
+
if ( test){
log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
@@ -176,29 +176,29 @@ public class _XPropertyAccess extends MultiMethodTest {
ex.toString());
exp = true;
}
-
+
if (! exp){
log.println("FAILED: expected exception 'UnknownPropertyException' was not thrown");
} else {
if (test) log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
try {
-
+
log.println("try to set values with invalid property name. " +
"Expect 'com.sun.star.beans.UnknownPropertyException'...");
-
+
PropertyValue[] newProps = new PropertyValue[1];
PropertyValue newProp = new PropertyValue();
newProp.Name = "XPropertyAccess.InvalidPropertyName";
newProp.Value = "invalid property";
newProps[0] = newProp;
-
+
oObj.setPropertyValues(newProps);
-
+
} catch (WrappedTargetException ex) {
log.println("ERROR: unexptected exception was thrown while trying to set invalid value: " +
ex.toString());
@@ -217,20 +217,20 @@ public class _XPropertyAccess extends MultiMethodTest {
exp = true;
test = true;
}
-
+
ok &= test;
-
+
if (! exp){
log.println("FAILED: expected exception 'UnknownPropertyException' was not thrown");
} else {
if (test) log.println("... OK");
}
-
+
tRes.tested("setPropertyValues()", ok);
return;
-
+
}
-
+
} /// finish class XPropertyAccess
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java b/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
index 3f3803fb329e..fdb57b736158 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,19 +47,19 @@ import lib.StatusException;
* @see com.sun.star.beans.XPropertyAccess
*/
public class _XPropertyContainer extends MultiMethodTest {
-
+
/**
* oObj filled by MultiMethodTest
*/
public XPropertyContainer oObj = null;// oObj filled by MultiMethodTest
-
+
/**
* object relation X<CODE>PropertyAccess.propertyNotRemovable</CODE><br>
* This relation must be filled from the module. It contains a property which must
* be a property of the implementaion object.
*/
private String propertyNotRemovable = null;
-
+
/**
* checks if the object relation <CODE>XPropertyAccess.propertyNotRemovable</CODE>
* is available
@@ -70,19 +70,19 @@ public class _XPropertyContainer extends MultiMethodTest {
throw new StatusException(Status.failed("Object raltion 'XPropertyAccess.propertyNotRemovable' is null"));
}
}
-
-
-
+
+
+
/**
* Test calls the method and checks if the returned sequence contanis a propterty which is named
* in the object relation <code>XPropertyAccess.propertyNotRemovable</code>.
*/
public void _addProperty() {
-
+
boolean ok = true;
boolean test = true;
boolean exp = false;
-
+
try {
log.println("try to add following property:\n" +
"\t('myXPropertContainerProperty', com.sun.star.beans.PropertyAttribute.MAYBEVOID, null) ...");
@@ -110,7 +110,7 @@ public class _XPropertyContainer extends MultiMethodTest {
if ( test){
log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
@@ -144,7 +144,7 @@ public class _XPropertyContainer extends MultiMethodTest {
} else {
if (test) log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
@@ -173,13 +173,13 @@ public class _XPropertyContainer extends MultiMethodTest {
test = true;
exp = true;
}
-
+
if (! exp){
log.println("FAILED: expected exception 'IllegalTypeException' was not thrown");
} else {
if (test) log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
@@ -209,31 +209,31 @@ public class _XPropertyContainer extends MultiMethodTest {
log.println("... FAILED");
exp = true;
}
-
+
if (! exp){
log.println("FAILED: expected exception 'IllegalArgumentException' was not thrown");
} else {
if (test) log.println("... OK");
}
-
+
ok &= test;
-
+
tRes.tested("addProperty()", ok );
return;
}
-
+
/**
* Test calls the method and checks if the returned sequence contanis a propterty which is named
* in the object relation <code>XPropertyAccess.propertyNotRemovable</code>.
*/
public void _removeProperty() {
-
- requiredMethod("addProperty()");
-
+
+ requiredMethod("addProperty()");
+
boolean ok = true;
boolean test = true;
boolean exp = false;
-
+
try {
log.println("remove 'myXPropertContainerProperty'");
oObj.removeProperty("myXPropertContainerProperty");
@@ -249,11 +249,11 @@ public class _XPropertyContainer extends MultiMethodTest {
if ( test){
log.println("... OK");
}
-
+
ok &= test;
test = false;
exp=false;
-
+
try {
log.println("remove not removeable property '" + propertyNotRemovable + "'") ;
oObj.removeProperty(propertyNotRemovable);
@@ -269,13 +269,13 @@ public class _XPropertyContainer extends MultiMethodTest {
log.println("... FAILED");
exp = true;
}
-
+
if (! exp){
log.println("FAILED: expected exception 'NotRemoveableException' was not thrown");
} else {
if (test) log.println("... OK");
}
-
+
ok &= test;
test = false;
exp = false;
@@ -303,7 +303,7 @@ public class _XPropertyContainer extends MultiMethodTest {
tRes.tested("removeProperty()", ok );
return;
- }
-
-
+ }
+
+
} /// finish class XPropertyContainer
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
index dfc135843b44..3b06cce03642 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -162,7 +162,7 @@ public class _XPropertySet extends MultiMethodTest {
public void _addPropertyChangeListener() {
requiredMethod("getPropertySetInfo()");
-
+
int count = PTT.bound.size();
if ( count==0 || PTT.bound.get(0).equals("none") ) {
log.println("*** No bound properties found ***");
@@ -203,7 +203,7 @@ public class _XPropertySet extends MultiMethodTest {
}
tRes.tested("addPropertyChangeListener()", !error);
}
-
+
return;
} // end of addPropertyChangeListener()
@@ -353,7 +353,7 @@ public class _XPropertySet extends MultiMethodTest {
}
return runOk;
}
-
+
/**
* Tests <code>getPropertyValue</code> method.
* Just call this method and checks for no exceptions <p>
@@ -371,7 +371,7 @@ public class _XPropertySet extends MultiMethodTest {
int count = PTT.normal.size();
if ( count==0 || PTT.normal.get(0).equals("none") ) {
- Property[] properties = oObj.getPropertySetInfo().getProperties();
+ Property[] properties = oObj.getPropertySetInfo().getProperties();
if( properties.length > 0 ) {
String propertyName = properties[0].Name;
log.println("All properties are Read Only");
@@ -420,7 +420,7 @@ public class _XPropertySet extends MultiMethodTest {
log.println("*** No bound properties found ***");
tRes.tested("removePropertyChangeListener()", true) ;
} else {
-
+
//remove all listeners first
for (int i = 0; i < count; i++) {
String propertyName = PTT.bound.get(i);
@@ -432,7 +432,7 @@ public class _XPropertySet extends MultiMethodTest {
e.printStackTrace(log);
}
}
-
+
boolean error = false;
for (int i = 0; i < count; i++) {
String propertyName = PTT.bound.get(i);
@@ -496,7 +496,7 @@ public class _XPropertySet extends MultiMethodTest {
log.println("*** No constrained properties found ***");
tRes.tested("removeVetoableChangeListener()", true) ;
} else {
-
+
//remove all listeners first
for (int i = 0; i < count; i++) {
String propertyName = PTT.constrained.get(i);
@@ -508,7 +508,7 @@ public class _XPropertySet extends MultiMethodTest {
e.printStackTrace(log);
}
}
-
+
boolean error = false;
for (int i = 0; i < count; i++) {
String propertyName = PTT.constrained.get(i);
@@ -563,7 +563,7 @@ public class _XPropertySet extends MultiMethodTest {
Property property = properties[i];
String name = property.Name;
-
+
boolean cont = false;
for (int j = 0; j < skip.length; j++) {
if (name.equals(skip[j])){
@@ -571,9 +571,9 @@ public class _XPropertySet extends MultiMethodTest {
cont = true;
}
}
-
+
if (cont) continue;
-
+
if (name.equals(oObj))
log.println("Checking '"+name+"'");
boolean isWritable = ((property.Attributes &
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertySetInfo.java b/qadevOOo/tests/java/ifc/beans/_XPropertySetInfo.java
index ee41be8a79b7..6b696ac52759 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertySetInfo.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertySetInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
index ced711b1cf94..677131176ea8 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyState.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -153,12 +153,12 @@ public class _XPropertyState extends MultiMethodTest {
*/
public void _getPropertyState(){
boolean result = true ;
-
+
String localName = pName;
if (localName == null) {
localName = (propertySetInfo.getProperties()[0]).Name;
- }
-
+ }
+
try {
PropertyState ps = oObj.getPropertyState(localName);
if (ps == null) {
@@ -181,12 +181,12 @@ public class _XPropertyState extends MultiMethodTest {
*/
public void _getPropertyStates(){
boolean result = true ;
-
+
String localName = pName;
if (localName == null) {
localName = (propertySetInfo.getProperties()[0]).Name;
- }
-
+ }
+
try {
PropertyState[] ps = oObj.getPropertyStates
(new String[] {localName});
@@ -222,7 +222,7 @@ public class _XPropertyState extends MultiMethodTest {
*/
public void _setPropertyToDefault(){
requiredMethod("getPropertyDefault()") ;
-
+
if (pName == null) {
log.println("all found properties are read only");
tRes.tested("setPropertyToDefault()",Status.skipped(true));
diff --git a/qadevOOo/tests/java/ifc/beans/_XPropertyWithState.java b/qadevOOo/tests/java/ifc/beans/_XPropertyWithState.java
index ef89c8448e7d..5f702320fa33 100644
--- a/qadevOOo/tests/java/ifc/beans/_XPropertyWithState.java
+++ b/qadevOOo/tests/java/ifc/beans/_XPropertyWithState.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,67 +47,67 @@ import lib.StatusException;
*/
public class _XPropertyWithState extends MultiMethodTest {
-
+
/**
* the test object
*/
public XPropertyWithState oObj;
-
-
+
+
/**
- * Test calls the method.
- * Test has ok status if no
+ * Test calls the method.
+ * Test has ok status if no
* <CODE>com.sun.star.lang.WrappedTargetException</CODE>
* was thrown
*/
public void _getDefaultAsProperty() {
try{
-
+
XInterface defaultState = (XInterface) oObj.getDefaultAsProperty();
-
+
} catch (com.sun.star.lang.WrappedTargetException e){
e.printStackTrace(log);
throw new StatusException(Status.failed("'com.sun.star.lang.WrappedTargetException' was thrown"));
}
-
+
tRes.tested("getDefaultAsProperty()", true);
}
-
+
/**
* Test is ok if <CODE>getStateAsProperty()</CODE> returns
* as <CODE>PropertyState</CODE> which is not <CODE>null</CODE>
*/
public void _getStateAsProperty() {
-
+
boolean res = true;
-
+
PropertyState propState = oObj.getStateAsProperty();
-
+
if (propState == null) {
log.println("the returned PropertyState is null -> FALSE");
res = false;
}
-
+
tRes.tested("getStateAsProperty()", res);
}
-
+
/**
- * Test calls the method.
- * Test has ok status if no
+ * Test calls the method.
+ * Test has ok status if no
* <CODE>com.sun.star.lang.WrappedTargetException</CODE>
* was thrown
*/
public void _setToDefaultAsProperty() {
try{
-
+
oObj.setToDefaultAsProperty();
-
+
} catch (com.sun.star.lang.WrappedTargetException e){
e.printStackTrace(log);
throw new StatusException(Status.failed("'com.sun.star.lang.WrappedTargetException' was thrown"));
}
-
+
tRes.tested("setToDefaultAsProperty()", true);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
index 0d783ad18e97..2d8664f07511 100644
--- a/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
+++ b/qadevOOo/tests/java/ifc/beans/_XTolerantMultiPropertySet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
protected Property[] properties = null;
protected XPropertyState pState = null;
protected XPropertySet PS = null;
-
+
/*
* Queries XPropertySet from the given Component and gets XPropertySetInfo
@@ -66,7 +66,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
* Throws a lib StatusException if the Component doesn't support XPropertySet or XPropertyState
*/
public void before() {
- PS = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
+ PS = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
tEnv.getTestObject());
if (PS == null) {
@@ -89,7 +89,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
/*
* Calls the method getDirectPropertyValuesTolerant() and compares the resulting
- * sequence with the one gained as direct values in the before() method.<br>
+ * sequence with the one gained as direct values in the before() method.<br>
* Has OK state if both sequences equal.
*/
public void _getDirectPropertyValuesTolerant() {
@@ -147,13 +147,13 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
boolean localres = true;
if (!(GPR[i].Value instanceof com.sun.star.uno.Any)) {
- localres = ValueComparer.equalValue(GPR[i].Value,
+ localres = ValueComparer.equalValue(GPR[i].Value,
valuesOfProperties[i]);
}
if (!localres) {
- log.println("Values differ for : " +
+ log.println("Values differ for : " +
namesOfProperties[i]);
log.println("\t" + GPR[i].Value);
log.println("Expected: ");
@@ -173,7 +173,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
SetPropertyTolerantFailed[] SPTF = null;
try {
- SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
+ SPTF = oObj.setPropertyValuesTolerant(namesOfProperties,
getNewValues(
valuesOfProperties));
} catch (com.sun.star.lang.IllegalArgumentException e) {
@@ -210,14 +210,14 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
GetPropertyTolerantResult[] GPR = oObj.getPropertyValuesTolerant(
namesOfProperties);
- if ((!(GPR[i].Value instanceof com.sun.star.uno.Any)) &&
+ if ((!(GPR[i].Value instanceof com.sun.star.uno.Any)) &&
(SPTF[i].Result == com.sun.star.beans.TolerantPropertySetResultType.SUCCESS)) {
- localres = ValueComparer.equalValue(GPR[i].Value,
+ localres = ValueComparer.equalValue(GPR[i].Value,
valuesOfProperties[i]);
}
if (!localres) {
- log.println("Values differ for : " +
+ log.println("Values differ for : " +
namesOfProperties[i]);
log.println("\t" + GPR[i].Value);
log.println("Expected: ");
@@ -271,7 +271,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
if (name.startsWith("MetaFile")) isUsable = false;
return isUsable;
}
-
+
/*
* This method returns a sorted list of property names
* contained in a given sequence of properties
@@ -297,7 +297,7 @@ public class _XTolerantMultiPropertySet extends MultiMethodTest {
}
/*
- * Returns the values of a given array of properties in an Object array
+ * Returns the values of a given array of properties in an Object array
*/
protected Object[] getPropertyValues(String[] propertyNames) {
Object[] values = new Object[propertyNames.length];
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridge.java b/qadevOOo/tests/java/ifc/bridge/_XBridge.java
index 98f28bba0236..f6303b558147 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridge.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridge.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
index 99f920e92019..58643bc7e9aa 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XBridgeFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
index 14448c8f742f..8d1e88cbc6e2 100644
--- a/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
+++ b/qadevOOo/tests/java/ifc/bridge/_XUnoUrlResolver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -202,6 +202,6 @@ public class _XUnoUrlResolver extends MultiMethodTest {
log.println("Unexpected exception thrown " + e.getMessage());
e.printStackTrace(log);
throw new StatusException("Unexpected exception", e);
- }
+ }
}
}
diff --git a/qadevOOo/tests/java/ifc/chart/_BarDiagram.java b/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
index f22709df85bc..1972c23dab89 100644
--- a/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_BarDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
index 531ec39478ed..9b1e19c47cc6 100644
--- a/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_Chart3DBarProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
throw new StatusException("Couldn't change Diagram to 3D", e);
}
}
-
+
/**
* Sets the diagram back to 2D as 2D rendering is much faster for the following tests.
*/
@@ -126,7 +126,7 @@ public class _Chart3DBarProperties extends MultiPropertyTest {
throw new StatusException("Couldn't change Diagram back to 2D", e);
}
}
-
+
} // finish class _Chart3DBarProperties
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
index 7fad534b1948..18c8e7f6dbea 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxis.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java
index daf1ca3cc122..50915301c92f 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxisXSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
index 40f6f1663513..51520d6a37a7 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxisYSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
index 2de116ddb80a..926652c8cf6f 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartAxisZSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
index 2ae9ac7fa36b..7307326cf59a 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartDataPointProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java b/qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java
index 82dc477efed1..911f12953f2a 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartDataRowProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@ import lib.MultiPropertyTest;
* @see com.sun.star.chart.ChartDataRowProperties
*/
public class _ChartDataRowProperties extends MultiPropertyTest {
-
+
public void _Axis() {
try {
Integer axis = (Integer) oObj.getPropertyValue("Axis");
@@ -57,7 +57,7 @@ public class _ChartDataRowProperties extends MultiPropertyTest {
} catch (Exception e) {
e.printStackTrace(log);
tRes.tested("Axis",false);
- }
+ }
}
}
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartDocument.java b/qadevOOo/tests/java/ifc/chart/_ChartDocument.java
index 0bb5c2cf5e2b..5dd5131b8575 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartDocument.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartLegend.java b/qadevOOo/tests/java/ifc/chart/_ChartLegend.java
index 33f7f9ce7283..2f1edebc2367 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartLegend.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartLegend.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java b/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
index ca1fe56a8b59..92defbad16f7 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartStatistics.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
index a44cb3731d57..51373d472446 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTableAddressSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTitle.java b/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
index 7c3176eedb65..1db82215916a 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTitle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
index a2ec31aa9145..77d75c1736cb 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisXSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
index fa29c50d9b20..bbd20ef25b4a 100644
--- a/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_ChartTwoAxisYSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_Diagram.java b/qadevOOo/tests/java/ifc/chart/_Diagram.java
index a5bc75a98792..1aa0f5d246bc 100644
--- a/qadevOOo/tests/java/ifc/chart/_Diagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_Diagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java b/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
index a28cf52a48fb..d892776b6027 100644
--- a/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_Dim3DDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
index a2555ea26f69..6296be6ddd05 100644
--- a/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_LineDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java b/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
index a6bca2a0b131..566e91ecafe8 100644
--- a/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_StackableDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_StockDiagram.java b/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
index d76875fe017c..ce883591b50d 100644
--- a/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_StockDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_X3DDisplay.java b/qadevOOo/tests/java/ifc/chart/_X3DDisplay.java
index 16553df61ad9..15bbaa57682f 100644
--- a/qadevOOo/tests/java/ifc/chart/_X3DDisplay.java
+++ b/qadevOOo/tests/java/ifc/chart/_X3DDisplay.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XAxisXSupplier.java b/qadevOOo/tests/java/ifc/chart/_XAxisXSupplier.java
index 6e318e0acebc..1c3ac80b8496 100644
--- a/qadevOOo/tests/java/ifc/chart/_XAxisXSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XAxisXSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_XAxisYSupplier.java
index d5e75fa27131..31eae0e015cc 100644
--- a/qadevOOo/tests/java/ifc/chart/_XAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XAxisYSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XAxisZSupplier.java b/qadevOOo/tests/java/ifc/chart/_XAxisZSupplier.java
index 9e7fd3212c53..a05249f118fd 100644
--- a/qadevOOo/tests/java/ifc/chart/_XAxisZSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XAxisZSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartData.java b/qadevOOo/tests/java/ifc/chart/_XChartData.java
index 98dad0741509..4113a6c4513f 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartData.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -76,16 +76,16 @@ public class _XChartData extends MultiMethodTest {
dataArray.setData(data);
if (!dataChanged[0]) {
- log.println("ChartDataChangeEventListener1 " +
+ log.println("ChartDataChangeEventListener1 " +
"isn't called after changing data");
}
if (!dataChanged[1]) {
- log.println("ChartDataChangeEventListener2 " +
+ log.println("ChartDataChangeEventListener2 " +
"isn't called after changing data");
}
- tRes.tested("addChartDataChangeEventListener()",
+ tRes.tested("addChartDataChangeEventListener()",
dataChanged[0] && dataChanged[1]);
}
@@ -115,11 +115,11 @@ public class _XChartData extends MultiMethodTest {
oObj.removeChartDataChangeEventListener(listener2);
if (dataChanged[0]) {
- log.println("ChartDataChangeEventListener1 is " +
+ log.println("ChartDataChangeEventListener1 is " +
"called after removing listener");
}
- tRes.tested("removeChartDataChangeEventListener()",
+ tRes.tested("removeChartDataChangeEventListener()",
((!dataChanged[0]) && (dataChanged[1])));
}
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
index 1c6b9b8a10f7..173187be7dda 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartDataArray.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,7 +83,7 @@ public class _XChartDataArray extends MultiMethodTest {
}
}
}
-
+
/**
* Test calls the method and restores new values. <p>
* Has <b> OK </b> status if the method successfully returns. <p>
@@ -112,14 +112,14 @@ public class _XChartDataArray extends MultiMethodTest {
* <li> <code> setColumnDescriptions </code></li>
* </ul>
*/
- public void _setRowDescriptions() {
+ public void _setRowDescriptions() {
bResult = true;
rowDscs = oObj.getRowDescriptions();
if (mbExcludeSetRowAndSetColumn) {
log.println(msExcludeMessage);
throw new StatusException(Status.skipped(true));
- }
+ }
for (int i = 0; i < rowDscs.length; i++) {
rowDscs[i] = "Row" + i;
}
@@ -136,10 +136,10 @@ public class _XChartDataArray extends MultiMethodTest {
* <li> <code> setRowDescriptions </code></li>
* </ul>
*/
- public void _setData() {
+ public void _setData() {
rowDscs = oObj.getRowDescriptions();
colDscs = oObj.getColumnDescriptions();
-
+
bResult = true;
double[][] _data = oObj.getData();
data = _data;
@@ -224,7 +224,7 @@ public class _XChartDataArray extends MultiMethodTest {
tRes.tested("getData()", bResult);
}
-
+
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/chart/_XChartDocument.java b/qadevOOo/tests/java/ifc/chart/_XChartDocument.java
index 1ce64a0b5ab0..51d8f97b95f2 100644
--- a/qadevOOo/tests/java/ifc/chart/_XChartDocument.java
+++ b/qadevOOo/tests/java/ifc/chart/_XChartDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XDiagram.java b/qadevOOo/tests/java/ifc/chart/_XDiagram.java
index e91ba14cd61c..d600fa951f1b 100644
--- a/qadevOOo/tests/java/ifc/chart/_XDiagram.java
+++ b/qadevOOo/tests/java/ifc/chart/_XDiagram.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XStatisticDisplay.java b/qadevOOo/tests/java/ifc/chart/_XStatisticDisplay.java
index 984838a65ae8..dd941cae41b7 100644
--- a/qadevOOo/tests/java/ifc/chart/_XStatisticDisplay.java
+++ b/qadevOOo/tests/java/ifc/chart/_XStatisticDisplay.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XTwoAxisXSupplier.java b/qadevOOo/tests/java/ifc/chart/_XTwoAxisXSupplier.java
index 3455f51c95d1..394207dc11e2 100644
--- a/qadevOOo/tests/java/ifc/chart/_XTwoAxisXSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XTwoAxisXSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java b/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
index 5786da65c2d1..2f5e0e6a5442 100644
--- a/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
+++ b/qadevOOo/tests/java/ifc/chart/_XTwoAxisYSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/configuration/_XTemplateContainer.java b/qadevOOo/tests/java/ifc/configuration/_XTemplateContainer.java
index 4c368c30fefe..46030cae8844 100644
--- a/qadevOOo/tests/java/ifc/configuration/_XTemplateContainer.java
+++ b/qadevOOo/tests/java/ifc/configuration/_XTemplateContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,19 +32,19 @@ import lib.MultiMethodTest;
public class _XTemplateContainer extends MultiMethodTest {
-
+
public XTemplateContainer oObj;
-
+
public void _getElementTemplateName() {
String tName = (String) tEnv.getObjRelation("TemplateName");
String oTName = oObj.getElementTemplateName();
- log.println("TemplateName: "+oTName);
+ log.println("TemplateName: "+oTName);
boolean res = oTName.equals(tName);
if (!res) {
log.println("Expected: "+tName);
log.println("Gained: "+oTName);
}
- tRes.tested("getElementTemplateName()", res);
+ tRes.tested("getElementTemplateName()", res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/configuration/_XTemplateInstance.java b/qadevOOo/tests/java/ifc/configuration/_XTemplateInstance.java
index 52a0cd3f6b0d..2eab9baa63bc 100644
--- a/qadevOOo/tests/java/ifc/configuration/_XTemplateInstance.java
+++ b/qadevOOo/tests/java/ifc/configuration/_XTemplateInstance.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,10 +32,10 @@ import lib.MultiMethodTest;
public class _XTemplateInstance extends MultiMethodTest {
-
+
public XTemplateInstance oObj;
-
-
+
+
public void _getTemplateName() {
String expected = (String) tEnv.getObjRelation("TemplateInstance");
String getting = oObj.getTemplateName();
@@ -46,5 +46,5 @@ public class _XTemplateInstance extends MultiMethodTest {
}
tRes.tested("getTemplateName()",res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XBackend.java b/qadevOOo/tests/java/ifc/configuration/backend/_XBackend.java
index 68d113ebb8b4..3545928c4da4 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XBackend.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XBackend.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -89,7 +89,7 @@ public class _XBackend extends MultiMethodTest {
try {
XUpdateHandler aHandler = oObj.getUpdateHandler(
- "org.openoffice.Office.TypeDetection",
+ "org.openoffice.Office.TypeDetection",
"illegal");
log.println("Exception expected -- FAILED");
res = false;
@@ -106,10 +106,10 @@ public class _XBackend extends MultiMethodTest {
try {
XStringSubstitution sts = createStringSubstitution(
(XMultiServiceFactory) tParam.getMSF());
- String ent = sts.getSubstituteVariableValue("$(inst)") +
+ String ent = sts.getSubstituteVariableValue("$(inst)") +
"/share/registry";
XUpdateHandler aHandler = oObj.getUpdateHandler(
- "org.openoffice.Office.Jobs",
+ "org.openoffice.Office.Jobs",
ent);
if (aHandler == null) {
@@ -138,11 +138,11 @@ public class _XBackend extends MultiMethodTest {
try {
XStringSubstitution sts = createStringSubstitution(
(XMultiServiceFactory) tParam.getMSF());
- String ent = sts.getSubstituteVariableValue("$(inst)") +
+ String ent = sts.getSubstituteVariableValue("$(inst)") +
"/share/registry";
XLayer[] Layers = oObj.listLayers(
"org.openoffice.Office.Linguistic", ent);
-
+
for (int i = 0; i < Layers.length; i++) {
log.println("Checking Layer " + i);
res &= checkLayer(Layers[i]);
@@ -175,7 +175,7 @@ public class _XBackend extends MultiMethodTest {
if (Layers.length==0) {
System.out.println("No Layers found -- FAILED");
res &= false;
- }
+ }
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
log.println("unexpected Exception " + e + " -- FAILED");
res = false;
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java b/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
index 6a36c889985f..18330bc4a01c 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XBackendEntities.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XLayer.java b/qadevOOo/tests/java/ifc/configuration/backend/_XLayer.java
index 784f14b4b5b0..e958d186921e 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XLayer.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XLayer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,14 +32,14 @@ import lib.MultiMethodTest;
import util.XLayerHandlerImpl;
public class _XLayer extends MultiMethodTest {
-
- public XLayer oObj;
-
+
+ public XLayer oObj;
+
public void _readData() {
boolean res = false;
-
+
log.println("Checking for Exception in case of nul argument");
-
+
try {
oObj.readData(null);
} catch (com.sun.star.lang.NullPointerException e) {
@@ -49,8 +49,8 @@ public class _XLayer extends MultiMethodTest {
log.println("Unexpected Exception ("+e+") -- FAILED");
} catch (com.sun.star.configuration.backend.MalformedDataException e) {
log.println("Unexpected Exception ("+e+") -- FAILED");
- }
-
+ }
+
log.println("checking read data with own XLayerHandler implementation");
try {
XLayerHandlerImpl xLayerHandler = new XLayerHandlerImpl();
@@ -63,7 +63,7 @@ public class _XLayer extends MultiMethodTest {
res &= false;
} else {
log.println("startLayer was called -- OK");
- res &= true;
+ res &= true;
}
int el = implCalled.indexOf("endLayer");
if (el < 0) {
@@ -71,8 +71,8 @@ public class _XLayer extends MultiMethodTest {
res &= false;
} else {
log.println("endLayer was called -- OK");
- res &= true;
- }
+ res &= true;
+ }
} catch (com.sun.star.lang.NullPointerException e) {
log.println("Unexpected Exception ("+e+") -- FAILED");
res &= false;
@@ -83,8 +83,8 @@ public class _XLayer extends MultiMethodTest {
log.println("Unexpected Exception ("+e+") -- FAILED");
res &= false;
}
-
+
tRes.tested("readData()",res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
index 181555180534..f267d2500294 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -53,55 +53,55 @@ public class _XLayerHandler extends MultiMethodTest {
oObj.startLayer();
oObj.overrideNode("org.openoffice.Setup", (short) 0, false);
oObj.overrideNode("Office", (short) 0, false);
- oObj.overrideProperty("ooSetupInstCompleted", (short) 0,
+ oObj.overrideProperty("ooSetupInstCompleted", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue(new Boolean(false));
oObj.endProperty();
- oObj.overrideProperty("ooSetupShowIntro", (short) 0,
+ oObj.overrideProperty("ooSetupShowIntro", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue(new Boolean(true));
oObj.endProperty();
- oObj.overrideProperty("ooSetupLocales", (short) 0,
+ oObj.overrideProperty("ooSetupLocales", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue("en-US");
oObj.endProperty();
oObj.overrideNode("Factories", (short) 0, false);
- oObj.addOrReplaceNode("com.sun.star.chart.ChartDocument",
+ oObj.addOrReplaceNode("com.sun.star.chart.ChartDocument",
(short) 0);
- oObj.overrideProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
+ oObj.overrideProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue("private:factory/schart");
oObj.endProperty();
- oObj.overrideProperty("ooSetupFactoryIcon", (short) 0,
+ oObj.overrideProperty("ooSetupFactoryIcon", (short) 0,
new Type(java.lang.Long.class), false);
oObj.setPropertyValue(new Integer(13));
oObj.endProperty();
- oObj.overrideProperty("ooSetupFactoryShortName", (short) 0,
+ oObj.overrideProperty("ooSetupFactoryShortName", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue("schart");
oObj.setPropertyValueForLocale("TemplateFile", "en-US");
oObj.endProperty();
- oObj.overrideProperty("ooSetupFactoryTemplateFile", (short) 0,
+ oObj.overrideProperty("ooSetupFactoryTemplateFile", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue("empty");
oObj.endProperty();
- oObj.addProperty("ooSetupFactoryTemplateFile", (short) 0,
+ oObj.addProperty("ooSetupFactoryTemplateFile", (short) 0,
new Type(java.lang.String.class));
- oObj.addPropertyWithValue("ooSetupFactoryTemplateFile", (short) 0,
+ oObj.addPropertyWithValue("ooSetupFactoryTemplateFile", (short) 0,
"TemplateFile");
oObj.endNode();
oObj.addOrReplaceNode("dropme", (short) 0);
- oObj.overrideProperty("anyway", (short) 0,
+ oObj.overrideProperty("anyway", (short) 0,
new Type(java.lang.String.class), false);
oObj.setPropertyValue("nice");
oObj.endProperty();
oObj.dropNode("dropme");
oObj.endNode();
- oObj.addOrReplaceNodeFromTemplate("FromTemplate",
+ oObj.addOrReplaceNodeFromTemplate("FromTemplate",
new com.sun.star.configuration.backend.TemplateIdentifier(
- "org.openoffice.Setup",
+ "org.openoffice.Setup",
"Setup"), (short) 0);
oObj.endNode();
@@ -118,11 +118,11 @@ public class _XLayerHandler extends MultiMethodTest {
Object fileacc = ((XMultiServiceFactory) tParam.getMSF()).createInstance(
"com.sun.star.comp.ucb.SimpleFileAccess");
XSimpleFileAccess simpleAccess = (XSimpleFileAccess) UnoRuntime.queryInterface(
- XSimpleFileAccess.class,
+ XSimpleFileAccess.class,
fileacc);
String filename = util.utils.getOfficeTemp(
- (XMultiServiceFactory) tParam.getMSF()) +
+ (XMultiServiceFactory) tParam.getMSF()) +
"LayerWriter.xcu";
log.println("Going to parse: " + filename);
@@ -130,7 +130,7 @@ public class _XLayerHandler extends MultiMethodTest {
xSink.setInputStream(xStream);
- XLayer xLayer = (XLayer) UnoRuntime.queryInterface(XLayer.class,
+ XLayer xLayer = (XLayer) UnoRuntime.queryInterface(XLayer.class,
LayerParser);
XLayerHandlerImpl xLayerHandler = new XLayerHandlerImpl();
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java
index 39193787a857..6cf29ee71dae 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XLayerImporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,15 +32,15 @@ import com.sun.star.configuration.backend.XLayerImporter;
import lib.MultiMethodTest;
public class _XLayerImporter extends MultiMethodTest {
-
- public XLayerImporter oObj;
+
+ public XLayerImporter oObj;
public XBackend xBackend = null;
-
+
public void _getTargetBackend() {
xBackend = oObj.getTargetBackend();
tRes.tested("getTargetBackend()", xBackend != null);
}
-
+
public void _importLayer() {
boolean res = false;
log.println("checking for exception is argument null is given");
@@ -49,22 +49,22 @@ public class _XLayerImporter extends MultiMethodTest {
log.println("\tException expected -- FAILED");
} catch (com.sun.star.lang.NullPointerException ne) {
res = true;
- log.println("\tExpected exception was thrown -- OK");
+ log.println("\tExpected exception was thrown -- OK");
} catch (com.sun.star.configuration.backend.MalformedDataException mde) {
res = false;
- log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.IllegalArgumentException iae) {
res = false;
- log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.WrappedTargetException wte) {
res = false;
- log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
}
-
+
log.println("checking own implementation of XLayer");
try {
util.XLayerImpl xLayer = new util.XLayerImpl();
- oObj.importLayer(xLayer);
+ oObj.importLayer(xLayer);
if (! xLayer.hasBeenCalled()) {
log.println("\tXLayer hasn't been imported -- FAILED");
res &= false;
@@ -74,21 +74,21 @@ public class _XLayerImporter extends MultiMethodTest {
}
} catch (com.sun.star.lang.NullPointerException ne) {
res &= false;
- log.println("\tExpected exception "+ne+" was thrown -- FAILED");
+ log.println("\tExpected exception "+ne+" was thrown -- FAILED");
} catch (com.sun.star.configuration.backend.MalformedDataException mde) {
res &= false;
- log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.IllegalArgumentException iae) {
res &= false;
- log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.WrappedTargetException wte) {
res &= false;
- log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
- }
-
- tRes.tested("importLayer()",res);
+ log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
+ }
+
+ tRes.tested("importLayer()",res);
}
-
+
public void _importLayerForEntity() {
boolean res = false;
log.println("checking for exception for argument (null,\"\")");
@@ -97,22 +97,22 @@ public class _XLayerImporter extends MultiMethodTest {
log.println("\tException expected -- FAILED");
} catch (com.sun.star.lang.NullPointerException ne) {
res = true;
- log.println("\tExpected exception was thrown -- OK");
+ log.println("\tExpected exception was thrown -- OK");
} catch (com.sun.star.configuration.backend.MalformedDataException mde) {
res = false;
- log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.IllegalArgumentException iae) {
res = false;
- log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.WrappedTargetException wte) {
res = false;
- log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
}
-
+
log.println("checking own implementation of XLayer");
try {
util.XLayerImpl xLayer = new util.XLayerImpl();
- oObj.importLayerForEntity(xLayer,"");
+ oObj.importLayerForEntity(xLayer,"");
if (! xLayer.hasBeenCalled()) {
log.println("\tXLayer hasn't been imported -- FAILED");
res &= false;
@@ -122,21 +122,21 @@ public class _XLayerImporter extends MultiMethodTest {
}
} catch (com.sun.star.lang.NullPointerException ne) {
res &= false;
- log.println("\tExpected exception "+ne+" was thrown -- FAILED");
+ log.println("\tExpected exception "+ne+" was thrown -- FAILED");
} catch (com.sun.star.configuration.backend.MalformedDataException mde) {
res &= false;
- log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+mde+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.IllegalArgumentException iae) {
res &= false;
- log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
+ log.println("\tWrong Expected "+iae+" exception was thrown -- FAILED");
} catch (com.sun.star.lang.WrappedTargetException wte) {
res &= false;
- log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
- }
-
- tRes.tested("importLayerForEntity()",res);
+ log.println("\tWrong Expected "+wte+" exception was thrown -- FAILED");
+ }
+
+ tRes.tested("importLayerForEntity()",res);
}
-
+
public void _setTargetBackend() {
requiredMethod("getTargetBackend()");
boolean res = false;
@@ -148,7 +148,7 @@ public class _XLayerImporter extends MultiMethodTest {
res = true;
log.println("\tExpected exception was thrown -- OK");
}
-
+
log.println("checking argument previously gained by getTargetBackend");
try {
oObj.setTargetBackend(xBackend);
@@ -157,10 +157,10 @@ public class _XLayerImporter extends MultiMethodTest {
} catch (com.sun.star.lang.NullPointerException ne) {
res &= false;
log.println("\tException was thrown -- FAILED");
- }
-
+ }
+
tRes.tested("setTargetBackend()",res);
-
+
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java
index aae4743e01fc..46ecb1b7487f 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -88,7 +88,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
log.println("Checking first on "+LayerIds[0]);
res &= checkLayer(Layers[0]);
log.println("Checking second on "+LayerIds[1]);
- res &= checkLayer(Layers[1]);
+ res &= checkLayer(Layers[1]);
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
log.println("unexpected Exception -- FAILED");
res = false;
@@ -110,14 +110,14 @@ public class _XMultiLayerStratum extends MultiMethodTest {
String[] Times = new String[2];
Times[0] = "";
Times[1] = "";
-
+
XLayer[] Layers = oObj.getMultipleLayers(LayerIds, Times);
res = Layers.length == 2;
log.println("Getting two XLayers -- OK");
log.println("Checking first on "+LayerIds[0]);
res &= checkLayer(Layers[0]);
log.println("Checking second on "+LayerIds[1]);
- res &= checkLayer(Layers[1]);
+ res &= checkLayer(Layers[1]);
} catch (com.sun.star.configuration.backend.BackendAccessException e) {
log.println("unexpected Exception -- FAILED");
res = false;
@@ -126,7 +126,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
res = false;
}
- tRes.tested("getMultipleLayers()", res);
+ tRes.tested("getMultipleLayers()", res);
}
public void _getUpdatableLayer() {
@@ -166,7 +166,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
res = false;
}
- tRes.tested("getUpdatableLayer()", res);
+ tRes.tested("getUpdatableLayer()", res);
}
public void _getUpdateLayerId() {
@@ -174,7 +174,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
try {
String UpdateLayerID = oObj.getUpdateLayerId(
- "org.openoffice.Office.TypeDetection",
+ "org.openoffice.Office.TypeDetection",
"illegal");
log.println("Exception expected -- FAILED");
res = false;
@@ -190,7 +190,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
try {
String ent = util.utils.getOfficeURL(
- (XMultiServiceFactory) tParam.getMSF()) +
+ (XMultiServiceFactory) tParam.getMSF()) +
"/../share/registry";
String UpdateLayerID = oObj.getUpdateLayerId(
"org.openoffice.Office.Linguistic", ent);
@@ -220,7 +220,7 @@ public class _XMultiLayerStratum extends MultiMethodTest {
try {
String[] LayerIDs = oObj.listLayerIds(
- "org.openoffice.Office.TypeDetection",
+ "org.openoffice.Office.TypeDetection",
"illegal");
log.println("Exception expected -- FAILED");
res = false;
@@ -233,9 +233,9 @@ public class _XMultiLayerStratum extends MultiMethodTest {
try {
String ent = util.utils.getOfficeURL(
- (XMultiServiceFactory) tParam.getMSF()) +
+ (XMultiServiceFactory) tParam.getMSF()) +
"/../share/registry";
- String[] LayerIDs = oObj.listLayerIds("org.openoffice.Office.Jobs",
+ String[] LayerIDs = oObj.listLayerIds("org.openoffice.Office.Jobs",
ent);
res &= LayerIDs[0].endsWith("Jobs.xcu");
aLayerID = LayerIDs[0];
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
index 36be98ebc1fb..6c4ed22f8782 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSchema.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,13 +42,13 @@ public class _XSchema extends MultiMethodTest {
public XSchema oObj;
XSchemaHandlerImpl xSchemaHandlerImpl = new XSchemaHandlerImpl();
String filename = null;
-
+
protected void before() {
filename = (String)tEnv.getObjRelation("ParsedFileName");
}
-
+
public void _readComponent() {
- requiredMethod("readTemplates()");
+ requiredMethod("readTemplates()");
boolean res = false;
log.println("Checking for Exception in case of null argument");
@@ -70,10 +70,10 @@ public class _XSchema extends MultiMethodTest {
try {
xSchemaHandlerImpl.cleanCalls();
oObj.readComponent(xSchemaHandlerImpl);
-
+
String implCalled = xSchemaHandlerImpl.getCalls();
-
- System.out.println(implCalled);
+
+ System.out.println(implCalled);
int sc = implCalled.indexOf("startComponent");
@@ -134,7 +134,7 @@ public class _XSchema extends MultiMethodTest {
xSchemaHandlerImpl.cleanCalls();
oObj.readSchema(xSchemaHandlerImpl);
- String implCalled = xSchemaHandlerImpl.getCalls();
+ String implCalled = xSchemaHandlerImpl.getCalls();
int sc = implCalled.indexOf("startSchema");
@@ -178,8 +178,8 @@ public class _XSchema extends MultiMethodTest {
} catch (com.sun.star.configuration.backend.MalformedDataException e) {
log.println("Unexpected Exception (" + e + ") -- FAILED");
}
-
- tRes.tested("readSchema()", res);
+
+ tRes.tested("readSchema()", res);
reopenFile();
}
@@ -205,8 +205,8 @@ public class _XSchema extends MultiMethodTest {
try {
xSchemaHandlerImpl.cleanCalls();
oObj.readComponent(xSchemaHandlerImpl);
-
- String implCalled = xSchemaHandlerImpl.getCalls();
+
+ String implCalled = xSchemaHandlerImpl.getCalls();
int sc = implCalled.indexOf("startGroup");
@@ -238,10 +238,10 @@ public class _XSchema extends MultiMethodTest {
res &= false;
}
- tRes.tested("readTemplates()", res);
+ tRes.tested("readTemplates()", res);
reopenFile();
}
-
+
/**
* reopen the parsed file again, to avoid the wrapped target exception.
*/
@@ -251,13 +251,13 @@ public class _XSchema extends MultiMethodTest {
try {
Object fileacc = ((XMultiServiceFactory)tParam.getMSF()).createInstance("com.sun.star.comp.ucb.SimpleFileAccess");
simpleAccess = (XSimpleFileAccess)
- UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc);
+ UnoRuntime.queryInterface(XSimpleFileAccess.class,fileacc);
log.println("Going to parse: "+filename);
xStream = simpleAccess.openFileRead(filename);
} catch (com.sun.star.uno.Exception e) {
- }
+ }
- XActiveDataSink xSink = (XActiveDataSink) UnoRuntime.queryInterface(XActiveDataSink.class, oObj);
+ XActiveDataSink xSink = (XActiveDataSink) UnoRuntime.queryInterface(XActiveDataSink.class, oObj);
xSink.setInputStream(xStream);
}
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java b/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
index 99346705b4fb..0df57288bd00 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XSchemaSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -57,7 +57,7 @@ public class _XSchemaSupplier extends MultiMethodTest {
}
tRes.tested("getComponentSchema()",res);
}
-
+
protected boolean checkSchema(XSchema aSchema) {
boolean res = false;
XSchemaHandlerImpl xSchemaHandlerImpl = new XSchemaHandlerImpl();
@@ -80,8 +80,8 @@ public class _XSchemaSupplier extends MultiMethodTest {
try {
aSchema.readComponent(xSchemaHandlerImpl);
-
- String implCalled = xSchemaHandlerImpl.getCalls();
+
+ String implCalled = xSchemaHandlerImpl.getCalls();
int sc = implCalled.indexOf("startComponent");
if (sc < 0) {
@@ -112,7 +112,7 @@ public class _XSchemaSupplier extends MultiMethodTest {
res &= false;
}
- return res;
-
+ return res;
+
}
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
index 32049d8f7015..92c90499be0f 100644
--- a/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
+++ b/qadevOOo/tests/java/ifc/configuration/backend/_XUpdateHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,70 +49,70 @@ public class _XUpdateHandler extends MultiMethodTest {
try {
xLayerHandler.startLayer();
- xLayerHandler.overrideNode("org.openoffice.Setup", (short) 0,
+ xLayerHandler.overrideNode("org.openoffice.Setup", (short) 0,
false);
xLayerHandler.overrideNode("Office", (short) 0, false);
- xLayerHandler.overrideProperty("ooSetupInstCompleted", (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupInstCompleted", (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue(new Boolean(false));
xLayerHandler.endProperty();
- xLayerHandler.overrideProperty("ooSetupShowIntro", (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupShowIntro", (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue(new Boolean(true));
xLayerHandler.endProperty();
- xLayerHandler.overrideProperty("ooSetupLocales", (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupLocales", (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue("en-US");
xLayerHandler.endProperty();
xLayerHandler.overrideNode("Factories", (short) 0, false);
- xLayerHandler.addOrReplaceNode("com.sun.star.chart.ChartDocument",
+ xLayerHandler.addOrReplaceNode("com.sun.star.chart.ChartDocument",
(short) 0);
- xLayerHandler.overrideProperty("ooSetupFactoryEmptyDocumentURL",
- (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupFactoryEmptyDocumentURL",
+ (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue("private:factory/schart");
xLayerHandler.endProperty();
- xLayerHandler.overrideProperty("ooSetupFactoryIcon", (short) 0,
- new Type(java.lang.Long.class),
+ xLayerHandler.overrideProperty("ooSetupFactoryIcon", (short) 0,
+ new Type(java.lang.Long.class),
false);
xLayerHandler.setPropertyValue(new Integer(13));
xLayerHandler.endProperty();
- xLayerHandler.overrideProperty("ooSetupFactoryShortName",
- (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupFactoryShortName",
+ (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue("schart");
xLayerHandler.setPropertyValueForLocale("TemplateFile", "en-US");
xLayerHandler.endProperty();
- xLayerHandler.overrideProperty("ooSetupFactoryTemplateFile",
- (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("ooSetupFactoryTemplateFile",
+ (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue("empty");
xLayerHandler.endProperty();
- xLayerHandler.addProperty("ooSetupFactoryTemplateFile", (short) 0,
+ xLayerHandler.addProperty("ooSetupFactoryTemplateFile", (short) 0,
new Type(java.lang.String.class));
- xLayerHandler.addPropertyWithValue("ooSetupFactoryTemplateFile",
+ xLayerHandler.addPropertyWithValue("ooSetupFactoryTemplateFile",
(short) 0, "TemplateFile");
xLayerHandler.endNode();
xLayerHandler.addOrReplaceNode("dropme", (short) 0);
- xLayerHandler.overrideProperty("anyway", (short) 0,
- new Type(java.lang.String.class),
+ xLayerHandler.overrideProperty("anyway", (short) 0,
+ new Type(java.lang.String.class),
false);
xLayerHandler.setPropertyValue("nice");
xLayerHandler.endProperty();
xLayerHandler.dropNode("dropme");
xLayerHandler.endNode();
- xLayerHandler.addOrReplaceNodeFromTemplate("FromTemplate",
+ xLayerHandler.addOrReplaceNodeFromTemplate("FromTemplate",
new com.sun.star.configuration.backend.TemplateIdentifier(
- "org.openoffice.Setup",
- "Setup"),
+ "org.openoffice.Setup",
+ "Setup"),
(short) 0);
xLayerHandler.endNode();
@@ -217,17 +217,17 @@ public class _XUpdateHandler extends MultiMethodTest {
log.println("Layer called (before): " + xLayer.hasBeenCalled());
oObj.startUpdate();
oObj.addOrReplaceNode("whatever", (short) 0);
- oObj.addOrReplaceNodeFromTemplate("Office", (short) 0,
+ oObj.addOrReplaceNodeFromTemplate("Office", (short) 0,
new TemplateIdentifier());
- oObj.addOrReplaceProperty("prop", (short) 0,
+ oObj.addOrReplaceProperty("prop", (short) 0,
new Type(java.lang.String.class));
oObj.addOrReplacePropertyWithValue("prop2", (short) 0, "this");
- oObj.modifyProperty("ooSetupFactoryIcon", (short) 0, (short) 0,
+ oObj.modifyProperty("ooSetupFactoryIcon", (short) 0, (short) 0,
new Type(java.lang.String.class));
oObj.resetPropertyValue();
oObj.resetPropertyValueForLocale("en-US");
oObj.endProperty();
- oObj.modifyProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
+ oObj.modifyProperty("ooSetupFactoryEmptyDocumentURL", (short) 0,
(short) 0, new Type(java.lang.String.class));
oObj.setPropertyValue("newValue");
oObj.setPropertyValueForLocale("newValue-US", "de-DE");
diff --git a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
index 7622c547253d..7f0ea801fe97 100644
--- a/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
+++ b/qadevOOo/tests/java/ifc/connection/_XAcceptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/connection/_XConnector.java b/qadevOOo/tests/java/ifc/connection/_XConnector.java
index 12ae67dedea3..d9788976de9a 100644
--- a/qadevOOo/tests/java/ifc/connection/_XConnector.java
+++ b/qadevOOo/tests/java/ifc/connection/_XConnector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -117,7 +117,7 @@ public class _XConnector extends MultiMethodTest {
public void _connect() {
boolean result = true ;
AcceptorThread acceptorThread = null;
- XAcceptor xAcceptor = null ;
+ XAcceptor xAcceptor = null ;
XConnection aCon = null;
XInterface x = null;
diff --git a/qadevOOo/tests/java/ifc/container/_XChild.java b/qadevOOo/tests/java/ifc/container/_XChild.java
index 2c142573ef01..cda4a19fff42 100644
--- a/qadevOOo/tests/java/ifc/container/_XChild.java
+++ b/qadevOOo/tests/java/ifc/container/_XChild.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -74,9 +74,9 @@ public class _XChild extends MultiMethodTest {
*/
public void _setParent() {
requiredMethod("getParent()") ;
-
+
String parentComment = (String) tEnv.getObjRelation("cannotSwitchParent");
-
+
if (parentComment != null) {
log.println(parentComment);
tRes.tested("setParent()",Status.skipped(true));
diff --git a/qadevOOo/tests/java/ifc/container/_XContainer.java b/qadevOOo/tests/java/ifc/container/_XContainer.java
index e3122bc28f66..f4e016100e73 100644
--- a/qadevOOo/tests/java/ifc/container/_XContainer.java
+++ b/qadevOOo/tests/java/ifc/container/_XContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -108,12 +108,12 @@ public class _XContainer extends MultiMethodTest {
if (NC == null) {
container = tEnv.getObjRelation("XContainer.Container") ;
}
-
+
if (container != null) {
if (container instanceof com.sun.star.awt.XControlContainer) {
CC = (XControlContainer) container;
} else if (container instanceof com.sun.star.uno.XNamingService) {
- NV = (XNamingService) container;
+ NV = (XNamingService) container;
} else if (container instanceof com.sun.star.container.XNameReplace) {
NR = (XNameReplace) container;
inst2 = tEnv.getObjRelation("XContainer.NewValue");
@@ -122,7 +122,7 @@ public class _XContainer extends MultiMethodTest {
NC = (XNameContainer) container;
}
}
-
+
if (NC == null && CC == null && NV == null && NR == null)
throw new StatusException(
Status.failed("Neither object implements XNameContainer" +
@@ -178,14 +178,14 @@ public class _XContainer extends MultiMethodTest {
if (NR == null) bResult &= bElementInserted;
if (!bResult) {
- log.println("inserted was " + (bElementInserted ? "" : "NOT")
+ log.println("inserted was " + (bElementInserted ? "" : "NOT")
+ " called.");
-
+
if (NC != null) {
- log.println("replaced was " + (bElementReplaced ? "" : "NOT")
+ log.println("replaced was " + (bElementReplaced ? "" : "NOT")
+ " called.");
}
- log.println("removed was " + (bElementRemoved ? "" : "NOT")
+ log.println("removed was " + (bElementRemoved ? "" : "NOT")
+ " called.");
}
@@ -260,14 +260,14 @@ public class _XContainer extends MultiMethodTest {
return bResult;
}
-
+
/**
* In case no XNameContainer is available, but a XControlContainer
- * instead.
+ * instead.
* the XControl instance is inserted
* Method returns true if the count of Controls is changed afterwards
*/
- protected boolean performChanges2() {
+ protected boolean performChanges2() {
int precount = CC.getControls().length;
CC.addControl("NewControl",(XControl) inst);
shortWait();
@@ -276,25 +276,25 @@ public class _XContainer extends MultiMethodTest {
shortWait();
return count>precount;
}
-
+
/**
* In case no XNameContainer is available, but a XNamingService
- * instead.
+ * instead.
* the instance is registered and revoked again
* Method return true if getRegisteredObject() works after
* registering and doesn't after revoke
*/
- protected boolean performChanges3() {
+ protected boolean performChanges3() {
boolean res = true;
Object reg = null;
-
+
try {
reg = NV.getRegisteredObject("MyFactory");
- NV.revokeObject("MyFactory");
+ NV.revokeObject("MyFactory");
} catch (Exception e) {
-
+
}
-
+
try {
NV.registerObject("MyFactory", inst);
reg = NV.getRegisteredObject("MyFactory");
@@ -304,7 +304,7 @@ public class _XContainer extends MultiMethodTest {
log.println("registerObject failed");
res &= false;
}
-
+
try {
NV.revokeObject("MyFactory");
reg = NV.getRegisteredObject("MyFactory");
@@ -313,20 +313,20 @@ public class _XContainer extends MultiMethodTest {
} catch (Exception e) {
res &= true;
}
-
+
return res;
- }
-
+ }
+
/**
* In case no XNameContainer is available, but a XNamingReplace
- * instead.
+ * instead.
*/
- protected boolean performChanges4() {
+ protected boolean performChanges4() {
boolean res = true;
Object newValue = inst2;
Object originalValue = null;
String name = null;
-
+
try {
name = (String)inst;
}
@@ -335,7 +335,7 @@ public class _XContainer extends MultiMethodTest {
e.printStackTrace(log);
return false;
}
-
+
try {
originalValue = NR.getByName(name);
NR.replaceByName(name, newValue);
@@ -352,7 +352,7 @@ public class _XContainer extends MultiMethodTest {
}
return res;
- }
+ }
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
@@ -364,7 +364,7 @@ public class _XContainer extends MultiMethodTest {
} catch (InterruptedException e) {
log.println("While waiting :" + e) ;
}
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
index eb6fe34c5ff3..03e079156628 100644
--- a/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
+++ b/qadevOOo/tests/java/ifc/container/_XContainerQuery.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,13 +45,13 @@ import com.sun.star.container.XEnumeration;
* </ul>
* This test needs the following object relations :
* <ul>
-* <li> <code>'XContainerQuery.createSubSetEnumerationByProperties'</code> :
-* <code>NameValue[]</code> which is a valid argument for
+* <li> <code>'XContainerQuery.createSubSetEnumerationByProperties'</code> :
+* <code>NameValue[]</code> which is a valid argument for
* <code>createSubSetEnumerationByProperties()</code>.</li>
* <li> <code>'XContainerQuery.createSubSetEnumerationByQuery'</code> : <b>(optional)</b>
-* Normaly <code>createSubSetEnumerationByProperties()</code> covers all
-* possible queries. But for special cases, i.e. sorted output, the function
-* <code>createSubSetEnumerationByQuery()</code> was made. The special cases was not
+* Normaly <code>createSubSetEnumerationByProperties()</code> covers all
+* possible queries. But for special cases, i.e. sorted output, the function
+* <code>createSubSetEnumerationByQuery()</code> was made. The special cases was not
* implemented by default in the implemetation object. So this function could be
* marked as <code>optional</code></li>
* <ul> <p>
@@ -62,7 +62,7 @@ import com.sun.star.container.XEnumeration;
public class _XContainerQuery extends MultiMethodTest {
public XContainerQuery oObj = null;
- private NamedValue[] m_querySequenze = null;
+ private NamedValue[] m_querySequenze = null;
private String[] m_queryStrings = null;
@@ -71,26 +71,26 @@ public class _XContainerQuery extends MultiMethodTest {
* @throws StatusException If one of relations not found.
*/
public void before() throws StatusException {
-
+
m_querySequenze = (NamedValue[]) tEnv.getObjRelation(
"XContainerQuery.createSubSetEnumerationByProperties");
if (m_querySequenze == null) {
throw new StatusException(
- Status.failed("Could not get object relation " +
+ Status.failed("Could not get object relation " +
"'XContainerQuery.createSubSetEnumerationByProperties'")) ;
}
-
+
m_queryStrings = (String[]) tEnv.getObjRelation(
"XContainerQuery.createSubSetEnumerationByQuery");
if (m_queryStrings == null) {
- log.println("Could not get object relation " +
+ log.println("Could not get object relation " +
"'XContainerQuery.createSubSetEnumerationByQuery'");
}
}
/**
- * If object relation is available, the function was called with relation
+ * If object relation is available, the function was called with relation
* as parameter. The returned <code>XEnumeration</code> must not be null and
* elements of it must be valid.
* If object relation is not available, the result is always <code>true</coed>
@@ -129,23 +129,23 @@ public class _XContainerQuery extends MultiMethodTest {
}
/**
- * The function was called with object relation
+ * The function was called with object relation
* as parameter. The returned <code>XEnumeration</code> must not be null and
* elements of it must be valid.
- *
+ *
*/
public void _createSubSetEnumerationByProperties() {
boolean bResult = true;
XEnumeration subSet = oObj.createSubSetEnumerationByProperties( m_querySequenze );
-
+
bResult = subSet.hasMoreElements();
-
+
while (subSet.hasMoreElements()) {
try{
Object element = subSet.nextElement();
-
+
} catch (com.sun.star.container.NoSuchElementException e){
log.println("Exception occured ");
e.printStackTrace(log);
diff --git a/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java b/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java
index 5339febb521a..550fc20e7a03 100644
--- a/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XContentEnumerationAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XElementAccess.java b/qadevOOo/tests/java/ifc/container/_XElementAccess.java
index e732db774c05..83c121f10927 100644
--- a/qadevOOo/tests/java/ifc/container/_XElementAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XElementAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XEnumeration.java b/qadevOOo/tests/java/ifc/container/_XEnumeration.java
index eaf5a2d5991d..6b2595656f8a 100644
--- a/qadevOOo/tests/java/ifc/container/_XEnumeration.java
+++ b/qadevOOo/tests/java/ifc/container/_XEnumeration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -125,7 +125,7 @@ public class _XEnumeration extends MultiMethodTest {
result = false;
} catch (NoSuchElementException e) {
log.println("nextElement: correct exception");
- }
+ }
tRes.tested("nextElement()", result);
diff --git a/qadevOOo/tests/java/ifc/container/_XEnumerationAccess.java b/qadevOOo/tests/java/ifc/container/_XEnumerationAccess.java
index 87de9304e309..d929233bcd91 100644
--- a/qadevOOo/tests/java/ifc/container/_XEnumerationAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XEnumerationAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XHierarchicalName.java b/qadevOOo/tests/java/ifc/container/_XHierarchicalName.java
index c2723ccce0af..d690f1df8ebe 100644
--- a/qadevOOo/tests/java/ifc/container/_XHierarchicalName.java
+++ b/qadevOOo/tests/java/ifc/container/_XHierarchicalName.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ public class _XHierarchicalName extends MultiMethodTest {
res = hn.startsWith(expName);
if (!res) {
- log.println("Getting : " + hn +
+ log.println("Getting : " + hn +
" but expected it to start with " + expName);
}
} catch (com.sun.star.lang.IllegalArgumentException e) {
diff --git a/qadevOOo/tests/java/ifc/container/_XHierarchicalNameAccess.java b/qadevOOo/tests/java/ifc/container/_XHierarchicalNameAccess.java
index 2270d68502ba..2fb8e6d19011 100644
--- a/qadevOOo/tests/java/ifc/container/_XHierarchicalNameAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XHierarchicalNameAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
index c87a62baaf23..e9bcad12b2b2 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -125,16 +125,16 @@ public class _XIndexAccess extends MultiMethodTest {
tRes.tested("getByIndex()", result);
} // end getByIndex
-
+
private boolean checkGetByIndex(int index){
Object o = null;
boolean result = true;
try {
log.println("getByIndex(" + index + ")");
o = oObj.getByIndex(index);
-
+
if ( tEnv.getObjRelation("XIndexAccess.getByIndex.mustBeNull") != null){
- result = (o == null);
+ result = (o == null);
if (result) log.println("OK"); else log.println("FAILED -> not null");
} else {
result = (o != null);
@@ -148,7 +148,7 @@ public class _XIndexAccess extends MultiMethodTest {
log.println("Exception! " + e);
result = false;
}
-
+
return result;
}
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
index fcd9e80f7589..60fddf132635 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XIndexReplace.java b/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
index b25dce3456ab..518c2f25a256 100644
--- a/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
+++ b/qadevOOo/tests/java/ifc/container/_XIndexReplace.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XNameAccess.java b/qadevOOo/tests/java/ifc/container/_XNameAccess.java
index be3909179f3d..e141d5da5fe8 100644
--- a/qadevOOo/tests/java/ifc/container/_XNameAccess.java
+++ b/qadevOOo/tests/java/ifc/container/_XNameAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/container/_XNameContainer.java b/qadevOOo/tests/java/ifc/container/_XNameContainer.java
index 045a43f135e7..2e54cca7e0f5 100644
--- a/qadevOOo/tests/java/ifc/container/_XNameContainer.java
+++ b/qadevOOo/tests/java/ifc/container/_XNameContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -204,7 +204,7 @@ public class _XNameContainer extends MultiMethodTest {
oObj.removeByName(Name);
} catch (com.sun.star.container.NoSuchElementException e1) {
} catch (com.sun.star.lang.WrappedTargetException e1) {
- }
+ }
}
boolean result = true;
diff --git a/qadevOOo/tests/java/ifc/container/_XNameReplace.java b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
index a56edc5ce3db..91ad64e51051 100644
--- a/qadevOOo/tests/java/ifc/container/_XNameReplace.java
+++ b/qadevOOo/tests/java/ifc/container/_XNameReplace.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -136,24 +136,24 @@ public class _XNameReplace extends MultiMethodTest {
log.println("replace object '" + oNames[0] + "' with another instance");
oObj.replaceByName(oNames[0],oInstance);
Object newEl = oObj.getByName(oNames[0]) ;
-
+
if (tEnv.getTestCase().getObjectName().equals("ScCellRangesObj")) {
ok = compareRanges(old, newEl);
} else {
- ok = ! ValueComparer.equalValue(old, newEl);
+ ok = ! ValueComparer.equalValue(old, newEl);
}
result &= ok;
log.println("result of replace: " + ok);
log.println("replace back the old object");
- oObj.replaceByName(oNames[0],old);
+ oObj.replaceByName(oNames[0],old);
Object origEl = oObj.getByName(oNames[0]) ;
-
+
if (tEnv.getTestCase().getObjectName().equals("ScCellRangesObj")) {
ok = ! compareRanges(old, origEl);
} else {
ok = ValueComparer.equalValue(old, origEl);
}
-
+
result &= ok;
log.println("result of replace back: " + ok);
} catch (com.sun.star.lang.IllegalArgumentException e ) {
@@ -177,48 +177,48 @@ public class _XNameReplace extends MultiMethodTest {
public void after() {
disposeEnvironment() ;
}
-
+
// method returns false if the ranges are equal and true otherwise
-
+
private boolean compareRanges(Object old, Object newEl) {
- XCellRangeAddressable xCRA = (XCellRangeAddressable)
+ XCellRangeAddressable xCRA = (XCellRangeAddressable)
UnoRuntime.queryInterface(XCellRangeAddressable.class,old);
-
- XCellRangeAddressable xCRA2 = (XCellRangeAddressable)
+
+ XCellRangeAddressable xCRA2 = (XCellRangeAddressable)
UnoRuntime.queryInterface(XCellRangeAddressable.class,newEl);
-
+
int orgStartCol = xCRA.getRangeAddress().StartColumn;
- int orgEndCol = xCRA.getRangeAddress().EndColumn;
+ int orgEndCol = xCRA.getRangeAddress().EndColumn;
int orgStartRow = xCRA.getRangeAddress().StartRow;
- int orgEndRow = xCRA.getRangeAddress().EndRow;
-
+ int orgEndRow = xCRA.getRangeAddress().EndRow;
+
int newStartCol = xCRA2.getRangeAddress().StartColumn;
- int newEndCol = xCRA2.getRangeAddress().EndColumn;
+ int newEndCol = xCRA2.getRangeAddress().EndColumn;
int newStartRow = xCRA2.getRangeAddress().StartRow;
int newEndRow = xCRA2.getRangeAddress().EndRow;
-
+
boolean ret = true;
-
+
if (orgStartCol == newStartCol) {
log.println("\t StartColumn is the same");
ret = false;
}
-
+
if (orgEndCol == newEndCol) {
log.println("\t EndColumn is the same");
ret = false;
- }
+ }
if (orgStartRow == newStartRow) {
log.println("\t StartRow is the same");
ret = false;
}
-
+
if (orgEndRow == newEndRow) {
log.println("\t EndRow is the same");
ret = false;
- }
-
- return ret;
+ }
+
+ return ret;
}
}
diff --git a/qadevOOo/tests/java/ifc/container/_XNamed.java b/qadevOOo/tests/java/ifc/container/_XNamed.java
index 81d9130e17ca..ed569c102922 100644
--- a/qadevOOo/tests/java/ifc/container/_XNamed.java
+++ b/qadevOOo/tests/java/ifc/container/_XNamed.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -153,7 +153,7 @@ public class _XNamed extends MultiMethodTest {
result &= loc_result;
oObj.setName(oldName);
} else {
- log.println("The names for the object '" + testobjname +
+ log.println("The names for the object '" + testobjname +
"' are fixed.");
log.println("It is not possible to rename.");
log.println("So 'setName()' is always OK");
diff --git a/qadevOOo/tests/java/ifc/container/_XSet.java b/qadevOOo/tests/java/ifc/container/_XSet.java
index 191b107ebc08..bb18e18d9b0b 100644
--- a/qadevOOo/tests/java/ifc/container/_XSet.java
+++ b/qadevOOo/tests/java/ifc/container/_XSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java b/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java
index c9343c60ec2f..c97fa9b3f5ec 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/_XDataFormatTranslator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
index 6835b2d87aaf..0aca5f06ec85 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/_XMimeContentTypeFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
index c8b13bc73fb4..5d74a3ab8f0e 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java
index 186ede4922d3..73baebba772a 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardEx.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java
index 77a9a2d99284..9062b0b03317 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XClipboardNotifier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java
index c790d42df531..1c0f5b34dd45 100644
--- a/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java
+++ b/qadevOOo/tests/java/ifc/datatransfer/clipboard/_XFlushableClipboard.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_DocumentInfo.java b/qadevOOo/tests/java/ifc/document/_DocumentInfo.java
index 6bb34e303329..ec7d1d24789d 100644
--- a/qadevOOo/tests/java/ifc/document/_DocumentInfo.java
+++ b/qadevOOo/tests/java/ifc/document/_DocumentInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_ExportFilter.java b/qadevOOo/tests/java/ifc/document/_ExportFilter.java
index e8801774c83a..b3135639f4e9 100644
--- a/qadevOOo/tests/java/ifc/document/_ExportFilter.java
+++ b/qadevOOo/tests/java/ifc/document/_ExportFilter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_ImportFilter.java b/qadevOOo/tests/java/ifc/document/_ImportFilter.java
index a2d0afb809cc..30133010df80 100644
--- a/qadevOOo/tests/java/ifc/document/_ImportFilter.java
+++ b/qadevOOo/tests/java/ifc/document/_ImportFilter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_LinkTarget.java b/qadevOOo/tests/java/ifc/document/_LinkTarget.java
index 166dae9de48e..d588c1421a59 100644
--- a/qadevOOo/tests/java/ifc/document/_LinkTarget.java
+++ b/qadevOOo/tests/java/ifc/document/_LinkTarget.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_OfficeDocument.java b/qadevOOo/tests/java/ifc/document/_OfficeDocument.java
index 71611b09985f..22a3fc0073c2 100644
--- a/qadevOOo/tests/java/ifc/document/_OfficeDocument.java
+++ b/qadevOOo/tests/java/ifc/document/_OfficeDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_Settings.java b/qadevOOo/tests/java/ifc/document/_Settings.java
index 7cd31f5f137c..a644d57df146 100644
--- a/qadevOOo/tests/java/ifc/document/_Settings.java
+++ b/qadevOOo/tests/java/ifc/document/_Settings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ import lib.StatusException;
* Generic test for all properties contained in this service
*/
public class _Settings extends MultiPropertyTest {
-
+
/**
* This property accepts only values in a range of 1-3
* @see com.sun.star.document.PrinterIndependentLayout
@@ -54,21 +54,21 @@ public class _Settings extends MultiPropertyTest {
try{
Short oldVal = (Short) oObj.getPropertyValue("PrinterIndependentLayout");
Short newVal = oldVal.intValue() == 1 ? new Short("3") : new Short("1");
-
-
+
+
testProperty("PrinterIndependentLayout", oldVal, newVal);
-
+
} catch (com.sun.star.beans.UnknownPropertyException e) {
throw new StatusException(Status.failed("the property 'PrinterIndependentLayout' is unknown."));
} catch (com.sun.star.lang.WrappedTargetException e) {
throw new StatusException(Status.failed("the property 'PrinterIndependentLayout' could not be tested."));
}
}
-
+
public void _PrinterName() {
Object[] oServices = null;
Exception ex = null;
-
+
try {
Class cPrinterJob = Class.forName("java.awt.print.PrinterJob");
Method lookupMethod = cPrinterJob.getDeclaredMethod("lookupPrintServices", new Class[0]);
@@ -98,7 +98,7 @@ public class _Settings extends MultiPropertyTest {
// PrintService[] services = PrinterJob.lookupPrintServices();
if (oServices.length > 1) {
- testProperty("PrinterName", getPrinterNameWithReflection(oServices[0]),
+ testProperty("PrinterName", getPrinterNameWithReflection(oServices[0]),
getPrinterNameWithReflection(oServices[1]));
} else {
log.println(
@@ -123,16 +123,16 @@ public class _Settings extends MultiPropertyTest {
//check if the property has the right type
Object pValue = oObj.getPropertyValue("ForbiddenCharacters");
XForbiddenCharacters fc = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
pValue);
res &= (fc != null);
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println(
- "Exception while checking property 'ForbiddenCharacters' " +
+ "Exception while checking property 'ForbiddenCharacters' " +
e.getMessage());
} catch (com.sun.star.lang.WrappedTargetException e) {
log.println(
- "Exception while checking property 'ForbiddenCharacters' " +
+ "Exception while checking property 'ForbiddenCharacters' " +
e.getMessage());
}
@@ -151,7 +151,7 @@ public class _Settings extends MultiPropertyTest {
return res;
}
-
+
private String getPrinterNameWithReflection(Object pService) {
String pName = null;
try {
@@ -159,7 +159,7 @@ public class _Settings extends MultiPropertyTest {
Method getNameMethod = cPrintService.getDeclaredMethod("getName", new Class[0]);
Object retValue = getNameMethod.invoke(pService, new Object[0]);
pName = (String)retValue;
- }
+ }
// ignore all excptions: we already ran into one of these if Java is too old
catch(java.lang.ClassNotFoundException e) {
}
diff --git a/qadevOOo/tests/java/ifc/document/_XActionLockable.java b/qadevOOo/tests/java/ifc/document/_XActionLockable.java
index bfba13d6bb2e..5cfcb5aab072 100644
--- a/qadevOOo/tests/java/ifc/document/_XActionLockable.java
+++ b/qadevOOo/tests/java/ifc/document/_XActionLockable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInfo.java b/qadevOOo/tests/java/ifc/document/_XDocumentInfo.java
index c7b7ec582d1c..d04f0fc66f1a 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInfo.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java b/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
index e227017937c3..d458465b4db9 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInfoSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@ import lib.MultiMethodTest;
*/
public class _XDocumentInfoSupplier extends MultiMethodTest {
public XDocumentInfoSupplier oObj = null;
-
+
public void _getDocumentInfo() {
// returns a com.sun.star.document.DocumentInfo
XDocumentInfo info = oObj.getDocumentInfo();
@@ -50,7 +50,7 @@ public class _XDocumentInfoSupplier extends MultiMethodTest {
e.printStackTrace((java.io.PrintWriter)log);
title = null;
}
- log.println("Got document title: " + title);
+ log.println("Got document title: " + title);
tRes.tested("getDocumentInfo()", title != null);
}
}
diff --git a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
index 76a7be2593dc..98a39a7a2c10 100644
--- a/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
+++ b/qadevOOo/tests/java/ifc/document/_XDocumentInsertable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -169,15 +169,15 @@ public class _XDocumentInsertable extends MultiMethodTest {
ex.printStackTrace(log);
result = false ;
}
-
+
try {
PropertyValue [] szEmptyArgs = new PropertyValue [0];
String docURL = "file:///c:/ThisIsAnInvaldURL";
log.println("Inserting document from URL '" + docURL + "'");
oObj.insertDocumentFromURL(docURL, szEmptyArgs);
-
+
result=false;
-
+
} catch (IOException ex) {
log.println("expected exception was thrown -> ok");
} catch (com.sun.star.lang.IllegalArgumentException ex) {
@@ -187,12 +187,12 @@ public class _XDocumentInsertable extends MultiMethodTest {
tRes.tested("insertDocumentFromURL()", result);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} // finish class _XDocumentInsertable
diff --git a/qadevOOo/tests/java/ifc/document/_XEmbeddedObjectSupplier.java b/qadevOOo/tests/java/ifc/document/_XEmbeddedObjectSupplier.java
index 8a52ed436ef1..c4a26149bdeb 100644
--- a/qadevOOo/tests/java/ifc/document/_XEmbeddedObjectSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XEmbeddedObjectSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XEventBroadcaster.java b/qadevOOo/tests/java/ifc/document/_XEventBroadcaster.java
index 871133307dee..6e507f0618f2 100644
--- a/qadevOOo/tests/java/ifc/document/_XEventBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/document/_XEventBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,48 +36,48 @@ import com.sun.star.frame.XModel;
import com.sun.star.uno.UnoRuntime;
public class _XEventBroadcaster extends MultiMethodTest {
-
+
public XEventBroadcaster oObj;
protected static boolean listenerCalled=false;
private static XEventListener listener=null;
-
+
public class MyEventListener implements XEventListener {
-
+
public void disposing(com.sun.star.lang.EventObject eventObject) {
}
-
+
public void notifyEvent(com.sun.star.document.EventObject eventObject) {
System.out.println("EventObject "+eventObject.EventName);
listenerCalled = true;
}
-
+
}
-
+
private void switchFocus() {
XModel docModel = (XModel) UnoRuntime.queryInterface(
- XModel.class,tEnv.getTestObject());
- docModel.getCurrentController().getFrame().getContainerWindow().setFocus();
- util.utils.shortWait(1000);
+ XModel.class,tEnv.getTestObject());
+ docModel.getCurrentController().getFrame().getContainerWindow().setFocus();
+ util.utils.shortWait(1000);
XController xc = (XController) UnoRuntime.queryInterface(XController.class,tEnv.getObjRelation("CONT2"));
- xc.getFrame().getContainerWindow().setFocus();
+ xc.getFrame().getContainerWindow().setFocus();
}
-
+
public void _addEventListener() {
- listener = new MyEventListener();
- listenerCalled = false;
- oObj.addEventListener(listener);
+ listener = new MyEventListener();
+ listenerCalled = false;
+ oObj.addEventListener(listener);
switchFocus();
util.utils.shortWait(1000);
tRes.tested("addEventListener()",listenerCalled);
}
-
+
public void _removeEventListener() {
- requiredMethod("addEventListener()");
- listenerCalled = false;
+ requiredMethod("addEventListener()");
+ listenerCalled = false;
oObj.removeEventListener(listener);
switchFocus();
- util.utils.shortWait(1000);
- tRes.tested("removeEventListener()",!listenerCalled);
+ util.utils.shortWait(1000);
+ tRes.tested("removeEventListener()",!listenerCalled);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/document/_XEventsSupplier.java b/qadevOOo/tests/java/ifc/document/_XEventsSupplier.java
index daf0ff59d39a..2d07f295523c 100644
--- a/qadevOOo/tests/java/ifc/document/_XEventsSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XEventsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XExporter.java b/qadevOOo/tests/java/ifc/document/_XExporter.java
index 581fe0de7821..c8ea0ad9822d 100644
--- a/qadevOOo/tests/java/ifc/document/_XExporter.java
+++ b/qadevOOo/tests/java/ifc/document/_XExporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XFilter.java b/qadevOOo/tests/java/ifc/document/_XFilter.java
index dfdaa7acd735..49f7f8b3016e 100644
--- a/qadevOOo/tests/java/ifc/document/_XFilter.java
+++ b/qadevOOo/tests/java/ifc/document/_XFilter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ public class _XFilter extends MultiMethodTest {
protected FilterChecker checker = null ;
protected XComponent sourceDoc = null;
protected boolean dummy = false;
-
+
/**
* Retrieves object relations.
* @throws StatusException If one of relations not found.<br>
@@ -85,7 +85,7 @@ public class _XFilter extends MultiMethodTest {
if (name.indexOf("Importer")>0) {
log.println(name+" contains only a dummy implementation");
log.println("therefore all methods are skipped");
- dummy = true;
+ dummy = true;
}
mDesc = (PropertyValue[]) tEnv.getObjRelation("MediaDescriptor") ;
checker = (FilterChecker) tEnv.getObjRelation("XFilter.Checker") ;
@@ -101,11 +101,11 @@ public class _XFilter extends MultiMethodTest {
}
catch (com.sun.star.lang.IllegalArgumentException e) {}
}
-
+
public void after() {
- if (dummy) {
+ if (dummy) {
throw new StatusException(Status.skipped(true));
- }
+ }
}
/**
@@ -119,7 +119,7 @@ public class _XFilter extends MultiMethodTest {
}
boolean result = true ;
result = oObj.filter(mDesc) ;
-
+
if (checker == null) {
log.println("!!! Warning : cann't check filter as no relation found");
} else {
@@ -137,7 +137,7 @@ public class _XFilter extends MultiMethodTest {
if (dummy) {
tRes.tested("cancel()",true);
return;
- }
+ }
requiredMethod("filter()");
if (tEnv.getObjRelation("NoFilter.cancel()") != null) {
System.out.println("Cancel not tested.");
diff --git a/qadevOOo/tests/java/ifc/document/_XImporter.java b/qadevOOo/tests/java/ifc/document/_XImporter.java
index 2296bf5802df..caae1c60b30e 100644
--- a/qadevOOo/tests/java/ifc/document/_XImporter.java
+++ b/qadevOOo/tests/java/ifc/document/_XImporter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java b/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java
index bc2c8da5e68f..6fbbd0c73208 100644
--- a/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XLinkTargetSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XMimeTypeInfo.java b/qadevOOo/tests/java/ifc/document/_XMimeTypeInfo.java
index 02ebd9df736f..b4a7e82c1e2b 100644
--- a/qadevOOo/tests/java/ifc/document/_XMimeTypeInfo.java
+++ b/qadevOOo/tests/java/ifc/document/_XMimeTypeInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java b/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java
index 33996a2f6f5f..b01063c9cfff 100644
--- a/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java
+++ b/qadevOOo/tests/java/ifc/document/_XStandaloneDocumentInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/document/_XTypeDetection.java b/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
index 81342805f4df..b615f2c5df17 100644
--- a/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
+++ b/qadevOOo/tests/java/ifc/document/_XTypeDetection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -106,7 +106,7 @@ public class _XTypeDetection extends MultiMethodTest {
ok = type.indexOf("calc") > -1;
result &= ok;
log.println("deep detection should detect a calc and has detected '"+ type +"': " + ok);
-
+
log.println("test dokument with bookmark: " + bookmarkURL);
mediaDescr = new PropertyValue[1][1];
mediaDescr[0][0] = new PropertyValue();
@@ -116,7 +116,7 @@ public class _XTypeDetection extends MultiMethodTest {
ok = type.indexOf("writer") > -1;
result &= ok;
log.println("deep detection should detect a writer and has detected '"+ type +"': " + ok);
-
+
tRes.tested("queryTypeByDescriptor()", result) ;
}
}
diff --git a/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java b/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java
index 59c159229496..6ff065b53592 100644
--- a/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java
+++ b/qadevOOo/tests/java/ifc/document/_XViewDataSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,7 +36,7 @@ import lib.Status;
/**
* Check the XViewDataSupplier interface.
- * Test idea: take the property values from the index access, change one
+ * Test idea: take the property values from the index access, change one
* property value, put this into the index access and write it back.
* Get the property value again and check that the change made it.
*/
@@ -46,7 +46,7 @@ public class _XViewDataSupplier extends MultiMethodTest {
PropertyValue[] newProps = null;
PropertyValue[] oldProps = null;
String myview = "myview1";
-
+
public void _getViewData() {
xAccess = oObj.getViewData();
// util.dbg.printInterfaces(xAccess);
@@ -55,15 +55,15 @@ public class _XViewDataSupplier extends MultiMethodTest {
}
tRes.tested("getViewData()", true);
}
-
+
public void _setViewData() {
if (xAccess == null) {
log.println("No view data to change available");
tRes.tested("setViewData()", Status.skipped(true));
- }
+ }
else {
// 2do: provide an own implementation of the XIndexAccess to set.
- // this will work without "setViewData()", it just checks that a
+ // this will work without "setViewData()", it just checks that a
// setViewData can be done.
oObj.setViewData(xAccess);
XIndexAccess xAccess2 = oObj.getViewData();
@@ -71,7 +71,7 @@ public class _XViewDataSupplier extends MultiMethodTest {
tRes.tested("setViewData()", newView.equals(myview));
}
}
-
+
private void setViewID(XIndexAccess xAccess, String value) {
XIndexContainer xIndexContainer = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, xAccess);
int count = xAccess.getCount();
@@ -98,7 +98,7 @@ public class _XViewDataSupplier extends MultiMethodTest {
e.printStackTrace((java.io.PrintWriter)log);
}
}
-
+
private String getViewID(XIndexAccess xAccess) {
String retValue = null;
int count = xAccess.getCount();
diff --git a/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
index cfa23536a205..57dfa0f56e18 100644
--- a/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_AreaShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java b/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java
index a4c7441d63e0..9c55c9a3c69a 100644
--- a/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_CaptionShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_ConnectorProperties.java b/qadevOOo/tests/java/ifc/drawing/_ConnectorProperties.java
index 68438641a353..86443f0548d7 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ConnectorProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ConnectorProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java b/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
index 6b9a27841ae5..041e0beb7498 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ConnectorShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
index 509ca7b15a87..21f9b5653db5 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ConnectorShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java
index 29b7be1de0cf..613ca542bcc9 100644
--- a/qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_DimensioningShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_DrawingDocument.java b/qadevOOo/tests/java/ifc/drawing/_DrawingDocument.java
index c74760addd35..0fdf4a3ba122 100644
--- a/qadevOOo/tests/java/ifc/drawing/_DrawingDocument.java
+++ b/qadevOOo/tests/java/ifc/drawing/_DrawingDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
index 23e54d39d2e8..85e1b981f4a6 100644
--- a/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
+++ b/qadevOOo/tests/java/ifc/drawing/_DrawingDocumentDrawView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -149,7 +149,7 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
e.printStackTrace(log);
}
}
-
+
public void _ZoomType() {
Object oldValue=null;
Object newValue=null;
@@ -171,7 +171,7 @@ public class _DrawingDocumentDrawView extends MultiPropertyTest {
log.println("oldZoomValue: "+oldValue);
log.println("newZoomValue: "+newValue);
tRes.tested("ZoomType",(!oldValue.equals(newValue)));
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/ifc/drawing/_EllipseShape.java b/qadevOOo/tests/java/ifc/drawing/_EllipseShape.java
index 5f312f823a97..7c0acbfd22cb 100644
--- a/qadevOOo/tests/java/ifc/drawing/_EllipseShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_EllipseShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_EllipseShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_EllipseShapeDescriptor.java
index c043369b5f29..f51b27035d3d 100644
--- a/qadevOOo/tests/java/ifc/drawing/_EllipseShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_EllipseShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_FillProperties.java b/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
index ba1dc4925664..e0c24398e87c 100644
--- a/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_FillProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java b/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java
index 836abbe75f85..8b39c26f995b 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GenericDrawPage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_GenericDrawingDocument.java b/qadevOOo/tests/java/ifc/drawing/_GenericDrawingDocument.java
index 53afa0cd3cb0..4f787f7543d7 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GenericDrawingDocument.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GenericDrawingDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -29,6 +29,6 @@ package ifc.drawing;
import lib.MultiPropertyTest;
-public class _GenericDrawingDocument extends MultiPropertyTest {
-
+public class _GenericDrawingDocument extends MultiPropertyTest {
+
}
diff --git a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
index 4e2483dc8630..636138e3869b 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -131,7 +131,7 @@ public class _GraphicObjectShape extends MultiPropertyTest {
try {
boolean result = true;
Object imapObject = tEnv.getObjRelation("ImapObject");
-
+
if ( imapObject == null){
System.out.println("ERROR: object relation 'ImapObject' isn't available");
tRes.tested("ImageMap", false);
@@ -148,12 +148,12 @@ public class _GraphicObjectShape extends MultiPropertyTest {
// behind "ImageMap" stays the same, but for a real change a C++
// implementation is needed. See css.lang.XUnoTunnel
oObj.setPropertyValue("ImageMap", xIndexContainer);
- Object newObject = oObj.getPropertyValue("ImageMap");
+ Object newObject = oObj.getPropertyValue("ImageMap");
xIndexContainer = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, newObject);
int elementCountSecond = xIndexContainer.getCount();
result = (elementCountFirst + 1 == elementCountSecond);
-
+
tRes.tested("ImageMap", result);
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println("Exception while checking 'ImageMap'");
diff --git a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
index 21a113fd58f8..82185ffad811 100644
--- a/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_GraphicObjectShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_Layer.java b/qadevOOo/tests/java/ifc/drawing/_Layer.java
index 62ab7ebbdd08..d5cccf4651a1 100644
--- a/qadevOOo/tests/java/ifc/drawing/_Layer.java
+++ b/qadevOOo/tests/java/ifc/drawing/_Layer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
index b6fb1f2186a1..34aa8e4fac60 100644
--- a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -74,7 +74,7 @@ public class _LineProperties extends MultiPropertyTest {
log.println("Testing with custom Property tester");
testProperty("LineStartName", LineTester) ;
}
-
+
public void _LineDash() {
LineDash aLineDash = new LineDash();
LineDash aLineDash2 = new LineDash();
diff --git a/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java
index 1b3ae8920357..4449d96c8976 100644
--- a/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_LineShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_MeasureProperties.java b/qadevOOo/tests/java/ifc/drawing/_MeasureProperties.java
index 6715d6c08e92..4554c31deb43 100644
--- a/qadevOOo/tests/java/ifc/drawing/_MeasureProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_MeasureProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_MeasureShape.java b/qadevOOo/tests/java/ifc/drawing/_MeasureShape.java
index 65b0d32134be..2f9dbfa5d4d3 100644
--- a/qadevOOo/tests/java/ifc/drawing/_MeasureShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_MeasureShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_PolyPolygonBezierDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_PolyPolygonBezierDescriptor.java
index 674444a361c7..22ad4a0ab27f 100644
--- a/qadevOOo/tests/java/ifc/drawing/_PolyPolygonBezierDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_PolyPolygonBezierDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_PolyPolygonDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_PolyPolygonDescriptor.java
index 9b9c1ccbead3..467c745d0b80 100644
--- a/qadevOOo/tests/java/ifc/drawing/_PolyPolygonDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_PolyPolygonDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
index 2a09eeb4dac5..86bc5bcee519 100644
--- a/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_RotationDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,15 +72,15 @@ public class _RotationDescriptor extends MultiPropertyTest {
* Tests the property with custom tester
*/
public void _ShearAngle() {
-
+
Object noShear = tEnv.getObjRelation("NoShear");
-
+
if (noShear != null) {
log.println("This shape type doesn't support shear, see #85556#");
tRes.tested("ShearAngle",Status.skipped(true));
return;
}
-
+
try {
oObj.setPropertyValue("RotateAngle",new Short((short) 0));
} catch (Exception e) {
@@ -92,7 +92,7 @@ public class _RotationDescriptor extends MultiPropertyTest {
/**
* Tests the property with custom tester
*/
- public void _RotateAngle() {
+ public void _RotateAngle() {
log.println("Testing with custom Property tester") ;
testProperty("RotateAngle", drawMeasureTester) ;
}
diff --git a/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
index 00ff64c2a49d..0d335d35b609 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ShadowDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_ShadowProperties.java b/qadevOOo/tests/java/ifc/drawing/_ShadowProperties.java
index 8ea905755992..8dc1baf01b51 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ShadowProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ShadowProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_Shape.java b/qadevOOo/tests/java/ifc/drawing/_Shape.java
index 5a64f7012b88..1595a1a2e3f3 100644
--- a/qadevOOo/tests/java/ifc/drawing/_Shape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_Shape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -107,7 +107,7 @@ public class _Shape extends MultiPropertyTest {
} else if (tEnv.getTestCase().getObjectName().equals("ScShapeObj")) {
log.println("There is only one Layer for ScShapeObj");
log.println("Therefore this property can't be changed");
- tRes.tested("LayerName",true);
+ tRes.tested("LayerName",true);
} else if (tEnv.getTestCase().getObjectName().equals("ScAnnotationShapeObj")) {
log.println("There is only one Layer for ScAnnotationShapeObj");
log.println("Therefore this property can't be changed");
@@ -118,7 +118,7 @@ public class _Shape extends MultiPropertyTest {
} catch (Exception e) {
e.printStackTrace (log);
}
- tRes.tested("LayerName",aName != null);
+ tRes.tested("LayerName",aName != null);
} else {
log.println("Testing with custom Property tester") ;
testProperty("LayerName", StringTester) ;
@@ -129,12 +129,12 @@ public class _Shape extends MultiPropertyTest {
if (tEnv.getTestCase().getObjectName().equals("ScAnnotationShapeObj")) {
log.println("There is only one Layer for ScAnnotationShapeObj");
log.println("Therefore this property can't be changed");
- tRes.tested("ZOrder",true);
+ tRes.tested("ZOrder",true);
} else {
testProperty("ZOrder", new Integer(0), new Integer(1));
}
}
-
+
public void _LayerID() {
if (tEnv.getTestCase().getObjectName().equals("ScAnnotationShapeObj")) {
log.println("There is only one Layer for ScAnnotationShapeObj");
@@ -146,7 +146,7 @@ public class _Shape extends MultiPropertyTest {
} catch (Exception e) {
e.printStackTrace (log);
}
- tRes.tested("LayerID",aID != null);
+ tRes.tested("LayerID",aID != null);
} else {
log.println("Testing with custom Property tester") ;
testProperty("LayerID");
diff --git a/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java
index abeb24bf1e33..9c431b08e10b 100644
--- a/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_ShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_Text.java b/qadevOOo/tests/java/ifc/drawing/_Text.java
index 588ff1efe3c4..8e0cf1891f6e 100644
--- a/qadevOOo/tests/java/ifc/drawing/_Text.java
+++ b/qadevOOo/tests/java/ifc/drawing/_Text.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_TextProperties.java b/qadevOOo/tests/java/ifc/drawing/_TextProperties.java
index e7e8190e4a46..5d63d892eebc 100644
--- a/qadevOOo/tests/java/ifc/drawing/_TextProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_TextProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_TextShape.java b/qadevOOo/tests/java/ifc/drawing/_TextShape.java
index 9fa917bae4a3..98e498634d02 100644
--- a/qadevOOo/tests/java/ifc/drawing/_TextShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_TextShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_TextShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_TextShapeDescriptor.java
index c5651534bf90..13cf5da5b5cf 100644
--- a/qadevOOo/tests/java/ifc/drawing/_TextShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_TextShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java b/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
index 319c5a7c2ee5..7dc3323fd172 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XConnectorShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XControlShape.java b/qadevOOo/tests/java/ifc/drawing/_XControlShape.java
index 7141ce155f3f..2abd8beb85f1 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XControlShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XControlShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java
index 5bbb6560fe59..204f2c639b2e 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPageDuplicator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPageExpander.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPageExpander.java
index 01afaee841c1..baa940f1c8a8 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPageExpander.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPageExpander.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPageSummarizer.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPageSummarizer.java
index fe0d5a9eca77..37a39af23d34 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPageSummarizer.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPageSummarizer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPageSupplier.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPageSupplier.java
index c504e2d864ea..a7738bee2272 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPageSupplier.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPageSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@ import lib.MultiMethodTest;
*/
public class _XDrawPageSupplier extends MultiMethodTest {
public XDrawPageSupplier oObj = null;
-
+
public void _getDrawPage() {
XDrawPage xPage = oObj.getDrawPage();
log.println("xPage: " + util.utils.getImplName(xPage));
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPages.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPages.java
index 078fb1fba876..a6d03cdafe49 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPages.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPages.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawPagesSupplier.java b/qadevOOo/tests/java/ifc/drawing/_XDrawPagesSupplier.java
index 912051db3dcd..fc70ae1cedf6 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawPagesSupplier.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawPagesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XDrawView.java b/qadevOOo/tests/java/ifc/drawing/_XDrawView.java
index 643f68865de6..cd0018d792d5 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XDrawView.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XDrawView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XGluePointsSupplier.java b/qadevOOo/tests/java/ifc/drawing/_XGluePointsSupplier.java
index b0eb03245414..ca647a7cc0ce 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XGluePointsSupplier.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XGluePointsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XLayerManager.java b/qadevOOo/tests/java/ifc/drawing/_XLayerManager.java
index c971df91ee9b..ed4210d50c58 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XLayerManager.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XLayerManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XLayerSupplier.java b/qadevOOo/tests/java/ifc/drawing/_XLayerSupplier.java
index 770abc9c4eba..3dd3e9ff8adc 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XLayerSupplier.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XLayerSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XMasterPageTarget.java b/qadevOOo/tests/java/ifc/drawing/_XMasterPageTarget.java
index 393469bd21e0..6160a1bb42d1 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XMasterPageTarget.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XMasterPageTarget.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XMasterPagesSupplier.java b/qadevOOo/tests/java/ifc/drawing/_XMasterPagesSupplier.java
index 3cf4adae07aa..794493e35b8d 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XMasterPagesSupplier.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XMasterPagesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShape.java b/qadevOOo/tests/java/ifc/drawing/_XShape.java
index e774721c9fdc..c1a6378bfc46 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShape.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -136,7 +136,7 @@ public class _XShape extends MultiMethodTest {
}
Size gSize = oObj.getSize() ;
-
+
log.println("Previously: "+sOld.Height+";"+sOld.Width);
log.println("Expected: "+sNew.Height+";"+sNew.Width);
log.println("Getting: "+gSize.Height+";"+gSize.Width);
@@ -144,7 +144,7 @@ public class _XShape extends MultiMethodTest {
//result &= util.ValueComparer.equalValue(sNew, gSize) ;
//errors in calculation from points/twips less then 1 are acceptable
result &= (sNew.Height-gSize.Height <= 2) && (sNew.Width-gSize.Width <= 2);
-
+
if (result && ((sNew.Height-gSize.Height != 0) || (sNew.Width-gSize.Width != 0))){
log.println("NOTE: there is a difference between the expected and the getted value. " +
"This might be ok because of problems in calculation from points <-> twips");
@@ -179,11 +179,11 @@ public class _XShape extends MultiMethodTest {
oObj.setPosition(pNew);
Point gPos = oObj.getPosition() ;
-
+
log.println("Previously: "+pOld.X+";"+pOld.Y);
log.println("Expected: "+pNew.X+";"+pNew.Y);
log.println("Getting: "+gPos.X+";"+gPos.Y);
-
+
result = !util.ValueComparer.equalValue(pOld, gPos) ;
tRes.tested("setPosition()", result);
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeBinder.java b/qadevOOo/tests/java/ifc/drawing/_XShapeBinder.java
index d150aa986815..93326c756210 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeBinder.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeBinder.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java b/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java
index f83025c08a84..6c22a42614b9 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeCombiner.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java b/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
index 6ebcc1897402..89291f222464 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeGroup.java b/qadevOOo/tests/java/ifc/drawing/_XShapeGroup.java
index 5c7dd2d724f4..aa5dfb60ddd7 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeGroup.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeGroup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapeGrouper.java b/qadevOOo/tests/java/ifc/drawing/_XShapeGrouper.java
index 9831886ca7c2..251e6ab6b66d 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapeGrouper.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapeGrouper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/drawing/_XShapes.java b/qadevOOo/tests/java/ifc/drawing/_XShapes.java
index a28833819e09..b5f7e4e02b4a 100644
--- a/qadevOOo/tests/java/ifc/drawing/_XShapes.java
+++ b/qadevOOo/tests/java/ifc/drawing/_XShapes.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
index a43eaf6f53e8..7578975a3a2b 100644
--- a/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
+++ b/qadevOOo/tests/java/ifc/form/_DataAwareControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_FormComponent.java b/qadevOOo/tests/java/ifc/form/_FormComponent.java
index 094edfea935e..aa8ca1e37a78 100644
--- a/qadevOOo/tests/java/ifc/form/_FormComponent.java
+++ b/qadevOOo/tests/java/ifc/form/_FormComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_FormControlModel.java b/qadevOOo/tests/java/ifc/form/_FormControlModel.java
index b33b70cfd1d5..749fc911a559 100644
--- a/qadevOOo/tests/java/ifc/form/_FormControlModel.java
+++ b/qadevOOo/tests/java/ifc/form/_FormControlModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
index fc7112312b44..b977764d0d63 100644
--- a/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XApproveActionBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XBoundComponent.java b/qadevOOo/tests/java/ifc/form/_XBoundComponent.java
index a95dd18649a5..d6c7e0c23dbe 100644
--- a/qadevOOo/tests/java/ifc/form/_XBoundComponent.java
+++ b/qadevOOo/tests/java/ifc/form/_XBoundComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XBoundControl.java b/qadevOOo/tests/java/ifc/form/_XBoundControl.java
index 0015c812ff3b..8303447e75ae 100644
--- a/qadevOOo/tests/java/ifc/form/_XBoundControl.java
+++ b/qadevOOo/tests/java/ifc/form/_XBoundControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
index e4ad44e55185..a55e44325ea0 100644
--- a/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XChangeBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -158,7 +158,7 @@ public class _XChangeBroadcaster extends MultiMethodTest {
requiredMethod("addChangeListener()");
changed = false;
log.println("Testing removeChangeListener ...");
- oObj.addChangeListener( listener );
+ oObj.addChangeListener( listener );
XWindow win2 = (XWindow) tEnv.getObjRelation("Win2");
win2.setFocus();
diff --git a/qadevOOo/tests/java/ifc/form/_XConfirmDeleteBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XConfirmDeleteBroadcaster.java
index 89359e331157..957dafe6ff4c 100644
--- a/qadevOOo/tests/java/ifc/form/_XConfirmDeleteBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XConfirmDeleteBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,9 +51,9 @@ import lib.MultiMethodTest;
public class _XConfirmDeleteBroadcaster extends MultiMethodTest {
public XConfirmDeleteBroadcaster oObj = null;
protected boolean confirmed = false;
- protected XConfirmDeleteListener mxConfirmDeleteListener =
+ protected XConfirmDeleteListener mxConfirmDeleteListener =
new ConfirmDeleteImpl();
-
+
private class ConfirmDeleteImpl implements XConfirmDeleteListener {
public boolean confirmDelete(RowChangeEvent rowChangeEvent) {
confirmed = true;
@@ -62,12 +62,12 @@ public class _XConfirmDeleteBroadcaster extends MultiMethodTest {
public void disposing(EventObject eventObject) {
}
}
-
+
protected void addConfirmDeleteListener() {
oObj.addConfirmDeleteListener(mxConfirmDeleteListener);
tRes.tested("addConfirmDeleteListener()", true);
}
-
+
protected void removeConfirmDeleteListener() {
oObj.removeConfirmDeleteListener(mxConfirmDeleteListener);
tRes.tested("removeConfirmDeleteListener()", true);
diff --git a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
index c7c9e69bea38..cbc75e7a4a97 100755
--- a/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XDatabaseParameterBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,11 +37,11 @@ import lib.MultiMethodTest;
*
*/
public class _XDatabaseParameterBroadcaster extends MultiMethodTest {
-
+
// oObj filled by MultiMethodTest
public XDatabaseParameterBroadcaster oObj = null ;
private CheckParameterListener listenerChecker = null;
-
+
/**
* Interface to implement so the call of the listener can be checked.
*/
@@ -66,19 +66,19 @@ public class _XDatabaseParameterBroadcaster extends MultiMethodTest {
tEnv.getObjRelation("ParameterListenerChecker");
listenerChecker.setLog((PrintWriter)log);
}
-
+
/**
*/
public void _addParameterListener() {
oObj.addParameterListener(listenerChecker);
tRes.tested("addParameterListener()", true);
}
-
+
/**
*/
public void _removeParameterListener() {
requiredMethod("addParameterListener()");
-
+
// trigger the action.
try {
XRowSet xRowSet = (XRowSet)UnoRuntime.queryInterface(XRowSet.class, oObj);
@@ -93,7 +93,7 @@ public class _XDatabaseParameterBroadcaster extends MultiMethodTest {
oObj.removeParameterListener(listenerChecker);
tRes.tested("removeParameterListener()", listenerChecker.checkListener());
}
-
+
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/_XFormController.java b/qadevOOo/tests/java/ifc/form/_XFormController.java
index 1fa0c93f868b..5f9ebd8b1eb7 100644
--- a/qadevOOo/tests/java/ifc/form/_XFormController.java
+++ b/qadevOOo/tests/java/ifc/form/_XFormController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XFormsSupplier.java b/qadevOOo/tests/java/ifc/form/_XFormsSupplier.java
index 1a8083413d6e..c50d7e41c90c 100644
--- a/qadevOOo/tests/java/ifc/form/_XFormsSupplier.java
+++ b/qadevOOo/tests/java/ifc/form/_XFormsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,14 +31,14 @@ import com.sun.star.container.XNameContainer;
public class _XFormsSupplier extends lib.MultiMethodTest {
- public com.sun.star.form.XFormsSupplier oObj = null;
+ public com.sun.star.form.XFormsSupplier oObj = null;
public void _getForms() {
XNameContainer forms = oObj.getForms();
if (!forms.hasElements()) {
log.println("NameContainer doesn't contain forms");
}
- tRes.tested("getForms()",forms.hasElements());
+ tRes.tested("getForms()",forms.hasElements());
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/form/_XGrid.java b/qadevOOo/tests/java/ifc/form/_XGrid.java
index 92b7332ef74a..8de0741dc357 100644
--- a/qadevOOo/tests/java/ifc/form/_XGrid.java
+++ b/qadevOOo/tests/java/ifc/form/_XGrid.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java b/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java
index 4128b26847d2..707fac8cacd5 100644
--- a/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java
+++ b/qadevOOo/tests/java/ifc/form/_XGridColumnFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java b/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java
index c3968a7e21ab..269d3c91d381 100644
--- a/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java
+++ b/qadevOOo/tests/java/ifc/form/_XGridFieldDataSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XImageProducerSupplier.java b/qadevOOo/tests/java/ifc/form/_XImageProducerSupplier.java
index 63495f353872..1f794560c4ab 100644
--- a/qadevOOo/tests/java/ifc/form/_XImageProducerSupplier.java
+++ b/qadevOOo/tests/java/ifc/form/_XImageProducerSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XLoadListener.java b/qadevOOo/tests/java/ifc/form/_XLoadListener.java
index fffc9c1178db..97cba4d7985b 100644
--- a/qadevOOo/tests/java/ifc/form/_XLoadListener.java
+++ b/qadevOOo/tests/java/ifc/form/_XLoadListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XLoadable.java b/qadevOOo/tests/java/ifc/form/_XLoadable.java
index 347a3b7dc870..d04bf79e4555 100644
--- a/qadevOOo/tests/java/ifc/form/_XLoadable.java
+++ b/qadevOOo/tests/java/ifc/form/_XLoadable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -239,7 +239,7 @@ public class _XLoadable extends MultiMethodTest {
tRes.tested("removeLoadListener()", result) ;
}
-
+
protected void after() {
disposeEnvironment();
}
diff --git a/qadevOOo/tests/java/ifc/form/_XReset.java b/qadevOOo/tests/java/ifc/form/_XReset.java
index 324df29e9976..2a5ac373cce8 100644
--- a/qadevOOo/tests/java/ifc/form/_XReset.java
+++ b/qadevOOo/tests/java/ifc/form/_XReset.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/_XSubmit.java b/qadevOOo/tests/java/ifc/form/_XSubmit.java
index 0a7fd40f6e0c..bde221c4e11f 100644
--- a/qadevOOo/tests/java/ifc/form/_XSubmit.java
+++ b/qadevOOo/tests/java/ifc/form/_XSubmit.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -179,13 +179,13 @@ public class _XSubmit extends MultiMethodTest {
log.println("While waiting :" + e) ;
}
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
index 4a527a5d98f1..67c782037295 100644
--- a/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/form/_XUpdateBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -235,14 +235,14 @@ public class _XUpdateBroadcaster extends MultiMethodTest {
}
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseCheckBox.java b/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseCheckBox.java
index ba88f052b6d2..e8025e63ebd4 100644
--- a/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseCheckBox.java
+++ b/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseCheckBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,6 +31,6 @@ package ifc.form.binding;
import lib.MultiPropertyTest;
public class _BindableDatabaseCheckBox extends MultiPropertyTest
-{
-
+{
+
}
diff --git a/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseRadioButton.java b/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseRadioButton.java
index e5c490201c55..c6fe6baf2efe 100644
--- a/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseRadioButton.java
+++ b/qadevOOo/tests/java/ifc/form/binding/_BindableDatabaseRadioButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,6 +31,6 @@ package ifc.form.binding;
import lib.MultiPropertyTest;
public class _BindableDatabaseRadioButton extends MultiPropertyTest
-{
-
+{
+
}
diff --git a/qadevOOo/tests/java/ifc/form/binding/_XBindableValue.java b/qadevOOo/tests/java/ifc/form/binding/_XBindableValue.java
index d8ecf916965b..dc895edef8ae 100644
--- a/qadevOOo/tests/java/ifc/form/binding/_XBindableValue.java
+++ b/qadevOOo/tests/java/ifc/form/binding/_XBindableValue.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -104,7 +104,7 @@ public class _XBindableValue extends MultiMethodTest {
}
public void setValue(Object obj)
- throws com.sun.star.form.binding.IncompatibleTypesException,
+ throws com.sun.star.form.binding.IncompatibleTypesException,
com.sun.star.lang.NoSupportException {
}
diff --git a/qadevOOo/tests/java/ifc/form/component/_CheckBox.java b/qadevOOo/tests/java/ifc/form/component/_CheckBox.java
index a35a5318203b..7ccee9121742 100644
--- a/qadevOOo/tests/java/ifc/form/component/_CheckBox.java
+++ b/qadevOOo/tests/java/ifc/form/component/_CheckBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_ComboBox.java b/qadevOOo/tests/java/ifc/form/component/_ComboBox.java
index 6e81cf0718c2..22c66d713b5b 100644
--- a/qadevOOo/tests/java/ifc/form/component/_ComboBox.java
+++ b/qadevOOo/tests/java/ifc/form/component/_ComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_CommandButton.java b/qadevOOo/tests/java/ifc/form/component/_CommandButton.java
index 88e2161bf5de..d70a51eb284c 100644
--- a/qadevOOo/tests/java/ifc/form/component/_CommandButton.java
+++ b/qadevOOo/tests/java/ifc/form/component/_CommandButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java b/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
index d5395baebc30..f28ac4196c74 100644
--- a/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_CurrencyField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DataForm.java b/qadevOOo/tests/java/ifc/form/component/_DataForm.java
index 2562994ec32a..88cc991e3b11 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DataForm.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DataForm.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseComboBox.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseComboBox.java
index 255153b2e0f0..97bc9178de95 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseComboBox.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseComboBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
index 6201f3cbe407..5a6ff6becfb6 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseForm.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseFormattedField.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseFormattedField.java
index 0e7cf7e499ac..04f4d56a6926 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseFormattedField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseFormattedField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseImageControl.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseImageControl.java
index 8953e68263b5..d34d774fc09b 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseImageControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseImageControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseListBox.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseListBox.java
index 2b2bcd9f28ff..14a73206a4a7 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseListBox.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabasePatternField.java b/qadevOOo/tests/java/ifc/form/component/_DatabasePatternField.java
index cedad761180d..b16cdd00d8c0 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabasePatternField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabasePatternField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DatabaseTextField.java b/qadevOOo/tests/java/ifc/form/component/_DatabaseTextField.java
index 2ff48480d0e7..b82a60f038ab 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DatabaseTextField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DatabaseTextField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_DateField.java b/qadevOOo/tests/java/ifc/form/component/_DateField.java
index 4241b543d1d3..cb020595d796 100644
--- a/qadevOOo/tests/java/ifc/form/component/_DateField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_DateField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_FileControl.java b/qadevOOo/tests/java/ifc/form/component/_FileControl.java
index 9b73a1d995d5..5aea1454f06d 100644
--- a/qadevOOo/tests/java/ifc/form/component/_FileControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_FileControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_FormattedField.java b/qadevOOo/tests/java/ifc/form/component/_FormattedField.java
index e75f212edbef..8ed7517fc7dd 100644
--- a/qadevOOo/tests/java/ifc/form/component/_FormattedField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_FormattedField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_GridControl.java b/qadevOOo/tests/java/ifc/form/component/_GridControl.java
index 58412dc4667d..685867bf98f0 100644
--- a/qadevOOo/tests/java/ifc/form/component/_GridControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_GridControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -83,7 +83,7 @@ public class _GridControl extends MultiPropertyTest {
}
}) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
* new value must be specified.
diff --git a/qadevOOo/tests/java/ifc/form/component/_HTMLForm.java b/qadevOOo/tests/java/ifc/form/component/_HTMLForm.java
index d592a979706c..a2d750c9d813 100644
--- a/qadevOOo/tests/java/ifc/form/component/_HTMLForm.java
+++ b/qadevOOo/tests/java/ifc/form/component/_HTMLForm.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_HiddenControl.java b/qadevOOo/tests/java/ifc/form/component/_HiddenControl.java
index 3e895e9aa2c2..33d34d8c855e 100644
--- a/qadevOOo/tests/java/ifc/form/component/_HiddenControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_HiddenControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_ImageButton.java b/qadevOOo/tests/java/ifc/form/component/_ImageButton.java
index 772d41c23ab0..2a51c2bcab69 100644
--- a/qadevOOo/tests/java/ifc/form/component/_ImageButton.java
+++ b/qadevOOo/tests/java/ifc/form/component/_ImageButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_ListBox.java b/qadevOOo/tests/java/ifc/form/component/_ListBox.java
index 12cb1c9a5808..ffa807c586ba 100644
--- a/qadevOOo/tests/java/ifc/form/component/_ListBox.java
+++ b/qadevOOo/tests/java/ifc/form/component/_ListBox.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java b/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
index 0b4714d74cbb..61c1b4a75d50 100644
--- a/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
+++ b/qadevOOo/tests/java/ifc/form/component/_NavigationToolBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,7 +30,7 @@ package ifc.form.component;
import lib.MultiPropertyTest;
public class _NavigationToolBar extends MultiPropertyTest {
-
+
public void _TextColor() {
testProperty("TextColor", new PropertyTester() {
protected Object getNewValue(String prop, Object old) {
@@ -38,8 +38,8 @@ public class _NavigationToolBar extends MultiPropertyTest {
super.getNewValue(prop, old) ;
}
}) ;
- }
-
+ }
+
public void _TextLineColor() {
testProperty("TextLineColor", new PropertyTester() {
protected Object getNewValue(String prop, Object old) {
@@ -47,6 +47,6 @@ public class _NavigationToolBar extends MultiPropertyTest {
super.getNewValue(prop, old) ;
}
}) ;
- }
-
+ }
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/form/component/_NumericField.java b/qadevOOo/tests/java/ifc/form/component/_NumericField.java
index 12eb31bab662..69e0ec8fbd73 100644
--- a/qadevOOo/tests/java/ifc/form/component/_NumericField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_NumericField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_PatternField.java b/qadevOOo/tests/java/ifc/form/component/_PatternField.java
index 67a109e28b4d..c5d75c6c0f2b 100644
--- a/qadevOOo/tests/java/ifc/form/component/_PatternField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_PatternField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_RadioButton.java b/qadevOOo/tests/java/ifc/form/component/_RadioButton.java
index 44e0ef9f7ed0..7387bcf3450b 100644
--- a/qadevOOo/tests/java/ifc/form/component/_RadioButton.java
+++ b/qadevOOo/tests/java/ifc/form/component/_RadioButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_RichTextControl.java b/qadevOOo/tests/java/ifc/form/component/_RichTextControl.java
index e154930b4336..25c5653a8a60 100644
--- a/qadevOOo/tests/java/ifc/form/component/_RichTextControl.java
+++ b/qadevOOo/tests/java/ifc/form/component/_RichTextControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,5 +30,5 @@ package ifc.form.component;
import lib.MultiPropertyTest;
public class _RichTextControl extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/form/component/_ScrollBar.java b/qadevOOo/tests/java/ifc/form/component/_ScrollBar.java
index d2038667dd95..3197ca957e84 100644
--- a/qadevOOo/tests/java/ifc/form/component/_ScrollBar.java
+++ b/qadevOOo/tests/java/ifc/form/component/_ScrollBar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -29,6 +29,6 @@ package ifc.form.component;
import lib.MultiPropertyTest;
-public class _ScrollBar extends MultiPropertyTest{
-
+public class _ScrollBar extends MultiPropertyTest{
+
}
diff --git a/qadevOOo/tests/java/ifc/form/component/_SpinButton.java b/qadevOOo/tests/java/ifc/form/component/_SpinButton.java
index 1564705b004b..dfd279582a34 100644
--- a/qadevOOo/tests/java/ifc/form/component/_SpinButton.java
+++ b/qadevOOo/tests/java/ifc/form/component/_SpinButton.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,5 +30,5 @@ package ifc.form.component;
import lib.MultiPropertyTest;
public class _SpinButton extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/form/component/_TextField.java b/qadevOOo/tests/java/ifc/form/component/_TextField.java
index 1b552e184b19..a04cf25db8af 100644
--- a/qadevOOo/tests/java/ifc/form/component/_TextField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_TextField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/component/_TimeField.java b/qadevOOo/tests/java/ifc/form/component/_TimeField.java
index 70dc2a75720b..19e4deeae2d8 100644
--- a/qadevOOo/tests/java/ifc/form/component/_TimeField.java
+++ b/qadevOOo/tests/java/ifc/form/component/_TimeField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/submission/_XSubmission.java b/qadevOOo/tests/java/ifc/form/submission/_XSubmission.java
index 14c8b37be71d..a4788be7f97d 100644
--- a/qadevOOo/tests/java/ifc/form/submission/_XSubmission.java
+++ b/qadevOOo/tests/java/ifc/form/submission/_XSubmission.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/submission/_XSubmissionSupplier.java b/qadevOOo/tests/java/ifc/form/submission/_XSubmissionSupplier.java
index dc003235e8b9..5b033752befb 100644
--- a/qadevOOo/tests/java/ifc/form/submission/_XSubmissionSupplier.java
+++ b/qadevOOo/tests/java/ifc/form/submission/_XSubmissionSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatable.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatable.java
index bc0b30a4f1d1..4db33af162d3 100644
--- a/qadevOOo/tests/java/ifc/form/validation/_XValidatable.java
+++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
index 2a7e989418b2..bc3fe69df914 100644
--- a/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
+++ b/qadevOOo/tests/java/ifc/form/validation/_XValidatableFormComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -137,7 +137,7 @@ public class _XValidatableFormComponent extends MultiMethodTest
// System.out.println("Name: "+testPropsNames[i]);
// System.out.println("OldValue: "+oldValue);
// System.out.println("NewValue: "+newValue);
- // System.out.println("#############################################");
+ // System.out.println("#############################################");
}
try
@@ -159,7 +159,7 @@ public class _XValidatableFormComponent extends MultiMethodTest
log.println("Exception occured while setting properties");
e.printStackTrace(log);
}
- // end of try-catch
+ // end of try-catch
}
//Get the properties being tested
diff --git a/qadevOOo/tests/java/ifc/form/validation/_XValidityConstraintListener.java b/qadevOOo/tests/java/ifc/form/validation/_XValidityConstraintListener.java
index 055a3da4478b..3c1ed61b7c9f 100644
--- a/qadevOOo/tests/java/ifc/form/validation/_XValidityConstraintListener.java
+++ b/qadevOOo/tests/java/ifc/form/validation/_XValidityConstraintListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,20 +42,20 @@ public class _XValidityConstraintListener extends MultiMethodTest {
boolean res = false;
try {
XValidatable xValidatable = (XValidatable) UnoRuntime.queryInterface(
- XValidatable.class,
+ XValidatable.class,
tEnv.getTestObject());
log.println("adding Validator");
XValidator xValidator = new MyValidator();
- xValidatable.setValidator(xValidator);
+ xValidatable.setValidator(xValidator);
ValidatorCalled = false;
-
+
log.println("calling validityConstraintChanged()");
oObj.validityConstraintChanged(
new com.sun.star.lang.EventObject());
res = ValidatorCalled;
} catch (com.sun.star.util.VetoException e) {
- e.printStackTrace();
+ e.printStackTrace();
}
tRes.tested("validityConstraintChanged()",res);
}
diff --git a/qadevOOo/tests/java/ifc/formula/_FormulaProperties.java b/qadevOOo/tests/java/ifc/formula/_FormulaProperties.java
index f78b6b024771..6f6f412c7ede 100644
--- a/qadevOOo/tests/java/ifc/formula/_FormulaProperties.java
+++ b/qadevOOo/tests/java/ifc/formula/_FormulaProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_Desktop.java b/qadevOOo/tests/java/ifc/frame/_Desktop.java
index 1e608f73fe8d..f930c5396974 100644
--- a/qadevOOo/tests/java/ifc/frame/_Desktop.java
+++ b/qadevOOo/tests/java/ifc/frame/_Desktop.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_Frame.java b/qadevOOo/tests/java/ifc/frame/_Frame.java
index a389bb17d242..34787b5c5c72 100644
--- a/qadevOOo/tests/java/ifc/frame/_Frame.java
+++ b/qadevOOo/tests/java/ifc/frame/_Frame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_FrameLoader.java b/qadevOOo/tests/java/ifc/frame/_FrameLoader.java
index 06ffd1c4b358..e55ec835a8b9 100644
--- a/qadevOOo/tests/java/ifc/frame/_FrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_FrameLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java
index 259cd21d9afa..7d011edd59c1 100644
--- a/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_SynchronousFrameLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java
index 39e7a0b9bb49..0149b8682800 100644
--- a/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XComponentLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,7 +62,7 @@ public class _XComponentLoader extends MultiMethodTest {
PropertyValue [] szEmptyArgs = new PropertyValue [0];
String frameName = "_blank";
XComponent oDoc = null;
-
+
log.println("load writer doc that contains links");
PropertyValue [] szArgs = new PropertyValue [1];
PropertyValue Arg = new PropertyValue();
@@ -73,30 +73,30 @@ public class _XComponentLoader extends MultiMethodTest {
log.println("try to load '" + url + "'");
oDoc = oObj.loadComponentFromURL(
url, frameName, 0, szArgs);
-
- try {
+
+ try {
Thread.sleep(500);
}
catch (InterruptedException ex) {
- }
-
+ }
+
oDoc.dispose();
-
+
url = util.utils.getFullTestURL("Calc_Link.sxc");
log.println("try to load '" + url + "'");
oDoc = oObj.loadComponentFromURL(
url, frameName, 0, szArgs);
-
- try {
+
+ try {
Thread.sleep(500);
}
catch (InterruptedException ex) {
- }
-
- oDoc.dispose();
-
-
-
+ }
+
+ oDoc.dispose();
+
+
+
log.println("load a blank impress doc");
Arg.Name = "OpenFlags";
Arg.Value = "S";
diff --git a/qadevOOo/tests/java/ifc/frame/_XController.java b/qadevOOo/tests/java/ifc/frame/_XController.java
index dd2afe4ca825..7105622ef893 100644
--- a/qadevOOo/tests/java/ifc/frame/_XController.java
+++ b/qadevOOo/tests/java/ifc/frame/_XController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XDesktop.java b/qadevOOo/tests/java/ifc/frame/_XDesktop.java
index 996cc5af1ae9..a3e99723870c 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDesktop.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDesktop.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatch.java b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
index 6fad036bec57..3f760dded161 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -120,8 +120,8 @@ public class _XDispatch extends MultiMethodTest {
TestNotificationListener notificationListener = null;
URL url = null ;
- /**
- * Not all implementations could call the
+ /**
+ * Not all implementations could call the
* <code>com.sun.star.frame.XStatusListener</code>. For this purposes the
* <code>com.sun.star.frame.XDispatchWithNotification</code> was designed.
* If <code>com.sun.star.frame.XStatusListener</code> was not called and
@@ -130,13 +130,13 @@ public class _XDispatch extends MultiMethodTest {
*/
private boolean checkXDispatchWithNotification()
{
- XNotifyingDispatch xND = (XNotifyingDispatch)
+ XNotifyingDispatch xND = (XNotifyingDispatch)
UnoRuntime.queryInterface(XNotifyingDispatch.class, oObj);
if ( xND != null) {
log.println(" XNotifyingDispatch found:");
- PropertyValue[] arguments = (PropertyValue[])
+ PropertyValue[] arguments = (PropertyValue[])
tEnv.getObjRelation("XNotifyingDispatchArgument");
-
+
notificationListener = new TestNotificationListener(log) ;
xND.dispatchWithNotification(url, arguments, notificationListener);
@@ -151,7 +151,7 @@ public class _XDispatch extends MultiMethodTest {
} else {
return false;
}
-
+
}
/**
* Retrieves object relations and creates new listeners.
@@ -189,9 +189,9 @@ public class _XDispatch extends MultiMethodTest {
catch(java.lang.InterruptedException e) {}
log.println("Listener called: "+ listener.statusChangedCalled);
-
+
result = listener.statusChangedCalled;
-
+
if (result == false) {
result = checkXDispatchWithNotification();
}
@@ -234,9 +234,9 @@ public class _XDispatch extends MultiMethodTest {
catch(java.lang.InterruptedException e) {}
System.out.println("Listener called: "+ listener.statusChangedCalled);
-
+
result = ! listener.statusChangedCalled;
-
+
tRes.tested("removeStatusListener()", result) ;
}
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java b/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
index d3091201070d..39f4849eda95 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java b/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
index 549731315d7c..5455ab227e5d 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchProviderInterception.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
index 0b1cd3afd430..b6e73a80d246 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,18 +70,18 @@ public class _XDispatchRecorder extends MultiMethodTest {
}
public void _startRecording() {
-
+
oObj.startRecording(xFrame);
oObj.endRecording();
tRes.tested("startRecording()", true);
}
public void _getRecordedMacro() {
-
+
clearBuffer();
-
+
oObj.startRecording(xFrame);
-
+
log.println("dispatch calles via API must be recorded");
dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
@@ -109,12 +109,12 @@ public class _XDispatchRecorder extends MultiMethodTest {
&& macro.indexOf(dispURL.Complete) > -1;
if (!res) log.println("Dispatch URL '" + dispURL.Complete
+ "' was NOT found in macro - FAILED");
-
+
tRes.tested("getRecordedMacro()", res);
}
public void _endRecording() {
-
+
oObj.startRecording(xFrame);
oObj.endRecording();
String macro = oObj.getRecordedMacro();
@@ -124,16 +124,16 @@ public class _XDispatchRecorder extends MultiMethodTest {
log.println(macro);
res = false;
}
-
+
tRes.tested("endRecording()", res);
}
public void _recordDispatch() {
clearBuffer();
-
+
oObj.startRecording(xFrame);
- // positve test
+ // positve test
dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
@@ -149,7 +149,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
log.println(macro);
oObj.endRecording();
-
+
boolean res = macro != null
&& macro.indexOf(dispURL.Complete) > -1
&& macro.indexOf((String)dispArgs[0].Value) > -1;
@@ -162,9 +162,9 @@ public class _XDispatchRecorder extends MultiMethodTest {
public void _recordDispatchAsComment() {
clearBuffer();
-
+
oObj.startRecording(xFrame);
-
+
dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText");
PropertyValue prop = new PropertyValue();
@@ -178,7 +178,7 @@ public class _XDispatchRecorder extends MultiMethodTest {
log.println("Getting macro ... :");
String macro = oObj.getRecordedMacro();
log.println(macro);
-
+
oObj.endRecording();
boolean res = macro != null
@@ -204,13 +204,13 @@ public class _XDispatchRecorder extends MultiMethodTest {
tRes.tested("recordDispatchAsComment()", res);
}
-
+
private void shortWait() {
try {
Thread.sleep(500);
} catch (InterruptedException ex) {}
}
-
+
private void clearBuffer() {
oObj.startRecording(xFrame);
oObj.endRecording();
@@ -220,5 +220,5 @@ public class _XDispatchRecorder extends MultiMethodTest {
log.println(macro);
}
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
index b6c1f06c5a7e..f89edf56426a 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorderSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -194,7 +194,7 @@ public class _XDispatchRecorderSupplier extends MultiMethodTest {
UnoRuntime.queryInterface(XDispatchProvider.class, fr);
URL dispURL = utils.parseURL((XMultiServiceFactory) tParam.getMSF(), ".uno:InsertText");
-
+
XDispatch xDisp = xDispProv.queryDispatch(dispURL,"",0);
PropertyValue[] args = new PropertyValue[1];
diff --git a/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java b/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java
index 5bd47fa83904..7aee5f6eb47e 100644
--- a/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java
+++ b/qadevOOo/tests/java/ifc/frame/_XDocumentTemplates.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrame.java b/qadevOOo/tests/java/ifc/frame/_XFrame.java
index aaf59e61ee59..12beaccc011a 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrame.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -290,7 +290,7 @@ public class _XFrame extends MultiMethodTest {
boolean result = true;
XWindow win = oObj.getComponentWindow() ;
-
+
if (tEnv.getTestCase().getObjectName().equals("Desktop")) {
log.println("Desktop has no component window");
tRes.tested("getComponentWindow()", true) ;
@@ -503,7 +503,7 @@ public class _XFrame extends MultiMethodTest {
requiredMethod("setCreator()") ;
boolean result = true;
-
+
XWindow oldWindow = oObj.getComponentWindow();
XController oldController = oObj.getController();
boolean rs = oObj.setComponent(null, null);
@@ -527,10 +527,10 @@ public class _XFrame extends MultiMethodTest {
/**
* Test calls the method. <p>
* 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
* 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.
* The following method tests are to be completed successfully before :
* <ul>
@@ -553,7 +553,7 @@ public class _XFrame extends MultiMethodTest {
log.println(e.toString());
bOK=false;
}
-
+
}
tRes.tested("initialize()", bOK) ;
}
@@ -573,7 +573,7 @@ public class _XFrame extends MultiMethodTest {
return false;
}
}
-
+
/**
* Forces environment recreation.
*/
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java b/qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java
index b95e438972ac..bf74de351059 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrameActionListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,10 +32,10 @@ import com.sun.star.frame.XFrameActionListener;
import lib.MultiMethodTest;
public class _XFrameActionListener extends MultiMethodTest {
-
+
public XFrameActionListener oObj = null;
-
+
public void _frameAction() {
FrameActionEvent event = new FrameActionEvent();
oObj.frameAction(event);
diff --git a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
index a914d3e711b9..f386667de545 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFrameLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
index bd6bcd7a4f86..ffb34939a793 100644
--- a/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
+++ b/qadevOOo/tests/java/ifc/frame/_XFramesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -172,7 +172,7 @@ public class _XFramesSupplier extends MultiMethodTest {
new Type(XFrame.class),frames.getByIndex(0));
} catch (com.sun.star.lang.IllegalArgumentException iae) {
log.println("Can't convert any");
- }
+ }
else
try {
sFrame = (XFrame) AnyConverter.toObject(
diff --git a/qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java b/qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java
index 2d644d2b2391..74d9e42efa55 100644
--- a/qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java
+++ b/qadevOOo/tests/java/ifc/frame/_XInplaceLayout.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ public class _XInplaceLayout extends MultiMethodTest {
// oObj.setInplaceMenuBar(l);
tRes.tested("setInplaceMenuBar()", true);
}
-
+
public void _resetInplaceMenuBar() {
requiredMethod("setInplaceMenuBar()");
oObj.resetInplaceMenuBar();
diff --git a/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java b/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
index 34fd55182e92..24ef9d4eee12 100644
--- a/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
+++ b/qadevOOo/tests/java/ifc/frame/_XLayoutManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,14 +39,14 @@ import util.utils;
public class _XLayoutManager extends MultiMethodTest {
public XLayoutManager oObj = null;
-
+
private XFrame xFrame = null;
private String sElementName = "private:resource/menubar/myMenu";
-
+
public void before() {
xFrame = (XFrame)tEnv.getObjRelation("XLayoutManager.Frame");
}
-
+
public void _attachFrame() {
oObj.attachFrame(xFrame);
tRes.tested("attachFrame()", true);
@@ -57,19 +57,19 @@ public class _XLayoutManager extends MultiMethodTest {
oObj.createElement(sElementName);
tRes.tested("createElement()", true);
}
-
+
public void _destroyElement() {
requiredMethod("getElement()");
requiredMethod("getElements()");
oObj.destroyElement(sElementName);
tRes.tested("destroyElement()", true);
}
-
+
public void _doLayout() {
oObj.doLayout();
tRes.tested("doLayout()", true);
}
-
+
public void _dockWindow() {
requiredMethod("createElement()");
Point p = new Point();
@@ -78,35 +78,35 @@ public class _XLayoutManager extends MultiMethodTest {
oObj.dockWindow(sElementName, DockingArea.DOCKINGAREA_TOP, p);
tRes.tested("dockWindow()", true);
}
-
+
public void _floatWindow() {
requiredMethod("createElement()");
oObj.floatWindow(sElementName);
tRes.tested("floatWindow()", true);
}
-
+
public void _getCurrentDockingArea() {
requiredMethod("attachFrame()");
Rectangle rect = oObj.getCurrentDockingArea();
tRes.tested("getCurrentDockingArea()", rect != null);
}
-
+
public void _getElement() {
requiredMethod("createElement()");
XUIElement xElement = oObj.getElement(sElementName);
tRes.tested("getElement()", true);
}
-
+
public void _getElementPos() {
Point p = oObj.getElementPos(sElementName);
tRes.tested("getElementPos()", p != null);
}
-
+
public void _getElementSize() {
Size s = oObj.getElementSize(sElementName);
tRes.tested("getElementSize()", s != null);
}
-
+
public void _getElements() {
requiredMethod("createElement()");
XUIElement[] xElements = oObj.getElements();
@@ -116,42 +116,42 @@ public class _XLayoutManager extends MultiMethodTest {
}
tRes.tested("getElements()", xElements != null);
}
-
+
public void _hideElement() {
boolean hidden = oObj.hideElement(sElementName);
tRes.tested("hideElement()", true);
}
-
+
public void _isElementDocked() {
boolean docked = oObj.isElementDocked(sElementName);
tRes.tested("isElementDocked()", true);
}
-
+
public void _isElementFloating() {
boolean docked = oObj.isElementFloating(sElementName);
tRes.tested("isElementFloating()", true);
}
-
+
public void _isElementVisible() {
boolean docked = oObj.isElementVisible(sElementName);
tRes.tested("isElementVisible()", true);
}
-
+
public void _lock() {
oObj.lock();
tRes.tested("lock()", true);
}
-
+
public void _reset() {
oObj.reset();
tRes.tested("reset()", true);
}
-
+
public void _setDockingAreaAcceptor() {
oObj.setDockingAreaAcceptor(null);
tRes.tested("setDockingAreaAcceptor()", true);
}
-
+
public void _setElementPos() {
requiredMethod("createElement()");
Point p = new Point();
@@ -160,7 +160,7 @@ public class _XLayoutManager extends MultiMethodTest {
oObj.setElementPos(sElementName, p);
tRes.tested("setElementPos()", true);
}
-
+
public void _setElementPosSize() {
requiredMethod("createElement()");
Point p = new Point();
@@ -172,7 +172,7 @@ public class _XLayoutManager extends MultiMethodTest {
oObj.setElementPosSize(sElementName, p, size);
tRes.tested("setElementPosSize()", true);
}
-
+
public void _setElementSize() {
requiredMethod("createElement()");
Size size = new Size();
@@ -181,18 +181,18 @@ public class _XLayoutManager extends MultiMethodTest {
oObj.setElementSize(sElementName, size);
tRes.tested("setElementSize()", true);
}
-
+
public void _showElement() {
requiredMethod("createElement()");
boolean shown = oObj.showElement(sElementName);
tRes.tested("showElement()", true);
}
-
+
public void _unlock() {
requiredMethod("lock()");
oObj.unlock();
tRes.tested("unlock()", true);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XModel.java b/qadevOOo/tests/java/ifc/frame/_XModel.java
index 6fa133e28780..4cc92fbe553b 100644
--- a/qadevOOo/tests/java/ifc/frame/_XModel.java
+++ b/qadevOOo/tests/java/ifc/frame/_XModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
index 375500f89bb6..e542b249266b 100755
--- a/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
+++ b/qadevOOo/tests/java/ifc/frame/_XModuleManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,7 +70,7 @@ public class _XModuleManager extends MultiMethodTest {
* coresponding value.<p>
* As enhancement the method <CODE>identify()</CODE> was called with incvalid
* parameter. In this case the thrown exceptions was catched.
- */
+ */
public XModuleManager oObj = null;
/**
* Test calls the method. <p>
@@ -82,35 +82,35 @@ public class _XModuleManager extends MultiMethodTest {
* relation 'Frame' </li>
* </ul>
*/
-
+
private PropertyValue[] xFrameSeq = null;
private PropertyValue[] xControllerSeq = null;
private PropertyValue[] xModelSeq = null;
/** Retrieves object relations. */
-
+
public void before() {
-
+
xFrameSeq = (PropertyValue[]) tEnv.getObjRelation("XModuleManager.XFrame") ;
if (xFrameSeq == null) throw new StatusException
(Status.failed("Relation 'xFrameSeq' not found.")) ;
-
-
+
+
xControllerSeq = (PropertyValue[]) tEnv.getObjRelation("XModuleManager.XController") ;
if (xControllerSeq == null) throw new StatusException
(Status.failed("Relation 'xControllerSeq' not found.")) ;
-
-
+
+
xModelSeq = (PropertyValue[]) tEnv.getObjRelation("XModuleManager.XModel") ;
if (xModelSeq == null) throw new StatusException
(Status.failed("Relation 'xModelSeq' not found.")) ;
}
-
+
/** The method <CODE>identify()</CODE> was tesed for every entry in sequeze of
* object relations.
- */
+ */
public void _identify() {
boolean ok = true;
log.println("testing frame sequenze...");
@@ -130,7 +130,7 @@ public class _XModuleManager extends MultiMethodTest {
log.println("expected exception.");
}
}
-
+
private boolean testSequenze(PropertyValue[] sequenze){
boolean ok = true;
for (int i = 0 ; i < sequenze.length; i++){
@@ -138,10 +138,10 @@ public class _XModuleManager extends MultiMethodTest {
log.println("testing '" + sequenze[i].Name + "'");
if (oObj.identify(sequenze[i].Value).equals(
sequenze[i].Name)){
- ok &= ok;
+ ok &= ok;
}else{
- log.println("failure: returned value: '" +
- oObj.identify(sequenze[i].Value) +
+ log.println("failure: returned value: '" +
+ oObj.identify(sequenze[i].Value) +
"' ,expected value: '" + sequenze[i].Name + "'");
ok = false;
}
@@ -149,7 +149,7 @@ public class _XModuleManager extends MultiMethodTest {
log.println("Could not get value of sequenze '" +
sequenze[i].Name + "'");
return false;
-
+
} catch (UnknownModuleException e){
log.println("Could not indetify value of sequenze '" +
sequenze[i].Name + "'");
@@ -158,6 +158,6 @@ public class _XModuleManager extends MultiMethodTest {
}
return ok;
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
index 8402aac41db2..096408a55e31 100644
--- a/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
+++ b/qadevOOo/tests/java/ifc/frame/_XNotifyingDispatch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ import com.sun.star.frame.DispatchResultEvent;
* <ul>
* <li> <code>'XDispatch.URL'</code> (of type <code>com.sun.star.util.URL
* </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
* </code>): argumets for <code>dispatchWithNotification()</code> method. </li>
* <ul> <p>
@@ -98,8 +98,8 @@ public class _XNotifyingDispatch extends MultiMethodTest {
if (url == null) throw new StatusException
(Status.failed("Relation not found.")) ;
-
- arguments = (PropertyValue[])
+
+ arguments = (PropertyValue[])
tEnv.getObjRelation("XNotifyingDispatchArgument");
}
@@ -120,9 +120,9 @@ public class _XNotifyingDispatch extends MultiMethodTest {
catch(java.lang.InterruptedException e) {}
log.println("Listener called: "+ notificationListener.finishedDispatch);
-
+
result = notificationListener.finishedDispatch;
-
+
tRes.tested("dispatchWithNotification()", result) ;
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java b/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
index f057e64824c5..d53acd11e290 100644
--- a/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
+++ b/qadevOOo/tests/java/ifc/frame/_XPopupMenuController.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,103 +35,103 @@ public class _XPopupMenuController extends MultiMethodTest {
public XPopupMenuController oObj = null;
public void before() {
-
+
}
-
+
public void _setPopupMenu() {
XPopupMenu xMenu = new PopupMenuImpl();
oObj.setPopupMenu(xMenu);
tRes.tested("setPopupMenu()", true);
}
-
+
public void _updatePopupMenu() {
oObj.updatePopupMenu();
tRes.tested("updatePopupMenu()", true);
}
-
+
private class PopupMenuImpl implements XPopupMenu {
-
+
public void addMenuListener(com.sun.star.awt.XMenuListener xMenuListener) {
System.out.println("addMenuListener called.");
}
-
+
public void checkItem(short param, boolean param1) {
System.out.println("checkItemListener called.");
}
-
+
public void enableItem(short param, boolean param1) {
System.out.println("enableItem called.");
}
-
+
public short execute(com.sun.star.awt.XWindowPeer xWindowPeer, com.sun.star.awt.Rectangle rectangle, short param) {
System.out.println("execute called.");
return 0;
}
-
+
public short getDefaultItem() {
System.out.println("getDefaultItem called.");
return 0;
}
-
+
public short getItemCount() {
System.out.println("getItemCount called.");
return 0;
}
-
+
public short getItemId(short param) {
System.out.println("getItemId called.");
return 0;
}
-
+
public short getItemPos(short param) {
System.out.println("getItemPos called.");
return 0;
}
-
+
public String getItemText(short param) {
System.out.println("getItemText called.");
return "Hi.";
}
-
+
public com.sun.star.awt.XPopupMenu getPopupMenu(short param) {
System.out.println("getPopupMenu called.");
return this;
}
-
+
public void insertItem(short param, String str, short param2, short param3) {
System.out.println("insertItem called.");
}
-
+
public void insertSeparator(short param) {
System.out.println("insertSeparator called.");
}
-
+
public boolean isItemChecked(short param) {
System.out.println("isItemChecked called.");
return false;
}
-
+
public boolean isItemEnabled(short param) {
System.out.println("isItemEnabled called.");
return false;
}
-
+
public void removeItem(short param, short param1) {
System.out.println("removeItem called.");
}
-
+
public void removeMenuListener(com.sun.star.awt.XMenuListener xMenuListener) {
System.out.println("removeMenuListener called.");
}
-
+
public void setDefaultItem(short param) {
System.out.println("setDefaultItem called.");
}
-
+
public void setItemText(short param, String str) {
System.out.println("setItemText called.");
}
-
+
public void setPopupMenu(short param, com.sun.star.awt.XPopupMenu xPopupMenu) {
System.out.println("setPopupMenu called.");
}
diff --git a/qadevOOo/tests/java/ifc/frame/_XStatusListener.java b/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
index 23f71df14e78..4b08c23e320f 100644
--- a/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
+++ b/qadevOOo/tests/java/ifc/frame/_XStatusListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,11 +34,11 @@ import lib.MultiMethodTest;
public class _XStatusListener extends MultiMethodTest {
public XStatusListener oObj = null;
-
+
public void before() {
-
+
}
-
+
public void _statusChanged() {
FeatureStateEvent event = new FeatureStateEvent();
oObj.statusChanged(event);
diff --git a/qadevOOo/tests/java/ifc/frame/_XStorable.java b/qadevOOo/tests/java/ifc/frame/_XStorable.java
index 4edc1eb45e54..416065db5e4e 100644
--- a/qadevOOo/tests/java/ifc/frame/_XStorable.java
+++ b/qadevOOo/tests/java/ifc/frame/_XStorable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
index 2f430afa6e39..0fd36904c26c 100644
--- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
+++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -129,7 +129,7 @@ public class _XSynchronousFrameLoader extends MultiMethodTest {
descr[0].Name = "URL" ;
descr[0].Value = urlS[0] ;
}
-
+
/**
* Tries to load component to a frame. <p>
diff --git a/qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java b/qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java
index c6702fd9dec1..18c2997e304b 100644
--- a/qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java
+++ b/qadevOOo/tests/java/ifc/frame/_XTasksSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java b/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
index 34441e23e36d..595acf8fc7c8 100644
--- a/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
+++ b/qadevOOo/tests/java/ifc/frame/_XUIControllerRegistration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,20 +38,20 @@ public class _XUIControllerRegistration extends MultiMethodTest {
public void before() {
aRegisteredController = (String)tEnv.getObjRelation("XUIControllerRegistration.RegisteredController");
}
-
-
+
+
public void _registerController() {
oObj.registerController(aController, "", "com.sun.star.comp.framework.FooterMenuController");
oObj.registerController(aRegisteredController, "", "com.sun.star.comp.framework.HeaderMenuController");
tRes.tested("registerController()", true);
}
-
+
public void _deregisterController() {
requiredMethod("registerController()");
oObj.deregisterController(aController, "");
tRes.tested("deregisterController()", true);
}
-
+
public void _hasController() {
requiredMethod("registerController()");
requiredMethod("deregisterController()");
@@ -59,5 +59,5 @@ public class _XUIControllerRegistration extends MultiMethodTest {
res &= !oObj.hasController(aController, "");
tRes.tested("hasController()", res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
index 7589bc8774c8..9ab9fe9ef5cd 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XBreakIterator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -152,7 +152,7 @@ public class _XBreakIterator extends MultiMethodTest {
public void _previousCharacters() {
short nCharacterIteratorMode =
com.sun.star.i18n.CharacterIteratorMode.SKIPCHARACTER;
-
+
//Start from position : Travel ... chars : Actual position after :
//How many chars traveled
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCalendar.java b/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
index 5453eefa49cb..cc0fd80aaef4 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCalendar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ public class _XCalendar extends MultiMethodTest {
count = new int[installed_locales.length];
oObj.loadDefaultCalendar(installed_locales[0]);
aOriginalDTime = oObj.getDateTime();
-
+
debug = tParam.getBool("DebugIsActive");
}
@@ -105,7 +105,7 @@ public class _XCalendar extends MultiMethodTest {
oObj.loadDefaultCalendar(installed_locales[0]);
oObj.setDateTime(aOriginalDTime);
}
-
+
/**
* Loads default calendar for different locales. <p>
* Has <b> OK </b> status if method loads calendar, that is
@@ -250,7 +250,7 @@ public class _XCalendar extends MultiMethodTest {
public void _setDateTime() {
boolean res = true;
-
+
for (int i=0; i<installed_locales.length; i++) {
String lang = "Language: "+installed_locales[i].Language +
", Country: "+ installed_locales[i].Country +
@@ -320,15 +320,15 @@ public class _XCalendar extends MultiMethodTest {
CalendarFieldIndex.MONTH
};
for (int k=0; k<fields.length;k++) {
-
+
oObj.setDateTime(0.0);
-
+
// save the current values for debug purposes
short[] oldValues = new short[fields.length];
for (int n=0; n < oldValues.length; n++){
oldValues[n] = oObj.getValue(fields[n]);
}
-
+
short set = oObj.getValue(fields[k]);
if (fields[k] == CalendarFieldIndex.MONTH) set = newValue;
oObj.setValue(fields[k],set);
@@ -344,7 +344,7 @@ public class _XCalendar extends MultiMethodTest {
for (int n=0; n < fields.length;n++){
log.println(names[n] + ":" + oObj.getValue(fields[n]));
}
-
+
error += "failed for "+names[k]+" expected "+
set+" gained "+get+" ; \n";
}
@@ -539,7 +539,7 @@ public class _XCalendar extends MultiMethodTest {
*/
public void _isValid() {
boolean res = true;
-
+
oObj.loadDefaultCalendar(installed_locales[0]);
oObj.setValue(CalendarFieldIndex.MONTH, (short) 37);
res &= !oObj.isValid();
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
index e81b8aa68307..0b6ee05ca44c 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCharacterClassification.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -111,7 +111,7 @@ public class _XCharacterClassification extends MultiMethodTest {
public void _toUpper() {
boolean res = true;
char[] characters = new char[]{586,65,97,498,721,4588,772,8413,3404};
- String toCheck = new String(characters);
+ String toCheck = new String(characters);
String get = "";
String exp = "";
diff --git a/qadevOOo/tests/java/ifc/i18n/_XCollator.java b/qadevOOo/tests/java/ifc/i18n/_XCollator.java
index 1905ca9a68ea..b5cd552a74d6 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XCollator.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XCollator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
index 8004a4eb97b0..9240ee792c56 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedCalendar.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@ public class _XExtendedCalendar extends MultiMethodTest {
Locale lo = installed_locales[0];
for (int i=0; i<installed_locales.length; i++) {
// search for "en" and "US"
- if (installed_locales[i].Language.equals("en") &&
+ if (installed_locales[i].Language.equals("en") &&
installed_locales[i].Country.equals("US")) {
lo = installed_locales[i];
useUSENLocale = true;
@@ -73,8 +73,8 @@ public class _XExtendedCalendar extends MultiMethodTest {
log.println("Choose Locale: '" + lo.Language + "', '" + lo.Country + "'");
oObj.loadDefaultCalendar(lo);
}
-
-
+
+
public void _getDisplayString() {
// against regression: the current state is the right one.
boolean result = true;
@@ -83,13 +83,13 @@ public class _XExtendedCalendar extends MultiMethodTest {
String[] expectedStringResult = new String[6];
Calendar cal = new GregorianCalendar();
Date actualDate = cal.getTime();
-
+
SimpleDateFormat sdf = getSDF("yy");
expectedStringResult[0] = "AD" + sdf.format(actualDate);
-
+
sdf = getSDF("yyyy");
expectedStringResult[1] = "AD" + sdf.format(actualDate);
-
+
sdf = getSDF("MM");
expectedStringResult[2] = sdf.format(actualDate);
@@ -101,36 +101,36 @@ public class _XExtendedCalendar extends MultiMethodTest {
else if (month > 10 && month < 13) {quarter = "Q4"; longQuarter = "4th quarter"; }
expectedStringResult[3] = quarter;
expectedStringResult[4] = longQuarter;
-
+
sdf = getSDF("MMMM");
expectedStringResult[5] = sdf.format(actualDate);
-
+
displayString[0] = oObj.getDisplayString(CalendarDisplayCode.SHORT_YEAR_AND_ERA, NativeNumberMode.NATNUM0);
displayString[1] = oObj.getDisplayString(CalendarDisplayCode.LONG_YEAR_AND_ERA, NativeNumberMode.NATNUM0);
displayString[2] = oObj.getDisplayString(CalendarDisplayCode.LONG_MONTH, NativeNumberMode.NATNUM0);
displayString[3] = oObj.getDisplayString(CalendarDisplayCode.SHORT_QUARTER, NativeNumberMode.NATNUM0);
displayString[4] = oObj.getDisplayString(CalendarDisplayCode.LONG_QUARTER, NativeNumberMode.NATNUM0);
displayString[5] = oObj.getDisplayString(CalendarDisplayCode.LONG_MONTH_NAME, NativeNumberMode.NATNUM0);
-
+
for (int i=0; i<displayString.length; i++) {
boolean locResult = false;
if (useUSENLocale) {
locResult = displayString[i].equals(expectedStringResult[i]);
if (!locResult)
- log.println("getDisplayString() result " + i + ": '" + displayString[i]
+ log.println("getDisplayString() result " + i + ": '" + displayString[i]
+ "', expected: '" + expectedStringResult[i] + "'");
result &= locResult;
}
else { // no defaults for other locales, just expect a String
locResult &= displayString[i] != null;
if (!locResult)
- log.println("getDisplayString() result " + i + " was 'null'");
+ log.println("getDisplayString() result " + i + " was 'null'");
result &= locResult;
}
}
tRes.tested("getDisplayString()", result);
}
-
+
private SimpleDateFormat getSDF(String format){
if (useUSENLocale) return new SimpleDateFormat(format, java.util.Locale.US);
return new SimpleDateFormat(format);
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
index 2443156b0baf..abdce31d7dc6 100755
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
short result1 = oObj.compareIndexEntry(val1, "", locale, val1, "", locale);
short result2 = oObj.compareIndexEntry(val1, "", locale, val2, "", locale);
short result3 = oObj.compareIndexEntry(val2, "", locale, val1, "", locale);
-
+
tRes.tested("compareIndexEntry()", result1 == 0 && result2 + result3 == 0);
}
@@ -60,21 +60,21 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
requiredMethod("getLocaleList()");
boolean result = true;
- boolean locResult = false;
-
+ boolean locResult = false;
+
for (int i = 0; i < locales.length; i++) {
String[] algNames = oObj.getAlgorithmList(locales[i]);
algorithms.put(new Integer(i), algNames);
locResult = algNames != null && algNames.length > 0;
System.out.println("Locale " + i + ": " + locales[i].Country+","+locales[i].Language);
-
+
for (int j=0; j<algNames.length; j++) {
System.out.println("\tAlgorithm " + j + ": " + algNames[j]);
}
-
+
if (!locResult) {
- log.println("No Algorithm found for " + locales[i].Country +
+ log.println("No Algorithm found for " + locales[i].Country +
"," + locales[i].Language);
}
@@ -94,10 +94,10 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
for (int j = 0; j < algorithms.size(); j++) {
String[] algs = (String[])algorithms.get(new Integer(j));
for (int k=0;k<algs.length;k++) {
- log.println("\t Algorythm :" +
+ log.println("\t Algorythm :" +
algs[k]);
oObj.loadAlgorithm(locales[i], algs[k], CollatorOptions.CollatorOptions_IGNORE_CASE);
- log.println("\t\t Get: " +
+ log.println("\t\t Get: " +
oObj.getIndexKey(getIndexFor, "", locales[i]));
}
}
@@ -123,8 +123,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
boolean res = true;
Locale loc = new Locale("zh", "CN", "");
-
- for (int i = 0;i<UnicodeStringPair.getValCount();i++) {
+
+ for (int i = 0;i<UnicodeStringPair.getValCount();i++) {
char[] c = new char[]{UnicodeStringPair.getUnicodeValue(i)};
@@ -144,8 +144,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
}
/*
- * loads all algorithms available in all language.
- * Is OK if no exception occurs and the method returns
+ * loads all algorithms available in all language.
+ * Is OK if no exception occurs and the method returns
* true for each valid algorithm and false otherwise
*/
public void _loadAlgorithm() {
@@ -155,13 +155,13 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
for (int i = 0; i < algorithms.size(); i++) {
String[] names = (String[]) algorithms.get(new Integer(i));
- log.println("loading algorithms for " + locales[i].Country +
+ log.println("loading algorithms for " + locales[i].Country +
"," + locales[i].Language);
for (int j = 0; j < names.length; j++) {
log.println("\t Loading " + names[j]);
- boolean localres = oObj.loadAlgorithm(locales[i], names[j],
+ boolean localres = oObj.loadAlgorithm(locales[i], names[j],
CollatorOptions.CollatorOptions_IGNORE_CASE);
if (!localres) {
@@ -175,7 +175,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
/* log.println("\tTrying to load 'dummy' algorithm");
- boolean localres = !oObj.loadAlgorithm(locales[i], "dummy",
+ boolean localres = !oObj.loadAlgorithm(locales[i], "dummy",
CollatorOptions.CollatorOptions_IGNORE_WIDTH);
if (!localres) {
@@ -191,7 +191,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
}
/*
- * checks the method usePhoneticEntry(). Only the languages ja, ko and zh
+ * checks the method usePhoneticEntry(). Only the languages ja, ko and zh
* should return true. Has OK state if exactly this is the case.
*/
public void _usePhoneticEntry() {
@@ -202,8 +202,8 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
for (int i = 0; i < locales.length; i++) {
boolean expected = false;
- if (locales[i].Language.equals("ja") ||
- locales[i].Language.equals("ko") ||
+ if (locales[i].Language.equals("ja") ||
+ locales[i].Language.equals("ko") ||
locales[i].Language.equals("zh")) {
expected = true;
}
@@ -221,7 +221,7 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
tRes.tested("usePhoneticEntry()", res);
}
-
+
/**
* Helper class to handle the phonetic equivalence of unicode characters
* This class delivers an amount oif unicode characters and the equivalent phonetics
@@ -231,27 +231,27 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
final static int valCount = 78;
static String[] sStringEquivalence = null;
static char[] iUnicodeEquivalence = null;
-
+
static {
sStringEquivalence = new String[valCount];
iUnicodeEquivalence = new char[valCount];
fillValues();
}
-
+
public static int getValCount() {
return valCount;
}
-
+
public static String getExpectedPhoneticString(int index) {
if (index >= valCount) return null;
return sStringEquivalence[index];
}
-
+
public static char getUnicodeValue(int index) {
if (index > valCount) return 0;
return iUnicodeEquivalence[index];
}
-
+
private static void fillValues() {
iUnicodeEquivalence[0] = 20049; sStringEquivalence[0] = "zhong";
iUnicodeEquivalence[1] = 19968; sStringEquivalence[1] = "yi";
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
index caea6c06541a..087710c79420 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedTransliteration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,11 +38,11 @@ public class _XExtendedTransliteration extends MultiMethodTest {
public XExtendedTransliteration oObj = null;
// private Locale loc = new Locale("ja", "JP", "") ;
private Locale loc = new Locale("en", "US", "") ;
-
+
public void before() {
oObj.loadModule(TransliterationModules.LOWERCASE_UPPERCASE, loc);
}
-
+
/**
* Check lowercase - uppercase conversion of chars
*/
@@ -62,7 +62,7 @@ public class _XExtendedTransliteration extends MultiMethodTest {
}
tRes.tested("transliterateChar2Char()", result);
}
-
+
/**
* Check lowercase - uppercase conversion of char to string
*/
@@ -77,7 +77,7 @@ public class _XExtendedTransliteration extends MultiMethodTest {
result &= out.equals("$");
tRes.tested("transliterateChar2String()", result);
}
-
+
/**
* Check lowercase - uppercase conversion of strings
*/
diff --git a/qadevOOo/tests/java/ifc/i18n/_XIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XIndexEntrySupplier.java
index 903068b152aa..124004934271 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XIndexEntrySupplier.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XIndexEntrySupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/i18n/_XLocaleData.java b/qadevOOo/tests/java/ifc/i18n/_XLocaleData.java
index fcb1f4b266a5..9df9a573715b 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XLocaleData.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XLocaleData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java b/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java
index 0566e27112c4..7f35409a3f89 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XNumberFormatCode.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
index ea8502d31f29..b7c0893e878c 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XTransliteration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
index 8bf57eb657fe..714246a1d3f1 100644
--- a/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
+++ b/qadevOOo/tests/java/ifc/inspection/_XObjectInspector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,7 +54,7 @@ import lib.StatusException;
*/
public class _XObjectInspector extends MultiMethodTest {
-
+
/**
* the test object
*/
@@ -71,7 +71,7 @@ public class _XObjectInspector extends MultiMethodTest {
* test the method <CODE>setInspectorModel()</CODE>
*/
public XObjectInspectorModel xSetModel = null;
-
+
/**
* get object relations
* <ul>
@@ -79,38 +79,38 @@ public class _XObjectInspector extends MultiMethodTest {
* </ul>
*/
public void before() {
-
+
oInspect = (Object[]) tEnv.getObjRelation("XObjectInspector.toInspect");
-
+
if (oInspect == null) throw new StatusException
(Status.failed("Relation 'XObjectInspector.toInspect' not found.")) ;
-
+
xSetModel = (XObjectInspectorModel) tEnv.getObjRelation("XObjectInspector.InspectorModelToSet");
-
+
if (xSetModel == null) throw new StatusException
(Status.failed("Relation 'XObjectInspector.InspectorModelToSet' not found.")) ;
}
-
+
/**
* Inspects a new collection of one or more objects given by object realtion
* <CODE>XObjectInspector.toInspect</CODE><br>
* Has <b>OK</b> status if no runtime exceptions occured.
*/
public void _inspect() {
-
+
boolean result = true;
-
+
try {
oObj.inspect(oInspect);
-
+
} catch (com.sun.star.util.VetoException e){
log.println("ERROR:" + e.toString());
result = false;
}
-
+
tRes.tested("inspect()", result) ;
}
-
+
/**
* First call the method <CODE>getInspectorModel()</CODE> and save the value<br>
* Second call the method <CODE>setInspectorModel()</CODE> with the module variable
@@ -124,20 +124,20 @@ public class _XObjectInspector extends MultiMethodTest {
log.println("testing 'getInspectorModel()'...");
XObjectInspectorModel xGetModel = oObj.getInspectorModel() ;
-
+
boolean result = xGetModel != null;
-
+
log.println(result? "got a not null object -> OK" : "got a NULL object -> FAILED");
log.println("testing 'setInspectorModel()'...");
oObj.setInspectorModel(xSetModel);
-
+
XObjectInspectorModel xNewModel = oObj.getInspectorModel();
-
+
if (result) oObj.setInspectorModel(xGetModel);
-
+
result &= xSetModel.equals(xNewModel);
-
+
tRes.tested("InspectorModel()", result) ;
}
diff --git a/qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java b/qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java
index e03cb51a1c5f..c064f9b19fa8 100644
--- a/qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java
+++ b/qadevOOo/tests/java/ifc/inspection/_XObjectInspectorModel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,116 +45,116 @@ import lib.MultiMethodTest;
*
*/
public class _XObjectInspectorModel extends MultiMethodTest {
-
+
/**
* the test object
*/
public XObjectInspectorModel oObj = null;
-
+
/**
* calls the method <CODE>getHandlerFactories()</CODE>
* Has <b>OK</b> status if returned value is not null.
*/
public void _HandlerFactories() {
-
+
Object[] HandlerFactories = oObj.getHandlerFactories();
-
+
tRes.tested("HandlerFactories()", HandlerFactories != null) ;
}
-
+
/**
* Call the method <CODE>getPropertyOrderIndex()</CODE> with an invalid propety name.
* Has <CODE>OK</CODE> status if the returned index is "0".
*/
public void _getPropertyOrderIndex() {
-
+
int index = 0;
boolean result = true;
-
+
log.println("try to get index of INvalid property name 'InvalidPropertyName' ...");
index = oObj.getPropertyOrderIndex("InvalidPropertyName");
log.println("index is: " + index);
result = (index == 0);
-
+
tRes.tested("getPropertyOrderIndex()", result) ;
}
-
+
/**
* Call the method <CODE>describeCategories()</CODE>
* Has <b>OK</b> status if returned value is not null.
*/
public void _describeCategories() {
-
+
PropertyCategoryDescriptor[] categories = oObj.describeCategories();
-
+
tRes.tested("describeCategories()", categories != null) ;
}
-
+
/**
* Call the method <CODE>getHasHelpSection()</CODE>
* Has <b>OK</b> status if method returned </CODE>true</CODE>
*/
public void _HasHelpSection() {
-
+
boolean hasHelpSection = oObj.getHasHelpSection();
-
+
tRes.tested("HasHelpSection()", hasHelpSection) ;
}
-
+
/**
* Call the method <CODE>getMinHelpTextLines()</CODE>
* Has <b>OK</b> status if returned value equals to object relation 'minHelpTextLines'
*/
public void _MinHelpTextLines() {
-
+
Integer minHelpTextLines = (Integer) tEnv.getObjRelation("minHelpTextLines");
-
+
int getMinHelpTextLines = oObj.getMinHelpTextLines();
-
+
boolean result = (minHelpTextLines.intValue() == getMinHelpTextLines);
-
+
if (!result)
log.println("FAILED: value:" + minHelpTextLines + " getted value:" + getMinHelpTextLines);
-
+
tRes.tested("MinHelpTextLines()", result) ;
}
-
+
/**
* Call the method <CODE>getMaxHelpTextLines())</CODE>
* Has <b>OK</b> status if returned value equals to object relation 'maxHelpTextLines'
*/
public void _MaxHelpTextLines() {
-
+
Integer maxHelpTextLines = (Integer) tEnv.getObjRelation("maxHelpTextLines");
-
+
int getMaxHelpTextLines = oObj.getMaxHelpTextLines();
-
+
boolean result = (maxHelpTextLines.intValue() == getMaxHelpTextLines);
-
+
if (!result)
log.println("FAILED: expected value:" + maxHelpTextLines + " getted value:" + getMaxHelpTextLines);
-
+
tRes.tested("MaxHelpTextLines()", result);
}
-
+
public void _IsReadOnly() {
boolean readOnly = oObj.getIsReadOnly();
-
+
oObj.setIsReadOnly(!readOnly);
-
+
boolean result = (readOnly != oObj.getIsReadOnly());
if (!result){
log.println("FAILED: could not change 'IsReadOnly' to value '" + !readOnly + "'");
}
-
+
oObj.setIsReadOnly(readOnly);
-
+
result &= (readOnly == oObj.getIsReadOnly());
if (!result){
log.println("FAILED: could not change back 'IsReadOnly' to value '" + !readOnly + "'");
}
-
+
tRes.tested("IsReadOnly()", result);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
index 1203fdeecbcb..905558b55118 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataControl.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
index 5a1c5f054719..c415d0c02b4a 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSink.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
index a363dd5edeb8..e0589774c72b 100644
--- a/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
+++ b/qadevOOo/tests/java/ifc/io/_XActiveDataSource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XConnectable.java b/qadevOOo/tests/java/ifc/io/_XConnectable.java
index 471714aeee23..e0c054fd91bb 100644
--- a/qadevOOo/tests/java/ifc/io/_XConnectable.java
+++ b/qadevOOo/tests/java/ifc/io/_XConnectable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
index b4015abacc82..b7e26b1b95e8 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
index 5511422f777c..fc61a9dd5206 100644
--- a/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XDataOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XInputStream.java b/qadevOOo/tests/java/ifc/io/_XInputStream.java
index 2f3161532ef4..73155b6138e1 100644
--- a/qadevOOo/tests/java/ifc/io/_XInputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XMarkableStream.java b/qadevOOo/tests/java/ifc/io/_XMarkableStream.java
index 629122702438..32ee221361fb 100644
--- a/qadevOOo/tests/java/ifc/io/_XMarkableStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XMarkableStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java b/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java
index 6f3d94e38e92..bf4888e48526 100644
--- a/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XObjectInputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,7 +73,7 @@ public class _XObjectInputStream extends MultiMethodTest {
tRes.tested("readObject()", false) ;
return ;
}
-
+
// write the object
try {
XObjectOutputStream oStream = (XObjectOutputStream)
diff --git a/qadevOOo/tests/java/ifc/io/_XObjectOutputStream.java b/qadevOOo/tests/java/ifc/io/_XObjectOutputStream.java
index fb635d472a5f..96b9f94e97af 100644
--- a/qadevOOo/tests/java/ifc/io/_XObjectOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XObjectOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XOutputStream.java b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
index c49aa479ee38..7b92d23d26b5 100644
--- a/qadevOOo/tests/java/ifc/io/_XOutputStream.java
+++ b/qadevOOo/tests/java/ifc/io/_XOutputStream.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/io/_XPersistObject.java b/qadevOOo/tests/java/ifc/io/_XPersistObject.java
index 94d1e87ca9ed..4d236b89e17a 100644
--- a/qadevOOo/tests/java/ifc/io/_XPersistObject.java
+++ b/qadevOOo/tests/java/ifc/io/_XPersistObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/java/_XJavaThreadRegister_11.java b/qadevOOo/tests/java/ifc/java/_XJavaThreadRegister_11.java
index 3aa2d4f6e712..d7658959f020 100644
--- a/qadevOOo/tests/java/ifc/java/_XJavaThreadRegister_11.java
+++ b/qadevOOo/tests/java/ifc/java/_XJavaThreadRegister_11.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/java/_XJavaVM.java b/qadevOOo/tests/java/ifc/java/_XJavaVM.java
index c0db5e795d3d..86482d9beea9 100644
--- a/qadevOOo/tests/java/ifc/java/_XJavaVM.java
+++ b/qadevOOo/tests/java/ifc/java/_XJavaVM.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_ServiceManager.java b/qadevOOo/tests/java/ifc/lang/_ServiceManager.java
index d2e84e748c6a..0d96ffbbf2c0 100644
--- a/qadevOOo/tests/java/ifc/lang/_ServiceManager.java
+++ b/qadevOOo/tests/java/ifc/lang/_ServiceManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XComponent.java b/qadevOOo/tests/java/ifc/lang/_XComponent.java
index e7493e377141..9e443916add0 100644
--- a/qadevOOo/tests/java/ifc/lang/_XComponent.java
+++ b/qadevOOo/tests/java/ifc/lang/_XComponent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -52,7 +52,7 @@ public class _XComponent extends MultiMethodTest {
public static XComponent oObj = null;
private XNameContainer xContainer = null;
private XComponent altDispose = null;
-
+
boolean listenerDisposed[] = new boolean[2];
String[] Loutput = new String[2];
@@ -91,7 +91,7 @@ public class _XComponent extends MultiMethodTest {
altDispose = (XComponent)tEnv.getObjRelation("XComponent.DisposeThis");
}
-
+
/**
* Adds two listeners. <p>
* Has OK status if then the first listener will receive an event
@@ -145,15 +145,15 @@ public class _XComponent extends MultiMethodTest {
log.println( "begin dispose in thread " + Thread.currentThread());
XDesktop oDesk = (XDesktop) tEnv.getObjRelation("Desktop");
if (oDesk !=null) {
- oDesk.terminate();
+ oDesk.terminate();
}
else {
- if (altDispose == null)
- oObj.dispose();
+ if (altDispose == null)
+ oObj.dispose();
else
altDispose.dispose();
}
-
+
try {
Thread.sleep(500) ;
} catch (InterruptedException e) {}
diff --git a/qadevOOo/tests/java/ifc/lang/_XEventListener.java b/qadevOOo/tests/java/ifc/lang/_XEventListener.java
index a2748309dcc0..0a93d54711f2 100644
--- a/qadevOOo/tests/java/ifc/lang/_XEventListener.java
+++ b/qadevOOo/tests/java/ifc/lang/_XEventListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XInitialization.java b/qadevOOo/tests/java/ifc/lang/_XInitialization.java
index 4ce7fe05a410..bf7d3fb3ff5f 100644
--- a/qadevOOo/tests/java/ifc/lang/_XInitialization.java
+++ b/qadevOOo/tests/java/ifc/lang/_XInitialization.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,11 +55,11 @@ public class _XInitialization extends MultiMethodTest {
*/
public void _initialize() {
boolean result = true ;
-
+
try {
XInitialization xInit = (XInitialization) tEnv.getObjRelation("XInitialization.xIni");
if (xInit == null) xInit = oObj;
-
+
log.println("calling method with valid arguments...");
Object[] args = (Object[]) tEnv.getObjRelation("XInitialization.args");
if (args==null) {
@@ -68,7 +68,7 @@ public class _XInitialization extends MultiMethodTest {
} else {
xInit.initialize(args);
}
-
+
// try to call the method with invalid parameters
Object[] ExArgs = (Object[]) tEnv.getObjRelation("XInitialization.ExceptionArgs");
if (ExArgs !=null) {
@@ -83,7 +83,7 @@ public class _XInitialization extends MultiMethodTest {
log.println("Expected Exception 'com.sun.star.uno.RuntimeException' occured -> OK") ;
result = true ;
} catch (Exception e) {
- log.println("Un-Expected Exception occured -> FALSE") ;
+ log.println("Un-Expected Exception occured -> FALSE") ;
log.println(e.toString());
e.printStackTrace();
}
diff --git a/qadevOOo/tests/java/ifc/lang/_XLocalizable.java b/qadevOOo/tests/java/ifc/lang/_XLocalizable.java
index fd2f503c0529..e305063a1de2 100644
--- a/qadevOOo/tests/java/ifc/lang/_XLocalizable.java
+++ b/qadevOOo/tests/java/ifc/lang/_XLocalizable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,13 +56,13 @@ public class _XLocalizable extends MultiMethodTest {
oObj.setLocale(newLocale);
Locale getLocale = oObj.getLocale();
- boolean res = ((getLocale.Country.equals(newLocale.Country)) &&
+ boolean res = ((getLocale.Country.equals(newLocale.Country)) &&
(getLocale.Language.equals(newLocale.Language)));
if (!res) {
- log.println("Expected Language " + newLocale.Language +
+ log.println("Expected Language " + newLocale.Language +
" and Country " + newLocale.Country);
- log.println("Getting Language " + getLocale.Language +
+ log.println("Getting Language " + getLocale.Language +
" and Country " + getLocale.Country);
}
diff --git a/qadevOOo/tests/java/ifc/lang/_XMain.java b/qadevOOo/tests/java/ifc/lang/_XMain.java
index e1cecaeb1849..ab3954ec3c55 100644
--- a/qadevOOo/tests/java/ifc/lang/_XMain.java
+++ b/qadevOOo/tests/java/ifc/lang/_XMain.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
index 4abeca730765..5c2bb53c81d6 100644
--- a/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
+++ b/qadevOOo/tests/java/ifc/lang/_XMultiComponentFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ public class _XMultiComponentFactory extends MultiMethodTest {
public XComponentContext xContext = null;
private String[] availableServiceNames = null;
-
+
public void before(){
xContext = (XComponentContext)tEnv.getObjRelation("DC");
availableServiceNames = (String[])tEnv.getObjRelation("XMultiComponentFactory.ServiceNames");
@@ -88,7 +88,7 @@ public class _XMultiComponentFactory extends MultiMethodTest {
requiredMethod("getAvailableServiceNames()");
boolean result = true;
XInterface component = null;
-
+
try {
component = (XInterface)oObj.createInstanceWithArgumentsAndContext(
availableServiceNames[0], new Object[0], xContext);
diff --git a/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java b/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java
index 49d3be1daf35..5eafe0a7fa3c 100644
--- a/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java
+++ b/qadevOOo/tests/java/ifc/lang/_XMultiServiceFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -117,14 +117,14 @@ public class _XMultiServiceFactory extends MultiMethodTest {
String needArgs = (String) tEnv.getObjRelation("needArgs");
if (needArgs != null) {
- log.println("The " + needArgs +
+ log.println("The " + needArgs +
" doesn't support createInstance without arguments");
tRes.tested("createInstance()", true);
return;
}
- boolean res = true;
+ boolean res = true;
for (int k = 0; k < services.length; k++) {
try {
@@ -165,7 +165,7 @@ public class _XMultiServiceFactory extends MultiMethodTest {
if (args == null) {
log.println("Relation 'XMSF.serviceNamesWithArgs' not found");
- log.println("The component assumed not support " +
+ log.println("The component assumed not support " +
"createInstanceWithArguments()");
tRes.tested("createInstanceWithArguments()", true);
} else {
@@ -176,11 +176,11 @@ public class _XMultiServiceFactory extends MultiMethodTest {
boolean res = true;
for (int k = 0; k < sNames.length; k++) {
- log.println("Creating service '" + sNames[k] +
+ log.println("Creating service '" + sNames[k] +
"' with arguments");
try {
- Object Inst = oObj.createInstanceWithArguments(sNames[k],
+ Object Inst = oObj.createInstanceWithArguments(sNames[k],
args[k]);
res &= (Inst != null);
} catch (com.sun.star.uno.Exception ex) {
diff --git a/qadevOOo/tests/java/ifc/lang/_XServiceDisplayName.java b/qadevOOo/tests/java/ifc/lang/_XServiceDisplayName.java
index 1a7884b8f02d..50f56583d57b 100644
--- a/qadevOOo/tests/java/ifc/lang/_XServiceDisplayName.java
+++ b/qadevOOo/tests/java/ifc/lang/_XServiceDisplayName.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java b/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java
index 3ff929c895dd..0eed0e8c67e6 100644
--- a/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java
+++ b/qadevOOo/tests/java/ifc/lang/_XServiceInfo.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java
index 1bc68938ce41..1bba7b25cc3b 100644
--- a/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java
+++ b/qadevOOo/tests/java/ifc/lang/_XSingleServiceFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java b/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java
index 123f7729fb5a..940f1fb90427 100644
--- a/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java
+++ b/qadevOOo/tests/java/ifc/lang/_XTypeProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java b/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
index 2e533e449eac..e0a865b65696 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_LinguProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XAvailableLocales.java b/qadevOOo/tests/java/ifc/linguistic2/_XAvailableLocales.java
index c8342fe1ecbd..2c4a4b8c03fa 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XAvailableLocales.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XAvailableLocales.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java b/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
index 36850c05364d..9aebd66e0ea2 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XDictionaryList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XHyphenator.java b/qadevOOo/tests/java/ifc/linguistic2/_XHyphenator.java
index 4752651e71f9..64f37366cbab 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XHyphenator.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XHyphenator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceEventBroadcaster.java b/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceEventBroadcaster.java
index d799299db636..3295e6721d54 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceEventBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceEventBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceManager.java b/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceManager.java
index 12dd56a3028f..622abee984df 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceManager.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XLinguServiceManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java b/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
index ce12dc72522b..a39562321f7a 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XSearchableDictionaryList.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XSpellChecker.java b/qadevOOo/tests/java/ifc/linguistic2/_XSpellChecker.java
index 47ad1d25e836..0f41bebd33f0 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XSpellChecker.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XSpellChecker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ public class _XSpellChecker extends MultiMethodTest {
public XSpellChecker oObj = null;
XSpellChecker alternative = null;
-
+
public void before() {
alternative = (XSpellChecker) tEnv.getObjRelation("AlternativeChecker");
if (alternative == null) throw new StatusException(Status.failed
@@ -70,10 +70,10 @@ public class _XSpellChecker extends MultiMethodTest {
PropertyValue[] empty = new PropertyValue[0] ;
res &= oObj.isValid("Sun", new Locale("en","US",""), empty);
res &= !oObj.isValid("Summersun", new Locale("en","US","") ,empty);
- log.println("Result so far is - "+ (res ? "OK" : "failed"));
+ log.println("Result so far is - "+ (res ? "OK" : "failed"));
log.println("Checking alternative Spellchecker");
res &= alternative.isValid("Sun", new Locale("en","US",""), empty);
- res &= !alternative.isValid("Summersun", new Locale("en","US","") ,empty);
+ res &= !alternative.isValid("Summersun", new Locale("en","US","") ,empty);
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("Exception while checking 'isValid'");
res = false;
@@ -97,7 +97,7 @@ public class _XSpellChecker extends MultiMethodTest {
"Summersun",new Locale("en","US",""),empty);
String alternatives = alt.getAlternatives()[0];
res = (alternatives != null);
- log.println("Result so far is - "+ (res ? "OK" : "failed"));
+ log.println("Result so far is - "+ (res ? "OK" : "failed"));
log.println("Checking alternative Spellchecker");
alt =alternative.spell(
"Summersun",new Locale("en","US",""),empty);
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XSupportedLocales.java b/qadevOOo/tests/java/ifc/linguistic2/_XSupportedLocales.java
index 1457bd76fd39..8302b4cb99cf 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XSupportedLocales.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XSupportedLocales.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/linguistic2/_XThesaurus.java b/qadevOOo/tests/java/ifc/linguistic2/_XThesaurus.java
index c8a9ffbafe8c..87bd8453e3e6 100644
--- a/qadevOOo/tests/java/ifc/linguistic2/_XThesaurus.java
+++ b/qadevOOo/tests/java/ifc/linguistic2/_XThesaurus.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java b/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java
index 47918fef95af..1230579543d6 100644
--- a/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java
+++ b/qadevOOo/tests/java/ifc/loader/_XImplementationLoader.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_OutlineView.java b/qadevOOo/tests/java/ifc/presentation/_OutlineView.java
index 1b1f4af09fda..1c9322f99958 100644
--- a/qadevOOo/tests/java/ifc/presentation/_OutlineView.java
+++ b/qadevOOo/tests/java/ifc/presentation/_OutlineView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_Presentation.java b/qadevOOo/tests/java/ifc/presentation/_Presentation.java
index 41b89e851459..bb8e549662c9 100644
--- a/qadevOOo/tests/java/ifc/presentation/_Presentation.java
+++ b/qadevOOo/tests/java/ifc/presentation/_Presentation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_PresentationView.java b/qadevOOo/tests/java/ifc/presentation/_PresentationView.java
index a79684570a50..18e5462e4683 100644
--- a/qadevOOo/tests/java/ifc/presentation/_PresentationView.java
+++ b/qadevOOo/tests/java/ifc/presentation/_PresentationView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_PreviewView.java b/qadevOOo/tests/java/ifc/presentation/_PreviewView.java
index 1e2e6436ab04..72b2c02948e0 100644
--- a/qadevOOo/tests/java/ifc/presentation/_PreviewView.java
+++ b/qadevOOo/tests/java/ifc/presentation/_PreviewView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,7 +30,7 @@ package ifc.presentation;
import lib.MultiPropertyTest;
public class _PreviewView extends MultiPropertyTest {
-
+
public void _CurrentPage() {
Object obj1 = tEnv.getObjRelation("FirstPage");
Object obj2 = tEnv.getObjRelation("SecondPage");
diff --git a/qadevOOo/tests/java/ifc/presentation/_SlidesView.java b/qadevOOo/tests/java/ifc/presentation/_SlidesView.java
index e20e9a9d14ab..b5c433965d10 100644
--- a/qadevOOo/tests/java/ifc/presentation/_SlidesView.java
+++ b/qadevOOo/tests/java/ifc/presentation/_SlidesView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_XCustomPresentationSupplier.java b/qadevOOo/tests/java/ifc/presentation/_XCustomPresentationSupplier.java
index 8507daae8bf0..7af935049f08 100644
--- a/qadevOOo/tests/java/ifc/presentation/_XCustomPresentationSupplier.java
+++ b/qadevOOo/tests/java/ifc/presentation/_XCustomPresentationSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_XPresentation.java b/qadevOOo/tests/java/ifc/presentation/_XPresentation.java
index d729348bed04..cc3ca14e2a12 100644
--- a/qadevOOo/tests/java/ifc/presentation/_XPresentation.java
+++ b/qadevOOo/tests/java/ifc/presentation/_XPresentation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/presentation/_XPresentationSupplier.java b/qadevOOo/tests/java/ifc/presentation/_XPresentationSupplier.java
index b3fbdcb4c407..63880efed4d3 100644
--- a/qadevOOo/tests/java/ifc/presentation/_XPresentationSupplier.java
+++ b/qadevOOo/tests/java/ifc/presentation/_XPresentationSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/qadevooo/_SelfTest.java b/qadevOOo/tests/java/ifc/qadevooo/_SelfTest.java
index 32c37ee87710..c38faa0d3625 100755
--- a/qadevOOo/tests/java/ifc/qadevooo/_SelfTest.java
+++ b/qadevOOo/tests/java/ifc/qadevooo/_SelfTest.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ public class _SelfTest extends MultiMethodTest
/**
*/
- public void before()
+ public void before()
{
log.println("_SelfTest.before()");
}
@@ -58,7 +58,7 @@ public class _SelfTest extends MultiMethodTest
log.println("_SelfTest._testmethod()");
tRes.tested("testmethod()", true);
}
-
+
public void _testmethod2()
{
log.println("_SelfTest._testmethod2()");
diff --git a/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java b/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
index 3f6345ff183f..4bc54010a8b8 100644
--- a/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
+++ b/qadevOOo/tests/java/ifc/reflection/_XIdlReflection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/reflection/_XProxyFactory.java b/qadevOOo/tests/java/ifc/reflection/_XProxyFactory.java
index 655cb59256d0..bb207246fb1f 100644
--- a/qadevOOo/tests/java/ifc/reflection/_XProxyFactory.java
+++ b/qadevOOo/tests/java/ifc/reflection/_XProxyFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/reflection/_XTypeDescriptionEnumerationAccess.java b/qadevOOo/tests/java/ifc/reflection/_XTypeDescriptionEnumerationAccess.java
index 615d12f18a35..a53278a46ea8 100644
--- a/qadevOOo/tests/java/ifc/reflection/_XTypeDescriptionEnumerationAccess.java
+++ b/qadevOOo/tests/java/ifc/reflection/_XTypeDescriptionEnumerationAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -61,15 +61,15 @@ public class _XTypeDescriptionEnumerationAccess extends MultiMethodTest {
return;
}
try {
- XTypeDescriptionEnumeration oEnum =
- oObj.createTypeDescriptionEnumeration(sString, tClass,
+ XTypeDescriptionEnumeration oEnum =
+ oObj.createTypeDescriptionEnumeration(sString, tClass,
TypeDescriptionSearchDepth.INFINITE);
try {
log.println("Got an enumeration.");
while (true) {
XTypeDescription desc = oEnum.nextTypeDescription();
i++;
- log.println("\tdesc name: " + desc.getName());
+ log.println("\tdesc name: " + desc.getName());
}
}
catch(com.sun.star.container.NoSuchElementException e) {
diff --git a/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java b/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
index 6d2458274cf1..409242d74f5b 100644
--- a/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
+++ b/qadevOOo/tests/java/ifc/registry/_XImplementationRegistration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java b/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java
index 9a7b22ac3002..30d437059c8c 100644
--- a/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java
+++ b/qadevOOo/tests/java/ifc/registry/_XSimpleRegistry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -384,7 +384,7 @@ public class _XSimpleRegistry extends MultiMethodTest {
* @param arg2 specifies if the data source should be created if it does not
* already exist
*/
- public void openReg(XSimpleRegistry reg, String url, boolean arg1,
+ public void openReg(XSimpleRegistry reg, String url, boolean arg1,
boolean arg2) {
if (nr == null) {
try {
diff --git a/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java b/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
index 8d9007dddc29..42215aaa44c1 100644
--- a/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
+++ b/qadevOOo/tests/java/ifc/script/_XEventAttacherManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
index e71b7f052182..718c5dd83dfe 100644
--- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
+++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
index 50a563986974..5f959312e6e0 100644
--- a/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
+++ b/qadevOOo/tests/java/ifc/script/_XInvocationAdapterFactory2.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/script/_XTypeConverter.java b/qadevOOo/tests/java/ifc/script/_XTypeConverter.java
index 9a25a8fd2d22..f288f2839158 100644
--- a/qadevOOo/tests/java/ifc/script/_XTypeConverter.java
+++ b/qadevOOo/tests/java/ifc/script/_XTypeConverter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_DataAccessDescriptor.java b/qadevOOo/tests/java/ifc/sdb/_DataAccessDescriptor.java
index e829acf98d5b..8ac12a3bba8b 100644
--- a/qadevOOo/tests/java/ifc/sdb/_DataAccessDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sdb/_DataAccessDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ public class _DataAccessDescriptor extends MultiPropertyTest {
log.println("set property to a new value...");
oObj.setPropertyValue(propName, newValue);
-
+
log.println("get the new value...");
XResultSet getValue = (XResultSet) UnoRuntime.queryInterface(XResultSet.class,oObj.getPropertyValue(propName));
@@ -66,7 +66,7 @@ public class _DataAccessDescriptor extends MultiPropertyTest {
log.println("Property '" + propName
+ "' is optional and not supported");
tRes.tested(propName,true);
-
+
} else {
log.println("could not get property '"+ propName +"' from XPropertySet!");
tRes.tested(propName, false);
@@ -92,7 +92,7 @@ public class _DataAccessDescriptor extends MultiPropertyTest {
log.println("set property to a new value...");
oObj.setPropertyValue(propName, newValue);
-
+
log.println("get the new value...");
XConnection getValue = (XConnection) UnoRuntime.queryInterface(XConnection.class,oObj.getPropertyValue(propName));
@@ -109,7 +109,7 @@ public class _DataAccessDescriptor extends MultiPropertyTest {
log.println("Property '" + propName
+ "' is optional and not supported");
tRes.tested(propName,true);
-
+
} else {
log.println("could not get property '"+ propName +"' from XPropertySet!");
tRes.tested(propName, false);
@@ -119,7 +119,7 @@ public class _DataAccessDescriptor extends MultiPropertyTest {
tRes.tested(propName, false);
}
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sdb/_DataSource.java b/qadevOOo/tests/java/ifc/sdb/_DataSource.java
index 735ad17f0d81..dc275fe5df7a 100644
--- a/qadevOOo/tests/java/ifc/sdb/_DataSource.java
+++ b/qadevOOo/tests/java/ifc/sdb/_DataSource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_DatasourceAdministrationDialog.java b/qadevOOo/tests/java/ifc/sdb/_DatasourceAdministrationDialog.java
index d3eca94c6556..9d62bab6405c 100644
--- a/qadevOOo/tests/java/ifc/sdb/_DatasourceAdministrationDialog.java
+++ b/qadevOOo/tests/java/ifc/sdb/_DatasourceAdministrationDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_ErrorMessageDialog.java b/qadevOOo/tests/java/ifc/sdb/_ErrorMessageDialog.java
index 581e4c59ecdd..f9af42b69173 100644
--- a/qadevOOo/tests/java/ifc/sdb/_ErrorMessageDialog.java
+++ b/qadevOOo/tests/java/ifc/sdb/_ErrorMessageDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,7 +58,7 @@ public class _ErrorMessageDialog extends MultiPropertyTest {
testProperty("SQLException", tEnv.getObjRelation("ERR1"),
tEnv.getObjRelation("ERR2")) ;
}
-
+
public void _ParentWindow(){
log.println("Testing with custom Property tester");
testProperty("ParentWindow", tEnv.getObjRelation("ERR_XWindow"), null);
diff --git a/qadevOOo/tests/java/ifc/sdb/_QueryDefinition.java b/qadevOOo/tests/java/ifc/sdb/_QueryDefinition.java
index 593420423a0b..a87733c044ff 100644
--- a/qadevOOo/tests/java/ifc/sdb/_QueryDefinition.java
+++ b/qadevOOo/tests/java/ifc/sdb/_QueryDefinition.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_RowSet.java b/qadevOOo/tests/java/ifc/sdb/_RowSet.java
index 367b353d0f68..593092780a1e 100644
--- a/qadevOOo/tests/java/ifc/sdb/_RowSet.java
+++ b/qadevOOo/tests/java/ifc/sdb/_RowSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -119,15 +119,15 @@ public class _RowSet extends MultiPropertyTest {
boolean result = false;
try {
XConnection the_connection = null;
-
+
try {
the_connection = (XConnection) AnyConverter.toObject(
new Type(XConnection.class),
oObj.getPropertyValue("ActiveConnection"));
} catch (com.sun.star.lang.IllegalArgumentException iae) {
throw new StatusException("couldn't convert Any",iae);
- }
-
+ }
+
result = (the_connection != null);
} catch (com.sun.star.beans.UnknownPropertyException e) {
log.println("the property is unknown");
diff --git a/qadevOOo/tests/java/ifc/sdb/_SingleSelectQueryComposer.java b/qadevOOo/tests/java/ifc/sdb/_SingleSelectQueryComposer.java
index e7fb46e65055..0ccbf0420602 100644
--- a/qadevOOo/tests/java/ifc/sdb/_SingleSelectQueryComposer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_SingleSelectQueryComposer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XBookmarksSupplier.java b/qadevOOo/tests/java/ifc/sdb/_XBookmarksSupplier.java
index 135188848a7f..47a1f501224e 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XBookmarksSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XBookmarksSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java b/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java
index 8dc2192ab057..6d36198bfa0f 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XCompletedConnection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java b/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java
index 2710085b3281..3d1c28c6aea0 100755
--- a/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XCompletedExecution.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ public class _XCompletedExecution extends MultiMethodTest {
// oObj filled by MultiMethodTest
public XCompletedExecution oObj = null ;
-
+
private CheckInteractionHandler checkHandler = null;
/**
* Interface to implement so the call of the listener can be checked.
@@ -64,7 +64,7 @@ public class _XCompletedExecution extends MultiMethodTest {
checkHandler.setLog((PrintWriter)log);
}
-
+
public void _executeWithCompletion() {
try {
oObj.executeWithCompletion(checkHandler);
@@ -74,7 +74,7 @@ public class _XCompletedExecution extends MultiMethodTest {
tRes.tested("executeWithCompletion()", false);
return;
}
-
+
tRes.tested("executeWithCompletion()", checkHandler.checkInteractionHandler());
}
diff --git a/qadevOOo/tests/java/ifc/sdb/_XFormDocumentsSupplier.java b/qadevOOo/tests/java/ifc/sdb/_XFormDocumentsSupplier.java
index b4a415bc3ac1..b8985324e96a 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XFormDocumentsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XFormDocumentsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XParametersSupplier.java b/qadevOOo/tests/java/ifc/sdb/_XParametersSupplier.java
index 109bb24c4462..865c3f15e47f 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XParametersSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XParametersSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XQueryDefinitionsSupplier.java b/qadevOOo/tests/java/ifc/sdb/_XQueryDefinitionsSupplier.java
index 942da74cc999..2c9d83716d2f 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XQueryDefinitionsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XQueryDefinitionsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XReportDocumentsSupplier.java b/qadevOOo/tests/java/ifc/sdb/_XReportDocumentsSupplier.java
index 75b7c2f51a0a..2abe69303961 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XReportDocumentsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XReportDocumentsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java b/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java
index 7f68a57d0b1c..29711bff9f33 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XResultSetAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java
index 2993b60fe19a..cd4a0490559b 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XRowSetApproveBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster.java b/qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster.java
index 47facc31805e..2b5d7f1513a7 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSQLErrorBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,6 +33,6 @@ import lib.MultiMethodTest;
*
*/
public class _XSQLErrorBroadcaster extends MultiMethodTest {
-
+
public XSQLErrorBroadcaster oObj = null;
}
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
index 5b7dca9342f4..cc88075a9b8b 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryAnalyzer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,9 +60,9 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
public XSingleSelectQueryAnalyzer oObj = null ;
private String queryString = "SELECT * FROM \"biblio\"";
-
+
private XSingleSelectQueryComposer xComposer = null;
-
+
/**
* Recieves the object relations:
* <ul>
@@ -79,9 +79,9 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
if (xComposer == null) {
throw new StatusException(Status.failed(
"Couldn't get object relation 'xComposer'. Test must be modified"));
-
+
}
-
+
}
/**
* call <code>setQuery()</code> once with valid query, once with invalid
@@ -94,7 +94,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
} catch (com.sun.star.sdbc.SQLException e){
log.println("expected Exception. ");
}
-
+
try{
oObj.setQuery(queryString);
} catch (com.sun.star.sdbc.SQLException e){
@@ -103,7 +103,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
}
tRes.tested("setQuery()", true);
}
-
+
/**
* checks of the returned value of <code>getQuery()</code>
* equals the string which was set by <code>setQuery()</code>
@@ -117,13 +117,13 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
this.requiredMethod("setQuery()");
boolean res = false;
-
+
res = oObj.getQuery().equals(queryString);
-
+
tRes.tested("getQuery()", res);
}
-
-
+
+
/**
* Object relation <code>xComposer</code> set a filter. This filter
* must returned while calling <code>getFilter</code>
@@ -133,13 +133,13 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
String filter = "\"Identifier\" = 'BOR02b'";
xComposer.setFilter(filter);
tRes.tested("getFilter()", (oObj.getFilter().equals(filter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getFilter()", false);
}
}
-
+
/**
* Object relation <code>xComposer</code> set a complex filter with method
. <code>setFilter</code>. Then <code>getStructuredFilter</code> returns a
@@ -164,7 +164,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
xComposer.setFilter("");
xComposer.setStructuredFilter(aStructuredFilter);
tRes.tested("getStructuredFilter()", (oObj.getFilter().equals(complexFilter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getStructuredFilter()", false);
@@ -173,7 +173,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
tRes.tested("getStructuredFilter()", false);
}
}
-
+
/**
* Object relation <code>xComposer</code> set a goup. This group
* must returned while calling <code>getGroup</code>
@@ -183,25 +183,25 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
String group = "\"Identifier\"";
xComposer.setGroup(group);
tRes.tested("getGroup()", (oObj.getGroup().equals(group)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getGroup()", false);
}
}
-
+
/**
* Method <code>getGroupColumns</code> retunrs a <code>XIndexAccess</code>
* Test has ok status if returned value is an useable <code>XIndexAccess</code>
*/
public void _getGroupColumns() {
try{
- XIndexAccess xGroupColumns = oObj.getGroupColumns();
-
- tRes.tested("getGroupColumns()", (xGroupColumns != null &&
- xGroupColumns.getCount() == 1 &&
+ XIndexAccess xGroupColumns = oObj.getGroupColumns();
+
+ tRes.tested("getGroupColumns()", (xGroupColumns != null &&
+ xGroupColumns.getCount() == 1 &&
xGroupColumns.getByIndex(0) != null));
-
+
} catch (com.sun.star.lang.IndexOutOfBoundsException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getGroupColumns()", false);
@@ -210,7 +210,7 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
tRes.tested("getGroupColumns()", false);
}
}
-
+
/**
* Object relation <code>xComposer</code> set a clause. This clause
* must returned while calling <code>getHavingClause</code>
@@ -221,13 +221,13 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
xComposer.setHavingClause(clause);
tRes.tested("getHavingClause()", (
oObj.getHavingClause().equals(clause)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getHavingClause()", false);
}
}
-
+
/**
* Object relation <code>xComposer</code> set a clause. This clause
* must returned while calling <code>getHavingClause</code>
@@ -244,21 +244,21 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
requiredMethod("getFilter()");
executeMethod("getStructuredFilter()");
String complexFilter = "( \"Identifier\" = '1' AND \"Type\" = '4' ) OR ( \"Identifier\" = '2' AND \"Type\" = '5' ) OR ( \"Identifier\" = '3' AND \"Type\" = '6' AND \"Address\" = '7' ) OR ( \"Address\" = '8' ) OR ( \"Type\" = '9' )";
-
+
try{
xComposer.setHavingClause(complexFilter);
PropertyValue[][] aStructuredHaving = oObj.getStructuredHavingClause();
xComposer.setHavingClause("");
xComposer.setStructuredHavingClause(aStructuredHaving);
- tRes.tested("getStructuredHavingClause()",
+ tRes.tested("getStructuredHavingClause()",
(oObj.getHavingClause().equals(complexFilter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getStructuredHavingClause()", false);
}
}
-
+
/**
* Object relation <code>xComposer</code> set an order. This order
* must returned while calling <code>getOrder</code>
@@ -268,13 +268,13 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
String order = "\"Identifier\"";
xComposer.setOrder(order);
tRes.tested("getOrder()", (oObj.getOrder().equals(order)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getOrder()", false);
}
}
-
+
/**
* Method <code>getGroupColumns</code> retunrs a <code>XIndexAccess</code>
* Test has ok status if returned value is an useable <code>XIndexAccess</code>
@@ -282,10 +282,10 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
public void _getOrderColumns() {
try{
XIndexAccess xOrderColumns = oObj.getOrderColumns();
- tRes.tested("getOrderColumns()", (xOrderColumns != null &&
- xOrderColumns.getCount() == 1 &&
+ tRes.tested("getOrderColumns()", (xOrderColumns != null &&
+ xOrderColumns.getCount() == 1 &&
xOrderColumns.getByIndex(0) != null));
-
+
} catch (com.sun.star.lang.IndexOutOfBoundsException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("getOrderColumns()", false);
@@ -294,6 +294,6 @@ public class _XSingleSelectQueryAnalyzer extends MultiMethodTest {
tRes.tested("getOrderColumns()", false);
}
}
-
+
} // finish class _XSingleSelectQueryAnalyzer
diff --git a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
index fa987a09a227..12562abde2b9 100644
--- a/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
+++ b/qadevOOo/tests/java/ifc/sdb/_XSingleSelectQueryComposer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,13 +62,13 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
public XSingleSelectQueryComposer oObj = null ;
private String queryString = "SELECT * FROM \"biblio\"";
-
+
private XSingleSelectQueryAnalyzer xQueryAna = null;
-
+
private XPropertySet xProp = null;
-
+
private String colName = null;
-
+
/**
* Retcieves the object relations:
* <ul>
@@ -88,9 +88,9 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
if (xQueryAna == null) {
throw new StatusException(Status.failed(
"Couldn't get object relation 'xQueryAna'. Test must be modified"));
-
+
}
-
+
xProp = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class,
tEnv.getObjRelation("xProp"));
@@ -98,9 +98,9 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
if (xProp == null) {
throw new StatusException(Status.failed(
"Couldn't get object relation 'xProp'. Test must be modified"));
-
+
}
-
+
try
{
colName = AnyConverter.toString(tEnv.getObjRelation("colName"));
@@ -113,12 +113,12 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
if (colName == null) {
throw new StatusException(Status.failed(
"Couldn't get object relation 'colName'. Test must be modified"));
-
+
}
-
+
}
-
-
+
+
/**
* Object relation <code>xQueryAna</code> set a filter. This filter
* must returned while calling <code>getFilter</code>
@@ -128,13 +128,13 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
String filter = "\"Identifier\" = 'BOR02b'";
oObj.setFilter(filter);
tRes.tested("setFilter()", (xQueryAna.getFilter().equals(filter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setFilter()", false);
}
}
-
+
/**
* Object relation <code>xQueryAna</code> set a complex filter with method
. <code>setFilter</code>. Then <code>getStructuredFilter</code> returns a
@@ -152,7 +152,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.setFilter("");
oObj.setStructuredFilter(aStructuredFilter);
tRes.tested("setStructuredFilter()", (xQueryAna.getFilter().equals(complexFilter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setStructuredFilter()", false);
@@ -161,10 +161,10 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
tRes.tested("setStructuredFilter()", false);
}
}
-
+
/**
- * At first the object relation <code>xProp</code> was set as parameter.
- * Relation <code>xQueryAna</code> was used to chek if realtion
+ * At first the object relation <code>xProp</code> was set as parameter.
+ * Relation <code>xQueryAna</code> was used to chek if realtion
* <code>colName</code> was found.
* Second an empty <code>XPropertySet</code> was used as parameter. A
* <code>com.sun.star.sdbc.SQLException</code> must be thrown.
@@ -172,22 +172,22 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
public void _appendFilterByColumn() {
boolean ok = true;
try{
-
+
oObj.appendFilterByColumn(xProp, true,SQLFilterOperator.EQUAL);
log.println("appendFilterByColumn: " + xQueryAna.getFilter());
ok = ok && (xQueryAna.getFilter().indexOf(colName) > 0);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("appendFilterByColumn()", false);
}
try{
-
+
oObj.appendFilterByColumn(xProp, false,SQLFilterOperator.EQUAL);
log.println("appendFilterByColumn: " + xQueryAna.getFilter());
ok = ok && (xQueryAna.getFilter().indexOf(colName) > 0);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("appendFilterByColumn()", false);
@@ -198,7 +198,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.appendFilterByColumn(dummy, true,SQLFilterOperator.EQUAL);
log.println("expected Exception was not thrown");
tRes.tested("appendFilterByColumn()", false);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("expected Exception");
ok = ok && true;
@@ -216,11 +216,11 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
public void _appendGroupByColumn() {
boolean ok = true;
try{
-
+
oObj.appendGroupByColumn(xProp);
log.println("appendGroupByColumn: " + xQueryAna.getFilter());
ok = ok && (xQueryAna.getFilter().indexOf(colName) > 0);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("appendGroupByColumn()", false);
@@ -230,17 +230,17 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.appendGroupByColumn(dummy);
log.println("expected Exception was not thrown");
tRes.tested("appendGroupByColumn()", false);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("expected Exception");
ok = ok && true;
}
- tRes.tested("appendGroupByColumn()", ok);
+ tRes.tested("appendGroupByColumn()", ok);
}
/**
* The group which was setted by <code>setGroup</code> must be returned
- * while calling from object relation <code>XQueryAna</code>
+ * while calling from object relation <code>XQueryAna</code>
* method <code>getGroup</code>
*/
public void _setGroup() {
@@ -248,17 +248,17 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
String group = "\"Identifier\"";
oObj.setGroup(group);
tRes.tested("setGroup()", (xQueryAna.getGroup().equals(group)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setGroup()", false);
}
}
-
-
+
+
/**
* The cluase which was setted by <code>setHavingClause</code> must be returned
- * while calling from object relation <code>XQueryAna</code>
+ * while calling from object relation <code>XQueryAna</code>
* method <code>getHavingClause</code>
*/
public void _setHavingClause() {
@@ -267,17 +267,17 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.setHavingClause(clause);
tRes.tested("setHavingClause()", (
xQueryAna.getHavingClause().equals(clause)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setHavingClause()", false);
}
}
-
+
/**
* At first <code>setHavingClause</code> sets a complex clause.
* Then method <code>getStructuredHavingClause</code> from object relation
- * <code>xQueryAna</code> returns a valid <code>PropertyValue[][]</code>
+ * <code>xQueryAna</code> returns a valid <code>PropertyValue[][]</code>
* Method <code>setHavingClause</code> was called with an empty sting to
* reset filter. Now <code>setStructuredHavingClause</code> with the valid
* <code>PropertyValue[][]</code> as parameter was called.
@@ -294,16 +294,16 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
requiredMethod("setHavingClause()");
executeMethod("setStructuredFilter()");
String complexFilter = "( \"Identifier\" = '1' AND \"Type\" = '4' ) OR ( \"Identifier\" = '2' AND \"Type\" = '5' ) OR ( \"Identifier\" = '3' AND \"Type\" = '6' AND \"Address\" = '7' ) OR ( \"Address\" = '8' ) OR ( \"Type\" = '9' )";
-
+
try{
oObj.setHavingClause(complexFilter);
- PropertyValue[][] aStructuredHaving =
+ PropertyValue[][] aStructuredHaving =
xQueryAna.getStructuredHavingClause();
oObj.setHavingClause("");
oObj.setStructuredHavingClause(aStructuredHaving);
- tRes.tested("setStructuredHavingClause()",
+ tRes.tested("setStructuredHavingClause()",
(xQueryAna.getHavingClause().equals(complexFilter)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setStructuredHavingClause()", false);
@@ -320,11 +320,11 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
public void _appendHavingClauseByColumn() {
boolean ok = true;
try{
-
+
oObj.appendHavingClauseByColumn(xProp, true,SQLFilterOperator.EQUAL);
log.println("appendHavingClauseByColumn: " + xQueryAna.getFilter());
ok = ok && (xQueryAna.getFilter().indexOf(colName) > 0);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("appendHavingClauseByColumn()", false);
@@ -334,7 +334,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.appendHavingClauseByColumn(dummy, true,SQLFilterOperator.EQUAL);
log.println("expected Exception was not thrown");
tRes.tested("appendHavingClauseByColumn()", false);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("expected Exception");
ok = ok && true;
@@ -352,11 +352,11 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
public void _appendOrderByColumn() {
boolean ok = true;
try{
-
+
oObj.appendOrderByColumn(xProp, true);
log.println("appendOrderByColumn: " + xQueryAna.getFilter());
ok = ok && (xQueryAna.getFilter().indexOf(colName) > 0);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("appendOrderByColumn()", false);
@@ -366,7 +366,7 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
oObj.appendOrderByColumn(dummy, true);
log.println("expected Exception was not thrown");
tRes.tested("appendOrderByColumn()", false);
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("expected Exception");
ok = ok && true;
@@ -384,13 +384,13 @@ public class _XSingleSelectQueryComposer extends MultiMethodTest {
String order = "\"Identifier\"";
oObj.setOrder(order);
tRes.tested("setOrder()", (xQueryAna.getOrder().equals(order)));
-
+
} catch (com.sun.star.sdbc.SQLException e){
log.println("unexpected Exception: " + e.toString());
tRes.tested("setOrder()", false);
}
}
-
-
+
+
} // finish class _XSingleSelectQueryComposer
diff --git a/qadevOOo/tests/java/ifc/sdbc/_ResultSet.java b/qadevOOo/tests/java/ifc/sdbc/_ResultSet.java
index bbbee54f9427..c85adfb261e8 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_ResultSet.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_ResultSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_RowSet.java b/qadevOOo/tests/java/ifc/sdbc/_RowSet.java
index 3a4fcecbadd8..2c8aaee986ab 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_RowSet.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_RowSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,9 +73,9 @@ public class _RowSet extends MultiPropertyTest {
} catch(com.sun.star.beans.UnknownPropertyException e) {
log.println("Exception " + e.getMessage());
}
-
+
tRes.tested("TypeMap",result);
- }
+ }
} // finish class _RowSet
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java b/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java
index 7877ad3742d9..ab4c0d936b18 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XCloseable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java b/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java
index d91c5c1ab2d0..bb391c18334a 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XColumnLocate.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XDataSource.java b/qadevOOo/tests/java/ifc/sdbc/_XDataSource.java
index 6c1767887861..78c4cf317ff3 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XDataSource.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XDataSource.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XDriver.java b/qadevOOo/tests/java/ifc/sdbc/_XDriver.java
index 8c9085a96f51..51603b7edeaa 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XDriver.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XDriver.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -110,10 +110,10 @@ public class _XDriver extends MultiMethodTest {
res &= (connection == null);
log.println("Connected? " + !res);
} catch(SQLException e) {
- log.println("Unexpected exception");
+ log.println("Unexpected exception");
res &= false;
}
-
+
if (nbu==null) {
try {
String badUrl = url + "bla";
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XDriverManager.java b/qadevOOo/tests/java/ifc/sdbc/_XDriverManager.java
index 6921aef8db7e..a4a01f2fbce6 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XDriverManager.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XDriverManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -139,7 +139,7 @@ public class _XDriverManager extends MultiMethodTest {
* the method <code>getLoginTimeout()</code> are equal.
*/
public void _setLoginTimeout() {
- requiredMethod("getLoginTimeout()");
+ requiredMethod("getLoginTimeout()");
final int TO = 111;
log.println("setLoginTimeout(" + TO + ")");
oObj.setLoginTimeout(TO);
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java b/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java
index 36ea27516c26..dd2500fdf9c9 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XIsolatedConnection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -107,7 +107,7 @@ public class _XIsolatedConnection extends MultiMethodTest {
pwd = userSettings[1].equals("")?"<empty>":userSettings[1];
else
pwd = "<null>";
-
+
log.println("Testing \"getIsolatedConnection('user', 'password')\"\n" +
"with user = '" + user + "'; password = '" + pwd + "'");
XConnection con = null ;
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
index e462a9aecab2..a87562948ec1 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XParameters.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java
index 69c7d1468b7a..0f62b6659a9f 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java
index 84844907f03a..7ffeb893d4d5 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSetMetaDataSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java
index db5b2d1599da..695a087acf86 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XResultSetUpdate.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRow.java b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
index 6c442d0255a5..7e7845344174 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRow.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java
index 0bfa4cba2957..78099cee0826 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRowSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
index c22246888441..619678af2f91 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XRowUpdate.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java b/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java
index cbca4c600a4a..9f49eec04eca 100644
--- a/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbc/_XWarningsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,7 +69,7 @@ public class _XWarningsSupplier extends MultiMethodTest {
// not sure what the below test was intended to test, but it actually fails with an SQLException (which is
// correct for what is done there), and thus makes the complete interface test fail (which is not correct)
// So, for the moment, just let the test succeed all the time - until issue #i84235# is fixed
-
+
if ( false )
{
int oldVal = 0, newVal = 0;
@@ -95,7 +95,7 @@ public class _XWarningsSupplier extends MultiMethodTest {
boolean res = false;
- try
+ try
{
Object warns = oObj.getWarnings();
res = (!utils.isVoid(warns));
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_ResultSet.java b/qadevOOo/tests/java/ifc/sdbcx/_ResultSet.java
index 2e8cbaf4b006..4150ce3d4fc3 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_ResultSet.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_ResultSet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,5 +41,5 @@ import lib.MultiPropertyTest;
*/
public class _ResultSet extends MultiPropertyTest {
-}
+}
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XColumnsSupplier.java b/qadevOOo/tests/java/ifc/sdbcx/_XColumnsSupplier.java
index 61fa1c2a145b..79d1eee422e6 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XColumnsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XColumnsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XCreateCatalog.java b/qadevOOo/tests/java/ifc/sdbcx/_XCreateCatalog.java
index d657aac3f587..bda344bf26fb 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XCreateCatalog.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XCreateCatalog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java b/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
index 11f68d19ce86..e12d10ace540 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XDataDefinitionSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java b/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java
index 230e513e1b2c..0c2712b236de 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XDeleteRows.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XDropCatalog.java b/qadevOOo/tests/java/ifc/sdbcx/_XDropCatalog.java
index f3135c15e3bf..e6d59b16e376 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XDropCatalog.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XDropCatalog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java b/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java
index 6c8bca02ada1..0e11f9c59c3d 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XRowLocate.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,7 +69,7 @@ public class _XRowLocate extends MultiMethodTest {
try {
bookmark1 = oObj.getBookmark() ;
} catch (SQLException e) {
- log.println("Exception occured :" + e) ;
+ log.println("Exception occured :" + e) ;
}
tRes.tested("getBookmark()", bookmark1 != null) ;
diff --git a/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java b/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java
index c3318d2f2fa4..c3747553ccda 100644
--- a/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sdbcx/_XTablesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,7 +55,7 @@ public class _XTablesSupplier extends MultiMethodTest {
XNameAccess tabs = oObj.getTables() ;
-
+
String[] tabNames = tabs.getElementNames() ;
log.println("Table names:") ;
@@ -71,7 +71,7 @@ public class _XTablesSupplier extends MultiMethodTest {
log.println("Support : " +
info.supportsService("com.sun.star.sdbcx.Table")) ;
-
+
tRes.tested("getTables()", tabs != null) ;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java b/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java
index cef1fcd32153..55bc00bd0bd5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_CellAreaLink.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java b/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
index 272c49798d54..0f5bd210fada 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DataPilotField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@ import lib.MultiPropertyTest;
* @see com.sun.star.sheet.DataPilotField
*/
public class _DataPilotField extends MultiPropertyTest {
-
+
/**
*This class is destined to custom test of property <code>SortInfo</code>.
*/
@@ -64,13 +64,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _SortInfo() {
testProperty("SortInfo", SortInfoTester);
- }
-
+ }
+
public void _HasSortInfo() {
requiredMethod("SortInfo");
testProperty("HasSortInfo");
}
-
+
/**
*This class is destined to custom test of property <code>LayoutInfo</code>.
*/
@@ -89,13 +89,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _LayoutInfo() {
testProperty("LayoutInfo", LayoutInfoTester);
- }
-
+ }
+
public void _HasLayoutInfo() {
requiredMethod("LayoutInfo");
testProperty("HasLayoutInfo");
- }
-
+ }
+
/**
*This class is destined to custom test of property <code>AutoShowInfo</code>.
*/
@@ -114,13 +114,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _AutoShowInfo() {
testProperty("AutoShowInfo", AutoShowInfoTester);
- }
-
+ }
+
public void _HasAutoShowInfo() {
requiredMethod("AutoShowInfo");
testProperty("HasAutoShowInfo");
- }
-
+ }
+
/**
*This class is destined to custom test of property <code>Reference</code>.
*/
@@ -139,13 +139,13 @@ public class _DataPilotField extends MultiPropertyTest {
*/
public void _Reference() {
testProperty("Reference", ReferenceTester);
- }
-
+ }
+
public void _HasReference() {
requiredMethod("Reference");
testProperty("HasReference");
- }
-
+ }
+
/*
* this property can only set a true value to false, fo ungrouping purposes
*/
@@ -157,7 +157,7 @@ public class _DataPilotField extends MultiPropertyTest {
oObj.setPropertyValue ("IsGroupField", Boolean.FALSE);
Boolean propV = (Boolean) oObj.getPropertyValue ("IsGroupField");
result = !propV.booleanValue ();
- }
+ }
} catch (Exception e) {
log.println ("Exception while getting Property 'IsGroupField'"+e);
result = false;
diff --git a/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java b/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java
index a83bd47543f4..368723761e58 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DataPilotItem.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java
index bb819a0f43e7..688b77d2eed8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DatabaseImportDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java b/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java
index f32fe6c27c40..c4c1732e7a38 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DatabaseRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java b/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java
index 6074e8e6cb3f..6bda7836fde1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_DocumentSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,6 +34,6 @@ import lib.MultiPropertyTest;
*/
public class _DocumentSettings extends MultiPropertyTest{
-
-
+
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
index 3fe0017ad6db..9a9e242086a1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
+++ b/qadevOOo/tests/java/ifc/sheet/_FunctionDescription.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java b/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java
index 514645be45b3..9a42db1d5eb8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_GlobalSheetSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_Scenario.java b/qadevOOo/tests/java/ifc/sheet/_Scenario.java
index b7d206465d2a..4f9db71d140e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Scenario.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Scenario.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,7 +34,7 @@ import lib.MultiPropertyTest;
public class _Scenario extends MultiPropertyTest {
public void before() {
- oObj = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
+ oObj = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class,
tEnv.getObjRelation(
"ScenarioSheet"));
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_Shape.java b/qadevOOo/tests/java/ifc/sheet/_Shape.java
index 0d1daca95b54..ad23b22b2239 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Shape.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Shape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@ import lib.MultiPropertyTest;
public class _Shape extends MultiPropertyTest {
public void _Anchor() {
XSpreadsheetDocument xSheetDoc = (XSpreadsheetDocument) UnoRuntime.queryInterface(
- XSpreadsheetDocument.class,
+ XSpreadsheetDocument.class,
tEnv.getObjRelation(
"DOCUMENT"));
String[] sheetNames = xSheetDoc.getSheets().getElementNames();
@@ -46,7 +46,7 @@ public class _Shape extends MultiPropertyTest {
try {
xSheet = (XSpreadsheet) UnoRuntime.queryInterface(
- XSpreadsheet.class,
+ XSpreadsheet.class,
xSheetDoc.getSheets().getByName(sheetNames[0]));
xCell = xSheet.getCellByPosition(0, 0);
} catch (com.sun.star.container.NoSuchElementException e) {
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCell.java b/qadevOOo/tests/java/ifc/sheet/_SheetCell.java
index ebb943082792..b132f8c4b15d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCell.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCell.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,7 +32,7 @@ import lib.MultiPropertyTest;
public class _SheetCell extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java b/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java
index d2db014584a0..d8f0a2bf1ddc 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCellRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java
index 7e7ed35e092f..9da72fb53c80 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetCellRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java
index 423042bb8d3a..02b7616d0e7c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetFilterDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetLink.java b/qadevOOo/tests/java/ifc/sheet/_SheetLink.java
index d4711f878716..0e2b8dd13b75 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetLink.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
index cf63e30250d9..f4628605f912 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SheetSortDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java
index f1a78acc64aa..4d2058e1ec73 100644
--- a/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java
+++ b/qadevOOo/tests/java/ifc/sheet/_Spreadsheet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java
index 0fe1021d7155..f26759a5b08d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
index 6c4abe99f413..a622af71236d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected PropertyTester DateTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
Date date = (Date) oldValue;
- Date newDate = new Date((short) (date.Day - 1), date.Month,
+ Date newDate = new Date((short) (date.Day - 1), date.Month,
date.Year);
return newDate;
@@ -82,10 +82,10 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected boolean compare(Object obj1, Object obj2) {
Locale loc = new Locale("ru", "RU", "");
XForbiddenCharacters fc1 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj1);
XForbiddenCharacters fc2 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj2);
boolean has1 = fc1.hasForbiddenCharacters(loc);
boolean has2 = fc2.hasForbiddenCharacters(loc);
@@ -121,8 +121,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
public ForbiddenCharacters getForbiddenCharacters(Locale rLocale)
throws com.sun.star.container.NoSuchElementException {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return chrs;
}
@@ -130,7 +130,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
throw new com.sun.star.container.NoSuchElementException();
}
- public void setForbiddenCharacters(Locale rLocale,
+ public void setForbiddenCharacters(Locale rLocale,
ForbiddenCharacters rForbiddenCharacters) {
}
@@ -138,8 +138,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
}
public boolean hasForbiddenCharacters(Locale rLocale) {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return true;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
index c857b2420020..9563db05ae08 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetViewSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -62,7 +62,7 @@ import lib.MultiPropertyTest;
*/
public class _SpreadsheetViewSettings extends MultiPropertyTest {
public void _ZoomType() {
- testProperty("ZoomType", new Short(DocumentZoomType.PAGE_WIDTH),
+ testProperty("ZoomType", new Short(DocumentZoomType.PAGE_WIDTH),
new Short(DocumentZoomType.BY_VALUE));
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java
index c478a0f54252..9e6e381be1b1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SubTotalDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java
index bb86aa8bc069..14428e6f71a8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormat.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
index 8b6f06acccd9..c7a6c82c178e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableAutoFormatField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java b/qadevOOo/tests/java/ifc/sheet/_TableValidation.java
index 552664f71c68..0ba8b3606cfb 100644
--- a/qadevOOo/tests/java/ifc/sheet/_TableValidation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_TableValidation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java
index c4d03c5abf5f..0348452c611a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XActivationBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,11 +45,11 @@ public class _XActivationBroadcaster extends MultiMethodTest {
protected XSpreadsheet two = null;
public void _addActivationEventListener() {
-
+
log.println("trying to add an invalid listener");
oObj.addActivationEventListener(listener);
log.println(".... OK");
-
+
log.println("adding a valid listener");
listener = new MyListener();
oObj.addActivationEventListener(listener);
@@ -83,7 +83,7 @@ public class _XActivationBroadcaster extends MultiMethodTest {
public void before() {
xSpreadsheetView = (XSpreadsheetView) UnoRuntime.queryInterface(
- XSpreadsheetView.class,
+ XSpreadsheetView.class,
tEnv.getTestObject());
two = (XSpreadsheet) tEnv.getObjRelation("Sheet");
diff --git a/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java b/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java
index 74a95f3b2a94..bbefd7e4c642 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XAreaLink.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java b/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java
index 460bce6c3b84..04170976ba85 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XAreaLinks.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java
index 7cb4d8aed12c..2c489e4c4f50 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XArrayFormulaRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -171,12 +171,12 @@ public class _XArrayFormulaRange extends MultiMethodTest {
return p1 == s1.length() && p2 == s2.length() ;
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java b/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java
index 36bb27423e25..712f74f7c596 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCalculatable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ public class _XCalculatable extends MultiMethodTest {
public XCalculatable oObj = null;
private boolean bIsAutomaticCalculationEnabled = false;
private XCell[] xCells = null;
-
+
/**
* Get object relation: four cells with values and formulas.
* @see mod._sc.ScModelObj
@@ -50,7 +50,7 @@ public class _XCalculatable extends MultiMethodTest {
throw new StatusException(Status.failed("Couldn't find correct object relation 'XCalculatable.Cells'"));
}
-
+
/**
* Restore begin setting
*/
@@ -58,8 +58,8 @@ public class _XCalculatable extends MultiMethodTest {
// reset to begin value
oObj.enableAutomaticCalculation(bIsAutomaticCalculationEnabled);
}
-
-
+
+
public void _calculate() {
requiredMethod("isAutomaticCalculationEnabled()");
boolean result = true;
@@ -73,7 +73,7 @@ public class _XCalculatable extends MultiMethodTest {
result &= ergValue1 != ergValue2;
tRes.tested("calculate()", result);
}
-
+
public void _calculateAll() {
requiredMethod("isAutomaticCalculationEnabled()");
boolean result = true;
@@ -88,18 +88,18 @@ public class _XCalculatable extends MultiMethodTest {
oObj.calculateAll();
tRes.tested("calculateAll()", result);
}
-
+
public void _enableAutomaticCalculation() {
bIsAutomaticCalculationEnabled = oObj.isAutomaticCalculationEnabled();
oObj.enableAutomaticCalculation(!bIsAutomaticCalculationEnabled);
tRes.tested("enableAutomaticCalculation()", true);
}
-
+
public void _isAutomaticCalculationEnabled() {
requiredMethod("enableAutomaticCalculation()");
boolean result = oObj.isAutomaticCalculationEnabled();
oObj.enableAutomaticCalculation(false);
tRes.tested("isAutomaticCalculationEnabled()", result != bIsAutomaticCalculationEnabled);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java b/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java
index 777fe26b1e2e..d6d1d47b0e6a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellAddressable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java
index 4bc93a7f613d..bf0c2a82bd5f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellFormatRangesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,15 +43,15 @@ import com.sun.star.sheet.XCellFormatRangesSupplier;
*/
public class _XCellFormatRangesSupplier extends MultiMethodTest {
-
+
public XCellFormatRangesSupplier oObj = null;
-
+
/**
* call the method getCellFormatRanges and returns OK result if
* the gained XIndexAccess isn't null and the method checkIndexAccess
* returns true.
*/
-
+
public void _getCellFormatRanges() {
boolean res = true;
XIndexAccess xIA = oObj.getCellFormatRanges();
@@ -63,12 +63,12 @@ public class _XCellFormatRangesSupplier extends MultiMethodTest {
}
tRes.tested("getCellFormatRanges()",res);
}
-
+
/**
* calls the method getCount at the IndexAccess, returns true is it is >0
* and getByIndex() doesn't throw an exception for Indexes between 0 and count
*/
-
+
protected boolean checkIndexAccess(XIndexAccess xIA) {
boolean res = true;
int count = xIA.getCount();
@@ -88,5 +88,5 @@ public class _XCellFormatRangesSupplier extends MultiMethodTest {
}
return res;
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java
index 300dcf30dca8..3c0a03f409e3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeAddressable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java
index 8127164568b1..61c4b315f3e1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeData.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,7 +36,7 @@ public class _XCellRangeData extends MultiMethodTest {
public XCellRangeData oObj = null;
private Object[][] maCRData = null;
-
+
/**
* Test calls the method
* state is OK if the resulting Object array
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java
index e408a3a2b1b0..4152a7d34ffd 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeFormula.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,9 +32,9 @@ import com.sun.star.sheet.XCellRangeFormula;
public class _XCellRangeFormula extends lib.MultiMethodTest {
public XCellRangeFormula oObj = null;
-
+
public String[][] orgValue = null;
-
+
public void _getFormulaArray() {
Object noArray = tEnv.getObjRelation("noArray");
if (noArray != null) {
@@ -44,7 +44,7 @@ public class _XCellRangeFormula extends lib.MultiMethodTest {
+ " the whole sheet");
tRes.tested("getFormulaArray()", true);
return;
- }
+ }
orgValue = oObj.getFormulaArray();
String[][] newValue = oObj.getFormulaArray();
newValue[0][0] = "inserted";
@@ -63,9 +63,9 @@ public class _XCellRangeFormula extends lib.MultiMethodTest {
+ " the whole sheet");
tRes.tested("setFormulaArray()", true);
return;
- }
+ }
oObj.setFormulaArray(orgValue);
boolean res = oObj.getFormulaArray()[0][0].equals(orgValue[0][0]);
tRes.tested("setFormulaArray()",res);
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java
index 13468122b25e..ef95f1d5a423 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeMovement.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java
index 320c7940d03e..013504395955 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangeReferrer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java
index eac4a5a31d10..082bcd42fb74 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellRangesQuery.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ import com.sun.star.uno.UnoRuntime;
* <ul>
* <li>"SHEET": an XSpreadSheet object
* </li>
- * <li>"XCellRangesQuery.EXPECTEDRESULTS": the expected results for the test
+ * <li>"XCellRangesQuery.EXPECTEDRESULTS": the expected results for the test
* methods as a String array.<br>
* @see mod._sc.ScCellCurserObj or
* @see mod._sc.ScCellObj for an example how this should look like.
@@ -73,7 +73,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
public static final int QUERYINTERSECTION = 4;
public static final int QUERYROWDIFFERENCES = 5;
public static final int QUERYVISIBLECELLS = 6;
-
+
protected void before() {
oSheet = (XSpreadsheet) tEnv.getObjRelation("SHEET");
@@ -94,13 +94,13 @@ public class _XCellRangesQuery extends MultiMethodTest {
"XCellRangesQuery.EXPECTEDRESULTS");
XColumnRowRange oColumnRowRange = (XColumnRowRange) UnoRuntime.queryInterface(
- XColumnRowRange.class,
+ XColumnRowRange.class,
oSheet);
oRows = (XTableRows)oColumnRowRange.getRows();
oColumns = (XTableColumns) oColumnRowRange.getColumns();
- // set this in object if the interface has to make its own settings
- // and the environment has to be disposed: this is necessary for objects
+ // set this in object if the interface has to make its own settings
+ // and the environment has to be disposed: this is necessary for objects
// that do not make entries on the sheet themselves
Object o = tEnv.getObjRelation("XCellRangesQuery.CREATEENTRIES");
if (o != null && o instanceof Boolean) {
@@ -116,7 +116,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
oSheet.getCellByPosition(2, 1).setFormula("=B2+B3");
oSheet.getCellByPosition(1, 3).setFormula("=B2+B4");
oSheet.getCellByPosition(3, 2).setFormula("");
- oSheet.getCellByPosition(3, 3).setFormula("");
+ oSheet.getCellByPosition(3, 3).setFormula("");
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Couldn't fill cells " + e.getLocalizedMessage());
}
@@ -125,7 +125,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns each cell of each column that is different to the
+ * Tested method returns each cell of each column that is different to the
* cell in a given row
*/
public void _queryColumnDifferences() {
@@ -145,7 +145,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns all cells of a given type, defind in
+ * Tested method returns all cells of a given type, defind in
* CellFlags
* @see com.sun.star.sheet.CellFlags
*/
@@ -173,17 +173,17 @@ public class _XCellRangesQuery extends MultiMethodTest {
XSheetCellRanges ranges = oObj.queryEmptyCells();
getting = ranges.getRangeAddressesAsString();
expected = mExpectedResults[QUERYEMPTYCELLS];
-
+
int startIndex = 0;
int endIndex = -5;
String checkString = null;
-
+
while (endIndex != -1) {
startIndex = endIndex + 5;
endIndex = expected.indexOf(" ... ", startIndex);
if (endIndex == -1) {
checkString = expected.substring(startIndex);
- }
+ }
else {
checkString = expected.substring(startIndex, endIndex);
}
@@ -199,7 +199,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns all cells of a given type, defind in
+ * Tested method returns all cells of a given type, defind in
* FormulaResult
* @see com.sun.star.sheet.FormulaResult
*/
@@ -236,7 +236,7 @@ public class _XCellRangesQuery extends MultiMethodTest {
}
/**
- * Tested method returns each cell of each row that is different to the
+ * Tested method returns each cell of each row that is different to the
* cell in a given column
*/
public void _queryRowDifferences() {
@@ -276,22 +276,22 @@ public class _XCellRangesQuery extends MultiMethodTest {
protected void setRowVisible(boolean vis) {
try {
XPropertySet rowProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class,
+ XPropertySet.class,
oRows.getByIndex(0));
rowProp.setPropertyValue("IsVisible", new Boolean(vis));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("couldn't get Row " + e.getLocalizedMessage());
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.beans.PropertyVetoException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
} catch (com.sun.star.lang.IllegalArgumentException e) {
- log.println("problems setting Property 'isVisible' " +
+ log.println("problems setting Property 'isVisible' " +
e.getLocalizedMessage());
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java b/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java
index 7ed3b4e61761..fc9c595d20bf 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XCellSeries.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,16 +43,16 @@ public class _XCellSeries extends MultiMethodTest {
protected boolean isSpreadSheet = false;
protected boolean fillAuto = true;
protected boolean forceFillAuto = false;
-
+
protected void before() {
oSheet = (XSpreadsheet) tEnv.getObjRelation("SHEET");
-
+
if (oSheet == null) {
log.println("Object relation oSheet is missing");
log.println("Trying to query the needed Interface");
oSheet = (XSpreadsheet) UnoRuntime.queryInterface(
- XSpreadsheet.class, tEnv.getTestObject());
+ XSpreadsheet.class, tEnv.getTestObject());
if (oSheet == null) {
throw new StatusException(Status.failed(
@@ -61,11 +61,11 @@ public class _XCellSeries extends MultiMethodTest {
isSpreadSheet = true;
}
}
-
+
Boolean myFillAuto = (Boolean) tEnv.getObjRelation("XCELLSERIES_FILLAUTO");
-
+
if (myFillAuto != null) fillAuto = myFillAuto.booleanValue();
-
+
if (tParam.containsKey("force_fillauto")){
fillAuto = tParam.getBool("force_fillauto");
forceFillAuto = tParam.getBool("force_fillauto");
@@ -73,14 +73,14 @@ public class _XCellSeries extends MultiMethodTest {
}
public void _fillAuto() {
-
+
if ((isSpreadSheet && !forceFillAuto) || !fillAuto) {
log.println("This method consumes to much time for a complete SpreadSheet");
log.println("Please use parameter '-force_fillauto true' to force this test");
tRes.tested("fillAuto()",Status.skipped(true));
return;
}
-
+
boolean res = true;
try {
@@ -125,13 +125,13 @@ public class _XCellSeries extends MultiMethodTest {
}
public void _fillSeries() {
-
+
if (isSpreadSheet) {
log.println("This method consumes to much time for a complete SpreadSheet");
tRes.tested("fillSeries()",Status.skipped(true));
return;
}
-
+
boolean res = true;
try {
@@ -142,16 +142,16 @@ public class _XCellSeries extends MultiMethodTest {
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT, com.sun.star.sheet.FillMode.LINEAR, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
- com.sun.star.sheet.FillMode.LINEAR,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
+ com.sun.star.sheet.FillMode.LINEAR,
com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8);
oSheet.getCellByPosition(0, 4).setFormula("=sum(A1:D1)");
double getting = oSheet.getCellByPosition(0, 4).getValue();
boolean locres = (getting == 20);
-
+
logger.finish();
-
+
if (!locres) {
log.println("Operation failed");
} else {
@@ -159,22 +159,22 @@ public class _XCellSeries extends MultiMethodTest {
}
res &= locres;
-
+
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT, com.sun.star.sheet.FillMode.GROWTH, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 16)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
- com.sun.star.sheet.FillMode.GROWTH,
- com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_RIGHT,
+ com.sun.star.sheet.FillMode.GROWTH,
+ com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
16);
oSheet.getCellByPosition(0, 4).setFormula("=sum(A1:D1)");
getting = oSheet.getCellByPosition(0, 4).getValue();
locres = (getting == 30);
-
+
logger.finish();
-
+
if (!locres) {
log.println("Operation failed");
} else {
@@ -185,11 +185,11 @@ public class _XCellSeries extends MultiMethodTest {
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM, com.sun.star.sheet.FillMode.LINEAR, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
- com.sun.star.sheet.FillMode.LINEAR,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
+ com.sun.star.sheet.FillMode.LINEAR,
com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 8);
oSheet.getCellByPosition(4, 0).setFormula("=sum(A1:A4)");
getting = oSheet.getCellByPosition(4, 0).getValue();
@@ -207,12 +207,12 @@ public class _XCellSeries extends MultiMethodTest {
logger = new LoggingThread((LogWriter)log, tParam);
logger.start();
-
+
log.println(
"calling oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM, com.sun.star.sheet.FillMode.GROWTH, com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2, 16)");
- oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
- com.sun.star.sheet.FillMode.GROWTH,
- com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
+ oObj.fillSeries(com.sun.star.sheet.FillDirection.TO_BOTTOM,
+ com.sun.star.sheet.FillMode.GROWTH,
+ com.sun.star.sheet.FillDateMode.FILL_DATE_DAY, 2,
16);
oSheet.getCellByPosition(4, 0).setFormula("=sum(A1:A4)");
getting = oSheet.getCellByPosition(4, 0).getValue();
@@ -234,11 +234,11 @@ public class _XCellSeries extends MultiMethodTest {
tRes.tested("fillSeries()", res);
}
-
+
/**
* Forces environment recreation.
*/
public void after() {
disposeEnvironment();
- }
+ }
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java b/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java
index 08fc51dc3672..a65b7bdc1784 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XConsolidatable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,7 +36,7 @@ import lib.MultiMethodTest;
public class _XConsolidatable extends MultiMethodTest {
public XConsolidatable oObj = null;
XConsolidationDescriptor xDescriptor = null;
-
+
/**
* Check consolidation
*/
@@ -45,7 +45,7 @@ public class _XConsolidatable extends MultiMethodTest {
oObj.consolidate(xDescriptor);
tRes.tested("consolidate()", true);
}
-
+
/**
* Check the creation of a ConsolidationDescriptor
*/
diff --git a/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java
index f7638dacf5b4..85f149d05a5e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XConsolidationDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDDELink.java b/qadevOOo/tests/java/ifc/sheet/_XDDELink.java
index 5c475e3c0208..4d096e6c2a1b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDDELink.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDDELink.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
index e95aa5870d38..515f77bfe689 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java
index 6e29ad3ceaa4..da332e034100 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,11 +55,11 @@ public class _XDataPilotField extends MultiMethodTest {
Object element = xIA.getByIndex(k);
log.println("Element " + k + " = " + element);
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Unexpected Exception while getting by Index (" + k +
+ log.println("Unexpected Exception while getting by Index (" + k +
")" + e.getMessage());
res &= false;
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("Unexpected Exception while getting by Index (" + k +
+ log.println("Unexpected Exception while getting by Index (" + k +
")" + e.getMessage());
res &= false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java
index 5f17837fdb0d..013abd362f92 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotFieldGrouping.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ import lib.MultiMethodTest;
public class _XDataPilotFieldGrouping extends MultiMethodTest
{
public XDataPilotFieldGrouping oObj = null;
-
+
public void _createNameGroup() {
boolean result = true;
try {
@@ -56,7 +56,7 @@ public class _XDataPilotFieldGrouping extends MultiMethodTest
}
tRes.tested ("createNameGroup()",result);
}
-
+
public void _createDateGroup() {
boolean result = true;
try {
@@ -69,5 +69,5 @@ public class _XDataPilotFieldGrouping extends MultiMethodTest
result = false;
}
tRes.tested ("createDateGroup()",result);
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java
index a63617672ed8..4f7685b20e8f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
index f3096efc12ab..d5ae775f90ab 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTable2.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ import lib.MultiMethodTest;
import lib.Status;
import lib.StatusException;
-/**
+/**
* Testing <code>com.sun.star.sheet.XDataPilotTable2</code>
* interface methods :
* <ul>
@@ -56,12 +56,12 @@ import lib.StatusException;
* <li><code> insertDrillDownSheet()</code></li>
* <li><code> getOutputRangeByType</code></li>
* </ul>
- *
+ *
* @see com.sun.star.sheet.XDataPilotTable2
* @see com.sun.star.table.CellAddress
- *
+ *
*/
-public class _XDataPilotTable2 extends MultiMethodTest
+public class _XDataPilotTable2 extends MultiMethodTest
{
private XSpreadsheetDocument xSheetDoc = null;
private XDataPilotTable2 xDPTab2 = null;
@@ -71,13 +71,13 @@ public class _XDataPilotTable2 extends MultiMethodTest
private ArrayList mDataFieldDims = null;
private ArrayList mResultCells = null;
- /**
+ /**
* exception to be thrown when obtaining a result data for a cell fails
* (probably because the cell is not a result cell).
*/
private class ResultCellFailure extends com.sun.star.uno.Exception {}
- protected void before()
+ protected void before()
{
Object o = tEnv.getObjRelation("DATAPILOTTABLE2");
xDPTab2 = (XDataPilotTable2)UnoRuntime.queryInterface(
@@ -101,7 +101,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
}
}
- public void _getDrillDownData()
+ public void _getDrillDownData()
{
boolean testResult = true;
int cellCount = mResultCells.size();
@@ -133,7 +133,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("getDrillDownData()", testResult);
}
- public void _getPositionData()
+ public void _getPositionData()
{
boolean testResult = false;
@@ -192,7 +192,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("getPositionData()", testResult);
}
- public void _insertDrillDownSheet()
+ public void _insertDrillDownSheet()
{
boolean testResult = true;
int cellCount = mResultCells.size();
@@ -251,7 +251,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
String name = xNamed.getName();
try
{
- xSheets.removeByName(name);
+ xSheets.removeByName(name);
}
catch (com.sun.star.uno.Exception e)
{
@@ -279,13 +279,13 @@ public class _XDataPilotTable2 extends MultiMethodTest
tRes.tested("insertDrillDownSheet()", testResult);
}
- public void _getOutputRangeByType()
+ public void _getOutputRangeByType()
{
boolean testResult = false;
do
{
- // Let's make sure this doesn't cause a crash. A range returned for an
+ // Let's make sure this doesn't cause a crash. A range returned for an
// out-of-bound condition is undefined.
try
{
@@ -310,7 +310,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
}
// Check to make sure the whole range is not empty.
- if (mRangeWhole.EndColumn - mRangeWhole.StartColumn <= 0 ||
+ if (mRangeWhole.EndColumn - mRangeWhole.StartColumn <= 0 ||
mRangeWhole.EndRow - mRangeWhole.EndColumn <= 0)
{
log.println("whole range is empty");
@@ -359,8 +359,8 @@ public class _XDataPilotTable2 extends MultiMethodTest
else if (posData.PositionType == DataPilotTablePositionType.ROW_HEADER)
posType = "row header";
- log.println(posType + "; member name: " + header.MemberName + "; dimension: " +
- header.Dimension + "; hierarchy: " + header.Hierarchy +
+ log.println(posType + "; member name: " + header.MemberName + "; dimension: " +
+ header.Dimension + "; hierarchy: " + header.Hierarchy +
"; level: " + header.Level);
}
@@ -372,7 +372,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
double val = res.Value;
int flags = res.Flags;
int filterCount = resultData.FieldFilters.length;
- log.println("result; data field index: " + dataId + "; value: " + val + "; flags: " + flags +
+ log.println("result; data field index: " + dataId + "; value: " + val + "; flags: " + flags +
"; filter count: " + filterCount);
for (int i = 0; i < filterCount; ++i)
@@ -436,7 +436,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
Object field = xFields.getByIndex(i);
XPropertySet propSet = (XPropertySet)UnoRuntime.queryInterface(
XPropertySet.class, field);
- DataPilotFieldOrientation orient =
+ DataPilotFieldOrientation orient =
(DataPilotFieldOrientation)propSet.getPropertyValue("Orientation");
if (orient == DataPilotFieldOrientation.DATA)
{
@@ -554,7 +554,7 @@ public class _XDataPilotTable2 extends MultiMethodTest
{
XCellRange xRng = xSheet.getCellRangeByPosition(nCol, nRow, nCol, nRow);
XSheetCellRange xSCR = (XSheetCellRange)UnoRuntime.queryInterface(
- XSheetCellRange.class, xRng);
+ XSheetCellRange.class, xRng);
XSheetCellCursor xCursor = xSheet.createCursorByRange(xSCR);
XCellCursor xCellCursor = (XCellCursor)UnoRuntime.queryInterface(
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java
index 09ee1da76551..da7201829e7a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTables.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java
index a291d3513f8f..2bc14b2ce594 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDataPilotTablesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java
index 3b3d3713a5b2..32a1e96ea21a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java
index c5f5307cda41..a1ef293541b0 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDatabaseRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
index 084ce09934c7..076eaac66aeb 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XDocumentAuditing.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,7 +49,7 @@ import lib.Status;
import lib.StatusException;
/**
- *
+ *
*/
public class _XDocumentAuditing extends MultiMethodTest {
public XDocumentAuditing oObj = null;
@@ -58,7 +58,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
int elementCount = 0;
String sheetName = null;
Point pos = null;
-
+
public void before() {
Exception ex = null;
// get two sheets
@@ -100,16 +100,16 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
} // ignore exceptions, we'll run into next if statement anyway
- catch(com.sun.star.lang.WrappedTargetException e) {
+ catch(com.sun.star.lang.WrappedTargetException e) {
}
}
- if (xDrawPage == null) {
+ if (xDrawPage == null) {
throw new StatusException(Status.failed("'XSheetAuditing.DrawPage' object relation not found."));
}
if (xDrawPage.hasElements()) {
elementCount = xDrawPage.getCount();
}
-
+
// switch off the automatic refresh
PropertyValue[] props = new PropertyValue[1];
props[0] = new PropertyValue();
@@ -136,7 +136,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
throw new StatusException("Could not set formulas on sheets.", e);
}
}
-
+
public void after() {
// switch the automatic refresh back on
PropertyValue[] props = new PropertyValue[1];
@@ -146,10 +146,10 @@ public class _XDocumentAuditing extends MultiMethodTest {
XModel xModel = (XModel)UnoRuntime.queryInterface(XModel.class, oObj);
dispatch(xModel.getCurrentController().getFrame(), (XMultiServiceFactory)tParam.getMSF(), ".uno:AutoRefreshArrows", props);
}
-
+
public void _refreshArrows() {
boolean result = true;
-
+
Point p0 = pos;
try {
@@ -160,7 +160,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
throw new StatusException("Could not set formulas on sheets.", e);
}
-
+
result &= hasRightAmountOfShapes(1);
Point p1 = pos;
@@ -169,18 +169,18 @@ public class _XDocumentAuditing extends MultiMethodTest {
result &= res;
if (!res)
log.println("Arrow has been refreshed, but this should have been switched off.");
-
+
oObj.refreshArrows();
result &= hasRightAmountOfShapes(1);
Point p2 = pos;
-
+
// points have to differ
res = (p1.X != p2.X || p1.Y != p2.Y);
result &= res;
if (!res)
log.println("Arrow has not been refreshed.");
-
+
tRes.tested("refreshArrows()", result);
}
@@ -212,7 +212,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
return true;
}
-
+
private void dispatch(Object oProvider, XMultiServiceFactory xMSF, String url, PropertyValue[] prop) {
XDispatchProvider xDispatchProvider = (XDispatchProvider)UnoRuntime.queryInterface(XDispatchProvider.class, oProvider);
Object dispatcher = null;
@@ -221,7 +221,7 @@ public class _XDocumentAuditing extends MultiMethodTest {
}
catch(com.sun.star.uno.Exception e) {
}
-
+
XDispatchHelper xDispatchHelper = (XDispatchHelper)UnoRuntime.queryInterface(XDispatchHelper.class, dispatcher);
xDispatchHelper.executeDispatch(xDispatchProvider, url, "", 0, prop);
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java
index 2034bb892047..7277bed21313 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XEnhancedMouseClickBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,13 +59,13 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
protected boolean mouseReleased = false;
protected XEnhancedMouseClickHandler listener = new MyListener();
private XModel docModel = null;
-
+
public void before() {
docModel = (XModel) UnoRuntime.queryInterface(
XModel.class,tEnv.getObjRelation("FirstModel"));
DesktopTools.bringWindowToFront(docModel);
}
-
+
public void _addEnhancedMouseClickHandler() {
oObj.addEnhancedMouseClickHandler(listener);
clickOnSheet();
@@ -92,19 +92,19 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
protected boolean clickOnSheet() {
log.println("try to open contex menu...");
AccessibilityTools at = new AccessibilityTools();
-
+
XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)tParam.getMSF(), docModel);
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
XInterface oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
-
+
XAccessibleComponent window = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class, oObj);
-
+
Point point = window.getLocationOnScreen();
Rectangle rect = window.getBounds();
-
+
log.println("klick mouse button...");
try {
Robot rob = new Robot();
@@ -122,11 +122,11 @@ public class _XEnhancedMouseClickBroadcaster extends MultiMethodTest {
rob.mousePress(InputEvent.BUTTON1_MASK);
System.out.println("Release Button");
rob.mouseRelease(InputEvent.BUTTON1_MASK);
- System.out.println("done "+rob.getAutoDelay());
+ System.out.println("done "+rob.getAutoDelay());
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
return true;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java b/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java
index 3e04690ac47b..4c0fe8e53d7b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XFormulaQuery.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,16 +43,16 @@ import com.sun.star.uno.UnoRuntime;
* @author sw93809
*/
public class _XFormulaQuery extends MultiMethodTest {
-
+
public XFormulaQuery oObj;
-
+
protected XSpreadsheet oSheet = null;
private XCell mxCell;
private int miQueryThisDependentRange = 1;
private int miQueryThisPrecedentRange = 1;
private int[] miExpectedDependentValues;
private int[] miExpectedPrecedentValues;
-
+
protected void before() {
oSheet = (XSpreadsheet)tEnv.getObjRelation("SHEET");
@@ -78,7 +78,7 @@ public class _XFormulaQuery extends MultiMethodTest {
throw new StatusException(
Status.failed("Couldn't get initial cell"));
}
- }
+ }
o = tEnv.getObjRelation("RANGEINDICES");
if (o != null) {
@@ -98,7 +98,7 @@ public class _XFormulaQuery extends MultiMethodTest {
miExpectedDependentValues[2] = 15;
miExpectedDependentValues[3] = 15;
}
-
+
o = tEnv.getObjRelation("EXPECTEDPRECEDENTVALUES");
if (o != null) {
miExpectedPrecedentValues = (int[])o;
@@ -111,7 +111,7 @@ public class _XFormulaQuery extends MultiMethodTest {
miExpectedPrecedentValues[3] = 15;
}
}
-
+
public void _queryDependents() {
boolean res = true;
@@ -121,15 +121,15 @@ public class _XFormulaQuery extends MultiMethodTest {
oSheet.getCellByPosition(1, 0).setValue(1);
oSheet.getCellByPosition(2, 0).setValue(1);
oSheet.getCellByPosition(3, 0).setValue(1);
-
+
log.println(
"calling oObj.queryDependents(false)");
- XSheetCellRanges getting = oObj.queryDependents(false);
+ XSheetCellRanges getting = oObj.queryDependents(false);
CellRangeAddress[] range = getting.getRangeAddresses();
-
- res = ((range[miQueryThisDependentRange].StartColumn==miExpectedDependentValues[0]) &&
- (range[miQueryThisDependentRange].EndColumn==miExpectedDependentValues[1]) &&
- (range[miQueryThisDependentRange].StartRow==miExpectedDependentValues[2]) &&
+
+ res = ((range[miQueryThisDependentRange].StartColumn==miExpectedDependentValues[0]) &&
+ (range[miQueryThisDependentRange].EndColumn==miExpectedDependentValues[1]) &&
+ (range[miQueryThisDependentRange].StartRow==miExpectedDependentValues[2]) &&
(range[miQueryThisDependentRange].EndRow==miExpectedDependentValues[3]));
if (!res) {
@@ -148,9 +148,9 @@ public class _XFormulaQuery extends MultiMethodTest {
res = false;
}
- tRes.tested("queryDependents()", res);
+ tRes.tested("queryDependents()", res);
}
-
+
public void _queryPrecedents() {
boolean res = true;
@@ -161,15 +161,15 @@ public class _XFormulaQuery extends MultiMethodTest {
oSheet.getCellByPosition(2, 0).setValue(1);
oSheet.getCellByPosition(3, 0).setValue(1);
oSheet.getCellByPosition(1, 2).setFormula("=A16*2");
-
+
log.println(
"calling oObj.queryPrecedents(false)");
XSheetCellRanges getting = oObj.queryPrecedents(false);
CellRangeAddress[] range = getting.getRangeAddresses();
-
- res = ((range[miQueryThisPrecedentRange].StartColumn==miExpectedPrecedentValues[0]) &&
- (range[miQueryThisPrecedentRange].EndColumn==miExpectedPrecedentValues[1]) &&
- (range[miQueryThisPrecedentRange].StartRow==miExpectedPrecedentValues[2]) &&
+
+ res = ((range[miQueryThisPrecedentRange].StartColumn==miExpectedPrecedentValues[0]) &&
+ (range[miQueryThisPrecedentRange].EndColumn==miExpectedPrecedentValues[1]) &&
+ (range[miQueryThisPrecedentRange].StartRow==miExpectedPrecedentValues[2]) &&
(range[miQueryThisPrecedentRange].EndRow==miExpectedPrecedentValues[3]));
if (!res) {
@@ -188,14 +188,14 @@ public class _XFormulaQuery extends MultiMethodTest {
res = false;
}
- tRes.tested("queryPrecedents()", res);
+ tRes.tested("queryPrecedents()", res);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java b/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java
index 5f16c7640fec..cb72d09bb32c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XFunctionDescriptions.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
index 24dad9db4bda..b11a550e3ca3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XGoalSeek.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -70,7 +70,7 @@ public class _XGoalSeek extends MultiMethodTest {
if (ex != null) {
throw new StatusException("Could not get a sheet.", ex);
}
-
+
// set value and formula
try {
xSheet.getCellByPosition(3, 4).setValue(9);
@@ -82,7 +82,7 @@ public class _XGoalSeek extends MultiMethodTest {
throw new StatusException("Could not get set formulas on the sheet.", e);
}
}
-
+
public void _seekGoal() {
boolean result = true;
double divergence = 0.01;
@@ -90,7 +90,7 @@ public class _XGoalSeek extends MultiMethodTest {
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence < divergence;
result &= goal.Result > 16 - divergence || goal.Result < 16 + divergence;
-
+
goal = oObj.seekGoal(aFormula, aValue, "-4");
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence > 1/divergence;
@@ -106,7 +106,7 @@ public class _XGoalSeek extends MultiMethodTest {
log.println("Goal Result: " + goal.Result + " Divergence: " + goal.Divergence);
result &= goal.Divergence < divergence;
result &= goal.Result > 16 - divergence || goal.Result < 16 + divergence;
-
+
tRes.tested("seekGoal()", result);
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java b/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java
index d3ee84f7cdc2..3e2561c6f268 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XHeaderFooterContent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java b/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java
index 3bc34fdef5bd..cb58d33dec91 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XLabelRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java b/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java
index 9d4d28ff634c..292eb6d1209c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XLabelRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
index e10ca8d55f2f..3ae800e78d38 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XMultipleOperation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@ public class _XMultipleOperation extends MultiMethodTest {
boolean res = true;
XCellRange cellRange = oSheet.getCellRangeByName("$A$17:$A$17");
XCellRangeAddressable CRA = (XCellRangeAddressable) UnoRuntime.queryInterface(
- XCellRangeAddressable.class,
+ XCellRangeAddressable.class,
cellRange);
XCell cell = null;
XCell cell2 = null;
@@ -88,7 +88,7 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter ROW");
- oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
+ oObj.setTableOperation(CRA.getRangeAddress(), TableOperationMode.ROW,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -100,8 +100,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter COLUMN");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.COLUMN, CA.getCellAddress(),
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.COLUMN, CA.getCellAddress(),
CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -114,8 +114,8 @@ public class _XMultipleOperation extends MultiMethodTest {
log.println("filling cells");
fillCells();
log.println("setting TableOperation with parameter BOTH");
- oObj.setTableOperation(CRA.getRangeAddress(),
- TableOperationMode.BOTH,
+ oObj.setTableOperation(CRA.getRangeAddress(),
+ TableOperationMode.BOTH,
CA.getCellAddress(), CA2.getCellAddress());
log.println("checking values");
cellCoords = new Point[] {
@@ -148,23 +148,23 @@ public class _XMultipleOperation extends MultiMethodTest {
for (int i = 0; i < cellValues.length; i++) {
try {
- boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
+ boolean locres = oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue() == cellValues[i];
res &= locres;
if (!locres) {
- log.println("Result differs for cell (" +
- cellCoords[i].X + "," + cellCoords[i].Y +
+ log.println("Result differs for cell (" +
+ cellCoords[i].X + "," + cellCoords[i].Y +
")");
log.println("Expected: " + cellValues[i]);
- log.println("Getting: " +
- oSheet.getCellByPosition(cellCoords[i].X,
+ log.println("Getting: " +
+ oSheet.getCellByPosition(cellCoords[i].X,
cellCoords[i].Y)
.getValue());
}
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
- log.println("Exception while checking Values " +
+ log.println("Exception while checking Values " +
e.getMessage());
res &= false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java b/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java
index 06c76956adff..909e84afa1be 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XNamedRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java
index 6baffd4bfdfe..4151fdfbc387 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XNamedRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java b/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
index 9c4e865bd52a..1edcb825e692 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XPrintAreas.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ public class _XPrintAreas extends MultiMethodTest {
CellRangeAddress subaddress = null;
CellRangeAddress titleColumns;
CellRangeAddress titleRows;
-
+
public void before() {
address = (CellRangeAddress)tEnv.getObjRelation("CellRangeAddress");
subaddress = (CellRangeAddress)tEnv.getObjRelation("CellRangeSubAddress");
@@ -51,7 +51,7 @@ public class _XPrintAreas extends MultiMethodTest {
if (subaddress == null)
throw new StatusException(Status.failed("Object relation CellRangeSubAddress not found"));
}
-
+
public void _getPrintAreas() {
requiredMethod("getPrintTitleColumns()");
requiredMethod("getPrintTitleRows()");
@@ -64,32 +64,32 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintAreas(null);
printAreas = oObj.getPrintAreas();
ret &= printAreas.length == 0;
-
+
tRes.tested("getPrintAreas()", ret);
}
-
+
public void _getPrintTitleColumns() {
requiredMethod("setPrintTitleColumns()");
tRes.tested("getPrintTitleColumns()", !oObj.getPrintTitleColumns());
}
-
+
public void _getPrintTitleRows() {
requiredMethod("setPrintTitleRows()");
tRes.tested("getPrintTitleRows()", !oObj.getPrintTitleRows());
}
-
+
public void _getTitleColumns() {
requiredMethod("setTitleColumns()");
CellRangeAddress setValue = oObj.getTitleColumns();
tRes.tested("getTitleColumns()", ValueComparer.equalValue(setValue,titleColumns));
}
-
+
public void _getTitleRows() {
requiredMethod("setTitleRows()");
CellRangeAddress setValue = oObj.getTitleRows();
tRes.tested("getTitleRows()", ValueComparer.equalValue(setValue,titleRows));
}
-
+
public void _setPrintAreas() {
boolean ret = false;
CellRangeAddress[]setValue = new CellRangeAddress[]{subaddress};
@@ -102,7 +102,7 @@ public class _XPrintAreas extends MultiMethodTest {
ret &= ValueComparer.equalValue(newVal, setValue);
tRes.tested("setPrintAreas()", ret);
}
-
+
public void _setPrintTitleColumns() {
requiredMethod("setTitleColumns()");
boolean ret = false;
@@ -112,7 +112,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintTitleColumns(false);
tRes.tested("setPrintTitleColumns()", ret);
}
-
+
public void _setPrintTitleRows() {
requiredMethod("setTitleRows()");
boolean ret = false;
@@ -122,7 +122,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setPrintTitleRows(false);
tRes.tested("setPrintTitleRows()", ret);
}
-
+
public void _setTitleColumns() {
requiredMethod("setPrintAreas()");
boolean ret = false;
@@ -138,7 +138,7 @@ public class _XPrintAreas extends MultiMethodTest {
oObj.setTitleColumns(titleColumns);
tRes.tested("setTitleColumns()", ret);
}
-
+
public void _setTitleRows() {
requiredMethod("setPrintAreas()");
boolean ret = false;
diff --git a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java
index bb61dbe55049..9af63c12204c 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XRangeSelection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,7 +60,7 @@ import util.AccessibilityTools;
public class _XRangeSelection extends MultiMethodTest {
public XRangeSelection oObj = null;
MyRangeSelectionListener aListener = null;
-
+
public void before() {
aListener = new _XRangeSelection.MyRangeSelectionListener(log);
// workaround for i34499
@@ -72,44 +72,44 @@ public class _XRangeSelection extends MultiMethodTest {
xTopWindow.toFront();
util.utils.shortWait(500);
}
-
-
+
+
public void _abortRangeSelection() {
requiredMethod("removeRangeSelectionChangeListener()");
requiredMethod("removeRangeSelectionListener()");
oObj.abortRangeSelection();
tRes.tested("abortRangeSelection()", true);
}
-
+
public void _addRangeSelectionChangeListener() {
oObj.addRangeSelectionChangeListener(aListener);
tRes.tested("addRangeSelectionChangeListener()", true);
}
-
+
public void _addRangeSelectionListener() {
oObj.addRangeSelectionListener(aListener);
tRes.tested("addRangeSelectionListener()", true);
}
-
+
public void _removeRangeSelectionChangeListener() {
oObj.removeRangeSelectionChangeListener(aListener);
tRes.tested("removeRangeSelectionChangeListener()", true);
}
-
+
public void _removeRangeSelectionListener() {
oObj.removeRangeSelectionListener(aListener);
tRes.tested("removeRangeSelectionListener()", true);
}
-
+
public void _startRangeSelection() {
requiredMethod("addRangeSelectionChangeListener()");
requiredMethod("addRangeSelectionListener()");
-
+
// get the sheet center
Point center = getSheetCenter();;
if (center == null)
throw new StatusException(Status.failed("Couldn't get the sheet center."));
-
+
PropertyValue[] props = new PropertyValue[3];
props[0] = new PropertyValue();
props[0].Name = "InitialValue";
@@ -138,7 +138,7 @@ public class _XRangeSelection extends MultiMethodTest {
util.utils.shortWait(5000);
// System.out.println("X: " + closer.X + " Y: " + closer.Y);
-
+
// just check that we do not have the page instead of the range descriptor
/* int childCount = xRoot.getAccessibleContext().getAccessibleChildCount();
if (childCount > 3) {// too many children: wrong type
@@ -149,10 +149,10 @@ public class _XRangeSelection extends MultiMethodTest {
xAcc = xRoot.getAccessibleContext().getAccessibleChild(1);
}
catch(com.sun.star.lang.IndexOutOfBoundsException e) {
-
+
}
accTools.printAccessibleTree(log, xAcc);
-*/
+*/
// open a new range selection
props[0].Value = "C4:E6";
oObj.startRangeSelection(props);
@@ -160,16 +160,16 @@ public class _XRangeSelection extends MultiMethodTest {
props[0].Value = "C2:E3";
oObj.startRangeSelection(props);
util.utils.shortWait(1000);
-
+
oObj.startRangeSelection(props);
util.utils.shortWait(1000);
oObj.abortRangeSelection();
aListener.reset();
System.out.println("Listener called: " + aListener.bAbortCalled);
-
+
tRes.tested("startRangeSelection()", aListener.listenerCalled());
}
-
+
/**
* Determine the current top window center and return this as a point.
* @ return a point representing the sheet center.
@@ -178,11 +178,11 @@ public class _XRangeSelection extends MultiMethodTest {
log.println("Trying to get AccessibleSpreadsheet");
AccessibilityTools at = new AccessibilityTools();
XComponent xSheetDoc = (XComponent) tEnv.getObjRelation("DOCUMENT");
-
+
XModel xModel = (XModel)
UnoRuntime.queryInterface(XModel.class, xSheetDoc);
System.out.println("Name: " + xModel.getCurrentController().getFrame().getName());
-
+
XWindow xWindow = at.getCurrentWindow((XMultiServiceFactory)tParam.getMSF(), xModel);
XAccessible xRoot = at.getAccessibleObject(xWindow);
@@ -190,10 +190,10 @@ public class _XRangeSelection extends MultiMethodTest {
XAccessibleComponent AccessibleSpreadsheet = (XAccessibleComponent) UnoRuntime.queryInterface(XAccessibleComponent.class,AccessibilityTools.SearchedContext);
- log.println("Got " + util.utils.getImplName(AccessibleSpreadsheet));
+ log.println("Got " + util.utils.getImplName(AccessibleSpreadsheet));
Object toolkit = null;
-
+
try {
toolkit = ((XMultiServiceFactory)tParam.getMSF()).createInstance("com.sun.star.awt.Toolkit");
} catch (com.sun.star.uno.Exception e) {
@@ -203,14 +203,14 @@ public class _XRangeSelection extends MultiMethodTest {
}
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
- XExtendedToolkit.class, toolkit);
-
+ XExtendedToolkit.class, toolkit);
+
XTopWindow tw = null;
-
+
int k = tk.getTopWindowCount();
for (int i=0;i<k;i++) {
try {
- XTopWindow tw_temp = tk.getTopWindow(i);
+ XTopWindow tw_temp = tk.getTopWindow(i);
XAccessible xacc = (XAccessible) UnoRuntime.queryInterface(XAccessible.class, tw_temp);
if (xacc != null) {
if (xacc.getAccessibleContext().getAccessibleName().indexOf("d2")>0) {
@@ -227,7 +227,7 @@ public class _XRangeSelection extends MultiMethodTest {
System.out.println("No TopWindow :-(");
return null;
}
-
+
Point point = AccessibleSpreadsheet.getLocationOnScreen();
Rectangle rect = AccessibleSpreadsheet.getBounds();
Point retPoint = new Point();
@@ -235,7 +235,7 @@ public class _XRangeSelection extends MultiMethodTest {
retPoint.Y = point.Y + (rect.Height / 2);
return retPoint;
}
-
+
/**
* Get the closer button on the right top of the current window.
* @return A point representing the closer button.
@@ -251,12 +251,12 @@ public class _XRangeSelection extends MultiMethodTest {
}
XExtendedToolkit xExtendedToolkit = (XExtendedToolkit)UnoRuntime.queryInterface(XExtendedToolkit.class, aToolkit);
XTopWindow tw = null;
-
+
XAccessibleComponent xAccessibleComponent = null;
int k = xExtendedToolkit.getTopWindowCount();
for (int i=0;i<k;i++) {
try {
- XTopWindow tw_temp = xExtendedToolkit.getTopWindow(i);
+ XTopWindow tw_temp = xExtendedToolkit.getTopWindow(i);
XAccessible xacc = (XAccessible)UnoRuntime.queryInterface(XAccessible.class, tw_temp);
if (xacc != null) {
System.out.println("Name: " + xacc.getAccessibleContext().getAccessibleName());
@@ -269,7 +269,7 @@ public class _XRangeSelection extends MultiMethodTest {
else
System.out.println("########## KLAPPT ########## ");
}
- }
+ }
else {
log.println("\t unknown window");
}
@@ -281,10 +281,10 @@ public class _XRangeSelection extends MultiMethodTest {
System.out.println("No TopWindow :-(");
return null;
}
-
+
XWindow xWindow = (XWindow)UnoRuntime.queryInterface(XWindow.class, tw);
Rectangle posSize = xWindow.getPosSize();
-
+
// compare the center point with the dimensions of the current top window
boolean windowOK = false;
while(!windowOK) {
@@ -302,7 +302,7 @@ public class _XRangeSelection extends MultiMethodTest {
else {
windowOK = true;
}
-
+
}
Point p = xAccessibleComponent.getLocationOnScreen();
@@ -313,8 +313,8 @@ public class _XRangeSelection extends MultiMethodTest {
closer.Y = p.Y + 5;
System.out.println("Closer: " + closer.X + " " + closer.Y);
return closer;
- }
-
+ }
+
protected boolean clickOnSheet(Point point) {
log.println("Clicking in the center of the AccessibleSpreadsheet");
@@ -328,10 +328,10 @@ public class _XRangeSelection extends MultiMethodTest {
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
return true;
}
-
+
/**
*
*/
@@ -344,32 +344,32 @@ public class _XRangeSelection extends MultiMethodTest {
public MyRangeSelectionListener(PrintWriter log) {
this.log = log;
}
-
+
public void aborted(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'aborted' with: " + rangeSelectionEvent.RangeDescriptor);
bAbortCalled = true;
}
-
+
public void descriptorChanged(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'descriptorChanged' with: " + rangeSelectionEvent.RangeDescriptor);
bChangeCalled = true;
}
-
+
public void done(RangeSelectionEvent rangeSelectionEvent) {
log.println("Called 'done' with: " + rangeSelectionEvent.RangeDescriptor);
bDoneCalled = true;
}
-
+
public boolean listenerCalled() {
return bAbortCalled & bChangeCalled & bDoneCalled;
}
-
+
public void reset() {
bAbortCalled = false;
bChangeCalled = false;
bDoneCalled = false;
}
-
+
/**
* ignore disposing
* @param eventObject The event.
diff --git a/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java b/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java
index 117e7607e1c0..87ac408e0249 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XRecentFunctions.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -118,7 +118,7 @@ public class _XRecentFunctions extends MultiMethodTest {
requiredMethod("getMaxRecentFunctions()");
boolean bResult = true;
- int[] IDs = new int[0];
+ int[] IDs = new int[0];
XNameAccess functionList = null;
log.println("First, get the set of available functions.");
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenario.java b/qadevOOo/tests/java/ifc/sheet/_XScenario.java
index ea158b8a2cd1..cb00fb56dd8a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenario.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenario.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,7 +39,7 @@ public class _XScenario extends MultiMethodTest {
CellRangeAddress address = null;
String comment = null;
boolean skipTest = false;
-
+
public void before() {
// testing a scenario containing the whole sheet does not make sense.
// test is skipped until this interface is implemented somewhere else
@@ -54,7 +54,7 @@ public class _XScenario extends MultiMethodTest {
oObj.addRanges(new CellRangeAddress[] {address});
tRes.tested("addRanges()", true);
}
-
+
public void _apply() {
requiredMethod("addRanges()");
if (skipTest) {
@@ -64,7 +64,7 @@ public class _XScenario extends MultiMethodTest {
oObj.apply();
tRes.tested("apply()", true);
}
-
+
public void _getIsScenario() {
requiredMethod("apply()");
if (skipTest) {
@@ -74,7 +74,7 @@ public class _XScenario extends MultiMethodTest {
boolean getIs = oObj.getIsScenario();
tRes.tested("getIsScenario()", getIs);
}
-
+
public void _getScenarioComment() {
if (skipTest) {
tRes.tested("getScenarioComment()",Status.skipped(true));
@@ -83,7 +83,7 @@ public class _XScenario extends MultiMethodTest {
comment = oObj.getScenarioComment();
tRes.tested("getScenarioComment()", true);
}
-
+
public void _setScenarioComment() {
requiredMethod("getScenarioComment()");
if (skipTest) {
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
index 42fac78d7d81..cdaea811b686 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenarioEnhanced.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ public class _XScenarioEnhanced extends MultiMethodTest {
public void before() {
oObj = (XScenarioEnhanced) UnoRuntime.queryInterface(
- XScenarioEnhanced.class,
+ XScenarioEnhanced.class,
tEnv.getObjRelation("ScenarioSheet"));
}
@@ -55,35 +55,35 @@ public class _XScenarioEnhanced extends MultiMethodTest {
if (!(first.Sheet == 1)) {
log.println(
- "wrong RangeAddress is returned, expected Sheet=0 and got " +
+ "wrong RangeAddress is returned, expected Sheet=0 and got " +
first.Sheet);
res = false;
}
if (!(first.StartColumn == 0)) {
log.println(
- "wrong RangeAddress is returned, expected StartColumn=0 and got " +
+ "wrong RangeAddress is returned, expected StartColumn=0 and got " +
first.StartColumn);
res = false;
}
if (!(first.EndColumn == 10)) {
log.println(
- "wrong RangeAddress is returned, expected EndColumn=10 and got " +
+ "wrong RangeAddress is returned, expected EndColumn=10 and got " +
first.EndColumn);
res = false;
}
if (!(first.StartRow == 0)) {
log.println(
- "wrong RangeAddress is returned, expected StartRow=0 and got " +
+ "wrong RangeAddress is returned, expected StartRow=0 and got " +
first.StartRow);
res = false;
}
if (!(first.EndRow == 10)) {
log.println(
- "wrong RangeAddress is returned, expected EndRow=10 and got " +
+ "wrong RangeAddress is returned, expected EndRow=10 and got " +
first.EndRow);
res = false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenarios.java b/qadevOOo/tests/java/ifc/sheet/_XScenarios.java
index efd4dcb458a0..0935e18b59f2 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenarios.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenarios.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java
index f1766b82a7da..286bed8eebff 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XScenariosSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java
index a50d63f817f9..865a987458b8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java
index 76a5b97b0aaf..74a0aa4fa42f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationAnchor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,14 +45,14 @@ import com.sun.star.uno.UnoRuntime;
*/
public class _XSheetAnnotationAnchor extends MultiMethodTest {
- public XSheetAnnotationAnchor oObj = null;
+ public XSheetAnnotationAnchor oObj = null;
protected XSheetAnnotation anno = null;
public void _getAnnotation() {
anno = oObj.getAnnotation();
tRes.tested("getAnnotation()",checkAnnotation());
}
-
+
protected boolean checkAnnotation() {
boolean res = true;
res &= check_getAuthor();
@@ -62,7 +62,7 @@ public class _XSheetAnnotationAnchor extends MultiMethodTest {
res &= check_setIsVisible();
return res;
}
-
+
/**
* Gets the author of annotation. <p>
* Returns <b>true</b> if not null value returned.
@@ -127,6 +127,6 @@ public class _XSheetAnnotationAnchor extends MultiMethodTest {
}
return bResult;
- }
+ }
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java
index 9b0f3c193b73..9cd3e9823370 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationShapeSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -34,10 +34,10 @@ import lib.MultiMethodTest;
public class _XSheetAnnotationShapeSupplier extends MultiMethodTest
{
public XSheetAnnotationShapeSupplier oObj = null;
-
+
public void _getAnnotationShape() {
XShape xShape = oObj.getAnnotationShape ();
tRes.tested ("getAnnotationShape()",xShape!=null);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java
index d24f2cbf9416..ce53a48b867a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotations.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java
index 544d19c8f630..5946d646762d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAnnotationsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java
index a721275ed684..d3efe367b0f4 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetAuditing.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,7 +54,7 @@ public class _XSheetAuditing extends MultiMethodTest {
XCell xDependentAddress = null;
XDrawPage xDrawPage = null;
int elementCount = 0;
-
+
public void before() {
address = (CellAddress)tEnv.getObjRelation("XSheetAuditing.CellAddress");
precedentAddress = (CellAddress)tEnv.getObjRelation("XSheetAuditing.PrecedentCellAddress");
@@ -62,7 +62,7 @@ public class _XSheetAuditing extends MultiMethodTest {
if (address == null || precedentAddress == null || dependentAddress == null) {
throw new StatusException(Status.failed("Necessary CellAddress object relations not found."));
}
-
+
// get the draw page for checking the shapes
xDrawPage = (XDrawPage)tEnv.getObjRelation("XSheetAuditing.DrawPage");
if (xDrawPage == null) { // get from object
@@ -70,18 +70,18 @@ public class _XSheetAuditing extends MultiMethodTest {
UnoRuntime.queryInterface(XDrawPageSupplier.class, oObj);
xDrawPage = (XDrawPage) oDPS.getDrawPage();
}
- if (xDrawPage == null) {
+ if (xDrawPage == null) {
throw new StatusException(Status.failed("'XSheetAuditing.DrawPage' object relation not found."));
}
if (xDrawPage.hasElements()) {
elementCount = xDrawPage.getCount();
}
-
+
// get a sheet for changing the cells
XSpreadsheet xSheet = (XSpreadsheet)tEnv.getObjRelation("XSheetAuditing.Spreadsheet");
if (xSheet == null) // query on ther object
xSheet = (XSpreadsheet)UnoRuntime.queryInterface(XSpreadsheet.class, oObj);
- if (xSheet == null)
+ if (xSheet == null)
throw new StatusException(Status.failed("'XSheetAuditing.Spreadsheet' object relation not found."));
try {
xAddress = xSheet.getCellByPosition(address.Column, address.Row);
@@ -103,26 +103,26 @@ public class _XSheetAuditing extends MultiMethodTest {
erg &= hasRightAmountOfShapes(0);
tRes.tested("clearArrows()", erg);
}
-
+
public void _hideDependents() {
requiredMethod("showDependents()");
oObj.hideDependents(address);
tRes.tested("hideDependents()", hasRightAmountOfShapes(0));
}
-
+
public void _hidePrecedents() {
requiredMethod("showPrecedents()");
// requiredMethod("showPrecedents()");
oObj.hidePrecedents(address);
tRes.tested("hidePrecedents()", hasRightAmountOfShapes(0));
}
-
+
public void _showDependents() {
requiredMethod("hidePrecedents()");
oObj.showDependents(address);
tRes.tested("showDependents()", hasRightAmountOfShapes(1));
}
-
+
public void _showErrors() {
requiredMethod("clearArrows()");
// construct an error: square root from -3
@@ -138,7 +138,7 @@ public class _XSheetAuditing extends MultiMethodTest {
erg &= hasRightAmountOfShapes(2);
tRes.tested("showErrors()", erg);
}
-
+
public void _showInvalid() {
requiredMethod("showErrors()");
boolean result = true;
@@ -167,15 +167,15 @@ public class _XSheetAuditing extends MultiMethodTest {
e.printStackTrace((java.io.PrintWriter)log);
result = false;
}
-
+
tRes.tested("showInvalid()", result);
}
-
+
public void _showPrecedents() {
oObj.showPrecedents(address);
tRes.tested("showPrecedents()", hasRightAmountOfShapes(2));
}
-
+
/**
* Check if the amount of shapes is the right one after displaying that stuff
* 2do improve this: check taht the shapes are the correct ones -> convwatch
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
index ec484f9bf0d6..7c81f9dc7d29 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java
index 95688c660c91..58b0fa44bd32 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java
index 230306b300cd..a877fcd16159 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRangeContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -194,12 +194,12 @@ public class _XSheetCellRangeContainer extends MultiMethodTest {
log.println("Elements after removing: " + cnt);
tRes.tested("removeRangeAddresses()" ,result);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java
index c64aeae807c4..cf5ca59929b3 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCellRanges.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,7 +81,7 @@ public class _XSheetCellRanges extends MultiMethodTest{
*/
public void _getRangeAddressesAsString() {
log.println("Testing getRangeAddressesAsString ...");
- String oRanges = oObj.getRangeAddressesAsString();
+ String oRanges = oObj.getRangeAddressesAsString();
tRes.tested("getRangeAddressesAsString()",oRanges.indexOf("C1:D4")>0);
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java b/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java
index 05b0e0f4a3c0..0946511e7ad6 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetCondition.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java
index ba8448366bca..0365a6a5079a 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntries.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java
index efa3fcc44862..2d8c920b12a5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetConditionalEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
index ebb6a0a6db57..306742181734 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
index 385b7a2e150d..bd5ca3fcaf4b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -92,11 +92,11 @@ public class _XSheetFilterable extends MultiMethodTest {
oObj.filter(desc);
XColumnRowRange oColumnRowRange = (XColumnRowRange) UnoRuntime.queryInterface(
- XColumnRowRange.class,
+ XColumnRowRange.class,
oSheet);
XTableRows oRows = (XTableRows) oColumnRowRange.getRows();
XPropertySet rowProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class,
+ XPropertySet.class,
oRows.getByIndex(0));
boolean locRes = ((Boolean) rowProp.getPropertyValue("IsVisible")).booleanValue();
@@ -121,11 +121,11 @@ public class _XSheetFilterable extends MultiMethodTest {
log.println("couldn't fill cells " + e.getLocalizedMessage());
res = false;
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("problems geting Property 'isVisible' " +
+ log.println("problems geting Property 'isVisible' " +
e.getLocalizedMessage());
res = false;
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("problems geting Property 'isVisible' " +
+ log.println("problems geting Property 'isVisible' " +
e.getLocalizedMessage());
res = false;
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java
index afb642290b67..eb02619490ad 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetFilterableEx.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,10 +38,10 @@ import com.sun.star.uno.UnoRuntime;
/**
* Inteface test for XSheetFilterableEx
*
- * methods:
+ * methods:
*
* createFilterDescriptorByObject
- *
+ *
*/
public class _XSheetFilterableEx extends MultiMethodTest {
public XSheetFilterableEx oObj = null;
@@ -51,7 +51,7 @@ public class _XSheetFilterableEx extends MultiMethodTest {
* a XSheetFilterDescriptor with it.
* Returns OK if the Descriptor isn't null and checkFilterDescriptor returns true
*/
-
+
public void _createFilterDescriptorByObject() {
boolean res = true;
Object parent = tEnv.getTestObject();
@@ -68,11 +68,11 @@ public class _XSheetFilterableEx extends MultiMethodTest {
}
tRes.tested("createFilterDescriptorByObject()",res);
}
-
+
/**
* returns true if the Method getFilterFields() returns a non empty array
* and all Fields can be gained without exception
- */
+ */
public boolean checkFilterDescriptor(XSheetFilterDescriptor desc) {
TableFilterField[] fields = desc.getFilterFields();
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java b/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
index 4972ef7bcc94..f76da13bdb58 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetLinkable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,61 +40,61 @@ public class _XSheetLinkable extends MultiMethodTest {
String linkSheetName = null;
String linkUrl = null;
String linkUrl2 = null;
-
+
public void before() {
// get a document for linking.
linkUrl = (String)tEnv.getObjRelation("XSheetLinkable.LinkSheet");
linkUrl = utils.getFullTestURL(linkUrl);
-
+
// get a second sheet for changing the link url: if it's not set,
// this part of the test is omitted.
linkUrl2 = (String)tEnv.getObjRelation("XSheetLinkable.LinkSheet2");
if (linkUrl2 != null)
linkUrl = utils.getFullTestURL(linkUrl);
-
+
// set a name for the sheet.
linkSheetName = "Sheet1";
}
-
- public void _getLinkMode() {
+
+ public void _getLinkMode() {
requiredMethod("link()");
slm = oObj.getLinkMode();
- tRes.tested("getLinkMode()", slm == SheetLinkMode.VALUE);
+ tRes.tested("getLinkMode()", slm == SheetLinkMode.VALUE);
}
-
- public void _getLinkSheetName() {
+
+ public void _getLinkSheetName() {
requiredMethod("link()");
String lSheetName = oObj.getLinkSheetName();
- tRes.tested("getLinkSheetName()", linkSheetName.equals(lSheetName));
+ tRes.tested("getLinkSheetName()", linkSheetName.equals(lSheetName));
}
-
- public void _getLinkUrl() {
+
+ public void _getLinkUrl() {
requiredMethod("link()");
String lUrl = oObj.getLinkUrl();
System.out.println("URL: " + lUrl);
- tRes.tested("getLinkUrl()", lUrl.equals(linkUrl));
+ tRes.tested("getLinkUrl()", lUrl.equals(linkUrl));
}
-
- public void _link() {
+
+ public void _link() {
oObj.link(linkUrl, linkSheetName, "", "", SheetLinkMode.VALUE);
- tRes.tested("link()", true);
+ tRes.tested("link()", true);
}
-
+
public void _setLinkMode() {
requiredMethod("getLinkMode()");
oObj.setLinkMode(SheetLinkMode.NONE);
slm = oObj.getLinkMode();
- tRes.tested("setLinkMode()", slm == SheetLinkMode.NONE);
+ tRes.tested("setLinkMode()", slm == SheetLinkMode.NONE);
}
-
- public void _setLinkSheetName() {
+
+ public void _setLinkSheetName() {
requiredMethod("getLinkSheetName()");
oObj.setLinkSheetName("Sheet2");
linkSheetName = oObj.getLinkSheetName();
- tRes.tested("setLinkSheetName()", linkSheetName.equals("Sheet2"));
+ tRes.tested("setLinkSheetName()", linkSheetName.equals("Sheet2"));
}
-
- public void _setLinkUrl() {
+
+ public void _setLinkUrl() {
requiredMethod("getLinkUrl()");
boolean result = false;
if (linkUrl2 == null) {
@@ -107,6 +107,6 @@ public class _XSheetLinkable extends MultiMethodTest {
linkUrl = oObj.getLinkUrl();
result = linkUrl.equals(linkUrl2);
}
- tRes.tested("setLinkUrl()", result);
+ tRes.tested("setLinkUrl()", result);
}
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java
index e57c50c00714..1eb75f9a3b92 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOperation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java b/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java
index 2a69cb7e0404..b48e55d414d1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetOutline.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@ public class _XSheetOutline extends MultiMethodTest {
public XSheetOutline oObj = null;
CellRangeAddress address = null;
CellRangeAddress subaddress = null;
-
+
public void before() {
address = (CellRangeAddress)tEnv.getObjRelation("CellRangeAddress");
subaddress = (CellRangeAddress)tEnv.getObjRelation("CellRangeSubAddress");
@@ -53,7 +53,7 @@ public class _XSheetOutline extends MultiMethodTest {
if (subaddress == null)
throw new StatusException(Status.failed("Object relation CellRangeSubAddress not found"));
}
-
+
public void _autoOutline() {
executeMethod("ungroup()");
boolean result = false;
@@ -65,7 +65,7 @@ public class _XSheetOutline extends MultiMethodTest {
result &= !isCellShown(subaddress);
tRes.tested("autoOutline()", result);
}
-
+
public void _clearOutline() {
executeMethod("autoOutline()");
boolean result = false;
@@ -75,13 +75,13 @@ public class _XSheetOutline extends MultiMethodTest {
result &= isCellShown(subaddress);
tRes.tested("clearOutline()", result);
}
-
+
public void _group() {
oObj.group(address, TableOrientation.COLUMNS);
oObj.group(address, TableOrientation.ROWS);
tRes.tested("group()", true);
}
-
+
public void _ungroup() {
executeMethod("showDetail()");
oObj.ungroup(address, TableOrientation.COLUMNS);
@@ -95,13 +95,13 @@ public class _XSheetOutline extends MultiMethodTest {
oObj.hideDetail(address);
tRes.tested("hideDetail()", !isCellShown(address));
}
-
+
public void _showDetail() {
executeMethod("showLevel()");
oObj.showDetail(address);
tRes.tested("showDetail()", isCellShown(address));
}
-
+
public void _showLevel() {
executeMethod("hideDetail()");
boolean result = false;
@@ -110,11 +110,11 @@ public class _XSheetOutline extends MultiMethodTest {
result = isCellShown(address);
oObj.showLevel((short)0, TableOrientation.COLUMNS);
oObj.showLevel((short)0, TableOrientation.ROWS);
-
+
result &= !isCellShown(address);
tRes.tested("showLevel()", result);
}
-
+
private boolean isCellShown(CellRangeAddress range) {
boolean isNotShown = true;
XCellRangesQuery xCellRangesQuery = (XCellRangesQuery)UnoRuntime.queryInterface(XCellRangesQuery.class, oObj);
@@ -131,9 +131,9 @@ public class _XSheetOutline extends MultiMethodTest {
}
return !isNotShown;
}
-
+
private boolean dotIsOutsideRange(int dotRow, int dotColumn, CellRangeAddress range) {
- log.println("Checking dot(" + dotRow + "," + dotColumn + ") against row["
+ log.println("Checking dot(" + dotRow + "," + dotColumn + ") against row["
+ range.StartRow + ":" + range.EndRow + "] column["
+ range.StartColumn + ":" + range.EndColumn + "]");
boolean isInside = true;
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java b/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java
index bcd47dbc861f..bdecb52e2be1 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSheetPageBreak.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java
index 8e1f6c044513..e2e47e42a12f 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheet.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
index c3d667deccf8..a534138fb912 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java
index a016214d0cdf..979aa7e5d68d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheetView.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java
index 1b3682586778..a377c1c0dd9e 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSpreadsheets.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java
index 6d68b74919af..a00a1fdfabb2 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalCalculatable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java
index 19c3eefd721a..7b632532631b 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java b/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java
index 000239e84117..58c8acd3d9f5 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XSubTotalField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java b/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java
index 43bd1f3d5adf..69e0e48a9546 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XUniqueCellFormatRangesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,15 +33,15 @@ import com.sun.star.container.XIndexAccess;
import com.sun.star.sheet.XUniqueCellFormatRangesSupplier;
public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
-
+
public XUniqueCellFormatRangesSupplier oObj;
-
+
/**
* call the method getUniqueCellFormatRanges and returns OK result if
* the gained XIndexAccess isn't null and the method checkIndexAccess
* returns true.
- */
-
+ */
+
public void _getUniqueCellFormatRanges() {
boolean res = true;
XIndexAccess xIA = oObj.getUniqueCellFormatRanges();
@@ -51,14 +51,14 @@ public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
log.println("The gained IndexAccess is null");
res = false;
}
- tRes.tested("getUniqueCellFormatRanges()",res);
+ tRes.tested("getUniqueCellFormatRanges()",res);
}
-
+
/**
* calls the method getCount at the IndexAccess, returns true is it is >0
* and getByIndex() doesn't throw an exception for Indexes between 0 and count
*/
-
+
protected boolean checkIndexAccess(XIndexAccess xIA) {
boolean res = true;
int count = xIA.getCount();
@@ -78,6 +78,6 @@ public class _XUniqueCellFormatRangesSupplier extends MultiMethodTest {
}
return res;
}
-
-
+
+
}
diff --git a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java b/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java
index 6812704fd80f..e592734fbfe8 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XUsedAreaCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -115,7 +115,7 @@ public class _XUsedAreaCursor extends MultiMethodTest {
result &= (sAddr.StartRow == 1);
result &= (sAddr.EndColumn == 4);
result &= (sAddr.EndRow == 5);
-
+
// now testing with false parameter
oObj.gotoStartOfUsedArea(false);
sAddr = oAddr.getRangeAddress();
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java b/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java
index ded696dcd0d1..72e323858fd0 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewFreezable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewPane.java b/qadevOOo/tests/java/ifc/sheet/_XViewPane.java
index 6fa46876022e..5b24f447c4ba 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewPane.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewPane.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java b/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java
index 5fbdce6c7cb8..dccee2bb78db 100644
--- a/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java
+++ b/qadevOOo/tests/java/ifc/sheet/_XViewSplitable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
index d6e6977222a4..5235bc2fd676 100644
--- a/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_CharacterProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@ import com.sun.star.xml.AttributeData;
import java.util.Enumeration;
import java.util.Hashtable;
import lib.MultiPropertyTest;
-
+
import util.ValueChanger;
import util.utils;
@@ -160,7 +160,7 @@ public class _CharacterProperties extends MultiPropertyTest {
/**
* Custom tester for style name properties. If object relations "STYLENAME1"
- * and "STYLENAME2" exists, then testing with these strings, else switches
+ * and "STYLENAME2" exists, then testing with these strings, else switches
* between 'Citation' and 'Emphasis' names.
*/
protected PropertyTester StyleTester = new PropertyTester() {
@@ -311,9 +311,9 @@ public class _CharacterProperties extends MultiPropertyTest {
"RubyIsAbove",new Boolean(true));
}
}
-
+
/**
- * This property only takes values between 0..100
+ * This property only takes values between 0..100
* so ist must be treated special
*/
public void _CharEscapementHeight() {
@@ -321,7 +321,7 @@ public class _CharacterProperties extends MultiPropertyTest {
Byte max = new Byte((byte)100);
testProperty("CharEscapementHeight", aByte, max) ;
}
-
+
/**
* This property can be void, so if old value is <code> null </code>
@@ -434,7 +434,7 @@ public class _CharacterProperties extends MultiPropertyTest {
tRes.tested(name, false);
}
}// end of changeProp
-
+
public void _TextUserDefinedAttributes() {
XNameContainer uda = null;
boolean res = false;
@@ -457,7 +457,7 @@ public class _CharacterProperties extends MultiPropertyTest {
String[] els = uda.getElementNames();
oObj.setPropertyValue("TextUserDefinedAttributes", uda);
uda = (XNameContainer) AnyConverter.toObject(
- new Type(XNameContainer.class),
+ new Type(XNameContainer.class),
oObj.getPropertyValue("TextUserDefinedAttributes"));
els = uda.getElementNames();
@@ -488,19 +488,19 @@ public class _CharacterProperties extends MultiPropertyTest {
tRes.tested("TextUserDefinedAttributes", res);
}
-
+
private class OwnUserDefinedAttributes implements XNameContainer{
Hashtable members = null;
-
-
+
+
public OwnUserDefinedAttributes() {
members = new Hashtable();
}
-
+
public Object getByName(String str) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
return members.get(str);
}
-
+
public String[] getElementNames() {
Enumeration oEnum = members.keys();
int count = members.size();
@@ -510,34 +510,34 @@ public class _CharacterProperties extends MultiPropertyTest {
res[i] = (String)oEnum.nextElement();
return res;
}
-
+
public com.sun.star.uno.Type getElementType() {
Enumeration oEnum = members.keys();
String key = (String)oEnum.nextElement();
Object o = members.get(key);
return new Type(o.getClass());
}
-
+
public boolean hasByName(String str) {
return members.get(str) != null;
}
-
+
public boolean hasElements() {
return members.size() > 0;
}
-
+
public void insertByName(String str, Object obj) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.container.ElementExistException, com.sun.star.lang.WrappedTargetException {
members.put(str, obj);
}
-
+
public void removeByName(String str) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
members.remove(str);
}
-
+
public void replaceByName(String str, Object obj) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
members.put(str, obj);
}
-
+
}
} //finish class _CharacterProperties
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian.java b/qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian.java
index a5709503f602..364cc3ac446f 100644
--- a/qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian.java
+++ b/qadevOOo/tests/java/ifc/style/_CharacterPropertiesAsian.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex.java b/qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex.java
index 0bf69d68e7e9..d7df0fca3b71 100644
--- a/qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex.java
+++ b/qadevOOo/tests/java/ifc/style/_CharacterPropertiesComplex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ import lib.MultiPropertyTest;
* @see com.sun.star.style.CharacterPropertiesComplex
*/
public class _CharacterPropertiesComplex extends MultiPropertyTest {
-
+
public void _CharWeightComplex() {
testProperty("CharWeightComplex", new Float(com.sun.star.awt.FontWeight.BOLD),
new Float(com.sun.star.awt.FontWeight.THIN)) ;
@@ -56,14 +56,14 @@ public class _CharacterPropertiesComplex extends MultiPropertyTest {
public void _CharPostureComplex() {
testProperty("CharPostureComplex", com.sun.star.awt.FontSlant.ITALIC,
com.sun.star.awt.FontSlant.NONE) ;
- }
+ }
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} //finish class _CharacterPropertiesComplex
diff --git a/qadevOOo/tests/java/ifc/style/_CharacterStyle.java b/qadevOOo/tests/java/ifc/style/_CharacterStyle.java
index fb6acc14a42e..2efaeedb391b 100755
--- a/qadevOOo/tests/java/ifc/style/_CharacterStyle.java
+++ b/qadevOOo/tests/java/ifc/style/_CharacterStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -28,7 +28,7 @@
package ifc.style;
import lib.MultiPropertyTest;
-
+
/**
* Testing <code>com.sun.star.style.CharacterStyle</code>
diff --git a/qadevOOo/tests/java/ifc/style/_PageProperties.java b/qadevOOo/tests/java/ifc/style/_PageProperties.java
index c53f86b4aa41..cca2c9074667 100755
--- a/qadevOOo/tests/java/ifc/style/_PageProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_PageProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ public class _PageProperties extends MultiPropertyTest {
/**
* Switch on Header and Footer properties
* so all props can be tested.
- */
+ */
protected void before() {
try {
oObj.setPropertyValue("HeaderIsOn", Boolean.TRUE);
@@ -59,9 +59,9 @@ public class _PageProperties extends MultiPropertyTest {
log.println("IllegalArgumentException while setting Property 'HeaderIsOn' or 'FooterIsOn'");
} catch (com.sun.star.beans.PropertyVetoException pve) {
log.println("PropertyVetoException while setting Property 'HeaderIsOn' or 'FooterIsOn'");
- }
+ }
}
-
+
/**
* This property is system dependent and printer dependent.
* So only reading it does make sense, since it cannot be determined, if
@@ -73,19 +73,19 @@ public class _PageProperties extends MultiPropertyTest {
try {
setting = (String)oObj.getPropertyValue("PrinterPaperTray");
log.println("Property 'PrinterPaperTray' is set to '" + setting + "'.");
- res = setting != null;
+ res = setting != null;
}
catch(com.sun.star.beans.UnknownPropertyException e) {
log.println("Don't know the Property 'PrinterPaperTray'");
} catch (com.sun.star.lang.WrappedTargetException wte) {
log.println("WrappedTargetException while getting Property 'PrinterPaperTray'");
- }
+ }
tRes.tested("PrinterPaperTray", res);
}
-
+
/**
* Create some valid user defined attributes
- */
+ */
public void _UserDefinedAttributes() {
XNameContainer uda = null;
boolean res = false;
@@ -97,8 +97,8 @@ public class _PageProperties extends MultiPropertyTest {
attr.Namespace = "http://www.sun.com/staroffice/apitest/Cellprop";
attr.Type="CDATA";
attr.Value="true";
- uda.insertByName("Cellprop:has-first-alien-attribute",attr);
- String[] els = uda.getElementNames();
+ uda.insertByName("Cellprop:has-first-alien-attribute",attr);
+ String[] els = uda.getElementNames();
oObj.setPropertyValue("UserDefinedAttributes",uda);
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
@@ -118,7 +118,7 @@ public class _PageProperties extends MultiPropertyTest {
log.println("PropertyVetoException while getting Property 'UserDefinedAttributes'");
} catch (com.sun.star.container.ElementExistException eee) {
log.println("ElementExistException while getting Property 'UserDefinedAttributes'");
- }
+ }
tRes.tested("UserDefinedAttributes",res);
}
diff --git a/qadevOOo/tests/java/ifc/style/_PageStyle.java b/qadevOOo/tests/java/ifc/style/_PageStyle.java
index d8a6e5f7d344..0c29e1591f86 100755
--- a/qadevOOo/tests/java/ifc/style/_PageStyle.java
+++ b/qadevOOo/tests/java/ifc/style/_PageStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,11 +31,11 @@ import ifc.style._PageProperties;
/**
* Test page style properties.
- * These properties are a subset of the PageProperties. So just use the
+ * These properties are a subset of the PageProperties. So just use the
* PageProperties test
*/
public class _PageStyle extends _PageProperties {
-
+
/**
* This property is system dependent and printer dependent.
* Test is used from _PageProperties
@@ -44,13 +44,13 @@ public class _PageStyle extends _PageProperties {
public void _PrinterPaperTray() {
super._PrinterPaperTray();
}
-
+
/**
* Create some valid user defined attributes
* Test is used from _PageProperties
* @see ifc.style._PageProperties
- */
+ */
public void _UserDefinedAttributes() {
super._UserDefinedAttributes();
- }
+ }
}
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
index d412b93531da..64c22912fea1 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,7 +41,7 @@ import java.util.Hashtable;
import lib.MultiPropertyTest;
import lib.Status;
import share.LogWriter;
-
+
import util.utils;
@@ -159,7 +159,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
*/
protected PropertyTester PageDescTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
- if (!util.utils.isVoid(oldValue) &&
+ if (!util.utils.isVoid(oldValue) &&
(oldValue.equals("Default"))) {
return "HTML";
} else {
@@ -175,7 +175,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
*/
protected PropertyTester ShortTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
- if ((oldValue != null) &&
+ if ((oldValue != null) &&
(oldValue.equals(new Short((short) 0)))) {
return new Short((short) 2);
} else {
@@ -191,7 +191,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
*/
protected PropertyTester BooleanTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
- if ((oldValue != null) &&
+ if ((oldValue != null) &&
(oldValue.equals(new Boolean((boolean) false)))) {
return new Boolean((boolean) true);
} else {
@@ -297,7 +297,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
log.println("Testing with custom Property tester");
try {
- oObj.setPropertyValue("ParaAdjust",
+ oObj.setPropertyValue("ParaAdjust",
com.sun.star.style.ParagraphAdjust.BLOCK);
} catch (com.sun.star.lang.WrappedTargetException e) {
log.println("Exception occured setting property 'ParagraphAdjust'" + e);
@@ -338,7 +338,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
* Tested with custom property tester. <p>
*/
public void _ParaIsConnectBorder() {
-
+
log.println("Testing with custom Property tester");
testProperty("ParaIsConnectBorder", BooleanTester);
}
@@ -366,7 +366,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
*/
public void _NumberingRules() {
requiredMethod("NumberingStyleName");
-
+
XIndexReplace NumberingRules = null;
PropertyValue[] propertyValues = null;
try {
@@ -392,12 +392,12 @@ public class _ParagraphProperties extends MultiPropertyTest {
Status.failed( "could not get NumberlingLevel-Array from NumberingRuels: "+ ex.toString() );
return;
}
-
+
_NumberingLevel numb = new _NumberingLevel((LogWriter)log, tParam, propertyValues);
boolean result = numb.testPropertieArray();
-
- tRes.tested("NumberingRules", result);
+
+ tRes.tested("NumberingRules", result);
}
public void _ParaUserDefinedAttributes() {
@@ -422,7 +422,7 @@ public class _ParagraphProperties extends MultiPropertyTest {
String[] els = uda.getElementNames();
oObj.setPropertyValue("ParaUserDefinedAttributes", uda);
uda = (XNameContainer) AnyConverter.toObject(
- new Type(XNameContainer.class),
+ new Type(XNameContainer.class),
oObj.getPropertyValue("ParaUserDefinedAttributes"));
els = uda.getElementNames();
@@ -453,19 +453,19 @@ public class _ParagraphProperties extends MultiPropertyTest {
tRes.tested("ParaUserDefinedAttributes", res);
}
-
+
private class OwnUserDefinedAttributes implements XNameContainer{
Hashtable members = null;
-
-
+
+
public OwnUserDefinedAttributes() {
members = new Hashtable();
}
-
+
public Object getByName(String str) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
return members.get(str);
}
-
+
public String[] getElementNames() {
Enumeration oEnum = members.keys();
int count = members.size();
@@ -475,33 +475,33 @@ public class _ParagraphProperties extends MultiPropertyTest {
res[i] = (String)oEnum.nextElement();
return res;
}
-
+
public com.sun.star.uno.Type getElementType() {
Enumeration oEnum = members.keys();
String key = (String)oEnum.nextElement();
Object o = members.get(key);
return new Type(o.getClass());
}
-
+
public boolean hasByName(String str) {
return members.get(str) != null;
}
-
+
public boolean hasElements() {
return members.size() > 0;
}
-
+
public void insertByName(String str, Object obj) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.container.ElementExistException, com.sun.star.lang.WrappedTargetException {
members.put(str, obj);
}
-
+
public void removeByName(String str) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
members.remove(str);
}
-
+
public void replaceByName(String str, Object obj) throws com.sun.star.lang.IllegalArgumentException, com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException {
members.put(str, obj);
}
-
+
}
} // finish class _ParagraphProperties
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
index 6c3730d3bb5c..d5aa514f3631 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesAsian.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ public class _ParagraphPropertiesAsian extends MultiPropertyTest {
*/
protected PropertyTester BooleanTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
- if ((oldValue != null) &&
+ if ((oldValue != null) &&
(oldValue.equals(new Boolean((boolean) false)))) {
return new Boolean((boolean) true);
} else {
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
index 932bec5b3ead..a0c061271684 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphPropertiesComplex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,19 +37,19 @@ import lib.MultiPropertyTest;
*/
public class _ParagraphPropertiesComplex extends MultiPropertyTest {
-
+
protected PropertyTester WritingModeTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
if ((oldValue != null) && (oldValue.equals(new Short(com.sun.star.text.WritingMode2.LR_TB))))
return new Short(com.sun.star.text.WritingMode2.PAGE); else
return new Short(com.sun.star.text.WritingMode2.LR_TB);
}
- } ;
-
+ } ;
+
public void _WritingMode() {
log.println("Testing with custom Property tester") ;
testProperty("WritingMode", WritingModeTester) ;
- }
+ }
} // finish class _ParagraphPropertiesComplex
diff --git a/qadevOOo/tests/java/ifc/style/_ParagraphStyle.java b/qadevOOo/tests/java/ifc/style/_ParagraphStyle.java
index 8dcdb56dc988..73fac8699bdf 100644
--- a/qadevOOo/tests/java/ifc/style/_ParagraphStyle.java
+++ b/qadevOOo/tests/java/ifc/style/_ParagraphStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,5 +32,5 @@ import lib.MultiPropertyTest;
/**
*/
public class _ParagraphStyle extends MultiPropertyTest {
-
+
}
diff --git a/qadevOOo/tests/java/ifc/style/_Style.java b/qadevOOo/tests/java/ifc/style/_Style.java
index 16dbf570c301..4174ecaeaf1e 100644
--- a/qadevOOo/tests/java/ifc/style/_Style.java
+++ b/qadevOOo/tests/java/ifc/style/_Style.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ public class _Style extends MultiPropertyTest {
if (style == null) style = "Heading 1";
testProperty("FollowStyle", style, "Heading 2");
}
-
+
} // finish class _Style
diff --git a/qadevOOo/tests/java/ifc/style/_XStyle.java b/qadevOOo/tests/java/ifc/style/_XStyle.java
index bf0bb6bea2c8..5f6a5e38b0e4 100644
--- a/qadevOOo/tests/java/ifc/style/_XStyle.java
+++ b/qadevOOo/tests/java/ifc/style/_XStyle.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/style/_XStyleFamiliesSupplier.java b/qadevOOo/tests/java/ifc/style/_XStyleFamiliesSupplier.java
index 037f4eab829b..dda7b109da3c 100644
--- a/qadevOOo/tests/java/ifc/style/_XStyleFamiliesSupplier.java
+++ b/qadevOOo/tests/java/ifc/style/_XStyleFamiliesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/system/_XProxySettings.java b/qadevOOo/tests/java/ifc/system/_XProxySettings.java
index 864349d194cd..7dd8ebb53ca9 100644
--- a/qadevOOo/tests/java/ifc/system/_XProxySettings.java
+++ b/qadevOOo/tests/java/ifc/system/_XProxySettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java b/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
index edf1061408b3..56a15ec2d963 100644
--- a/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
+++ b/qadevOOo/tests/java/ifc/system/_XSimpleMailClientSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java b/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java
index 3ced5eb9c52f..ace839c0f5d3 100644
--- a/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java
+++ b/qadevOOo/tests/java/ifc/system/_XSystemShellExecute.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_CellProperties.java b/qadevOOo/tests/java/ifc/table/_CellProperties.java
index 99990e5b0339..fb50ba9eaac9 100644
--- a/qadevOOo/tests/java/ifc/table/_CellProperties.java
+++ b/qadevOOo/tests/java/ifc/table/_CellProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,7 +56,7 @@ import com.sun.star.xml.AttributeData;
* @see com.sun.star.table.CellProperties
*/
public class _CellProperties extends MultiPropertyTest {
-
+
/**
* This property is tested with custom property tester which
@@ -69,7 +69,7 @@ public class _CellProperties extends MultiPropertyTest {
}
}) ;
}
-
+
public void _UserDefinedAttributes() {
XNameContainer uda = null;
boolean res = false;
@@ -81,8 +81,8 @@ public class _CellProperties extends MultiPropertyTest {
attr.Namespace = "http://www.sun.com/staroffice/apitest/Cellprop";
attr.Type="CDATA";
attr.Value="true";
- uda.insertByName("Cellprop:has-first-alien-attribute",attr);
- String[] els = uda.getElementNames();
+ uda.insertByName("Cellprop:has-first-alien-attribute",attr);
+ String[] els = uda.getElementNames();
oObj.setPropertyValue("UserDefinedAttributes",uda);
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
@@ -102,7 +102,7 @@ public class _CellProperties extends MultiPropertyTest {
log.println("PropertyVetoException while getting Property 'UserDefinedAttributes'");
} catch (com.sun.star.container.ElementExistException eee) {
log.println("ElementExistException while getting Property 'UserDefinedAttributes'");
- }
+ }
tRes.tested("UserDefinedAttributes",res);
}
diff --git a/qadevOOo/tests/java/ifc/table/_TableColumn.java b/qadevOOo/tests/java/ifc/table/_TableColumn.java
index edb2606b87a4..417365414a2e 100644
--- a/qadevOOo/tests/java/ifc/table/_TableColumn.java
+++ b/qadevOOo/tests/java/ifc/table/_TableColumn.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_TableRow.java b/qadevOOo/tests/java/ifc/table/_TableRow.java
index e5021f22dc55..f06fa6b80bac 100644
--- a/qadevOOo/tests/java/ifc/table/_TableRow.java
+++ b/qadevOOo/tests/java/ifc/table/_TableRow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
index 4843d25f93fc..edb2ccab1ceb 100644
--- a/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
+++ b/qadevOOo/tests/java/ifc/table/_XAutoFormattable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -75,12 +75,12 @@ public class _XAutoFormattable extends MultiMethodTest {
XCell oCell = cellRange.getCellByPosition(0, 0);
XPropertySet PS = (XPropertySet) UnoRuntime.queryInterface(
XPropertySet.class, oCell);
-
+
Integer bkgrnd1;
try {
bkgrnd1 = (Integer) PS.getPropertyValue("CellBackColor");
} catch (com.sun.star.beans.UnknownPropertyException e) {
- bkgrnd1 = (Integer) PS.getPropertyValue("BackColor");
+ bkgrnd1 = (Integer) PS.getPropertyValue("BackColor");
}
// getting formats names.
@@ -112,8 +112,8 @@ public class _XAutoFormattable extends MultiMethodTest {
try {
bkgrnd2 = (Integer) PS.getPropertyValue("CellBackColor");
} catch (com.sun.star.beans.UnknownPropertyException e) {
- bkgrnd2 = (Integer) PS.getPropertyValue("BackColor");
- }
+ bkgrnd2 = (Integer) PS.getPropertyValue("BackColor");
+ }
bResult &= !bkgrnd1.equals(bkgrnd2);
} catch (com.sun.star.uno.Exception e) {
@@ -124,11 +124,11 @@ public class _XAutoFormattable extends MultiMethodTest {
tRes.tested("autoFormat()", bResult);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/table/_XCell.java b/qadevOOo/tests/java/ifc/table/_XCell.java
index 0e29e2cbc644..2860ac3ac307 100644
--- a/qadevOOo/tests/java/ifc/table/_XCell.java
+++ b/qadevOOo/tests/java/ifc/table/_XCell.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XCellCursor.java b/qadevOOo/tests/java/ifc/table/_XCellCursor.java
index 9f3aea9b4354..aeb52faa6aec 100644
--- a/qadevOOo/tests/java/ifc/table/_XCellCursor.java
+++ b/qadevOOo/tests/java/ifc/table/_XCellCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XCellRange.java b/qadevOOo/tests/java/ifc/table/_XCellRange.java
index cb35b2137e6d..53c0a061741d 100644
--- a/qadevOOo/tests/java/ifc/table/_XCellRange.java
+++ b/qadevOOo/tests/java/ifc/table/_XCellRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -139,13 +139,13 @@ public class _XCellRange extends MultiMethodTest {
} // end getCellRangeByPosition()
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} // finish class _XCellRange
diff --git a/qadevOOo/tests/java/ifc/table/_XColumnRowRange.java b/qadevOOo/tests/java/ifc/table/_XColumnRowRange.java
index f56899891353..14aa660a5d39 100644
--- a/qadevOOo/tests/java/ifc/table/_XColumnRowRange.java
+++ b/qadevOOo/tests/java/ifc/table/_XColumnRowRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XTableChart.java b/qadevOOo/tests/java/ifc/table/_XTableChart.java
index 230c0f5b0949..5bd42039a3d8 100644
--- a/qadevOOo/tests/java/ifc/table/_XTableChart.java
+++ b/qadevOOo/tests/java/ifc/table/_XTableChart.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XTableCharts.java b/qadevOOo/tests/java/ifc/table/_XTableCharts.java
index 737a120f91a8..9df026ddb7d2 100644
--- a/qadevOOo/tests/java/ifc/table/_XTableCharts.java
+++ b/qadevOOo/tests/java/ifc/table/_XTableCharts.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java b/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java
index ba0308da29f2..19d310da232e 100644
--- a/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java
+++ b/qadevOOo/tests/java/ifc/table/_XTableChartsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/table/_XTableColumns.java b/qadevOOo/tests/java/ifc/table/_XTableColumns.java
index d46ae6dae70e..cf3c36baba8f 100644
--- a/qadevOOo/tests/java/ifc/table/_XTableColumns.java
+++ b/qadevOOo/tests/java/ifc/table/_XTableColumns.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -180,8 +180,8 @@ public class _XTableColumns extends MultiMethodTest {
log.println("Inserting column at Index " + cnt + " ... OK");
result &= true;
}
-
- if (tEnv.getTestCase().getObjectName().equals("ScTableColumnsObj")) {
+
+ if (tEnv.getTestCase().getObjectName().equals("ScTableColumnsObj")) {
try {
oObj.insertByIndex(0,0);
@@ -191,7 +191,7 @@ public class _XTableColumns extends MultiMethodTest {
log.println("Inserting 0 columns ... OK");
result &= true;
}
-
+
}
tRes.tested( "insertByIndex()", result );
diff --git a/qadevOOo/tests/java/ifc/table/_XTableRows.java b/qadevOOo/tests/java/ifc/table/_XTableRows.java
index 71cd35ab5de9..ce12e3760ada 100644
--- a/qadevOOo/tests/java/ifc/table/_XTableRows.java
+++ b/qadevOOo/tests/java/ifc/table/_XTableRows.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,7 +46,7 @@ public class _XTableRows extends MultiMethodTest {
public XTableRows oObj = null;
public XCellRange range = null;
-
+
public void before() {
range = (XCellRange) tEnv.getObjRelation("XTableRows.XCellRange");
if (range==null) {
@@ -68,14 +68,14 @@ public class _XTableRows extends MultiMethodTest {
public void _insertByIndex() {
boolean result = true;
-
+
requiredMethod("removeByIndex()");
int origCnt = oObj.getCount();
log.println("Inserting row before first row");
oObj.insertByIndex(0,1);
result &= checkCell(1,15);
- if (checkCell(1,15)) log.println("... successful");
+ if (checkCell(1,15)) log.println("... successful");
try {
oObj.insertByIndex(-1,1);
@@ -98,12 +98,12 @@ public class _XTableRows extends MultiMethodTest {
*/
public void _removeByIndex() {
- boolean result = true;
+ boolean result = true;
oObj.removeByIndex(0,1);
log.println("Removing first row");
result &= checkCell(0,15);
- if (checkCell(0,15)) log.println("... successful");
+ if (checkCell(0,15)) log.println("... successful");
try {
oObj.removeByIndex(-1,1);
@@ -116,15 +116,15 @@ public class _XTableRows extends MultiMethodTest {
tRes.tested( "removeByIndex()", result );
} // end removeByIndex()
-
+
public boolean checkCell(int row,double expected) {
double getting=0;
try {
getting = range.getCellByPosition(0,row).getValue();
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Couldn't set value for Cell A1");
- }
-
+ }
+
boolean res = (getting==expected);
if (!res) {
log.println("Expected for row "+row+" was "+expected);
diff --git a/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java b/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
index 3aed88c8994a..b6cd29840d43 100644
--- a/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
+++ b/qadevOOo/tests/java/ifc/task/_XInteractionHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/task/_XJob.java b/qadevOOo/tests/java/ifc/task/_XJob.java
index e4cc567b5b4f..bfeaf5fe0154 100644
--- a/qadevOOo/tests/java/ifc/task/_XJob.java
+++ b/qadevOOo/tests/java/ifc/task/_XJob.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,8 +56,8 @@ public class _XJob extends MultiMethodTest {
public static XJob oObj = null;
/**
- * Tries to query the tested component for object relation
- * <code>XJobArgs</code> [<code>Object[]</code>] which contains
+ * Tries to query the tested component for object relation
+ * <code>XJobArgs</code> [<code>Object[]</code>] which contains
* <code>executeArgs</code> [<code>NamedValue[]</code>]
* @throw StatusException If relations are not found
*/
@@ -68,7 +68,7 @@ public class _XJob extends MultiMethodTest {
("'XJobArgs' relation not found ")) ;
}
-
+
/**
* Gets the number of Job calls before and after triggering event.
diff --git a/qadevOOo/tests/java/ifc/task/_XJobExecutor.java b/qadevOOo/tests/java/ifc/task/_XJobExecutor.java
index 55aaf43c3c68..03ab82016e20 100644
--- a/qadevOOo/tests/java/ifc/task/_XJobExecutor.java
+++ b/qadevOOo/tests/java/ifc/task/_XJobExecutor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/task/_XStatusIndicatorFactory.java b/qadevOOo/tests/java/ifc/task/_XStatusIndicatorFactory.java
index 3660d5c53acd..6f762f96dbee 100644
--- a/qadevOOo/tests/java/ifc/task/_XStatusIndicatorFactory.java
+++ b/qadevOOo/tests/java/ifc/task/_XStatusIndicatorFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_BaseFrame.java b/qadevOOo/tests/java/ifc/text/_BaseFrame.java
index 258a57ef84ca..b676ba7a29e6 100644
--- a/qadevOOo/tests/java/ifc/text/_BaseFrame.java
+++ b/qadevOOo/tests/java/ifc/text/_BaseFrame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java b/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java
index be4c027b014d..749f7f37147c 100644
--- a/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java
+++ b/qadevOOo/tests/java/ifc/text/_BaseFrameProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndex.java b/qadevOOo/tests/java/ifc/text/_BaseIndex.java
index fb19f6d97888..8054893585ba 100644
--- a/qadevOOo/tests/java/ifc/text/_BaseIndex.java
+++ b/qadevOOo/tests/java/ifc/text/_BaseIndex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -106,7 +106,7 @@ public class _BaseIndex extends MultiPropertyTest {
public void _LevelFormat() {
log.println(
"Testing property 'LevelFormat' with custom property tester");
- testProperty("LevelFormat",
+ testProperty("LevelFormat",
new PropertyTester() {
PropertyValue[][] newVal = null;
PropertyValue[][] oldVal = null;
@@ -147,18 +147,18 @@ public class _BaseIndex extends MultiPropertyTest {
return indProp;
}
- protected void checkResult(String propName, Object oldValue,
- Object newValue, Object resValue,
+ protected void checkResult(String propName, Object oldValue,
+ Object newValue, Object resValue,
Exception exception)
throws Exception {
PropertyValue[][] res = (PropertyValue[][]) ((XIndexAccess) UnoRuntime.queryInterface(
- XIndexAccess.class,
+ XIndexAccess.class,
resValue)).getByIndex(0);
log.println("Result:");
printLevelFormatProperty(resValue);
- boolean result = (res.length != oldVal.length) ||
+ boolean result = (res.length != oldVal.length) ||
!util.ValueComparer.equalValue(res, oldVal);
tRes.tested(propName, result);
@@ -176,7 +176,7 @@ public class _BaseIndex extends MultiPropertyTest {
PropertyValue[][] val = null;
try {
- log.println(" \u0421ollection has " + indProp.getCount() +
+ log.println(" \u0421ollection has " + indProp.getCount() +
" elements : ");
for (int i = 0; i < indProp.getCount(); i++) {
@@ -188,7 +188,7 @@ public class _BaseIndex extends MultiPropertyTest {
log.println(" " + j + " level :");
for (int k = 0; k < val[j].length; k++) {
- log.println(" " + val[j][k].Name + "=" +
+ log.println(" " + val[j][k].Name + "=" +
val[j][k].Value);
}
}
diff --git a/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java b/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java
index 4ac67721b601..fdebf10f5aff 100644
--- a/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java
+++ b/qadevOOo/tests/java/ifc/text/_BaseIndexMark.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_CellProperties.java b/qadevOOo/tests/java/ifc/text/_CellProperties.java
index e13a2da7d38e..525173019e3e 100644
--- a/qadevOOo/tests/java/ifc/text/_CellProperties.java
+++ b/qadevOOo/tests/java/ifc/text/_CellProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -132,7 +132,7 @@ public class _CellProperties extends MultiPropertyTest {
protected Object getNewValue(String propName, Object oldValue) {
XNameContainer NC = null;
try {
- NC = (XNameContainer)
+ NC = (XNameContainer)
AnyConverter.toObject(new Type(XNameContainer.class),oldValue);
NC.insertByName("MyAttribute",
new AttributeData("","CDATA","Value"));
diff --git a/qadevOOo/tests/java/ifc/text/_CellRange.java b/qadevOOo/tests/java/ifc/text/_CellRange.java
index adcb2a5baf0e..a0fa2fc8c6de 100644
--- a/qadevOOo/tests/java/ifc/text/_CellRange.java
+++ b/qadevOOo/tests/java/ifc/text/_CellRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_Defaults.java b/qadevOOo/tests/java/ifc/text/_Defaults.java
index 9950ad67797e..3e5375b5142a 100644
--- a/qadevOOo/tests/java/ifc/text/_Defaults.java
+++ b/qadevOOo/tests/java/ifc/text/_Defaults.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_DocumentIndex.java b/qadevOOo/tests/java/ifc/text/_DocumentIndex.java
index e22f56b11964..985c340ab674 100644
--- a/qadevOOo/tests/java/ifc/text/_DocumentIndex.java
+++ b/qadevOOo/tests/java/ifc/text/_DocumentIndex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java b/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java
index b44ca5bd775c..d0b878d7d84b 100644
--- a/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java
+++ b/qadevOOo/tests/java/ifc/text/_DocumentIndexMark.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_DocumentSettings.java b/qadevOOo/tests/java/ifc/text/_DocumentSettings.java
index 699fe5195672..76c20431dac8 100644
--- a/qadevOOo/tests/java/ifc/text/_DocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/text/_DocumentSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,5 +31,5 @@ import lib.MultiPropertyTest;
public class _DocumentSettings extends MultiPropertyTest
{
-
+
}
diff --git a/qadevOOo/tests/java/ifc/text/_Footnote.java b/qadevOOo/tests/java/ifc/text/_Footnote.java
index dd93a3d8f40b..de555015bc38 100644
--- a/qadevOOo/tests/java/ifc/text/_Footnote.java
+++ b/qadevOOo/tests/java/ifc/text/_Footnote.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java b/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java
index 5795575b6f9a..9c911d171520 100644
--- a/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java
+++ b/qadevOOo/tests/java/ifc/text/_FootnoteSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java b/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java
index feb148e1b5a5..7a06b7dd3180 100644
--- a/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java
+++ b/qadevOOo/tests/java/ifc/text/_GenericTextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java b/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java
index 1c1c7d79dfef..57b1e21a23d3 100644
--- a/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java
+++ b/qadevOOo/tests/java/ifc/text/_LineNumberingProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_MailMerge.java b/qadevOOo/tests/java/ifc/text/_MailMerge.java
index f16eaefd12db..66b01a04189c 100644
--- a/qadevOOo/tests/java/ifc/text/_MailMerge.java
+++ b/qadevOOo/tests/java/ifc/text/_MailMerge.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -74,7 +74,7 @@ public class _MailMerge extends MultiPropertyTest {
log.println("set property to a new value...");
oObj.setPropertyValue(propName, newValue);
-
+
log.println("get the new value...");
XResultSet getValue = (XResultSet) UnoRuntime.queryInterface(XResultSet.class,oObj.getPropertyValue(propName));
@@ -91,7 +91,7 @@ public class _MailMerge extends MultiPropertyTest {
log.println("Property '" + propName
+ "' is optional and not supported");
tRes.tested(propName,true);
-
+
} else {
log.println("could not get property '"+ propName +"' from XPropertySet!");
tRes.tested(propName, false);
@@ -118,7 +118,7 @@ public class _MailMerge extends MultiPropertyTest {
log.println("set property to a new value...");
oObj.setPropertyValue(propName, newValue);
-
+
log.println("get the new value...");
XConnection getValue = (XConnection) UnoRuntime.queryInterface(XConnection.class,oObj.getPropertyValue(propName));
@@ -135,7 +135,7 @@ public class _MailMerge extends MultiPropertyTest {
log.println("Property '" + propName
+ "' is optional and not supported");
tRes.tested(propName,true);
-
+
} else {
log.println("could not get property '"+ propName +"' from XPropertySet!");
tRes.tested(propName, false);
@@ -145,7 +145,7 @@ public class _MailMerge extends MultiPropertyTest {
tRes.tested(propName, false);
}
}
-
+
/**
* Tested with custom property tester.
*/
diff --git a/qadevOOo/tests/java/ifc/text/_NumberingLevel.java b/qadevOOo/tests/java/ifc/text/_NumberingLevel.java
index c4255065dfa1..ff7b6b06b8a5 100644
--- a/qadevOOo/tests/java/ifc/text/_NumberingLevel.java
+++ b/qadevOOo/tests/java/ifc/text/_NumberingLevel.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@ import share.LogWriter;
/**
* Testing <code>com.sun.star.text.NumberingLevel</code><p>
-* This service is currently konwn as property value of
+* This service is currently konwn as property value of
* com.sun.star.text.ParagraphProperties.NumberingRules
* This test checks only for completnes of implemented properties.
* service properties :
@@ -70,13 +70,13 @@ import share.LogWriter;
* @see ifc.text._ParagraphProperties
*/
public class _NumberingLevel {
-
+
private static TestParameters tParam = null;
private static Hashtable NumberingLevel = new Hashtable();
private static PropertyValue[] PropertyArray = null;
private static LogWriter log = null;
-
-
+
+
/**
* returns an instance of _NumberingLevel
* @param log the log writer
@@ -84,12 +84,12 @@ public class _NumberingLevel {
* @param propertyValues a PropertyValue[] which should contain all properties of com.sun.star.text.NumberingLevel
*/
public _NumberingLevel(LogWriter log, TestParameters tParam, PropertyValue[] propertyValues){
-
+
this.tParam = tParam;
this.PropertyArray = propertyValues;
-
+
this.log = log;
-
+
//key = PropertyName, value = Ooptional
NumberingLevel.put("Adjust", new Boolean(false));
NumberingLevel.put("ParentNumbering", new Boolean(true));
@@ -112,23 +112,23 @@ public class _NumberingLevel {
NumberingLevel.put("HeadingStyleName", new Boolean(false));
NumberingLevel.put("BulletColor", new Boolean(true));
NumberingLevel.put("BulletRelSize", new Boolean(true));
-
+
}
-
+
/**
- * This methods checks the PropertyValue for completnes. If one or more properties
+ * This methods checks the PropertyValue for completnes. If one or more properties
* are missing the return value is FALSE, else TRUE
* @return returns TRUE if PropertyValue[] is complete, else FALSE
*/
public boolean testPropertieArray(){
-
+
boolean status = true;
try{
-
+
// iterate over the given property array and remove it from the must list
for (int i = 0; i < PropertyArray.length; i++){
String propertyName=PropertyArray[i].Name;
-
+
if ( NumberingLevel.containsKey(propertyName) ) {
NumberingLevel.remove(propertyName);
} else {
@@ -141,17 +141,17 @@ public class _NumberingLevel {
status = false;
log.println("-> '" + propertyName + "'");
}
-
+
}
-
+
// get rest of properties and check if they are optional
if (! NumberingLevel.isEmpty()){
for (Enumeration e = NumberingLevel.keys() ; e.hasMoreElements() ;) {
String property = (String) e.nextElement();
-
+
// if some elements are not optional -> failed
if ( ! ((Boolean)NumberingLevel.get(property)).booleanValue() ){
-
+
if ( status ) {
log.println("FAILED: com.sun.star.text.NumberingLevel -> " +
"could not find not optional property:");
@@ -166,9 +166,9 @@ public class _NumberingLevel {
}catch( Exception e ){
throw new StatusException("ERROR: could not test all properties of com.sun.star.text.NumberingLevel",e);
}
-
+
return status;
}
-
-
+
+
} // finish class _NumberingLevel
diff --git a/qadevOOo/tests/java/ifc/text/_NumberingRules.java b/qadevOOo/tests/java/ifc/text/_NumberingRules.java
index 7b053921eefc..0ae5832bfcd6 100644
--- a/qadevOOo/tests/java/ifc/text/_NumberingRules.java
+++ b/qadevOOo/tests/java/ifc/text/_NumberingRules.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java b/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java
index 38d512536d36..2cf890d5756a 100644
--- a/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java
+++ b/qadevOOo/tests/java/ifc/text/_PrintPreviewSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -30,6 +30,6 @@ package ifc.text;
import lib.MultiPropertyTest;
public class _PrintPreviewSettings extends MultiPropertyTest
-{
-
+{
+
}
diff --git a/qadevOOo/tests/java/ifc/text/_PrintSettings.java b/qadevOOo/tests/java/ifc/text/_PrintSettings.java
index 301d0e5ed179..d87a617ebce0 100644
--- a/qadevOOo/tests/java/ifc/text/_PrintSettings.java
+++ b/qadevOOo/tests/java/ifc/text/_PrintSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_Text.java b/qadevOOo/tests/java/ifc/text/_Text.java
index eade97485e4a..0b0c289a2286 100644
--- a/qadevOOo/tests/java/ifc/text/_Text.java
+++ b/qadevOOo/tests/java/ifc/text/_Text.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextColumns.java b/qadevOOo/tests/java/ifc/text/_TextColumns.java
index 4c0c09df5249..6ccb1a17b1a2 100644
--- a/qadevOOo/tests/java/ifc/text/_TextColumns.java
+++ b/qadevOOo/tests/java/ifc/text/_TextColumns.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextContent.java b/qadevOOo/tests/java/ifc/text/_TextContent.java
index af4ec84f10b8..93bc22476c38 100644
--- a/qadevOOo/tests/java/ifc/text/_TextContent.java
+++ b/qadevOOo/tests/java/ifc/text/_TextContent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextDocument.java b/qadevOOo/tests/java/ifc/text/_TextDocument.java
index 89535fdc4995..ad8b1cdfc213 100644
--- a/qadevOOo/tests/java/ifc/text/_TextDocument.java
+++ b/qadevOOo/tests/java/ifc/text/_TextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java b/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java
index 0d1323507c56..fa8d3b9dc9db 100644
--- a/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java
+++ b/qadevOOo/tests/java/ifc/text/_TextEmbeddedObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,10 +56,10 @@ public class _TextEmbeddedObject extends MultiPropertyTest {
"According to the idl-description this property can't be set as soon as the Object is inserted in the document, so setting will be skipped");
result=true;
} catch (com.sun.star.beans.UnknownPropertyException e) {
- log.println("Exception while getting Property 'CLSID' " +
+ log.println("Exception while getting Property 'CLSID' " +
e.getMessage());
} catch (com.sun.star.lang.WrappedTargetException e) {
- log.println("Exception while getting Property 'CLSID' " +
+ log.println("Exception while getting Property 'CLSID' " +
e.getMessage());
}
diff --git a/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java b/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java
index a37359621f6d..23561bf7d2ca 100644
--- a/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java
+++ b/qadevOOo/tests/java/ifc/text/_TextFieldMaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextFrame.java b/qadevOOo/tests/java/ifc/text/_TextFrame.java
index fc8240a98acc..6e4b176fce77 100644
--- a/qadevOOo/tests/java/ifc/text/_TextFrame.java
+++ b/qadevOOo/tests/java/ifc/text/_TextFrame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
index c73fd3c4a643..43f2b2edc2c9 100644
--- a/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
+++ b/qadevOOo/tests/java/ifc/text/_TextGraphicObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -113,7 +113,7 @@ public class _TextGraphicObject extends MultiPropertyTest {
try {
XIndexContainer imgMap = (XIndexContainer) UnoRuntime.queryInterface(
- XIndexContainer.class,
+ XIndexContainer.class,
oObj.getPropertyValue("ImageMap"));
int previous = imgMap.getCount();
log.println("Count (previous) " + previous);
@@ -122,7 +122,7 @@ public class _TextGraphicObject extends MultiPropertyTest {
imgMap.insertByIndex(0, im);
oObj.setPropertyValue("ImageMap", imgMap);
imgMap = (XIndexContainer) UnoRuntime.queryInterface(
- XIndexContainer.class,
+ XIndexContainer.class,
oObj.getPropertyValue("ImageMap"));
int after = imgMap.getCount();
diff --git a/qadevOOo/tests/java/ifc/text/_TextPortion.java b/qadevOOo/tests/java/ifc/text/_TextPortion.java
index 828609c158a2..d229de57294a 100644
--- a/qadevOOo/tests/java/ifc/text/_TextPortion.java
+++ b/qadevOOo/tests/java/ifc/text/_TextPortion.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextSection.java b/qadevOOo/tests/java/ifc/text/_TextSection.java
index 10c5aef9ca54..f706e55b823e 100644
--- a/qadevOOo/tests/java/ifc/text/_TextSection.java
+++ b/qadevOOo/tests/java/ifc/text/_TextSection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_TextTable.java b/qadevOOo/tests/java/ifc/text/_TextTable.java
index af99d25c6fbd..675ca24e617f 100644
--- a/qadevOOo/tests/java/ifc/text/_TextTable.java
+++ b/qadevOOo/tests/java/ifc/text/_TextTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -106,13 +106,13 @@ public class _TextTable extends MultiPropertyTest {
testProperty("RelativeWidth");
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
+ }
} // finish class _TextTable
diff --git a/qadevOOo/tests/java/ifc/text/_TextTableRow.java b/qadevOOo/tests/java/ifc/text/_TextTableRow.java
index 0da5ba823453..79f5ae3f0d63 100644
--- a/qadevOOo/tests/java/ifc/text/_TextTableRow.java
+++ b/qadevOOo/tests/java/ifc/text/_TextTableRow.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_ViewSettings.java b/qadevOOo/tests/java/ifc/text/_ViewSettings.java
index dbb721832742..ced902f007da 100644
--- a/qadevOOo/tests/java/ifc/text/_ViewSettings.java
+++ b/qadevOOo/tests/java/ifc/text/_ViewSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java
index 5d1ff15a5c4a..01ea59ba5aa1 100644
--- a/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java
+++ b/qadevOOo/tests/java/ifc/text/_XAutoTextContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java b/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java
index 379c80e507d1..7526fad9fb06 100644
--- a/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java
+++ b/qadevOOo/tests/java/ifc/text/_XAutoTextEntry.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java
index f5b465012f70..cc260f2092cf 100644
--- a/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java
+++ b/qadevOOo/tests/java/ifc/text/_XAutoTextGroup.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java b/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java
index 11e7f7940e6d..4deca55537b5 100644
--- a/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XBookmarksSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java b/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java
index 0c582f849fc6..c2c33ed440d9 100644
--- a/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XChapterNumberingSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java
index f8ffc74e9abc..ae120dd8c889 100644
--- a/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java
+++ b/qadevOOo/tests/java/ifc/text/_XDefaultNumberingProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
index 704750511e56..ffb3a1dd46a1 100644
--- a/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
+++ b/qadevOOo/tests/java/ifc/text/_XDocumentIndex.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java b/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java
index d1198c87c3e0..5284613c3faf 100644
--- a/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XDocumentIndexesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java b/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java
index a892a54b2cfb..aa93f31f6c82 100644
--- a/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XEndnotesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XFootnote.java b/qadevOOo/tests/java/ifc/text/_XFootnote.java
index 00dca02a62f2..d76dad39529f 100644
--- a/qadevOOo/tests/java/ifc/text/_XFootnote.java
+++ b/qadevOOo/tests/java/ifc/text/_XFootnote.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java b/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java
index 117209de4ded..b0100d541cb9 100644
--- a/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XFootnotesSettingsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java b/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java
index 3263e2b78cfe..68f0b023a581 100644
--- a/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XFootnotesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java b/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java
index 0f743cc44396..bd69345c015d 100644
--- a/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java
+++ b/qadevOOo/tests/java/ifc/text/_XLineNumberingProperties.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java b/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java
index 54ed72cb3c15..14dd6f17589f 100644
--- a/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XLineNumberingSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java b/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java
index 07908c2ed628..6c761217a4cd 100644
--- a/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/text/_XMailMergeBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -73,7 +73,7 @@ public class _XMailMergeBroadcaster extends MultiMethodTest {
protected XMailMergeListener listener = new MyMailMergeEventListener();
/**
- * Tries to query the tested component for object relation
+ * Tries to query the tested component for object relation
* <code>executeArgs</code> [<code>NamedValue</code>] and <code>Job</code>
* [<code>XJob</code>]
* @throw StatusException If relations are not found
@@ -95,12 +95,12 @@ public class _XMailMergeBroadcaster extends MultiMethodTest {
*/
public void _addMailMergeEventListener() {
log.println("Testing addMailMergeEventListener ...");
-
+
oObj.addMailMergeEventListener( listener );
-
+
NamedValue[] executeArgs = (NamedValue[]) tEnv.getObjRelation("executeArgs");
XJob Job = (XJob) tEnv.getObjRelation("Job");
-
+
try {
Job.execute(executeArgs);
} catch ( com.sun.star.lang.IllegalArgumentException e) {
@@ -110,7 +110,7 @@ public class _XMailMergeBroadcaster extends MultiMethodTest {
throw new StatusException(Status.failed
("'could not fire event: " + e)) ;
}
-
+
shortWait();
tRes.tested("addMailMergeEventListener()", changed);
@@ -124,12 +124,12 @@ public class _XMailMergeBroadcaster extends MultiMethodTest {
log.println("Testing removeMailMergeEventListener ...");
requiredMethod("addMailMergeEventListener()");
changed = false;
-
+
oObj.removeMailMergeEventListener( listener );
-
+
NamedValue[] executeArgs = (NamedValue[]) tEnv.getObjRelation("executeArgs");
XJob Job = (XJob) tEnv.getObjRelation("Job");
-
+
try {
Job.execute(executeArgs);
} catch ( com.sun.star.lang.IllegalArgumentException e) {
diff --git a/qadevOOo/tests/java/ifc/text/_XPageCursor.java b/qadevOOo/tests/java/ifc/text/_XPageCursor.java
index ff45e2b2fc45..a2dafb6a8ebd 100644
--- a/qadevOOo/tests/java/ifc/text/_XPageCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XPageCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
index 32868a4c5db1..fcd2c768f1e3 100644
--- a/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
+++ b/qadevOOo/tests/java/ifc/text/_XPagePrintable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -122,7 +122,7 @@ public class _XPagePrintable extends MultiMethodTest {
try {
XMultiServiceFactory xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
String printFile = utils.getOfficeTemp(xMSF) + "XPagePrintable.prt";
log.println("Printing to : "+ printFile);
@@ -133,21 +133,21 @@ public class _XPagePrintable extends MultiMethodTest {
firstProp.Value = printFile;
firstProp.State = com.sun.star.beans.PropertyState.DEFAULT_VALUE;
PrintOptions[0] = firstProp;
-
+
if (! util.utils.deleteFile(xMSF, printFile)){
log.println("ERROR: could not remove '" + printFile + "'");
res = false;
}
-
+
oObj.printPages(PrintOptions);
-
+
util.utils.shortWait(tParam.getInt(util.PropertyName.SHORT_WAIT));
-
+
if (! util.utils.fileExists(xMSF, printFile)){
log.println("ERROR: could not find '" + printFile + "'");
res = false;
}
-
+
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("Exception while checking 'printPages'");
res = false;
diff --git a/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java b/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java
index 1ac572fa5097..5ec5a139a59b 100644
--- a/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XParagraphCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java b/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java
index 9791b127cf1f..3718d8aa7637 100644
--- a/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XReferenceMarksSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java
index 76d94a618a69..5de2391035ff 100644
--- a/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java
+++ b/qadevOOo/tests/java/ifc/text/_XRelativeTextContentInsert.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java b/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java
index 95e3a852837e..359b13dd0641 100644
--- a/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XSentenceCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XSimpleText.java b/qadevOOo/tests/java/ifc/text/_XSimpleText.java
index 553aa7bbff96..ebe61831d474 100644
--- a/qadevOOo/tests/java/ifc/text/_XSimpleText.java
+++ b/qadevOOo/tests/java/ifc/text/_XSimpleText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XText.java b/qadevOOo/tests/java/ifc/text/_XText.java
index 41d3f6a91db6..e436ce3b2be9 100644
--- a/qadevOOo/tests/java/ifc/text/_XText.java
+++ b/qadevOOo/tests/java/ifc/text/_XText.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextColumns.java b/qadevOOo/tests/java/ifc/text/_XTextColumns.java
index bc9bc59c814b..64222bb1444d 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextColumns.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextColumns.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextContent.java b/qadevOOo/tests/java/ifc/text/_XTextContent.java
index 52ca11ab9f8d..d93c95c1fa24 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextContent.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextContent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -79,14 +79,14 @@ public class _XTextContent extends MultiMethodTest {
* @see #_getAnchor()
*/
public void _attach() {
- requiredMethod("getAnchor()");
+ requiredMethod("getAnchor()");
try {
- XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT");
+ XTextContent aContent = (XTextContent) tEnv.getObjRelation("CONTENT");
XTextRange aRange = (XTextRange) tEnv.getObjRelation("RANGE");
- if ( aContent !=null) {
+ if ( aContent !=null) {
aContent.attach(aRange);
- } else {
+ } else {
oObj.attach(aRange);
}
tRes.tested("attach()", true ) ;
@@ -100,7 +100,7 @@ public class _XTextContent extends MultiMethodTest {
} else {
ex.printStackTrace(log);
tRes.tested("attach()",false);
- }
+ }
} catch (com.sun.star.uno.RuntimeException re) {
String noAttach = (String) tEnv.getObjRelation("NoAttach");
if (noAttach != null) {
@@ -110,7 +110,7 @@ public class _XTextContent extends MultiMethodTest {
} else {
re.printStackTrace(log);
tRes.tested("attach()",false);
- }
+ }
}
}
}
diff --git a/qadevOOo/tests/java/ifc/text/_XTextCursor.java b/qadevOOo/tests/java/ifc/text/_XTextCursor.java
index cc91e0d9f8f7..145224d7817c 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -217,7 +217,7 @@ public class _XTextCursor extends MultiMethodTest {
* and in the second <code>false</code>
*/
public void _isCollapsed(){
- boolean bCol = false;
+ boolean bCol = false;
oObj.gotoStart(false);
bCol = oObj.isCollapsed();
diff --git a/qadevOOo/tests/java/ifc/text/_XTextDocument.java b/qadevOOo/tests/java/ifc/text/_XTextDocument.java
index 5022aba6aecd..b29e786bdc57 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextDocument.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextDocument.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java
index 7918235a20a5..981a916418d2 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObject.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java
index cea9db145382..b54c9f60856c 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextEmbeddedObjectsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextField.java b/qadevOOo/tests/java/ifc/text/_XTextField.java
index 8cdfc3ce1fa3..2a45604eea38 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextField.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextField.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
index eaacd4a5966a..e9a0700780f8 100755
--- a/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextFieldsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,9 +58,9 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
public XTextFieldsSupplier oObj = null; // oObj filled by MultiMethodTest
private boolean mDispose = false;
private boolean mbCreateFieldMaster = true;
-
+
/**
- * Insert some text fields into a cell on the sheet, so this interface test
+ * Insert some text fields into a cell on the sheet, so this interface test
* makes sense.
*/
protected void before() {
@@ -139,10 +139,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace(log);
throw new StatusException("Couldn't insert textField.URL", e);
}
-
+
}
}
-
+
public void _getTextFields() {
XEnumerationAccess xEnumAccess = oObj.getTextFields();
XEnumeration xEnum = xEnumAccess.createEnumeration();
@@ -151,15 +151,15 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
Object o = xEnum.nextElement();
}
catch(com.sun.star.container.NoSuchElementException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
catch(com.sun.star.lang.WrappedTargetException e) {
- setMethodFalse("getTextFields()", e);
+ setMethodFalse("getTextFields()", e);
}
}
tRes.tested("getTextFields()", xEnum != null);
}
-
+
public void _getTextFieldMasters() {
if (mbCreateFieldMaster) {
XNameAccess xName = oObj.getTextFieldMasters();
@@ -171,7 +171,7 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
tRes.tested("getTextFieldMasters()", true);
}
}
-
+
/**
* Just for convenience: log the exception and set the method false.
* @param method The name of the method to set to false.
@@ -182,10 +182,10 @@ public class _XTextFieldsSupplier extends MultiMethodTest {
e.printStackTrace((PrintWriter)log);
tRes.tested(method, false);
}
-
+
protected void after() {
if (mDispose)
disposeEnvironment();
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/text/_XTextFrame.java b/qadevOOo/tests/java/ifc/text/_XTextFrame.java
index 99cc4307604a..4a4c916c4a29 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextFrame.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextFrame.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java
index 342190f9381f..1cb192bf35be 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextFramesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java
index adb93480ff04..1f3c20571951 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextGraphicObjectsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRange.java b/qadevOOo/tests/java/ifc/text/_XTextRange.java
index 304bc065e7ab..af95c69edd09 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextRange.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextRange.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -91,8 +91,8 @@ public class _XTextRange extends MultiMethodTest {
tRes.tested( "getStart()", oStartRange != null &&
exp.startsWith("Start"));
-
-
+
+
oStartRange.setString("");
}
@@ -128,7 +128,7 @@ public class _XTextRange extends MultiMethodTest {
tRes.tested( "getEnd()", oEndRange != null &&
exp.endsWith("End"));
-
+
oEndRange.setString("");
}
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
index da7f7c98c0ba..744d993c831d 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextRangeCompare.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -109,9 +109,9 @@ public class _XTextRangeCompare extends MultiMethodTest {
/**
* One cursor is created and to its position a paragraph
* inserted, then the fist five characters was selected.
- * A second cursor was created and the last 7 characteres
+ * A second cursor was created and the last 7 characteres
* was selected.<p>
- *
+ *
* Has <b>OK</b> status if the compare returns 1, i.e.
* the second cursor end is before the first.
*/
@@ -124,7 +124,7 @@ public class _XTextRangeCompare extends MultiMethodTest {
cursor1 = oText.createTextCursor();
oText.insertString(cursor1, nameStr, false);
- cursor1.gotoStart(false);
+ cursor1.gotoStart(false);
cursor1.goRight((short)5, true);
cursor2 = oText.createTextCursor();
cursor2.gotoEnd(false);
@@ -136,7 +136,7 @@ public class _XTextRangeCompare extends MultiMethodTest {
log.println("check: oObj.compareRegionStarts(cursor1, cursor2)");
n = oObj.compareRegionEnds(cursor1, cursor2);
-
+
log.println( "Result (short) : " + n );
}catch(com.sun.star.lang.IllegalArgumentException e){
log.println( "Exception: " + e);
@@ -150,9 +150,9 @@ public class _XTextRangeCompare extends MultiMethodTest {
/**
* One cursor is created and to its position a paragraph
* inserted, then the fist five characters was selected.
- * A second cursor was created and the last 7 characters
+ * A second cursor was created and the last 7 characters
* was selected.<p>
- *
+ *
* Has <b>OK</b> status if the compare returns 1, i.e.
* the second cursor start is before the first.
*/
@@ -164,7 +164,7 @@ public class _XTextRangeCompare extends MultiMethodTest {
cursor1 = oText.createTextCursor();
oText.insertString(cursor1, nameStr, false);
- cursor1.gotoStart(false);
+ cursor1.gotoStart(false);
cursor1.goRight((short)5, true);
cursor2 = oText.createTextCursor();
cursor2.gotoEnd(false);
@@ -175,7 +175,7 @@ public class _XTextRangeCompare extends MultiMethodTest {
log.println("cursor2: '"+cursor2.getString() + "'");
log.println("check: oObj.compareRegionStarts(cursor1, cursor2)");
n = oObj.compareRegionStarts(cursor1, cursor2);
-
+
log.println( "Result (short) : " + n );
}catch(com.sun.star.lang.IllegalArgumentException e){
log.println( "Exception: " + e);
diff --git a/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java b/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java
index b6320fb19582..d6bcd9c8e7b3 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextRangeMover.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextSection.java b/qadevOOo/tests/java/ifc/text/_XTextSection.java
index 030764bd2205..fd7e2e15a6e0 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextSection.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextSection.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java
index 0146e3c2d5ac..e4f9584d75c9 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextSectionsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextTable.java b/qadevOOo/tests/java/ifc/text/_XTextTable.java
index 4dfa9e10e410..bd3dc73567c7 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextTable.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextTable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java
index 993406a821f4..8e013f5de13c 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextTableCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java
index 1a0e4a686ae6..101e1cb0b935 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextTablesSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java b/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java
index 05792f041086..53de699ae12c 100644
--- a/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java
+++ b/qadevOOo/tests/java/ifc/text/_XTextViewCursorSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/text/_XWordCursor.java b/qadevOOo/tests/java/ifc/text/_XWordCursor.java
index 91ed4fadd3d2..72dfc901af5c 100644
--- a/qadevOOo/tests/java/ifc/text/_XWordCursor.java
+++ b/qadevOOo/tests/java/ifc/text/_XWordCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java
index 806c3c8c9962..316cd863ea4e 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java
index 86cc310eab02..2ba2274bf756 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedContentResultSetStubFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
index bc3c02d6d69a..0aa4d9675523 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
index a5c927cb620d..4da4491b5b19 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCachedDynamicResultSetStubFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
index 44bf27e99bea..2217c0c0d6b2 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor2.java b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor2.java
index d4e16e052e27..ffa4ff0977aa 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor2.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XCommandProcessor2.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentIdentifierFactory.java b/qadevOOo/tests/java/ifc/ucb/_XContentIdentifierFactory.java
index 071f99ebf640..a6a7c383a670 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentIdentifierFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentIdentifierFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentProvider.java b/qadevOOo/tests/java/ifc/ucb/_XContentProvider.java
index 62d6832ef965..c9e110143bcd 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentProvider.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentProviderFactory.java b/qadevOOo/tests/java/ifc/ucb/_XContentProviderFactory.java
index 36586ddf250e..756ea9905688 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentProviderFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentProviderFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
index 075e157e57ad..bffa1a6c73e0 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XContentProviderManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java b/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java
index 7cfa8462fbda..f89f02b46f43 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XDataContainer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XFileIdentifierConverter.java b/qadevOOo/tests/java/ifc/ucb/_XFileIdentifierConverter.java
index 70fe7deeb8ac..0b4fd8505cd1 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XFileIdentifierConverter.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XFileIdentifierConverter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XParameterizedContentProvider.java b/qadevOOo/tests/java/ifc/ucb/_XParameterizedContentProvider.java
index bd38c1751b6a..618373929ed2 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XParameterizedContentProvider.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XParameterizedContentProvider.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java b/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
index d5d00c1d2229..c886d1d160d1 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XPropertyMatcherFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XPropertySetRegistryFactory.java b/qadevOOo/tests/java/ifc/ucb/_XPropertySetRegistryFactory.java
index 39e9fd49f2cd..5d19ea02c9e7 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XPropertySetRegistryFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XPropertySetRegistryFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderAcceptor.java b/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderAcceptor.java
index 960becd92c89..613b045eb901 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderAcceptor.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderAcceptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderActivator.java b/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderActivator.java
index 758d6eba698f..22ae108607cd 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderActivator.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XRemoteContentProviderActivator.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java
index 5eb811570515..377ed99547c2 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java
index 589bf6ef931d..21c7f7827f53 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XSimpleFileAccess2.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java b/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java
index f14dafba9d0c..90ea861f9f34 100644
--- a/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java
+++ b/qadevOOo/tests/java/ifc/ucb/_XSortedDynamicResultSetFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java
index 3e5361e9f2e0..b86bd1cd9e1a 100644
--- a/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java
+++ b/qadevOOo/tests/java/ifc/ui/_XContextMenuInterception.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -54,37 +54,37 @@ import util.DesktopTools;
import util.utils;
public class _XContextMenuInterception extends MultiMethodTest {
-
+
private XModel docModel = null;
private XContextMenuInterceptor xCI = null;
public XContextMenuInterception oObj = null;
private XWindow xWindow = null;
private XMultiServiceFactory xMSF = null;
private Point point = null;
-
+
public void before() {
docModel = (XModel) UnoRuntime.queryInterface(
XModel.class,tEnv.getObjRelation("FirstModel"));
-
+
xCI = (XContextMenuInterceptor) UnoRuntime.queryInterface(
XContextMenuInterceptor.class, new ContextMenuInterceptor());
-
+
xMSF = (XMultiServiceFactory)tParam.getMSF();
-
+
//ensure that the first model is focused
log.println("ensure that the first model is focused");
DesktopTools.bringWindowToFront(docModel);
-
+
utils.shortWait(3000);
}
-
+
public void after() {
if (xCI != null) {
oObj.releaseContextMenuInterceptor(xCI);
}
}
-
+
public void _registerContextMenuInterceptor() {
oObj.registerContextMenuInterceptor(xCI);
openContextMenu(docModel);
@@ -92,7 +92,7 @@ public class _XContextMenuInterception extends MultiMethodTest {
releasePopUp();
tRes.tested("registerContextMenuInterceptor()",res);
}
-
+
public void _releaseContextMenuInterceptor() {
requiredMethod("registerContextMenuInterceptor()");
oObj.releaseContextMenuInterceptor(xCI);
@@ -101,11 +101,11 @@ public class _XContextMenuInterception extends MultiMethodTest {
releasePopUp();
tRes.tested("releaseContextMenuInterceptor()",!res);
}
-
+
private boolean checkHelpEntry(){
XInterface toolkit = null;
boolean res = true;
-
+
log.println("get accesibility...");
try{
toolkit = (XInterface) xMSF.createInstance("com.sun.star.awt.Toolkit");
@@ -114,69 +114,69 @@ public class _XContextMenuInterception extends MultiMethodTest {
}
XExtendedToolkit tk = (XExtendedToolkit) UnoRuntime.queryInterface(
XExtendedToolkit.class, toolkit);
-
+
XAccessible xRoot = null;
-
+
AccessibilityTools at = new AccessibilityTools();
-
+
try {
xWindow = (XWindow) UnoRuntime.queryInterface(XWindow.class,
tk.getTopWindow(0));
-
+
xRoot = at.getAccessibleObject(xWindow);
at.printAccessibleTree(log, xRoot, tParam.getBool(util.PropertyName.DEBUG_IS_ACTIVE));
} catch (com.sun.star.lang.IndexOutOfBoundsException e) {
log.println("Couldn't get Window");
}
-
+
XAccessibleContext oPopMenu = at.getAccessibleObjectForRole(xRoot, AccessibleRole.POPUP_MENU,true);
-
+
log.println("ImplementationName: " + util.utils.getImplName(oPopMenu));
-
+
XAccessible xHelp = null;
try{
log.println("Try to get second entry of context menu...");
xHelp = oPopMenu.getAccessibleChild(1);
-
+
} catch (IndexOutOfBoundsException e){
throw new StatusException("Not possible to get second entry of context menu",e);
}
-
+
if (xHelp == null) throw new StatusException(new Status("second entry of context menu is NULL", false));
-
+
XAccessibleContext xHelpCont = xHelp.getAccessibleContext();
-
+
if ( xHelpCont == null )
throw new StatusException(new Status("No able to retrieve accessible context from first entry of context menu",false));
-
+
String aAccessibleName = xHelpCont.getAccessibleName();
if ( !aAccessibleName.equals( "Help" )) {
log.println("Accessible name found = "+aAccessibleName );
log.println("Second entry of context menu is not from context menu interceptor");
res=false;
}
-
+
return res;
-
+
}
-
+
private void openContextMenu(XModel xModel){
-
+
log.println("try to open contex menu...");
AccessibilityTools at = new AccessibilityTools();
-
+
xWindow = at.getCurrentWindow(xMSF, xModel);
-
+
XAccessible xRoot = at.getAccessibleObject(xWindow);
-
+
XInterface oObj = at.getAccessibleObjectForRole(xRoot, AccessibleRole.PANEL);
-
+
XAccessibleComponent window = (XAccessibleComponent) UnoRuntime.queryInterface(
XAccessibleComponent.class, oObj);
-
+
point = window.getLocationOnScreen();
Rectangle rect = window.getBounds();
-
+
log.println("klick mouse button...");
try {
Robot rob = new Robot();
@@ -191,11 +191,11 @@ public class _XContextMenuInterception extends MultiMethodTest {
} catch (java.awt.AWTException e) {
log.println("couldn't press mouse button");
}
-
+
utils.shortWait(1000);
-
+
}
-
+
private void releasePopUp() {
log.println("release the popup menu");
try {
diff --git a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java
index 024f72d07259..9d5dd4859e94 100755
--- a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java
+++ b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,14 +32,14 @@ import com.sun.star.ui.XModuleUIConfigurationManager;
import lib.MultiMethodTest;
public class _XModuleUIConfigurationManager extends MultiMethodTest {
-
+
public XModuleUIConfigurationManager oObj = null;
private String resourceUrl = null;
-
+
public void before() {
resourceUrl = (String)tEnv.getObjRelation("XModuleUIConfigurationManager.ResourceURL");
}
-
+
public void _isDefaultSettings() {
boolean result;
try {
@@ -57,10 +57,10 @@ public class _XModuleUIConfigurationManager extends MultiMethodTest {
log.println("'" + notPossibleUrl + "' is an illegal resource.");
result = false;
}
-
+
tRes.tested("isDefaultSettings()", result);
}
-
+
public void _getDefaultSettings() {
boolean result;
try {
@@ -77,5 +77,5 @@ public class _XModuleUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("getDefaultSettings()", result);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManagerSupplier.java b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManagerSupplier.java
index f2c87692d7bc..7f4015e7dc2f 100755
--- a/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManagerSupplier.java
+++ b/qadevOOo/tests/java/ifc/ui/_XModuleUIConfigurationManagerSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,23 +33,23 @@ import com.sun.star.ui.XModuleUIConfigurationManagerSupplier;
import lib.MultiMethodTest;
public class _XModuleUIConfigurationManagerSupplier extends MultiMethodTest {
-
+
public XModuleUIConfigurationManagerSupplier oObj;
-
+
public void _getUIConfigurationManager() {
String configManagerName = null;
String implementationName = null;
try {
configManagerName = (String)tEnv.getObjRelation("XModuleUIConfigurationManagerSupplier.ConfigurationManager");
implementationName = (String)tEnv.getObjRelation("XModuleUIConfigurationManagerSupplier.ConfigManagerImplementationName");
-
+
// get a config manager for the StartModule
Object o = oObj.getUIConfigurationManager(configManagerName);
XServiceInfo xServiceInfo = (XServiceInfo)UnoRuntime.queryInterface(XServiceInfo.class, o);
String impName = xServiceInfo.getImplementationName();
boolean result = impName.equals(implementationName);
if (!result) {
- log.println("Returned implementation was '" + impName +
+ log.println("Returned implementation was '" + impName +
"' but should have been '" + implementationName + "'");
}
tRes.tested("getUIConfigurationManager()", result);
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java
index 9b0fea0096c5..cc3b7f207d4c 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIConfiguration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,20 +47,20 @@ public class _XUIConfiguration extends MultiMethodTest {
public XUIConfiguration oObj;
XUIConfigurationListenerImpl xListener = null;
-
+
/**
* Interface for the Listener of the object relation
* <CODE>XUIConfiguration.XUIConfigurationListenerImpl</CODE>
* @see com.sun.star.ui.XUIConfigurationListener
*/
- public static interface XUIConfigurationListenerImpl
+ public static interface XUIConfigurationListenerImpl
extends XUIConfigurationListener {
- public void reset();
- public void fireEvent();
+ public void reset();
+ public void fireEvent();
public boolean actionWasTriggered();
}
-
-
+
+
/**
* try to get a listener out of the object relation
* <CODE>XUIConfiguration.XUIConfigurationListenerImpl</CODE>
@@ -70,7 +70,7 @@ public class _XUIConfiguration extends MultiMethodTest {
"XUIConfiguration.XUIConfigurationListenerImpl");
XUIConfigurationListener l;
}
-
+
/**
* adds a listener an fire an event
* Has <B>OK</B> status if listener was called
@@ -80,7 +80,7 @@ public class _XUIConfiguration extends MultiMethodTest {
xListener.fireEvent();
tRes.tested("addConfigurationListener()", xListener.actionWasTriggered());
}
-
+
/**
* removes the listener and calls an event.
* Has <B>OK</B> status if listener is not called.
@@ -92,7 +92,7 @@ public class _XUIConfiguration extends MultiMethodTest {
xListener.fireEvent();
tRes.tested("removeConfigurationListener()", !xListener.actionWasTriggered());
}
-
+
/**
* Dispose because the UIConfigurationManager has to be recreated
*/
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationListener.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationListener.java
index cd24140d988e..efc46f8d6063 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationListener.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationListener.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,7 +32,7 @@ import com.sun.star.ui.XUIConfigurationListener;
import lib.MultiMethodTest;
public class _XUIConfigurationListener extends MultiMethodTest {
-
+
public XUIConfigurationListener oObj = null;
public void _elementInserted() {
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java
index 53ddc59e6ce9..f14e70403f2d 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,7 +42,7 @@ import java.io.PrintWriter;
import lib.MultiMethodTest;
public class _XUIConfigurationManager extends MultiMethodTest {
-
+
public XUIConfigurationManager oObj;
private String msResourceUrl = "private:resource/menubar/menubar";
private String msMyResourceUrl = "private:resource/menubar/mymenubar";
@@ -50,8 +50,8 @@ public class _XUIConfigurationManager extends MultiMethodTest {
private XIndexAccess mxMenuBarSettings = null;
private XMultiServiceFactory mxMSF = null;
private String sShortCutManagerServiceName = null;
-
-
+
+
/**
* Some stuff before the tests:
* extract the multi service factory.
@@ -61,7 +61,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
sShortCutManagerServiceName = (String)tEnv.getObjRelation("XConfigurationManager.ShortCutManager");
}
-
+
/**
* reset all changes: do at the end.
*/
@@ -70,7 +70,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
oObj.reset();
tRes.tested("reset()", true);
}
-
+
public void _getUIElementsInfo() {
boolean result = true;
try {
@@ -85,13 +85,13 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("getUIElementsInfo()", result);
}
-
+
public void _createSettings() {
mxSettings = oObj.createSettings();
util.dbg.printInterfaces(mxSettings);
tRes.tested("createSettings()", mxSettings != null);
}
-
+
public void _hasSettings() {
boolean result = false;
try {
@@ -103,7 +103,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("hasSettings()", result);
}
-
+
public void _getSettings() {
requiredMethod("hasSettings()");
boolean result = true;
@@ -137,7 +137,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("getSettings()", result);
}
-
+
public void _replaceSettings() {
requiredMethod("getSettings()");
boolean result = true;
@@ -149,7 +149,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
createMenuBarItem("Click for Macro", (XIndexContainer)UnoRuntime.queryInterface(
XIndexContainer.class, prop[3].Value), log);
-
+
XIndexContainer x = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class, mxMenuBarSettings);
try {
x.insertByIndex(x.getCount(), prop);
@@ -185,7 +185,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
_getSettings();
tRes.tested("replaceSettings()", result);
}
-
+
public void _removeSettings() {
requiredMethod("insertSettings()");
boolean result = true;
@@ -206,7 +206,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("removeSettings()", result);
}
-
+
public void _insertSettings() {
requiredMethod("createSettings()");
requiredMethod("replaceSettings()");
@@ -220,7 +220,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
createMenuBarItem("A new sub entry", (XIndexContainer)UnoRuntime.queryInterface(
XIndexContainer.class, prop[3].Value), log);
-
+
XIndexContainer x = (XIndexContainer)UnoRuntime.queryInterface(XIndexContainer.class,mxSettings);
try {
int count = x.getCount();
@@ -256,10 +256,10 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("insertSettings()", result);
}
-
+
/**
* Only a short test.
- * See complex.imageManager.CheckImageManager for a more extensive test of
+ * See complex.imageManager.CheckImageManager for a more extensive test of
* this implementation.
*/
public void _getImageManager() {
@@ -268,8 +268,8 @@ public class _XUIConfigurationManager extends MultiMethodTest {
XImageManager xImageManager = (XImageManager)UnoRuntime.queryInterface(XImageManager.class, o);
tRes.tested("getImageManager()", xImageManager != null);
}
-
-
+
+
/**
* get a shortcut manager
*/
@@ -286,12 +286,12 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
tRes.tested("getShortCutManager()", bSupportedServiceFound);
}
-
+
public void _getEventsManager() {
Object o = oObj.getEventsManager();
tRes.tested("getEventsManager()", o == null);
}
-
+
/**
* Create a menu bar entry for adding to the menu bar of the Office.
* @param sLabelName The name of the new entry.
@@ -311,7 +311,7 @@ public class _XUIConfigurationManager extends MultiMethodTest {
prop[2].Value = new Short((short)0);
prop[3] = new PropertyValue();
prop[3].Name = "ItemDescriptorContainer";
-
+
XSingleComponentFactory xFactory = (XSingleComponentFactory)UnoRuntime.queryInterface(
XSingleComponentFactory.class, xMenuBarSettings);
try {
@@ -327,11 +327,11 @@ public class _XUIConfigurationManager extends MultiMethodTest {
}
return prop;
}
-
+
/**
* Create a sub entry to the menu bar.
* @param sLabelName The name of the entry in the UI.
- * @param xDescriptionContainer The parent entry in the menu bar where
+ * @param xDescriptionContainer The parent entry in the menu bar where
* this entry is added.
*/
public static void createMenuBarItem(String sLabelName, XIndexContainer xDescriptionContainer, PrintWriter log) {
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java
index 96067661bb26..5d0103524834 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationPersistence.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,14 +32,14 @@ import com.sun.star.ui.XUIConfigurationPersistence;
import lib.MultiMethodTest;
public class _XUIConfigurationPersistence extends MultiMethodTest {
-
+
public XUIConfigurationPersistence oObj;
private XStorage xStore = null;
-
+
public void before() {
xStore = (XStorage)tEnv.getObjRelation("XUIConfigurationStorage.Storage");
}
-
+
public void _reload() {
try {
oObj.reload();
@@ -49,7 +49,7 @@ public class _XUIConfigurationPersistence extends MultiMethodTest {
}
tRes.tested("reload()", true);
}
-
+
public void _store() {
try {
oObj.store();
@@ -59,7 +59,7 @@ public class _XUIConfigurationPersistence extends MultiMethodTest {
}
tRes.tested("store()", true);
}
-
+
public void _storeToStorage() {
boolean result = true;
try {
@@ -71,13 +71,13 @@ public class _XUIConfigurationPersistence extends MultiMethodTest {
}
tRes.tested("storeToStorage()", result);
}
-
+
public void _isModified() {
tRes.tested("isModified()", !oObj.isModified());
}
-
+
public void _isReadOnly() {
tRes.tested("isReadOnly()", !oObj.isReadOnly());
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java
index 8acdde914422..7a29c023f1c4 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIConfigurationStorage.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -42,17 +42,17 @@ import lib.MultiMethodTest;
*/
public class _XUIConfigurationStorage extends MultiMethodTest {
-
+
public XUIConfigurationStorage oObj;
private XStorage xStore = null;
-
+
public void before() {
xStore = (XStorage)tEnv.getObjRelation("XUIConfigurationStorage.Storage");
}
/**
* Set the object relation <code>XUIConfigurationStorage.Storage</code>
- * as storage.
+ * as storage.
* Has <b>OK</b> status if no exception is thrown.
*/
public void _setStorage() {
@@ -62,7 +62,7 @@ public class _XUIConfigurationStorage extends MultiMethodTest {
log.println("For initializing this object, the setStorage() method was already called at the object.");
tRes.tested("setStorage()", true);
}
-
+
/**
* Queries object for a storage.
* Has <b>OK</b> status if <code>hasStorage</code> returns <code>OK</code>
@@ -72,5 +72,5 @@ public class _XUIConfigurationStorage extends MultiMethodTest {
boolean has = oObj.hasStorage();
tRes.tested("hasStorage()", has);
}
-
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIElementFactory.java b/qadevOOo/tests/java/ifc/ui/_XUIElementFactory.java
index 5e590054e1f4..796f08a0a204 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIElementFactory.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIElementFactory.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@ import lib.MultiMethodTest;
public class _XUIElementFactory extends MultiMethodTest {
public XUIElementFactory oObj;
-
+
public void _createUIElement() {
boolean result = true;
PropertyValue[] prop = new PropertyValue[0];
diff --git a/qadevOOo/tests/java/ifc/ui/_XUIElementFactoryRegistration.java b/qadevOOo/tests/java/ifc/ui/_XUIElementFactoryRegistration.java
index 089b42aef0c1..48a8b8629b36 100755
--- a/qadevOOo/tests/java/ifc/ui/_XUIElementFactoryRegistration.java
+++ b/qadevOOo/tests/java/ifc/ui/_XUIElementFactoryRegistration.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,7 +47,7 @@ public class _XUIElementFactoryRegistration extends MultiMethodTest {
}
tRes.tested("registerFactory()", result);
}
-
+
public void _getRegisteredFactories() {
requiredMethod("registerFactory()");
PropertyValue[][]props = oObj.getRegisteredFactories();
@@ -55,18 +55,18 @@ public class _XUIElementFactoryRegistration extends MultiMethodTest {
log.println("Null was returned as PropertyValue[][]");
props = new PropertyValue[0][0];
}
- for(int i=0; i<props.length; i++)
+ for(int i=0; i<props.length; i++)
for(int j=0; j<props[i].length; j++)
log.println("Factory: " + props[i][j].Name + " - " + props[i][j].Value);
tRes.tested("getRegisteredFactories()", props.length != 0);
}
-
+
public void _getFactory() {
requiredMethod("registerFactory()");
XUIElementFactory xFactory = oObj.getFactory("private:resource/menubar/menubar", "");
tRes.tested("getFactory()", xFactory != null);
}
-
+
public void _deregisterFactory() {
executeMethod("getRegisteredFactory()");
executeMethod("getFactory()");
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_FilePicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_FilePicker.java
index a3f681277d41..23f2f463b2b6 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_FilePicker.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_FilePicker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java
index a1a9197cd4a6..716d35d43715 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -125,7 +125,7 @@ public class _XControlAccess extends MultiMethodTest {
}
}
}
-
+
log.println(error);
tRes.tested("setControlProperty()", result) ;
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlInformation.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlInformation.java
index ad7c8d782d7d..22bce193c5bf 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XControlInformation.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XControlInformation.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java
index 95e2c27d9895..2d67bedc2d55 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XExecutableDialog.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,10 +49,10 @@ import com.sun.star.util.XCancellable;
* @see com.sun.star.ui.dialogs.XExecutableDialog
*/
public class _XExecutableDialog extends MultiMethodTest {
-
+
public XExecutableDialog oObj = null;
private ExecThread eThread = null;
-
+
/**
* Test calls the method. <p>
* Has <b> OK </b> status if the method successfully returns
@@ -62,7 +62,7 @@ public class _XExecutableDialog extends MultiMethodTest {
oObj.setTitle("The Title");
tRes.tested("setTitle()",true);
}
-
+
/**
* This method is excluded from automated test since
* we can't close the dialog. <p>
@@ -94,25 +94,25 @@ public class _XExecutableDialog extends MultiMethodTest {
log.println("XCancellable isn't supported and the "+
"environment is killed hard");
}
-
-
+
+
}
tRes.tested("execute()",result);
}
-
+
/**
* Calls <code>execute()</code> method in a separate thread.
* Necessary to check if this method works
*/
protected class ExecThread extends Thread {
-
+
public short execRes = (short) 17 ;
private XExecutableDialog Diag = null ;
-
+
public ExecThread(XExecutableDialog Diag) {
this.Diag = Diag ;
}
-
+
public void run() {
try {
execRes = Diag.execute();
@@ -122,7 +122,7 @@ public class _XExecutableDialog extends MultiMethodTest {
}
}
}
-
+
/**
* Sleeps for 5 sec. to allow StarOffice to react on <code>
* reset</code> call.
@@ -134,14 +134,14 @@ public class _XExecutableDialog extends MultiMethodTest {
log.println("While waiting :" + e) ;
}
}
-
+
public void after() {
if (eThread.isAlive()) {
log.println("Thread didn't die ... cleaning up");
disposeEnvironment();
}
}
-
+
private void closeDialog() {
XCancellable canc = (XCancellable) UnoRuntime.queryInterface(
XCancellable.class, tEnv.getTestObject());
@@ -151,19 +151,19 @@ public class _XExecutableDialog extends MultiMethodTest {
} else {
this.disposeEnvironment();
}
-
+
long st = System.currentTimeMillis();
boolean toLong = false;
-
+
log.println("waiting for dialog to close");
-
+
while (eThread.isAlive() && !toLong) {
//wait for dialog to close
toLong = (System.currentTimeMillis()-st > 10000);
}
-
+
log.println("done");
-
+
try {
if (eThread.isAlive()) {
log.println("Interrupting Thread");
@@ -173,23 +173,23 @@ public class _XExecutableDialog extends MultiMethodTest {
} catch (Exception e) {
// who cares ;-)
}
-
+
st = System.currentTimeMillis();
toLong = false;
-
+
log.println("waiting for interruption to work");
-
+
while (eThread.isAlive() && !toLong) {
//wait for dialog to close
toLong = (System.currentTimeMillis()-st > 10000);
}
-
+
log.println("DialogThread alive: "+eThread.isAlive());
-
+
log.println("done");
-
+
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java
index 45ceec2db964..732861a23590 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePicker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java
index 07c5c3b93f6d..e09fd399f588 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerControlAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java
index f39ec63ee80d..7018260ca382 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePickerNotifier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -55,48 +55,48 @@ import com.sun.star.util.XCancellable;
* @see com.sun.star.ui.XFilePickerNotifier
*/
public class _XFilePickerNotifier extends MultiMethodTest {
-
+
public XFilePickerNotifier oObj = null;
private XFilePicker fps = null ;
private String dir1 = null,
dir2 = null ;
ExecThread eThread = null;
-
-
+
+
/**
* Listener implementation which sets a flag if some of its
* methods was called.
*/
protected class TestListener implements XFilePickerListener {
public boolean called = false ;
-
+
public void dialogSizeChanged() {
called = true;
}
-
+
public void fileSelectionChanged(FilePickerEvent e) {
called = true;
}
-
+
public void directoryChanged(FilePickerEvent e) {
log.println("***** Directory Changed *****");
called = true;
}
-
+
public String helpRequested(FilePickerEvent e) {
called = true;
return "help";
}
-
+
public void controlStateChanged(FilePickerEvent e) {
called = true;
}
-
+
public void disposing(EventObject e) {}
}
-
+
TestListener listener = new TestListener() ;
-
+
/**
* Tries to query object for <code>XFilePicker</code> interface, and
* initializes two different URLs for changing file picker directory. <p>
@@ -106,21 +106,21 @@ public class _XFilePickerNotifier extends MultiMethodTest {
public void before() {
fps = (XFilePicker) UnoRuntime.queryInterface
(XFilePicker.class, oObj) ;
-
+
if (fps == null) {
log.println("The object doesnt implement XFilePicker") ;
throw new StatusException(Status.failed
("The object doesnt implement XFilePicker"));
}
-
+
XExecutableDialog exD = (XExecutableDialog) UnoRuntime.queryInterface(
XExecutableDialog.class, tEnv.getTestObject());
-
+
dir1 = util.utils.getOfficeTemp((XMultiServiceFactory)tParam.getMSF());
dir2 = util.utils.getFullTestURL("");
eThread = new ExecThread(exD);
}
-
+
/**
* Adds a listener, then tries to change display directory and
* checks if the listener was called. <p>
@@ -128,7 +128,7 @@ public class _XFilePickerNotifier extends MultiMethodTest {
*/
public void _addFilePickerListener() {
oObj.addFilePickerListener(listener) ;
-
+
try {
log.println("***** Setting DisplayDirectory to " + dir1);
fps.setDisplayDirectory(dir1) ;
@@ -137,23 +137,23 @@ public class _XFilePickerNotifier extends MultiMethodTest {
log.println("***** Setting DisplayDirectory to " + dir2);
fps.setDisplayDirectory(dir2) ;
log.println("***** Getting: " + fps.getDisplayDirectory());
-
+
} catch(com.sun.star.lang.IllegalArgumentException e) {
log.println("!!! Exception changing dir !!!") ;
e.printStackTrace(log) ;
}
-
+
shortWait();
-
+
if (!listener.called) {
log.println("Listener wasn't called :-(");
}
-
+
closeDialog();
-
+
tRes.tested("addFilePickerListener()", listener.called) ;
}
-
+
/**
* Removes the listener and changes display directory. <p>
* Has <b>OK</b> status if the listener wasn't called. <p>
@@ -164,11 +164,11 @@ public class _XFilePickerNotifier extends MultiMethodTest {
*/
public void _removeFilePickerListener() {
requiredMethod("addFilePickerListener()") ;
-
+
oObj.removeFilePickerListener(listener) ;
-
+
listener.called = false ;
-
+
try {
fps.setDisplayDirectory(dir1) ;
openDialog();
@@ -177,27 +177,27 @@ public class _XFilePickerNotifier extends MultiMethodTest {
log.println("!!! Exception changing dir !!!") ;
e.printStackTrace(log) ;
}
-
+
shortWait();
-
+
closeDialog();
-
+
tRes.tested("removeFilePickerListener()", !listener.called) ;
}
-
+
/**
* Calls <code>execute()</code> method in a separate thread.
* Necessary to check if this method works
*/
protected class ExecThread extends Thread {
-
+
public short execRes = (short) 17 ;
private XExecutableDialog Diag = null ;
-
+
public ExecThread(XExecutableDialog Diag) {
this.Diag = Diag ;
}
-
+
public void run() {
try {
execRes = Diag.execute();
@@ -207,7 +207,7 @@ public class _XFilePickerNotifier extends MultiMethodTest {
}
}
}
-
+
/**
* Sleeps for 0.5 sec. to allow StarOffice to react on <code>
* reset</code> call.
@@ -219,7 +219,7 @@ public class _XFilePickerNotifier extends MultiMethodTest {
log.println("While waiting :" + e) ;
}
}
-
+
private void closeDialog() {
XCancellable canc = (XCancellable) UnoRuntime.queryInterface(
XCancellable.class, tEnv.getTestObject());
@@ -229,19 +229,19 @@ public class _XFilePickerNotifier extends MultiMethodTest {
} else {
this.disposeEnvironment();
}
-
+
long st = System.currentTimeMillis();
boolean toLong = false;
-
+
log.println("waiting for dialog to close");
-
+
while (eThread.isAlive() && !toLong) {
//wait for dialog to close
toLong = (System.currentTimeMillis()-st > 10000);
}
-
+
log.println("done");
-
+
try {
if (eThread.isAlive()) {
log.println("Interrupting Thread");
@@ -251,38 +251,38 @@ public class _XFilePickerNotifier extends MultiMethodTest {
} catch (Exception e) {
// who cares ;-)
}
-
+
st = System.currentTimeMillis();
toLong = false;
-
+
log.println("waiting for interruption to work");
-
+
while (eThread.isAlive() && !toLong) {
//wait for dialog to close
toLong = (System.currentTimeMillis()-st > 10000);
}
-
+
log.println("DialogThread alive: "+eThread.isAlive());
-
- log.println("done");
-
+
+ log.println("done");
+
}
-
- private void openDialog() {
+
+ private void openDialog() {
log.println("Starting Dialog");
if (eThread.isAlive()) {
log.println("second interrupt");
eThread.interrupt();
eThread.yield();
}
-
+
XExecutableDialog exD = (XExecutableDialog) UnoRuntime.queryInterface(
XExecutableDialog.class, tEnv.getTestObject());
-
+
dir1 = util.utils.getOfficeTemp((XMultiServiceFactory)tParam.getMSF());
dir2 = util.utils.getFullTestURL("");
- eThread = new ExecThread(exD);
-
+ eThread = new ExecThread(exD);
+
eThread.start();
}
}
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePreview.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePreview.java
index 1a6565e38d96..b5701a504322 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePreview.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilePreview.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterGroupManager.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterGroupManager.java
index 3ef3df73aa64..fc199b4089f7 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterGroupManager.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterGroupManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java
index cc960d2b191b..38541aaed35d 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFilterManager.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java b/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java
index 4b761e6dea65..502d6f2f750d 100644
--- a/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java
+++ b/qadevOOo/tests/java/ifc/ui/dialogs/_XFolderPicker.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
index 5942b69fd63f..776a91d47f26 100644
--- a/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
+++ b/qadevOOo/tests/java/ifc/uno/_XComponentContext.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,8 +50,8 @@ public class _XComponentContext extends MultiMethodTest {
try {
if (names[i].equals("com.sun.star.i18n.ConversionDictionary_ko")) continue;
if (names[i].equals("com.sun.star.i18n.TextConversion_ko")) continue;
- log.println("try to instanciate found servicename " +
- names[i]);
+ log.println("try to instanciate found servicename " +
+ names[i]);
directly.createInstanceWithContext(names[i], oObj);
log.println("worked .... ok");
res &= true;
@@ -71,7 +71,7 @@ public class _XComponentContext extends MultiMethodTest {
"/singletons/com.sun.star.lang.theServiceManager");
byValue = (XMultiComponentFactory) UnoRuntime.queryInterface(
XMultiComponentFactory.class, value);
-
+
String[] vNames = byValue.getAvailableServiceNames();
String[] dNames = directly.getAvailableServiceNames();
diff --git a/qadevOOo/tests/java/ifc/uno/_XNamingService.java b/qadevOOo/tests/java/ifc/uno/_XNamingService.java
index f60f8a6ce6b5..8020cc6ce0df 100644
--- a/qadevOOo/tests/java/ifc/uno/_XNamingService.java
+++ b/qadevOOo/tests/java/ifc/uno/_XNamingService.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_PathSettings.java b/qadevOOo/tests/java/ifc/util/_PathSettings.java
index b9411a2ccfb3..32016d8e2711 100644
--- a/qadevOOo/tests/java/ifc/util/_PathSettings.java
+++ b/qadevOOo/tests/java/ifc/util/_PathSettings.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_SearchDescriptor.java b/qadevOOo/tests/java/ifc/util/_SearchDescriptor.java
index e24913e933bd..26215a0f8c54 100644
--- a/qadevOOo/tests/java/ifc/util/_SearchDescriptor.java
+++ b/qadevOOo/tests/java/ifc/util/_SearchDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XCancellable.java b/qadevOOo/tests/java/ifc/util/_XCancellable.java
index cd7ffc0840b5..bf8b2df73e27 100644
--- a/qadevOOo/tests/java/ifc/util/_XCancellable.java
+++ b/qadevOOo/tests/java/ifc/util/_XCancellable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XChangesBatch.java b/qadevOOo/tests/java/ifc/util/_XChangesBatch.java
index 397ac79e3922..f78838bcc687 100644
--- a/qadevOOo/tests/java/ifc/util/_XChangesBatch.java
+++ b/qadevOOo/tests/java/ifc/util/_XChangesBatch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,14 +37,14 @@ import lib.Status;
import lib.StatusException;
public class _XChangesBatch extends MultiMethodTest {
-
- public XChangesBatch oObj;
+
+ public XChangesBatch oObj;
private Object changeElement = null;
private Object originalElement = null;
private String elementName = null;
private XPropertySet xProp = null;
private XNameReplace xNameReplace = null;
-
+
/**
* add a change that can be committed
*/
@@ -72,7 +72,7 @@ public class _XChangesBatch extends MultiMethodTest {
catch(com.sun.star.uno.Exception e) {
throw new StatusException("Could not get element by name '" + elementName + "'.", e);
}
-
+
if (changeElement == null || originalElement == null || elementName == null || (xProp == null && xNameReplace == null)) {
log.println(
changeElement == null?"Missing property 'XChangesBatch.ChangeElement'\n":"" +
@@ -84,7 +84,7 @@ public class _XChangesBatch extends MultiMethodTest {
throw new StatusException("Some needed object relations are missing.", new Exception());
}
}
-
+
public void _commitChanges() {
requiredMethod("getPendingChanges()");
try {
@@ -113,7 +113,7 @@ public class _XChangesBatch extends MultiMethodTest {
}
tRes.tested("commitChanges()", true);
}
-
+
public void _getPendingChanges() {
requiredMethod("hasPendingChanges()");
ElementChange[]changes = oObj.getPendingChanges();
@@ -126,9 +126,9 @@ public class _XChangesBatch extends MultiMethodTest {
log.println("Found not the right number of changes: " + amount);
log.println("It should have been 1 change.");
for (int i=0; i<amount; i++) {
- System.out.println("Detailed Change " + i + " -> new Element: '" +
- changes[i].Element.toString() + "' ReplacedElement: '" +
- changes[i].ReplacedElement.toString() + "'");
+ System.out.println("Detailed Change " + i + " -> new Element: '" +
+ changes[i].Element.toString() + "' ReplacedElement: '" +
+ changes[i].ReplacedElement.toString() + "'");
}
tRes.tested("getPendingChanges()", false);
}
@@ -138,7 +138,7 @@ public class _XChangesBatch extends MultiMethodTest {
tRes.tested("getPendingChanges()", result);
}
}
-
+
public void _hasPendingChanges() {
try {
executeChange(changeElement);
@@ -150,7 +150,7 @@ public class _XChangesBatch extends MultiMethodTest {
boolean hasPendingChanges = oObj.hasPendingChanges();
tRes.tested("hasPendingChanges()", hasPendingChanges);
}
-
+
private void executeChange(Object element) throws StatusException {
if (xProp != null) {
try {
diff --git a/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java b/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java
index 6899f13d8ae2..8abe0e5b1442 100644
--- a/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java
+++ b/qadevOOo/tests/java/ifc/util/_XChangesNotifier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,16 +43,16 @@ import lib.MultiMethodTest;
* @see com.sun.star.util.XChangesBatch
*/
public class _XChangesNotifier extends MultiMethodTest {
-
+
public XChangesNotifier oObj = null;
- private XChangesBatch xBatch = null;
+ private XChangesBatch xBatch = null;
private Object changeElement = null;
private Object originalElement = null;
private String elementName = null;
private XPropertySet xProp = null;
private XNameReplace xNameReplace = null;
- private _XChangesNotifier.MyChangesListener xListener = null;
-
+ private _XChangesNotifier.MyChangesListener xListener = null;
+
/**
* Own implementation of the XChangesListener interface
* @see com.sun.star.util.XChangesListener
@@ -60,28 +60,28 @@ public class _XChangesNotifier extends MultiMethodTest {
private static class MyChangesListener implements XChangesListener {
/** Just lo a call of the listener **/
boolean bChangesOccured = false;
-
- /** A change did occur
+
+ /** A change did occur
* @param changesEvent The event.
**/
public void changesOccurred(com.sun.star.util.ChangesEvent changesEvent) {
bChangesOccured = true;
}
-
+
/** Disposing of the listener
* @param eventObject The event.
**/
public void disposing(com.sun.star.lang.EventObject eventObject) {
bChangesOccured = true;
}
-
+
/**
* Reset the listener
*/
public void reset() {
bChangesOccured = false;
}
-
+
/**
* Has the listener been called?
* @return True, if the listener has been called.
@@ -100,7 +100,7 @@ public class _XChangesNotifier extends MultiMethodTest {
changeElement = tEnv.getObjRelation("XChangesNotifier.ChangeElement");
originalElement = tEnv.getObjRelation("XChangesNotifier.OriginalElement");
elementName = (String)tEnv.getObjRelation("XChangesNotifier.PropertyName");
-
+
xProp = (XPropertySet)tEnv.getObjRelation("XChangesNotifier.PropertySet");
try {
if (originalElement == null && xProp != null)
@@ -131,7 +131,7 @@ public class _XChangesNotifier extends MultiMethodTest {
);
throw new StatusException("Some needed object relations are missing.", new Exception());
}
-
+
xListener = new _XChangesNotifier.MyChangesListener();
}
@@ -140,7 +140,7 @@ public class _XChangesNotifier extends MultiMethodTest {
oObj.addChangesListener(xListener);
tRes.tested("addChangesListener()", true);
}
-
+
/** test removeChangesListener **/
public void _removeChangesListener() {
requiredMethod("addChangesListener()");
@@ -155,10 +155,10 @@ public class _XChangesNotifier extends MultiMethodTest {
boolean result2 = xListener.didChangesOccur();
if (result2)
log.println("Removed listener has been called.");
-
+
tRes.tested("removeChangesListener()", result && !result2);
}
-
+
/**
* Commit a change, using an implementation of the XChangesBatch interface.
* @return true, if changing worked.
@@ -192,9 +192,9 @@ public class _XChangesNotifier extends MultiMethodTest {
}
return true;
}
-
+
/**
- * Execute the change, use XPropertySet or XNameReplace
+ * Execute the change, use XPropertySet or XNameReplace
* @return False, if changing did throw an exception.
*/
private boolean executeChange(Object element) throws StatusException {
diff --git a/qadevOOo/tests/java/ifc/util/_XCloneable.java b/qadevOOo/tests/java/ifc/util/_XCloneable.java
index 4591be5cfc2e..85ffe637237c 100644
--- a/qadevOOo/tests/java/ifc/util/_XCloneable.java
+++ b/qadevOOo/tests/java/ifc/util/_XCloneable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -48,7 +48,7 @@ public class _XCloneable extends MultiMethodTest {
// oObj filled by MultiMethodTest
public XCloneable oObj = null ;
protected XCloneable clone = null;
-
+
/**
* calls the method. <p>
* Has <b>OK</b> status if no exception has occured. <p>
@@ -59,23 +59,23 @@ public class _XCloneable extends MultiMethodTest {
//check if the implementaionname equals
result &= checkImplementationName(oObj,clone);
-
+
//check ImplementationID
result &= checkImplementationID(oObj, clone);
-
+
tRes.tested("createClone()", result) ;
}
-
+
protected byte[] getImplementationID(XInterface ifc) {
byte[] res = new byte[0];
- XTypeProvider provider = (XTypeProvider)
+ XTypeProvider provider = (XTypeProvider)
UnoRuntime.queryInterface(XTypeProvider.class, ifc);
if (provider != null) {
res = provider.getImplementationId();
}
return res;
- }
-
+ }
+
protected boolean checkImplementationID(XInterface org, XInterface clone) {
boolean res = getImplementationID(org).equals(
getImplementationID(clone));
@@ -84,18 +84,18 @@ public class _XCloneable extends MultiMethodTest {
log.println("------------------------------------------------------------------------");
}
return !res;
- }
-
+ }
+
protected String getImplementationName(XInterface ifc) {
String res = "";
- XServiceInfo info = (XServiceInfo)
+ XServiceInfo info = (XServiceInfo)
UnoRuntime.queryInterface(XServiceInfo.class, ifc);
if (info != null) {
res = info.getImplementationName();
}
return res;
}
-
+
protected boolean checkImplementationName(XInterface org, XInterface clone) {
boolean res = getImplementationName(org).equals(
getImplementationName(clone));
diff --git a/qadevOOo/tests/java/ifc/util/_XFlushable.java b/qadevOOo/tests/java/ifc/util/_XFlushable.java
index c18d84e5d5f6..0cf4df3ef1c9 100644
--- a/qadevOOo/tests/java/ifc/util/_XFlushable.java
+++ b/qadevOOo/tests/java/ifc/util/_XFlushable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XImportable.java b/qadevOOo/tests/java/ifc/util/_XImportable.java
index 164f8e4aaa3e..a35d6290bc24 100644
--- a/qadevOOo/tests/java/ifc/util/_XImportable.java
+++ b/qadevOOo/tests/java/ifc/util/_XImportable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,7 +45,7 @@ public class _XImportable extends MultiMethodTest {
"DatabaseName", "SourceType", "SourceObject", "IsNative"
};
protected Type[] types = new Type[] {
- new Type(String.class), new Type(com.sun.star.sheet.DataImportMode.class),
+ new Type(String.class), new Type(com.sun.star.sheet.DataImportMode.class),
new Type(String.class), new Type(Boolean.class)
};
@@ -54,7 +54,7 @@ public class _XImportable extends MultiMethodTest {
* in com.sun.star.sheet.DatabaseImportDescriptor.<br>
* Returns OK state is all propertynames and types are the specified.
*/
-
+
public void _createImportDescriptor() {
boolean res = true;
boolean locResult = false;
@@ -99,33 +99,33 @@ public class _XImportable extends MultiMethodTest {
public void _doImport() {
requiredMethod("createImportDescriptor()");
boolean res = true;
-
+
log.print("Setting the ImportDescriptor (Bibliograpy, Table, biblio) -- ");
descriptor[0].Value = "Bibliography";
descriptor[1].Value = com.sun.star.sheet.DataImportMode.TABLE;
descriptor[2].Value = "biblio";
log.println("done");
-
+
log.print("Importing data (Bibliograpy, Table, biblio) -- ");
oObj.doImport(descriptor);
log.println("done");
-
+
log.println("Checking data");
res &= checkA1("Identifier");
-
+
log.print("Setting the ImportDescriptor (Bibliograpy, SQL, select Author from biblio) -- ");
descriptor[0].Value = "Bibliography";
descriptor[1].Value = com.sun.star.sheet.DataImportMode.SQL;
descriptor[2].Value = "select Author from biblio";
log.println("done");
-
+
log.print("Importing data (Bibliograpy, SQL, select Author from biblio) -- ");
oObj.doImport(descriptor);
log.println("done");
-
+
log.println("Checking data");
- res &= checkA1("Author");
-
+ res &= checkA1("Author");
+
tRes.tested("doImport()",res);
}
@@ -172,7 +172,7 @@ public class _XImportable extends MultiMethodTest {
return res;
}
-
+
protected boolean checkA1(String expected) {
XCellRange range = (XCellRange) UnoRuntime.queryInterface(XCellRange.class, tEnv.getTestObject());
boolean res = false;
@@ -198,5 +198,5 @@ public class _XImportable extends MultiMethodTest {
protected void after() {
disposeEnvironment();
}
-
+
} \ No newline at end of file
diff --git a/qadevOOo/tests/java/ifc/util/_XIndent.java b/qadevOOo/tests/java/ifc/util/_XIndent.java
index a02897b0e3c1..0900e8c3dfcd 100644
--- a/qadevOOo/tests/java/ifc/util/_XIndent.java
+++ b/qadevOOo/tests/java/ifc/util/_XIndent.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,9 +47,9 @@ public class _XIndent extends MultiMethodTest {
// oObj filled by MultiMethodTest
public XIndent oObj = null ;
-
+
protected XPropertySet PropSet = null;
-
+
/**
* Ensures that the ObjRelation PropSet is given.
*/
@@ -58,7 +58,7 @@ public class _XIndent extends MultiMethodTest {
if (PropSet == null) {
throw new StatusException(Status.failed("No PropertySet given"));
}
- }
+ }
/**
* Calls the method. <p>
@@ -70,7 +70,7 @@ public class _XIndent extends MultiMethodTest {
int newValue = getIndent();
tRes.tested("incrementIndent()", oldValue < newValue) ;
}
-
+
/**
* Calls the method. <p>
* Has <b>OK</b> status if the property 'ParaIndent' is decremented afterwards<p>
@@ -82,7 +82,7 @@ public class _XIndent extends MultiMethodTest {
oObj.decrementIndent();
int newValue = getIndent();
tRes.tested("decrementIndent()", oldValue > newValue) ;
- }
+ }
public short getIndent() {
short ret = 0;
diff --git a/qadevOOo/tests/java/ifc/util/_XMergeable.java b/qadevOOo/tests/java/ifc/util/_XMergeable.java
index 860811246727..556fd5dd74f9 100644
--- a/qadevOOo/tests/java/ifc/util/_XMergeable.java
+++ b/qadevOOo/tests/java/ifc/util/_XMergeable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XModeSelector.java b/qadevOOo/tests/java/ifc/util/_XModeSelector.java
index fddf9850ca02..cc0525e1c281 100644
--- a/qadevOOo/tests/java/ifc/util/_XModeSelector.java
+++ b/qadevOOo/tests/java/ifc/util/_XModeSelector.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XModifiable.java b/qadevOOo/tests/java/ifc/util/_XModifiable.java
index 86f8f8d4b086..0516aa58a50b 100644
--- a/qadevOOo/tests/java/ifc/util/_XModifiable.java
+++ b/qadevOOo/tests/java/ifc/util/_XModifiable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java b/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java
index 34ca57c63cfe..f9d314e71991 100644
--- a/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/util/_XModifyBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XNumberFormatsSupplier.java b/qadevOOo/tests/java/ifc/util/_XNumberFormatsSupplier.java
index 02595f886b8e..468f7f6b13cf 100644
--- a/qadevOOo/tests/java/ifc/util/_XNumberFormatsSupplier.java
+++ b/qadevOOo/tests/java/ifc/util/_XNumberFormatsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XNumberFormatter.java b/qadevOOo/tests/java/ifc/util/_XNumberFormatter.java
index 4dab4f5c5b2b..c1d3380d7352 100644
--- a/qadevOOo/tests/java/ifc/util/_XNumberFormatter.java
+++ b/qadevOOo/tests/java/ifc/util/_XNumberFormatter.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XProtectable.java b/qadevOOo/tests/java/ifc/util/_XProtectable.java
index 1e61ee4fa840..5879d76a0b95 100644
--- a/qadevOOo/tests/java/ifc/util/_XProtectable.java
+++ b/qadevOOo/tests/java/ifc/util/_XProtectable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@ import lib.MultiMethodTest;
public class _XProtectable extends MultiMethodTest {
public XProtectable oObj = null;
String sPassWord = "TopSecret";
-
+
/**
* Check, if the sheet is protected.
* Has OK status, if this is the case.
@@ -45,7 +45,7 @@ public class _XProtectable extends MultiMethodTest {
boolean result = oObj.isProtected();
tRes.tested("isProtected()", result);
}
-
+
/**
* Protect the sheet
*/
@@ -53,7 +53,7 @@ public class _XProtectable extends MultiMethodTest {
oObj.protect(sPassWord);
tRes.tested("protect()", true);
}
-
+
/**
* Unprotect with wrong password, see if it's still protected.
* Unprotect with correct password, see if it's unprotected.
@@ -80,5 +80,5 @@ public class _XProtectable extends MultiMethodTest {
result &= !oObj.isProtected();
tRes.tested("unprotect()", result);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/util/_XRefreshable.java b/qadevOOo/tests/java/ifc/util/_XRefreshable.java
index 7b1eb0ad0db5..73b95bbcb85f 100644
--- a/qadevOOo/tests/java/ifc/util/_XRefreshable.java
+++ b/qadevOOo/tests/java/ifc/util/_XRefreshable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XReplaceDescriptor.java b/qadevOOo/tests/java/ifc/util/_XReplaceDescriptor.java
index e4a3a5c2ba56..c5a6e00324f4 100644
--- a/qadevOOo/tests/java/ifc/util/_XReplaceDescriptor.java
+++ b/qadevOOo/tests/java/ifc/util/_XReplaceDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XReplaceable.java b/qadevOOo/tests/java/ifc/util/_XReplaceable.java
index 9f2a801cfcbf..c58d66b10468 100644
--- a/qadevOOo/tests/java/ifc/util/_XReplaceable.java
+++ b/qadevOOo/tests/java/ifc/util/_XReplaceable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -57,11 +57,11 @@ public class _XReplaceable extends MultiMethodTest {
private String mReplaceString = "** xTextDoc";
private boolean mDispose = false;
- /**
- * Creates an entry to search for, if the current object does not provide
- * one. In this case, the environment is disposed after the test, since
+ /**
+ * Creates an entry to search for, if the current object does not provide
+ * one. In this case, the environment is disposed after the test, since
* the inserted object may influence following tests.
- *
+ *
*/
protected void before() {
Object o = tEnv.getObjRelation("SEARCHSTRING");
@@ -80,7 +80,7 @@ public class _XReplaceable extends MultiMethodTest {
}
else {
log.println("Needed object relation 'XSearchable.MAKEENTRYINCELL' is there, but is of type '"
- + o.getClass().getName() + "'. Should be 'XCell' or 'XCell[]' instead.");
+ + o.getClass().getName() + "'. Should be 'XCell' or 'XCell[]' instead.");
}
for (int i=0; i<cells.length; i++) {
cells[i].setFormula(mSearchString);
@@ -88,7 +88,7 @@ public class _XReplaceable extends MultiMethodTest {
mDispose = true;
}
}
-
+
/**
* Creates the descriptor for replacing string 'xTextDoc'
* with string '** xTextDoc'. <p>
@@ -130,7 +130,7 @@ public class _XReplaceable extends MultiMethodTest {
Rdesc.setReplaceString(mSearchString);
oObj.replaceAll(Rdesc);
res &= (oObj.findFirst(SDesc) == null);
-
+
tRes.tested("replaceAll()",res);
}
diff --git a/qadevOOo/tests/java/ifc/util/_XSearchDescriptor.java b/qadevOOo/tests/java/ifc/util/_XSearchDescriptor.java
index 4b9b8e14abee..ee17a6de0847 100644
--- a/qadevOOo/tests/java/ifc/util/_XSearchDescriptor.java
+++ b/qadevOOo/tests/java/ifc/util/_XSearchDescriptor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XSearchable.java b/qadevOOo/tests/java/ifc/util/_XSearchable.java
index 91c3014387df..eefff1b560a9 100644
--- a/qadevOOo/tests/java/ifc/util/_XSearchable.java
+++ b/qadevOOo/tests/java/ifc/util/_XSearchable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -60,11 +60,11 @@ public class _XSearchable extends MultiMethodTest {
private boolean mDispose = false;
private boolean mExcludeFindNext = false;
- /**
- * Creates an entry to search for, if the current object does not provide
- * one. In this case, the environment is disposed after the test, since
+ /**
+ * Creates an entry to search for, if the current object does not provide
+ * one. In this case, the environment is disposed after the test, since
* the inserted object may influence following tests.
- *
+ *
*/
protected void before() {
Object o = tEnv.getObjRelation("SEARCHSTRING");
@@ -82,7 +82,7 @@ public class _XSearchable extends MultiMethodTest {
}
else {
log.println("Needed object relation 'XSearchable.MAKEENTRYINCELL' is there, but is of type '"
- + o.getClass().getName() + "'. Should be 'XCell' or 'XCell[]' instead.");
+ + o.getClass().getName() + "'. Should be 'XCell' or 'XCell[]' instead.");
}
for (int i=0; i<cells.length; i++) {
cells[i].setFormula(mSearchString);
@@ -91,7 +91,7 @@ public class _XSearchable extends MultiMethodTest {
}
mExcludeFindNext = (tEnv.getObjRelation("EXCLUDEFINDNEXT")==null)?false:true;
}
-
+
/**
* Creates the search descriptor which searches for
* 'xTextDoc' string. <p>
@@ -158,7 +158,7 @@ public class _XSearchable extends MultiMethodTest {
*/
public void _findNext() {
if (mExcludeFindNext) {
- log.println("Testing findNext() excluded, because only one" +
+ log.println("Testing findNext() excluded, because only one" +
" search result is available.");
tRes.tested("findNext()", true);
}
diff --git a/qadevOOo/tests/java/ifc/util/_XSortable.java b/qadevOOo/tests/java/ifc/util/_XSortable.java
index f0d78305420d..f6b951b2f4e9 100644
--- a/qadevOOo/tests/java/ifc/util/_XSortable.java
+++ b/qadevOOo/tests/java/ifc/util/_XSortable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -85,18 +85,18 @@ public class _XSortable extends MultiMethodTest {
bResult = true;
for (int k = 0; k < oPV.length; k++) {
- log.println("DescriptorProperty " + k + ": Name=" +
+ log.println("DescriptorProperty " + k + ": Name=" +
oPV[k].Name + "; Value=" + oPV[k].Value);
if (oPV[k].Name.equals("SortFields")) {
TableSortField[] tsf = (TableSortField[]) oPV[k].Value;
for (int l = 0; l < tsf.length; l++) {
- log.println("\t isAscending: " +
+ log.println("\t isAscending: " +
tsf[l].IsAscending);
- log.println("\t IsCaseSensitive: " +
+ log.println("\t IsCaseSensitive: " +
tsf[l].IsCaseSensitive);
- log.println("\t CollatorAlgorithm: " +
+ log.println("\t CollatorAlgorithm: " +
tsf[l].CollatorAlgorithm);
}
}
@@ -158,7 +158,7 @@ public class _XSortable extends MultiMethodTest {
tRes.tested("sort()", res);
}
- protected void modifyDescriptor(boolean isSortNumeric,
+ protected void modifyDescriptor(boolean isSortNumeric,
boolean isSortAscending) {
for (int i = 0; i < oPV.length; i++) {
if (oPV[i].Name.equals("SortFields")) {
@@ -197,18 +197,18 @@ public class _XSortable extends MultiMethodTest {
if (oPV.length > 0) {
for (int k = 0; k < oPV.length; k++) {
- log.println("DescriptorProperty " + k + ": Name=" +
+ log.println("DescriptorProperty " + k + ": Name=" +
oPV[k].Name + "; Value=" + oPV[k].Value);
if (oPV[k].Name.equals("SortFields")) {
TableSortField[] tsf = (TableSortField[]) oPV[k].Value;
for (int l = 0; l < tsf.length; l++) {
- log.println("\t isAscending: " +
+ log.println("\t isAscending: " +
tsf[l].IsAscending);
- log.println("\t IsCaseSensitive: " +
+ log.println("\t IsCaseSensitive: " +
tsf[l].IsCaseSensitive);
- log.println("\t CollatorAlgorithm: " +
+ log.println("\t CollatorAlgorithm: " +
tsf[l].CollatorAlgorithm);
}
}
@@ -222,17 +222,17 @@ public class _XSortable extends MultiMethodTest {
public static interface XSortChecker {
public void prepareToSort();
- public boolean checkSort(boolean isSortNumbering,
+ public boolean checkSort(boolean isSortNumbering,
boolean isSortAscending);
public void setPrintWriter(PrintWriter log);
}
-
+
/**
* Forces environment recreation.
*/
protected void after() {
disposeEnvironment();
- }
-
+ }
+
} // finish class _XSortable
diff --git a/qadevOOo/tests/java/ifc/util/_XStringEscape.java b/qadevOOo/tests/java/ifc/util/_XStringEscape.java
index 4673526fc243..22bf326f1cd6 100644
--- a/qadevOOo/tests/java/ifc/util/_XStringEscape.java
+++ b/qadevOOo/tests/java/ifc/util/_XStringEscape.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,14 +32,14 @@ import lib.MultiMethodTest;
import com.sun.star.util.XStringEscape;
public class _XStringEscape extends MultiMethodTest {
-
+
public XStringEscape oObj;
-
+
public void _escapeString() {
log.println("The Implementation of this Interface doesn't really do anything");
boolean res = true;
try {
- String toCheck = ";:<>/*";
+ String toCheck = ";:<>/*";
String eString = oObj.escapeString(toCheck);
res = toCheck.equals(eString);
} catch (com.sun.star.lang.IllegalArgumentException e) {
@@ -47,18 +47,18 @@ public class _XStringEscape extends MultiMethodTest {
}
tRes.tested("escapeString()",res);
}
-
+
public void _unescapeString() {
log.println("The Implementation of this Interface doesn't really do anything");
boolean res = true;
try {
- String toCheck = ";:<>/*";
+ String toCheck = ";:<>/*";
String ueString = oObj.unescapeString(toCheck);
res = toCheck.equals(ueString);
} catch (com.sun.star.lang.IllegalArgumentException e) {
System.out.println("IllegalArgument");
}
- tRes.tested("unescapeString()",res);
+ tRes.tested("unescapeString()",res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/util/_XStringSubstitution.java b/qadevOOo/tests/java/ifc/util/_XStringSubstitution.java
index aed62619f41e..56d7165c3824 100644
--- a/qadevOOo/tests/java/ifc/util/_XStringSubstitution.java
+++ b/qadevOOo/tests/java/ifc/util/_XStringSubstitution.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -31,14 +31,14 @@ import com.sun.star.util.XStringSubstitution;
import lib.MultiMethodTest;
public class _XStringSubstitution extends MultiMethodTest {
-
+
public XStringSubstitution oObj;
-
+
public void _getSubstituteVariableValue() {
boolean res = true;
try {
log.println("try to get the valid variable $(user) ...");
- String toCheck = "$(user)";
+ String toCheck = "$(user)";
String eString = oObj.getSubstituteVariableValue(toCheck);
res = eString.startsWith("file:///");
} catch (com.sun.star.container.NoSuchElementException e) {
@@ -47,24 +47,24 @@ public class _XStringSubstitution extends MultiMethodTest {
}
try {
log.println("try to get a invalid variable...");
- String toCheck = "$(ThisVariableShouldNoExist)";
+ String toCheck = "$(ThisVariableShouldNoExist)";
String eString = oObj.getSubstituteVariableValue(toCheck);
log.println("$(ThisVariableShouldNoExist) should not exist");
tRes.tested("getSubstituteVariableValue()",false);
-
+
} catch (com.sun.star.container.NoSuchElementException e) {
log.println("expected exception was thrown.");
res &= true;
}
-
+
tRes.tested("getSubstituteVariableValue()",res);
}
-
+
public void _substituteVariables() {
boolean res = true;
try {
log.println("try to get a valid variable...");
- String toCheck = "$(user)";
+ String toCheck = "$(user)";
String eString = oObj.substituteVariables(toCheck, false);
log.println(eString);
res = eString.startsWith("file:///");
@@ -74,28 +74,28 @@ public class _XStringSubstitution extends MultiMethodTest {
}
try {
log.println("try to get a invalid variable...");
- String toCheck = "$(ThisVariableShouldNoExist)";
+ String toCheck = "$(ThisVariableShouldNoExist)";
String eString = oObj.substituteVariables(toCheck,true);
log.println("$(ThisVariableShouldNoExist) should not exist");
tRes.tested("substituteVariables()",false);
-
+
} catch (com.sun.star.container.NoSuchElementException e) {
log.println("expected exception was thrown.");
res &= true;
}
-
+
tRes.tested("substituteVariables()",res);
}
public void _reSubstituteVariables() {
boolean res = true;
log.println("try to get a valid variable...");
- String toCheck = "file:///";
+ String toCheck = "file:///";
String eString = oObj.reSubstituteVariables(toCheck);
log.println(eString);
res = eString.startsWith("file:///");
-
+
tRes.tested("reSubstituteVariables()",res);
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/util/_XTextSearch.java b/qadevOOo/tests/java/ifc/util/_XTextSearch.java
index 4f701c087f71..44be16079846 100644
--- a/qadevOOo/tests/java/ifc/util/_XTextSearch.java
+++ b/qadevOOo/tests/java/ifc/util/_XTextSearch.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
index e847a9d3132c..548f151c26b7 100644
--- a/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
+++ b/qadevOOo/tests/java/ifc/util/_XURLTransformer.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -436,7 +436,7 @@ public class _XURLTransformer extends MultiMethodTest {
}
asterix = "<" + asterix.substring(1,asterix.length());
asterix = asterix.substring(0,asterix.length()-1) + ">";
-
+
presentation = oObj.getPresentation(url, false);
String expectedPresentation = "ftp://" + user + ":" + asterix + "@" +
server + ":" + port + path + "/" + name;
diff --git a/qadevOOo/tests/java/ifc/view/_XControlAccess.java b/qadevOOo/tests/java/ifc/view/_XControlAccess.java
index 2eea43aa726d..7d8d2b377952 100644
--- a/qadevOOo/tests/java/ifc/view/_XControlAccess.java
+++ b/qadevOOo/tests/java/ifc/view/_XControlAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -88,7 +88,7 @@ public class _XControlAccess extends MultiMethodTest {
UnoRuntime.queryInterface(XDrawPagesSupplier.class, oDoc);
oDP = (XDrawPage) UnoRuntime.queryInterface(XDrawPage.class, oDPS.getDrawPages().getByIndex(0));
} else {
-
+
XDrawPageSupplier oDPS = (XDrawPageSupplier)
UnoRuntime.queryInterface(XDrawPageSupplier.class, oDoc);
diff --git a/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java b/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
index 60f284ff2ef2..0d91ab49a190 100644
--- a/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
+++ b/qadevOOo/tests/java/ifc/view/_XFormLayerAccess.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,13 +49,13 @@ import lib.StatusException;
* @see com.sun.star.view.XFormLayerAccess
*/
public class _XFormLayerAccess extends MultiMethodTest {
-
+
// oObj filled by MultiMethodTest
-
+
public XFormLayerAccess oObj = null;
-
+
private XForm xForm = null;
-
+
/**
* checks if the object relation <CODE>XFormLayerAccess.XForm</CODE>
* is available
@@ -66,7 +66,7 @@ public class _XFormLayerAccess extends MultiMethodTest {
throw new StatusException(Status.failed("Object raltion 'XFormLayerAccess.XForm' is null"));
}
}
-
+
/**
* Test disables the FormDesignMode and calls the mthod. <p>
* Has <b> OK </b> status if the method returns
@@ -79,26 +79,26 @@ public class _XFormLayerAccess extends MultiMethodTest {
*/
public void _getFromController(){
requiredMethod("setFormDesignMode()") ;
-
+
log.println("try to get current DesignMode...");
boolean currentMode = oObj.isFormDesignMode();
log.println("DesignMode is " + currentMode);
-
+
log.println("enable DesignMode");
oObj.setFormDesignMode(false);
-
+
log.println("test for getFromController() ");
XFormController xFormCont = oObj.getFormController(xForm);
-
+
if (xFormCont == null)
log.println("ERROR: Could not get FromContoller");
-
+
log.println("set back DesignMode to previouse state");
oObj.setFormDesignMode(currentMode);
-
+
tRes.tested("getFromController()", xFormCont != null );
}
-
+
/**
* This test calls the test for <code>setFormDesignMode()</CODE>.
* Has <b> OK </b> status if the test for setFormDesignMode() returns
@@ -110,49 +110,49 @@ public class _XFormLayerAccess extends MultiMethodTest {
*/
public void _isFormDesignMode(){
requiredMethod("setFormDesignMode()") ;
-
+
log.println("test for isFormDesignMode() is ok since test for 'setFormDesingMode()' use it");
tRes.tested("isFormDesignMode()", true);
}
-
+
/**
* This test gets the current FormDesignMode, change it to the opposite and checks if the expected value of
* method isFormDesignmode() was given. Then the FormDesignmode was set back to the original value.<P>
* Has <B> OK </B> if expected values are returned.
*
*/
-
+
public void _setFormDesignMode(){
log.println("test for setFormDesignMode() and isFormDesignMode() ");
-
+
log.println("try to get current DesignMode...");
boolean currentMode = oObj.isFormDesignMode();
log.println("DesignMode is " + currentMode);
-
+
log.println("try to change to " + !currentMode + "...");
oObj.setFormDesignMode(!currentMode);
log.println("try to get new DesignMode...");
boolean newMode = oObj.isFormDesignMode();
log.println("DesignMode is " + newMode);
-
+
boolean bOK = (newMode != currentMode);
-
+
if ( !bOK)
log.println("ERROR: both modes are equal");
-
+
log.println("set back DesignMode to " + currentMode);
oObj.setFormDesignMode(currentMode);
-
+
log.println("try to get DesignMode...");
boolean oldMode = oObj.isFormDesignMode();
-
+
bOK &= (bOK &(currentMode == oldMode));
-
+
if (currentMode != oldMode)
log.println("ERROR: could not change back");
-
+
tRes.tested("setFormDesignMode()", bOK );
}
-
+
} // finish class _XFormLayerAccess
diff --git a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
index 387d293c359a..9e3556972081 100644
--- a/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XMultiSelectionSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -58,43 +58,43 @@ import lib.StatusException;
* @see com.sun.star.view.XSelectionSupplier
*/
public class _XMultiSelectionSupplier extends MultiMethodTest {
-
+
public XMultiSelectionSupplier oObj = null;
public boolean selectionChanged = false;
Object[] selections = null;
Comparator ObjCompare = null;
-
+
protected void before() {
selections = (Object[])tEnv.getObjRelation("Selections");
if (selections == null) {
throw new StatusException(Status.failed(
"Couldn't get relation 'Selections'"));
}
-
+
ObjCompare = (Comparator)tEnv.getObjRelation("Comparer");
}
-
+
protected void after() {
disposeEnvironment();
}
-
+
/**
* Selects an instance from relation 'First'. <p>
* Has <b> OK </b> status if no exceptions were thrown. <p>
*/
public void _addSelection() {
-
+
boolean bOK = true;
-
+
log.println("clear selections");
oObj.clearSelection();
-
+
int count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
for(int i = 0; i < selections.length; i++) {
try {
log.println("select object from object relation 'selections["+i+"]'");
@@ -110,7 +110,7 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
log.println("try to select object relation 'selections[0]' second time...");
try {
count = oObj.getSelectionCount();
@@ -122,35 +122,35 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
log.println("ERROR: the selected count ("+oObj.getSelectionCount() +") is not that before (" + count + ")");
bOK = false;
}
-
+
log.println("try to select invalid object...");
try {
-
+
oObj.addSelection(oObj);
-
+
log.println("ERORR: expected exception 'com.sun.star.lang.IllegalArgumentException' was not thrown => FAILED");
bOK = false;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("expected exception 'com.sun.star.lang.IllegalArgumentException' => OK");
}
-
+
tRes.tested("addSelection()", bOK);
}
-
+
public void _removeSelection() {
requiredMethod("addSelection()");
-
+
boolean bOK = true;
-
+
log.println("clear selections");
oObj.clearSelection();
-
+
int count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
log.println("add some selections...");
for(int i = 0; i < selections.length; i++) {
try {
@@ -167,9 +167,9 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
log.println("try now to remove selections...");
-
+
count = oObj.getSelectionCount();
int oldCount = oObj.getSelectionCount();
for(int i = 0; i < selections.length; i++) {
@@ -187,7 +187,7 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
log.println("try to remove a removed selection a second time...");
count = oObj.getSelectionCount();
try {
@@ -199,22 +199,22 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
log.println("ERROR: the selected count ("+oObj.getSelectionCount() +") is not that before (" + count + ")");
bOK = false;
}
-
+
log.println("try to remove invalid object...");
try {
-
+
oObj.removeSelection(oObj);
-
+
log.println("ERORR: expected exception 'com.sun.star.lang.IllegalArgumentException' was not thrown => FAILED");
bOK = false;
} catch (com.sun.star.lang.IllegalArgumentException ex) {
log.println("expected exception 'com.sun.star.lang.IllegalArgumentException' => OK");
}
-
+
tRes.tested("removeSelection()", bOK);
}
-
-
+
+
/**
* First test changes selection of the object : if nothing is
* currently selected or first instance ('First' relation) is
@@ -230,20 +230,20 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
requiredMethod("addSelection()");
tRes.tested("getSelectionCount()", true);
}
-
+
public void _clearSelection() {
requiredMethod("addSelection()");
boolean bOK = true;
-
+
log.println("clear selections");
oObj.clearSelection();
-
+
int count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
log.println("add some selections...");
for(int i = 0; i < selections.length; i++) {
try {
@@ -260,34 +260,34 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
count = oObj.getSelectionCount();
-
+
log.println("clear selections...");
oObj.clearSelection();
-
+
count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
tRes.tested("clearSelection()", bOK);
}
-
+
public void _createSelectionEnumeration() {
requiredMethod("addSelection()");
boolean bOK = true;
-
+
log.println("clear selections");
oObj.clearSelection();
-
+
int count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
log.println("add some selections...");
for(int i = 0; i < selections.length; i++) {
try {
@@ -304,13 +304,13 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
log.println("create enumeration...");
XEnumeration xEnum = oObj.createSelectionEnumeration();
-
+
boolean compRes = true; //compare result
int i = 0;
-
+
while (xEnum.hasMoreElements()){
log.println("try to get first element..");
Object nextElement = null;
@@ -325,15 +325,15 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
}
Object shouldElement = selections[i];
i++;
-
+
if (ObjCompare != null) {
ObjCompare.compare(shouldElement, nextElement);
} else {
compRes = util.ValueComparer.equalValue(shouldElement, nextElement);
}
-
+
log.println("nextElement()-object and expected object 'selections["+i+"]' are equal: "+compRes);
-
+
if (!compRes) {
if ((selections[i]) instanceof Object[]){
if (((Object[])selections[i])[0] instanceof Integer) {
@@ -344,23 +344,23 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
}
bOK &= compRes;
}
-
+
tRes.tested("createSelectionEnumeration()", bOK);
}
-
+
public void _createReverseSelectionEnumeration() {
requiredMethod("addSelection()");
boolean bOK = true;
-
+
log.println("clear selections");
oObj.clearSelection();
-
+
int count = oObj.getSelectionCount();
-
+
bOK &= (count == 0);
-
+
if ( ! bOK) log.println("ERROR: after clear selection I got a selection count of '" + count + "' => FAILED");
-
+
log.println("add some selections...");
for(int i = 0; i < selections.length; i++) {
try {
@@ -377,13 +377,13 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
bOK = false;
}
}
-
+
log.println("create enumeration...");
XEnumeration xEnum = oObj.createSelectionEnumeration();
-
+
boolean compRes = true; //compare result
int i = selections.length - 1;
-
+
while (xEnum.hasMoreElements()){
log.println("try to get first element..");
Object nextElement = null;
@@ -398,15 +398,15 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
}
Object shouldElement = selections[i];
i--;
-
+
if (ObjCompare != null) {
ObjCompare.compare(shouldElement, nextElement);
} else {
compRes = util.ValueComparer.equalValue(shouldElement, nextElement);
}
-
+
log.println("nextElement()-object and expected object 'selections["+i+"]' are equal: "+compRes);
-
+
if (!compRes) {
if ((selections[i]) instanceof Object[]){
if (((Object[])selections[i])[0] instanceof Integer) {
@@ -417,10 +417,10 @@ public class _XMultiSelectionSupplier extends MultiMethodTest {
}
bOK &= compRes;
}
-
+
tRes.tested("createReverseSelectionEnumeration()", bOK);
}
-
+
} // finish class _XMultiSelectionSupplier
diff --git a/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java b/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
index acbfe6526b76..28a0c4587936 100644
--- a/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
+++ b/qadevOOo/tests/java/ifc/view/_XPrintJobBroadcaster.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,7 +43,7 @@ import lib.StatusException;
public class _XPrintJobBroadcaster extends MultiMethodTest {
public XPrintJobBroadcaster oObj = null;
MyPrintJobListener listenerImpl = null;
-
+
/**
* Get an object implementation of the _XPrintJobListener interface from the
* test environment.
@@ -54,7 +54,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
throw new StatusException(Status.failed(" No test possible. The XPrintJobListener interface has to be implemented."));
}
}
-
+
/**
* add the listener, see if it's called.
*/
@@ -64,7 +64,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
util.utils.shortWait(1000);
tRes.tested("addPrintJobListener()", listenerImpl.actionTriggered());
}
-
+
/**
* remove the listener, see if it's still caleed.
*/
@@ -73,7 +73,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
oObj.removePrintJobListener(listenerImpl);
util.utils.shortWait(5000);
-
+
listenerImpl.reset();
listenerImpl.fireEvent();
tRes.tested("removePrintJobListener()", !listenerImpl.actionTriggered());
@@ -89,7 +89,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
XPrintable xPrintable = null;
PropertyValue[]printProps = null;
String printFileName = null;
-
+
/**
* Constructor
* @param An object that can be cast to an XPrintable.
@@ -114,7 +114,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
public boolean actionTriggered() {
return eventCalled;
}
-
+
/**
* Fire the event that calls the printJobEvent
*/
@@ -125,7 +125,7 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
catch(com.sun.star.lang.IllegalArgumentException e) {
}
}
-
+
public void reset() {
File f = new File(printFileName);
if (f.exists())
@@ -146,5 +146,5 @@ public class _XPrintJobBroadcaster extends MultiMethodTest {
public void disposing(com.sun.star.lang.EventObject eventObject) {
}
}
-
+
}
diff --git a/qadevOOo/tests/java/ifc/view/_XPrintSettingsSupplier.java b/qadevOOo/tests/java/ifc/view/_XPrintSettingsSupplier.java
index 8af56b3e5993..22dc8f08e476 100644
--- a/qadevOOo/tests/java/ifc/view/_XPrintSettingsSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XPrintSettingsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/view/_XPrintable.java b/qadevOOo/tests/java/ifc/view/_XPrintable.java
index d82c30012cb6..91de64107d1b 100644
--- a/qadevOOo/tests/java/ifc/view/_XPrintable.java
+++ b/qadevOOo/tests/java/ifc/view/_XPrintable.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -174,7 +174,7 @@ public class _XPrintable extends MultiMethodTest {
try {
boolean fileExists = fAcc.exists(fileURL);
-
+
log.println("File "+fileName+" exists = "+fileExists);
if (result) {
diff --git a/qadevOOo/tests/java/ifc/view/_XScreenCursor.java b/qadevOOo/tests/java/ifc/view/_XScreenCursor.java
index bd9e9e21fc07..ef6cfd0180c8 100644
--- a/qadevOOo/tests/java/ifc/view/_XScreenCursor.java
+++ b/qadevOOo/tests/java/ifc/view/_XScreenCursor.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@ import com.sun.star.view.XScreenCursor;
public class _XScreenCursor extends MultiMethodTest {
// oObj filled by MultiMethodTest
-
+
public XScreenCursor oObj = null;
/**
diff --git a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
index e304789f3430..d21c21709abf 100644
--- a/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XSelectionSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,26 +56,26 @@ import lib.StatusException;
* @see com.sun.star.view.XSelectionSupplier
*/
public class _XSelectionSupplier extends MultiMethodTest {
-
+
public XSelectionSupplier oObj = null;
public boolean selectionChanged = false;
Object[] selections = null;
Comparator ObjCompare = null;
-
+
protected void before() {
selections = (Object[])tEnv.getObjRelation("Selections");
if (selections == null) {
throw new StatusException(Status.failed(
"Couldn't get relation 'Selections'"));
}
-
- ObjCompare = (Comparator)tEnv.getObjRelation("Comparer");
+
+ ObjCompare = (Comparator)tEnv.getObjRelation("Comparer");
}
-
+
protected void after() {
disposeEnvironment();
}
-
+
/**
* Listener implementation which just set flag when listener
* method is called.
@@ -86,11 +86,11 @@ public class _XSelectionSupplier extends MultiMethodTest {
log.println("listener called");
selectionChanged = true;
}
-
+
}
-
+
XSelectionChangeListener listener = new MyChangeListener();
-
+
/**
* Test adds listener to the object, then selects first and
* then second instances to be sure that selection was changed.<p>
@@ -111,7 +111,7 @@ public class _XSelectionSupplier extends MultiMethodTest {
}
tRes.tested("addSelectionChangeListener()", res);
}
-
+
/**
* Selects an instance from relation 'First'. <p>
* Has <b> OK </b> status if no exceptions were thrown. <p>
@@ -127,8 +127,8 @@ public class _XSelectionSupplier extends MultiMethodTest {
locRes = oObj.select(selections[i]);
log.println("select #" + i + ": " + locRes);
Object curSelection = oObj.getSelection();
- if (locRes) {
-
+ if (locRes) {
+
if (ObjCompare != null) {
ObjCompare.compare(selections[i], curSelection);
} else {
@@ -155,10 +155,10 @@ public class _XSelectionSupplier extends MultiMethodTest {
ex.printStackTrace(log);
res = false;
}
-
+
tRes.tested("select()", res);
}
-
+
/**
* Test removes listener, then selects first and
* then second instances to be sure that selection was changed.<p>
@@ -185,7 +185,7 @@ public class _XSelectionSupplier extends MultiMethodTest {
}
tRes.tested("removeSelectionChangeListener()", res);
}
-
+
/**
* First test changes selection of the object : if nothing is
* currently selected or first instance ('First' relation) is
@@ -200,8 +200,8 @@ public class _XSelectionSupplier extends MultiMethodTest {
public void _getSelection() {
requiredMethod("select()");
tRes.tested("getSelection()", true);
- }
-
+ }
+
} // finish class _XSelectionSupplier
diff --git a/qadevOOo/tests/java/ifc/view/_XViewSettingsSupplier.java b/qadevOOo/tests/java/ifc/view/_XViewSettingsSupplier.java
index fa5b96499e5c..e35496006a7d 100644
--- a/qadevOOo/tests/java/ifc/view/_XViewSettingsSupplier.java
+++ b/qadevOOo/tests/java/ifc/view/_XViewSettingsSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/qadevOOo/tests/java/ifc/xml/_UserDefinedAttributeSupplier.java b/qadevOOo/tests/java/ifc/xml/_UserDefinedAttributeSupplier.java
index 9f41da0f4a28..d0be517bcca2 100644
--- a/qadevOOo/tests/java/ifc/xml/_UserDefinedAttributeSupplier.java
+++ b/qadevOOo/tests/java/ifc/xml/_UserDefinedAttributeSupplier.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -36,7 +36,7 @@ public class _UserDefinedAttributeSupplier extends lib.MultiPropertyTest {
public void _UserDefinedAttributes() {
XNameContainer uda = null;
boolean res = false;
- try {
+ try {
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
oObj.getPropertyValue("UserDefinedAttributes"));
@@ -44,8 +44,8 @@ public class _UserDefinedAttributeSupplier extends lib.MultiPropertyTest {
attr.Namespace = "http://www.sun.com/staroffice/apitest/Chartprop";
attr.Type="CDATA";
attr.Value="true";
- uda.insertByName("Chartprop:has-first-alien-attribute",attr);
- String[] els = uda.getElementNames();
+ uda.insertByName("Chartprop:has-first-alien-attribute",attr);
+ String[] els = uda.getElementNames();
oObj.setPropertyValue("UserDefinedAttributes",uda);
uda = (XNameContainer) AnyConverter.toObject(
new Type(XNameContainer.class),
@@ -65,7 +65,7 @@ public class _UserDefinedAttributeSupplier extends lib.MultiPropertyTest {
log.println("PropertyVetoException while getting Property 'UserDefinedAttributes'");
} catch (com.sun.star.container.ElementExistException eee) {
log.println("ElementExistException while getting Property 'UserDefinedAttributes'");
- }
+ }
tRes.tested("UserDefinedAttributes",res);
}
diff --git a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
index 66b70aa5e020..a03d50bdbef6 100644
--- a/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
+++ b/qadevOOo/tests/java/ifc/xml/sax/_XDocumentHandler.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite