diff options
Diffstat (limited to 'sc/qa/unoapi')
-rw-r--r-- | sc/qa/unoapi/Test.java | 51 | ||||
-rw-r--r-- | sc/qa/unoapi/knownissues.xcl | 199 | ||||
-rw-r--r-- | sc/qa/unoapi/makefile.mk | 48 | ||||
-rw-r--r-- | sc/qa/unoapi/sc.sce | 125 | ||||
-rw-r--r-- | sc/qa/unoapi/testdocuments/10test.csv | 19 | ||||
-rw-r--r-- | sc/qa/unoapi/testdocuments/ScAnnotationShapeObj.sxc | bin | 0 -> 6542 bytes | |||
-rw-r--r-- | sc/qa/unoapi/testdocuments/ScDDELinksObj.sdc | bin | 0 -> 17408 bytes | |||
-rw-r--r-- | sc/qa/unoapi/testdocuments/ScSheetLinksObj.sdc | bin | 0 -> 16896 bytes | |||
-rw-r--r-- | sc/qa/unoapi/testdocuments/calcshapes.sxc | bin | 0 -> 13030 bytes | |||
-rw-r--r-- | sc/qa/unoapi/testdocuments/crazy-blue.jpg | bin | 0 -> 4451 bytes | |||
-rw-r--r-- | sc/qa/unoapi/testdocuments/space-metal.jpg | bin | 0 -> 4313 bytes |
11 files changed, 442 insertions, 0 deletions
diff --git a/sc/qa/unoapi/Test.java b/sc/qa/unoapi/Test.java new file mode 100644 index 000000000000..27d048b8bf51 --- /dev/null +++ b/sc/qa/unoapi/Test.java @@ -0,0 +1,51 @@ +/************************************************************************* +* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +* +* Copyright 2000, 2010 Oracle and/or its affiliates. +* +* OpenOffice.org - a multi-platform office productivity suite +* +* This file is part of OpenOffice.org. +* +* OpenOffice.org is free software: you can redistribute it and/or modify +* it under the terms of the GNU Lesser General Public License version 3 +* only, as published by the Free Software Foundation. +* +* OpenOffice.org is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Lesser General Public License version 3 for more details +* (a copy is included in the LICENSE file that accompanied this code). +* +* You should have received a copy of the GNU Lesser General Public License +* version 3 along with OpenOffice.org. If not, see +* <http://www.openoffice.org/license.html> +* for a copy of the LGPLv3 License. +************************************************************************/ + +package org.openoffice.sc.qa.unoapi; + +import org.openoffice.Runner; +import org.openoffice.test.OfficeConnection; +import static org.junit.Assert.*; + +public final class Test { + @org.junit.Before public void setUp() throws Exception { + connection.setUp(); + } + + @org.junit.After public void tearDown() + throws InterruptedException, com.sun.star.uno.Exception + { + connection.tearDown(); + } + + @org.junit.Test public void test() { + assertTrue( + Runner.run( + "-sce", "sc.sce", "-xcl", "knownissues.xcl", "-tdoc", + "testdocuments", "-cs", connection.getDescription())); + } + + private final OfficeConnection connection = new OfficeConnection(); +} diff --git a/sc/qa/unoapi/knownissues.xcl b/sc/qa/unoapi/knownissues.xcl new file mode 100644 index 000000000000..205123fc0e48 --- /dev/null +++ b/sc/qa/unoapi/knownissues.xcl @@ -0,0 +1,199 @@ +### i84702 ### +sc.AccessibleEditableTextPara_PreviewCell::com::sun::star::accessibility::XAccessibleEditableText + +### i84701 ### +sc.ScAreaLinksObj::com::sun::star::sheet::XAreaLinks + +### i84711 ### +sc.ScAreaLinkObj::com::sun::star::util::XRefreshable + +### i84697 ### +sc.ScNamedRangesObj::com::sun::star::sheet::XNamedRanges + +### i84674 ### +sc.ScCellTextCursor::com::sun::star::beans::XMultiPropertyStates +sc.ScHeaderFooterTextCursor::com::sun::star::beans::XMultiPropertyStates + +### i20044 ### +sc.ScCellObj::com::sun::star::sheet::XCellRangesQuery + +### i84672 ### +sc.ScTableSheetObj::com::sun::star::table::XAutoFormattable + +### i84753 ### +sc.ScCellRangeObj::com::sun::star::table::XAutoFormattable + +### i84671 ### +sc.ScTableSheetObj::com::sun::star::sheet::XCellRangeData + +### i84669 ### +sc.ScTabViewObj::com::sun::star::sheet::XRangeSelection + +### i23594 ### +sc.ScAutoFormatsObj::com::sun::star::container::XNameReplace +sc.ScStyleFamilyObj::com::sun::star::container::XNameReplace +sc.ScTableSheetsObj::com::sun::star::container::XNameReplace + +### i31378 ### +sc.ScDocumentConfiguration::com::sun::star::document::Settings + +### i33869 ### +sc.ScHeaderFooterTextObj::com::sun::star::text::XTextRangeMover + +### i34066 ### +sc.ScModelObj::com::sun::star::view::XPrintable::setPrinter() + +### i34878 ### +sc.ScTableSheetObj::com::sun::star::sheet::XPrintAreas + +### i42534 ### +sc.ScAccessibleDocument::com::sun::star::accessibility::XAccessibleSelection + +### i46730 ### +sc.ScDataPilotFieldGroupObj::com::sun::star::container::XNameAccess + +### i53606 ### +sc.ScTabViewObj::com::sun::star::awt::XUserInputInterception + +### i55490 ### +sc.XMLExporter::com::sun::star::document::XFilter +sc.XMLStylesExporter::com::sun::star::document::XFilter +sc.XMLContentExporter::com::sun::star::document::XFilter +sc.XMLMetaExporter::com::sun::star::document::XFilter +sc.XMLSettingsExporter::com::sun::star::document::XFilter +sc.XMLImporter::com::sun::star::document::XFilter +sc.XMLStylesImporter::com::sun::star::document::XFilter +sc.XMLContentImporter::com::sun::star::document::XFilter +sc.XMLMetaImporter::com::sun::star::document::XFilter + +### i84666 ### +sc.ScModelObj::com::sun::star::frame::XStorable + +### i34456 ### +sc.ScModelObj::com::sun::star::view::XPrintJobBroadcaster + +### i73994 ### +sc.ScAnnotationShapeObj::com::sun::star::style::ParagraphProperties +sc.ScCellCursorObj::com::sun::star::style::ParagraphProperties +sc.ScCellObj::com::sun::star::style::ParagraphProperties +sc.ScCellRangeObj::com::sun::star::style::ParagraphProperties +sc.ScCellRangesObj::com::sun::star::style::ParagraphProperties +sc.ScCellTextCursor::com::sun::star::style::ParagraphProperties +sc.ScTableSheetObj::com::sun::star::style::ParagraphProperties +sc.ScHeaderFooterTextCursor::com::sun::star::style::ParagraphProperties + +### i84555 ### +sc.ScAccessibleCsvCell::com::sun::star::accessibility::XAccessibleText +sc.ScAccessibleCsvRuler::com::sun::star::accessibility::XAccessibleText + +### i84722 ### +sc.ScAnnotationShapeObj::com::sun::star::drawing::FillProperties + +### i84727 ### +sc.ScAccessibleCsvGrid::com::sun::star::accessibility::XAccessibleTable + +### i84761 ### +sc.ScRecentFunctionsObj::com::sun::star::sheet::XRecentFunctions + +### i85566 ### +sc.ScStyleObj::com::sun::star::style::Style + +### i86793 ### +sc.ScTableSheetObj::com::sun::star::sheet::XFormulaQuery + +### i84554 ### +sc.AccessibleEditableTextPara_PreviewNote +#-> disabled in sc.sce + +### i84641 ### +sc.ScAccessibleCsvRuler +#-> disabled in sc.sce + +### i84653 ### +sc.ScPageObj +#-> disabled in sc.sce + +### i84656 ### +sc.ScTabViewObj +#-> disabled in sc.sce + +### i87698 ### +sc.ScAnnotationShapeObj::com::sun::star::drawing::TextProperties + +### i87863 ### +sc.ScTableSheetObj::com::sun::star::sheet::XMultipleOperation + +### i87876 ### +sc.ScTableSheetObj::com::sun::star::sheet::XSheetFilterableEx + +### i88241 ### +sc.AccessibleEditableTextPara_HeaderFooter +#-> disabled in sc.sce + +### i88242 ### +sc.ScModelObj::com::sun::star::view::XPrintable + +### i88311 ### +sc.ScTableSheetObj::com::sun::star::sheet::XCellSeries + +### i88330 ### +sc.ScAccessibleDocument + +### i89020 ### +sc.ScCellCursorObj::com::sun::star::table::XAutoFormattable + +### i89411 ### +sc.XMLContentExporter +sc.XMLContentImporter +sc.XMLExporter +sc.XMLImporter +sc.XMLMetaExporter +sc.XMLMetaImporter +#-> disabled in sc.sce + +### i90346 ### +sc.ScTableValidationObj::com::sun::star::sheet::TableValidation + +### i91043 ### +sc.ScModelObj::com::sun::star::document::XEventBroadcaster + +### i91044 ### +sc.ScAccessibleCsvCell +sc.ScAccessibleCsvGrid +#-> disabled in sc.sce + +### i91045 ### +sc.ScAccessibleDocumentPagePreview +#-> disabled in sc.sce + +### i109517 ### +sc.AccessibleEditableTextPara_PreviewCell::com::sun::star::accessibility::XAccessibleComponent +sc.ScAccessiblePageHeaderArea::com::sun::star::accessibility::XAccessibleEventBroadcaster +sc.ScAnnotationObj::com::sun::star::sheet::XSheetAnnotation +sc.ScAnnotationObj::com::sun::star::text::XSimpleText +sc.ScAnnotationObj::com::sun::star::text::XTextRange +sc.ScAnnotationShapeObj::com::sun::star::beans::XPropertySet +sc.ScAnnotationShapeObj::com::sun::star::drawing::CaptionShape +sc.ScAnnotationShapeObj::com::sun::star::drawing::LineProperties +sc.ScAnnotationShapeObj::com::sun::star::drawing::RotationDescriptor +sc.ScAnnotationShapeObj::com::sun::star::drawing::ShadowProperties +sc.ScAnnotationShapeObj::com::sun::star::drawing::Shape +sc.ScAnnotationShapeObj::com::sun::star::drawing::XShape +sc.ScAnnotationShapeObj::com::sun::star::drawing::XShapeDescriptor +sc.ScAnnotationShapeObj::com::sun::star::lang::XComponent +sc.ScAnnotationShapeObj::com::sun::star::style::CharacterProperties +sc.ScAnnotationShapeObj::com::sun::star::style::CharacterPropertiesAsian +sc.ScAnnotationShapeObj::com::sun::star::style::CharacterPropertiesComplex +sc.ScAnnotationShapeObj::com::sun::star::style::ParagraphPropertiesAsian +sc.ScAnnotationShapeObj::com::sun::star::style::ParagraphPropertiesComplex +sc.ScAnnotationShapeObj::com::sun::star::text::XSimpleText +sc.ScAnnotationShapeObj::com::sun::star::text::XTextRange +sc.ScAnnotationsObj::com::sun::star::container::XElementAccess +sc.ScCellObj::com::sun::star::sheet::XSheetAnnotationAnchor +sc.ScDataPilotFieldObj::com::sun::star::sheet::XDataPilotFieldGrouping + +### i110862 ### +sc.ScDataPilotTableObj::com::sun::star::sheet::XDataPilotTable + +### i111032 ### +sc.ScAccessibleCell::com::sun::star::accessibility::XAccessibleText diff --git a/sc/qa/unoapi/makefile.mk b/sc/qa/unoapi/makefile.mk new file mode 100644 index 000000000000..a4781282a0b3 --- /dev/null +++ b/sc/qa/unoapi/makefile.mk @@ -0,0 +1,48 @@ +#************************************************************************* +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2010 Oracle and/or its affiliates. +# +# OpenOffice.org - a multi-platform office productivity suite +# +# This file is part of OpenOffice.org. +# +# OpenOffice.org is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 +# only, as published by the Free Software Foundation. +# +# OpenOffice.org is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License version 3 for more details +# (a copy is included in the LICENSE file that accompanied this code). +# +# You should have received a copy of the GNU Lesser General Public License +# version 3 along with OpenOffice.org. If not, see +# <http://www.openoffice.org/license.html> +# for a copy of the LGPLv3 License. +#***********************************************************************/ + +.IF "$(OOO_SUBSEQUENT_TESTS)" == "" +nothing .PHONY: +.ELSE + +PRJ = ../.. +PRJNAME = sc +TARGET = qa_unoapi + +.IF "$(OOO_JUNIT_JAR)" != "" +PACKAGE = org/openoffice/sc/qa/unoapi +JAVATESTFILES = Test.java +JAVAFILES = $(JAVATESTFILES) +JARFILES = OOoRunner.jar ridl.jar test.jar +EXTRAJARFILES = $(OOO_JUNIT_JAR) +.END + +.INCLUDE: settings.mk +.INCLUDE: target.mk +.INCLUDE: installationtest.mk + +ALLTAR : javatest + +.END diff --git a/sc/qa/unoapi/sc.sce b/sc/qa/unoapi/sc.sce new file mode 100644 index 000000000000..1a38b3af0cc9 --- /dev/null +++ b/sc/qa/unoapi/sc.sce @@ -0,0 +1,125 @@ +# i84653 -o sc.ScPageObj +# i84554 -o sc.AccessibleEditableTextPara_PreviewNote +# i88241 -o sc.AccessibleEditableTextPara_HeaderFooter +-o sc.AccessibleEditableTextPara_PreviewCell +-o sc.ScAccessibleCell +# i91044 -o sc.ScAccessibleCsvCell +# i91044 -o sc.ScAccessibleCsvGrid +# i84641 -o sc.ScAccessibleCsvRuler +# i88330 -o sc.ScAccessibleDocument +# i91045 -o sc.ScAccessibleDocumentPagePreview +-o sc.ScAccessiblePageHeader +-o sc.ScAccessiblePageHeaderArea +-o sc.ScAccessiblePreviewCell +-o sc.ScAccessiblePreviewHeaderCell +-o sc.ScAccessiblePreviewTable +-o sc.ScAccessibleSpreadsheet +-o sc.ScAnnotationObj +-o sc.ScAnnotationShapeObj +-o sc.ScAnnotationsObj +-o sc.ScAreaLinkObj +-o sc.ScAreaLinksObj +-o sc.ScAutoFormatFieldObj +-o sc.ScAutoFormatObj +-o sc.ScAutoFormatsObj +-o sc.ScCellCursorObj +-o sc.ScCellFieldObj +-o sc.ScCellFieldsObj +-o sc.ScCellFormatsEnumeration +-o sc.ScCellFormatsObj +-o sc.ScCellObj +-o sc.ScCellRangeObj +-o sc.ScCellRangesObj +-o sc.ScCellSearchObj +-o sc.ScCellTextCursor +-o sc.ScCellsEnumeration +-o sc.ScCellsObj +-o sc.ScChartObj +-o sc.ScChartsObj +-o sc.ScConsolidationDescriptor +-o sc.ScDDELinkObj +-o sc.ScDDELinksObj +-o sc.ScDataPilotFieldGroupItemObj +-o sc.ScDataPilotFieldGroupObj +-o sc.ScDataPilotFieldGroupsObj +-o sc.ScDataPilotFieldObj +-o sc.ScDataPilotFieldsObj +-o sc.ScDataPilotItemObj +-o sc.ScDataPilotItemsObj +-o sc.ScDataPilotTableObj +-o sc.ScDataPilotTablesObj +-o sc.ScDatabaseRangeObj +# -o sc.ScDatabaseRangesObj +# -o sc.ScDocumentConfiguration +# -o sc.ScDrawPageObj +# -o sc.ScDrawPagesObj +# -o sc.ScFilterDescriptorBase +# -o sc.ScFunctionListObj +# -o sc.ScHeaderFieldObj +# -o sc.ScHeaderFieldsObj +# -o sc.ScHeaderFooterContentObj +# -o sc.ScHeaderFooterTextCursor +# -o sc.ScHeaderFooterTextObj +# -o sc.ScIndexEnumeration_CellAnnotationsEnumeration +# -o sc.ScIndexEnumeration_CellAreaLinksEnumeration +# -o sc.ScIndexEnumeration_DDELinksEnumeration +# -o sc.ScIndexEnumeration_DataPilotFieldsEnumeration +# -o sc.ScIndexEnumeration_DataPilotItemsEnumeration +# -o sc.ScIndexEnumeration_DataPilotTablesEnumeration +# -o sc.ScIndexEnumeration_DatabaseRangesEnumeration +# -o sc.ScIndexEnumeration_FunctionDescriptionEnumeration +# -o sc.ScIndexEnumeration_LabelRangesEnumeration +# -o sc.ScIndexEnumeration_NamedRangesEnumeration +# -o sc.ScIndexEnumeration_ScenariosEnumeration +# -o sc.ScIndexEnumeration_SheetCellRangesEnumeration +# -o sc.ScIndexEnumeration_SheetLinksEnumeration +# -o sc.ScIndexEnumeration_SpreadsheetViewPanesEnumeration +# -o sc.ScIndexEnumeration_SpreadsheetsEnumeration +# -o sc.ScIndexEnumeration_SubTotalFieldsEnumeration +# -o sc.ScIndexEnumeration_TableAutoFormatEnumeration +# -o sc.ScIndexEnumeration_TableChartsEnumeration +# -o sc.ScIndexEnumeration_TableColumnsEnumeration +# -o sc.ScIndexEnumeration_TableConditionalEntryEnumeration +# -o sc.ScIndexEnumeration_TableRowsEnumeration +# -o sc.ScIndexEnumeration_TextFieldEnumeration +# -o sc.ScLabelRangeObj +# -o sc.ScLabelRangesObj +# -o sc.ScModelObj +# -o sc.ScNamedRangeObj +# -o sc.ScNamedRangesObj +# -o sc.ScRecentFunctionsObj +# -o sc.ScScenariosObj +# -o sc.ScShapeObj +# -o sc.ScSheetLinkObj +# -o sc.ScSheetLinksObj +# -o sc.ScSpreadsheetSettings +# -o sc.ScSpreadsheetSettingsObj +# -o sc.ScStyleFamiliesObj +# -o sc.ScStyleFamilyObj +# -o sc.ScStyleObj +# -o sc.ScSubTotalDescriptorBase +# -o sc.ScSubTotalFieldObj +# # i84656 -o sc.ScTabViewObj +# -o sc.ScTableColumnObj +# -o sc.ScTableColumnsObj +# -o sc.ScTableConditionalEntry +# -o sc.ScTableConditionalFormat +# -o sc.ScTableRowObj +# -o sc.ScTableRowsObj +# -o sc.ScTableSheetObj +# -o sc.ScUniqueCellFormatsEnumeration +# -o sc.ScUniqueCellFormatsObj +# -o sc.ScTableSheetsObj +# -o sc.ScTableValidationObj +# -o sc.ScViewPaneObj +# #i89411 -o sc.XMLContentExporter +# #i89411 -o sc.XMLContentImporter +# #i89411 -o sc.XMLExporter +# #i89411 -o sc.XMLImporter +# #i89411 -o sc.XMLMetaExporter +# #i89411 -o sc.XMLMetaImporter +# -o sc.XMLSettingsExporter +# -o sc.XMLSettingsImporter +# -o sc.XMLStylesExporter +# -o sc.XMLStylesImporter +# -o sc.XMLExporter diff --git a/sc/qa/unoapi/testdocuments/10test.csv b/sc/qa/unoapi/testdocuments/10test.csv new file mode 100644 index 000000000000..dce6f084824b --- /dev/null +++ b/sc/qa/unoapi/testdocuments/10test.csv @@ -0,0 +1,19 @@ +"SwXBodyText";"com::sun::star::text::XTextRangeMover#optional";"moveTextRange()" +"SwXBodyText";"com::sun::star::text::XTextRangeCompare#optional";"compareRegionStarts()" +"SwXBodyText";"com::sun::star::text::XTextRangeCompare#optional";"compareRegionEnds()" +"SwXBodyText";"com::sun::star::text::XSimpleText";"createTextCursor()" +"SwXBodyText";"com::sun::star::text::XSimpleText";"createTextCursorByRange()" +"SwXBodyText";"com::sun::star::text::XSimpleText";"insertString()" +"SwXBodyText";"com::sun::star::text::XSimpleText";"insertControlCharacter()" +"SwXBodyText";"com::sun::star::container::XElementAccess";"getElementType()" +"SwXBodyText";"com::sun::star::container::XElementAccess";"hasElements()" +"SwXBodyText";"com::sun::star::text::XTextRange";"getText()" +"SwXBodyText";"com::sun::star::text::XTextRange";"getStart()" +"SwXBodyText";"com::sun::star::text::XTextRange";"getEnd()" +"SwXBodyText";"com::sun::star::text::XTextRange";"getString()" +"SwXBodyText";"com::sun::star::text::XTextRange";"setString()" +"SwXBodyText";"com::sun::star::container::XEnumerationAccess";"createEnumeration()" +"SwXBodyText";"com::sun::star::text::XText";"insertTextContent()" +"SwXBodyText";"com::sun::star::text::XText";"removeTextContent()" +"SwXBodyText";"com::sun::star::text::XRelativeTextContentInsert#optional";"insertTextContentBefore()" +"SwXBodyText";"com::sun::star::text::XRelativeTextContentInsert#optional";"insertTextContentAfter()" diff --git a/sc/qa/unoapi/testdocuments/ScAnnotationShapeObj.sxc b/sc/qa/unoapi/testdocuments/ScAnnotationShapeObj.sxc Binary files differnew file mode 100644 index 000000000000..20d130da0445 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/ScAnnotationShapeObj.sxc diff --git a/sc/qa/unoapi/testdocuments/ScDDELinksObj.sdc b/sc/qa/unoapi/testdocuments/ScDDELinksObj.sdc Binary files differnew file mode 100644 index 000000000000..1abdbf4609e1 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/ScDDELinksObj.sdc diff --git a/sc/qa/unoapi/testdocuments/ScSheetLinksObj.sdc b/sc/qa/unoapi/testdocuments/ScSheetLinksObj.sdc Binary files differnew file mode 100644 index 000000000000..a7f43fe87f75 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/ScSheetLinksObj.sdc diff --git a/sc/qa/unoapi/testdocuments/calcshapes.sxc b/sc/qa/unoapi/testdocuments/calcshapes.sxc Binary files differnew file mode 100644 index 000000000000..7f98b1a501e0 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/calcshapes.sxc diff --git a/sc/qa/unoapi/testdocuments/crazy-blue.jpg b/sc/qa/unoapi/testdocuments/crazy-blue.jpg Binary files differnew file mode 100644 index 000000000000..001c88b63d88 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/crazy-blue.jpg diff --git a/sc/qa/unoapi/testdocuments/space-metal.jpg b/sc/qa/unoapi/testdocuments/space-metal.jpg Binary files differnew file mode 100644 index 000000000000..d23344389073 --- /dev/null +++ b/sc/qa/unoapi/testdocuments/space-metal.jpg |