From a2eb0cf44bbd15ae24f9423d3bc6e420691c300d Mon Sep 17 00:00:00 2001 From: August Sodora Date: Wed, 7 Dec 2011 00:55:10 -0500 Subject: Remove testtool --- .../extensions/optional/e_display_name.bas | 57 -- .../extensions/optional/e_extensions.bas | 54 -- testautomation/extensions/optional/e_fileopen.bas | 55 -- testautomation/extensions/optional/e_help.bas | 57 -- .../extensions/optional/e_identifiers.bas | 59 -- testautomation/extensions/optional/e_issues.bas | 55 -- testautomation/extensions/optional/e_location.bas | 68 -- testautomation/extensions/optional/e_meta-inf.bas | 59 -- .../extensions/optional/e_online_update.bas | 57 -- testautomation/extensions/optional/e_options.bas | 59 -- testautomation/extensions/optional/e_platforms.bas | 58 -- testautomation/extensions/optional/e_publisher.bas | 55 -- testautomation/extensions/optional/e_taskpane.bas | 49 -- .../extensions/optional/includes/display_name.inc | 113 --- .../extensions/optional/includes/e_taskpane.inc | 74 -- .../extensions/optional/includes/extensions.inc | 684 ------------------ .../extensions/optional/includes/fileopen.inc | 103 --- .../extensions/optional/includes/help.inc | 213 ------ .../extensions/optional/includes/identifiers.inc | 120 ---- .../extensions/optional/includes/issue110083.inc | 79 -- .../extensions/optional/includes/location.inc | 133 ---- .../extensions/optional/includes/meta-inf.inc | 83 --- .../extensions/optional/includes/online_update.inc | 114 --- .../extensions/optional/includes/options.inc | 172 ----- .../extensions/optional/includes/platforms.inc | 126 ---- .../extensions/optional/includes/publisher.inc | 286 -------- .../input/dependencies/broken-dependency.oxt | Bin 1655 -> 0 bytes .../input/dependencies/double-dependencies.oxt | Bin 1651 -> 0 bytes .../input/dependencies/empty-dependencies.oxt | Bin 1624 -> 0 bytes .../input/dependencies/funny-dependency.oxt | Bin 1730 -> 0 bytes .../input/dependencies/license-dependency.oxt | Bin 1891 -> 0 bytes .../input/dependencies/many-dependencies.oxt | Bin 1702 -> 0 bytes .../input/dependencies/no-dependencies.oxt | Bin 1611 -> 0 bytes .../optional/input/dependencies/no-description.oxt | Bin 1360 -> 0 bytes .../input/dependencies/unknown-dependency.oxt | Bin 1633 -> 0 bytes .../optional/input/dependencies/version10000.oxt | Bin 1668 -> 0 bytes .../optional/input/dependencies/version21.oxt | Bin 1666 -> 0 bytes .../optional/input/dependencies/version21ns.oxt | Bin 1661 -> 0 bytes .../optional/input/dependencies/version21other.oxt | Bin 1679 -> 0 bytes .../optional/input/dependencies/version25.oxt | Bin 1794 -> 0 bytes .../optional/input/dependencies/version30.oxt | Bin 1493 -> 0 bytes .../optional/input/dependencies/version300.oxt | Bin 1408 -> 0 bytes .../optional/input/dependencies/version301.oxt | Bin 1409 -> 0 bytes .../optional/input/dependencies/version31.oxt | Bin 1495 -> 0 bytes .../optional/input/dependencies/version310.oxt | Bin 1493 -> 0 bytes .../optional/input/dependencies/version33.oxt | Bin 1494 -> 0 bytes .../optional/input/dependencies/version330.oxt | Bin 1494 -> 0 bytes .../optional/input/dependencies/version34.oxt | Bin 1441 -> 0 bytes .../optional/input/dependencies/version937.oxt | Bin 1409 -> 0 bytes .../optional/input/dependencies/versionempty.oxt | Bin 1675 -> 0 bytes .../optional/input/dependencies/versionnone.oxt | Bin 1674 -> 0 bytes .../optional/input/display_name/name1.oxt | Bin 704 -> 0 bytes .../optional/input/display_name/name2.oxt | Bin 699 -> 0 bytes .../optional/input/display_name/name3.oxt | Bin 681 -> 0 bytes .../optional/input/display_name/name4.oxt | Bin 675 -> 0 bytes .../optional/input/display_name/name5.oxt | Bin 654 -> 0 bytes .../optional/input/display_name/readme.txt | 26 - .../optional/input/errors/i77436-README.txt | 21 - .../optional/input/errors/i77436-extension.oxt | Bin 57727 -> 0 bytes .../optional/input/errors/lowercasemetainf.oxt | Bin 9381 -> 0 bytes .../input/eventbinding/DialogComponent.odt | Bin 12541 -> 0 bytes .../input/eventbinding/DialogComponent.oxt | Bin 7588 -> 0 bytes .../input/extensible_help/extensible_help_en.oxt | Bin 8284 -> 0 bytes .../extensible_help/extensible_help_en_de.oxt | Bin 13522 -> 0 bytes .../optional/input/extensible_help/extension.info | 59 -- .../extension_sources/TaskPaneComponent/build.xml | 72 -- .../TaskPaneComponent/nbproject/build-impl.xml | 794 --------------------- .../TaskPaneComponent/nbproject/build-uno-impl.xml | 462 ------------ .../nbproject/genfiles.properties | 9 - .../nbproject/private/config.properties | 0 .../nbproject/private/private.properties | 7 - .../nbproject/project-uno.properties | 19 - .../TaskPaneComponent/nbproject/project.properties | 68 -- .../TaskPaneComponent/nbproject/project.xml | 14 - .../org/openoffice/Office/UI/CalcWindowState.xcu | 23 - .../data/org/openoffice/Office/UI/Factories.xcu | 35 - .../src/com/example/CentralRegistrationClass.java | 140 ---- .../src/com/example/TaskPaneComponent.java | 116 --- .../src/com/example/ToolPanel.java | 56 -- .../src/com/example/ToolPanelUIElement.java | 153 ---- .../TaskPaneComponent/src/description.xml | 5 - .../src/toolpanels/TaskPaneComponentUI.xdl | 8 - .../src/uno-extension-manifest.xml | 9 - .../TaskPaneComponent/TaskPaneComponent.oxt | Bin 9884 -> 0 bytes testautomation/extensions/optional/input/files.txt | 50 -- .../input/identifier/explicit/identifier.oxt | Bin 1660 -> 0 bytes .../input/identifier/legacy/identifier.oxt | Bin 1634 -> 0 bytes .../optional/input/identifier/readme.txt | 16 - .../extensions/optional/input/issues/111434.oxt | Bin 1166 -> 0 bytes .../extensions/optional/input/issues/Logging.xcu | 24 - .../optional/input/issues/LoggingOptions.xcs | 19 - .../extensions/optional/input/options/leaf1.oxt | Bin 8308 -> 0 bytes .../extensions/optional/input/options/leaf2.oxt | Bin 8338 -> 0 bytes .../extensions/optional/input/options/leaves1.oxt | Bin 21158 -> 0 bytes .../extensions/optional/input/options/leaves2.oxt | Bin 21153 -> 0 bytes .../extensions/optional/input/options/leaves3.oxt | Bin 21080 -> 0 bytes .../extensions/optional/input/options/modules1.oxt | Bin 24317 -> 0 bytes .../extensions/optional/input/options/modules2.oxt | Bin 24196 -> 0 bytes .../extensions/optional/input/options/nodes1.oxt | Bin 1882 -> 0 bytes .../extensions/optional/input/options/nodes2.oxt | Bin 24287 -> 0 bytes .../extensions/optional/input/options/nodes3.oxt | Bin 24315 -> 0 bytes .../extensions/optional/input/options/nodes4.oxt | Bin 24318 -> 0 bytes .../extensions/optional/input/options/nodes5.oxt | Bin 12616 -> 0 bytes .../extensions/optional/input/options/readme.txt | 195 ----- .../input/path_to_extension/LocationTest.odt | Bin 7666 -> 0 bytes .../input/path_to_extension/locationtest.oxt | Bin 5055 -> 0 bytes .../extensions/optional/input/platform/all1.oxt | Bin 692 -> 0 bytes .../extensions/optional/input/platform/all2.oxt | Bin 702 -> 0 bytes .../extensions/optional/input/platform/all3.oxt | Bin 297 -> 0 bytes .../optional/input/platform/extensions.info | 146 ---- .../optional/input/platform/freebsd_x86.oxt | Bin 706 -> 0 bytes .../optional/input/platform/freebsd_x86_64.oxt | Bin 711 -> 0 bytes .../optional/input/platform/invalid1.oxt | Bin 653 -> 0 bytes .../optional/input/platform/invalid2.oxt | Bin 653 -> 0 bytes .../optional/input/platform/invalid3.oxt | Bin 655 -> 0 bytes .../optional/input/platform/linux_arm_eabi.oxt | Bin 709 -> 0 bytes .../optional/input/platform/linux_arm_oabi.oxt | Bin 710 -> 0 bytes .../optional/input/platform/linux_ia64.oxt | Bin 706 -> 0 bytes .../optional/input/platform/linux_mips_eb.oxt | Bin 709 -> 0 bytes .../optional/input/platform/linux_mips_el.oxt | Bin 708 -> 0 bytes .../optional/input/platform/linux_powerpc.oxt | Bin 708 -> 0 bytes .../optional/input/platform/linux_powerpc64.oxt | Bin 710 -> 0 bytes .../optional/input/platform/linux_s390.oxt | Bin 705 -> 0 bytes .../optional/input/platform/linux_s390x.oxt | Bin 706 -> 0 bytes .../optional/input/platform/linux_sparc.oxt | Bin 706 -> 0 bytes .../optional/input/platform/linux_x86.oxt | Bin 705 -> 0 bytes .../optional/input/platform/linux_x86_64.oxt | Bin 708 -> 0 bytes .../optional/input/platform/macosx_powerpc.oxt | Bin 710 -> 0 bytes .../optional/input/platform/macosx_x86.oxt | Bin 707 -> 0 bytes .../extensions/optional/input/platform/mul1.oxt | Bin 952 -> 0 bytes .../extensions/optional/input/platform/os2_x86.oxt | Bin 706 -> 0 bytes .../extensions/optional/input/platform/readme.txt | 49 -- .../optional/input/platform/solaris_sparc.oxt | Bin 709 -> 0 bytes .../optional/input/platform/solaris_x86.oxt | Bin 706 -> 0 bytes .../optional/input/platform/windows_x86.oxt | Bin 707 -> 0 bytes .../optional/input/publisher/extension.info | 58 -- .../extensions/optional/input/publisher/pub1.oxt | Bin 1882 -> 0 bytes .../extensions/optional/input/publisher/pub2.oxt | Bin 1866 -> 0 bytes .../extensions/optional/input/publisher/pub3.oxt | Bin 1829 -> 0 bytes .../extensions/optional/input/publisher/pub4.oxt | Bin 1812 -> 0 bytes .../extensions/optional/input/publisher/pub5.oxt | Bin 1769 -> 0 bytes .../extensions/optional/input/publisher/pub6.oxt | Bin 1814 -> 0 bytes .../extensions/optional/input/publisher/pub7.oxt | Bin 1769 -> 0 bytes .../optional/input/simpleLicense/BadDesc.oxt | Bin 9663 -> 0 bytes .../optional/input/simpleLicense/BadNamespace.oxt | Bin 10027 -> 0 bytes .../optional/input/simpleLicense/BadRoot.oxt | Bin 9248 -> 0 bytes .../optional/input/simpleLicense/CancelLicense.oxt | Bin 9406 -> 0 bytes .../optional/input/simpleLicense/IncompAttr1.oxt | Bin 9389 -> 0 bytes .../optional/input/simpleLicense/IncompAttr2.oxt | Bin 9365 -> 0 bytes .../optional/input/simpleLicense/LongLic.oxt | Bin 9540 -> 0 bytes .../optional/input/simpleLicense/MissingLic.oxt | Bin 9232 -> 0 bytes .../optional/input/simpleLicense/MissingLicRef.oxt | Bin 9343 -> 0 bytes .../optional/input/simpleLicense/NoDesc.oxt | Bin 8722 -> 0 bytes .../input/simpleLicense/NoLangNoDefault.oxt | Bin 9234 -> 0 bytes .../optional/input/simpleLicense/OnlyDefault.oxt | Bin 9394 -> 0 bytes .../optional/input/simpleLicense/ShortLicense.oxt | Bin 9406 -> 0 bytes .../input/simpleLicense/ShortLicenseShared.oxt | Bin 9407 -> 0 bytes .../extensions/optional/input/update/plain1.oxt | Bin 2187 -> 0 bytes .../extensions/optional/input/update/plain2.oxt | Bin 2186 -> 0 bytes .../extensions/optional/input/update/plain3.oxt | Bin 2186 -> 0 bytes .../extensions/optional/input/update/readme.txt | 26 - .../extensions/optional/input/versions/plain.oxt | Bin 1522 -> 0 bytes .../optional/input/versions/version_0.0/plain.oxt | Bin 1618 -> 0 bytes .../input/versions/version_1.02.4.7.0/plain.oxt | Bin 1624 -> 0 bytes .../input/versions/version_1.2.15.3/plain.oxt | Bin 1624 -> 0 bytes .../input/versions/version_1.2.3/plain.oxt | Bin 1620 -> 0 bytes .../input/versions/version_1.2.4.7/plain.oxt | Bin 1623 -> 0 bytes .../optional/input/versions/version_none/plain.oxt | Bin 1598 -> 0 bytes .../optional/input/web_update/readme.txt | 133 ---- .../extensions/optional/input/web_update/web1.oxt | Bin 1693 -> 0 bytes .../extensions/optional/input/web_update/web2.oxt | Bin 1693 -> 0 bytes .../extensions/optional/input/web_update/web3.oxt | Bin 1693 -> 0 bytes .../extensions/optional/input/web_update/web4.oxt | Bin 1693 -> 0 bytes .../extensions/optional/input/web_update/web5.oxt | Bin 1693 -> 0 bytes .../extensions/optional/input/web_update/web6.oxt | Bin 1638 -> 0 bytes .../extensions/optional/input/web_update/web7.oxt | Bin 1894 -> 0 bytes 176 files changed, 5854 deletions(-) delete mode 100644 testautomation/extensions/optional/e_display_name.bas delete mode 100644 testautomation/extensions/optional/e_extensions.bas delete mode 100644 testautomation/extensions/optional/e_fileopen.bas delete mode 100644 testautomation/extensions/optional/e_help.bas delete mode 100644 testautomation/extensions/optional/e_identifiers.bas delete mode 100644 testautomation/extensions/optional/e_issues.bas delete mode 100644 testautomation/extensions/optional/e_location.bas delete mode 100644 testautomation/extensions/optional/e_meta-inf.bas delete mode 100644 testautomation/extensions/optional/e_online_update.bas delete mode 100644 testautomation/extensions/optional/e_options.bas delete mode 100644 testautomation/extensions/optional/e_platforms.bas delete mode 100644 testautomation/extensions/optional/e_publisher.bas delete mode 100644 testautomation/extensions/optional/e_taskpane.bas delete mode 100644 testautomation/extensions/optional/includes/display_name.inc delete mode 100644 testautomation/extensions/optional/includes/e_taskpane.inc delete mode 100644 testautomation/extensions/optional/includes/extensions.inc delete mode 100644 testautomation/extensions/optional/includes/fileopen.inc delete mode 100644 testautomation/extensions/optional/includes/help.inc delete mode 100644 testautomation/extensions/optional/includes/identifiers.inc delete mode 100755 testautomation/extensions/optional/includes/issue110083.inc delete mode 100644 testautomation/extensions/optional/includes/location.inc delete mode 100644 testautomation/extensions/optional/includes/meta-inf.inc delete mode 100644 testautomation/extensions/optional/includes/online_update.inc delete mode 100644 testautomation/extensions/optional/includes/options.inc delete mode 100644 testautomation/extensions/optional/includes/platforms.inc delete mode 100644 testautomation/extensions/optional/includes/publisher.inc delete mode 100644 testautomation/extensions/optional/input/dependencies/broken-dependency.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/double-dependencies.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/empty-dependencies.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/funny-dependency.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/license-dependency.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/many-dependencies.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/no-dependencies.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/no-description.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/unknown-dependency.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version10000.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version21.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version21ns.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version21other.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version25.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version30.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version300.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version301.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version31.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version310.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version33.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version330.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version34.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/version937.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/versionempty.oxt delete mode 100644 testautomation/extensions/optional/input/dependencies/versionnone.oxt delete mode 100644 testautomation/extensions/optional/input/display_name/name1.oxt delete mode 100644 testautomation/extensions/optional/input/display_name/name2.oxt delete mode 100644 testautomation/extensions/optional/input/display_name/name3.oxt delete mode 100644 testautomation/extensions/optional/input/display_name/name4.oxt delete mode 100644 testautomation/extensions/optional/input/display_name/name5.oxt delete mode 100755 testautomation/extensions/optional/input/display_name/readme.txt delete mode 100755 testautomation/extensions/optional/input/errors/i77436-README.txt delete mode 100644 testautomation/extensions/optional/input/errors/i77436-extension.oxt delete mode 100644 testautomation/extensions/optional/input/errors/lowercasemetainf.oxt delete mode 100644 testautomation/extensions/optional/input/eventbinding/DialogComponent.odt delete mode 100644 testautomation/extensions/optional/input/eventbinding/DialogComponent.oxt delete mode 100644 testautomation/extensions/optional/input/extensible_help/extensible_help_en.oxt delete mode 100644 testautomation/extensions/optional/input/extensible_help/extensible_help_en_de.oxt delete mode 100755 testautomation/extensions/optional/input/extensible_help/extension.info delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/build.xml delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-impl.xml delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/genfiles.properties delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/config.properties delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/private.properties delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project-uno.properties delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.properties delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.xml delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu delete mode 100644 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/Factories.xcu delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/CentralRegistrationClass.java delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/TaskPaneComponent.java delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanel.java delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanelUIElement.java delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/description.xml delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/toolpanels/TaskPaneComponentUI.xdl delete mode 100755 testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/uno-extension-manifest.xml delete mode 100644 testautomation/extensions/optional/input/extensions/TaskPaneComponent/TaskPaneComponent.oxt delete mode 100755 testautomation/extensions/optional/input/files.txt delete mode 100644 testautomation/extensions/optional/input/identifier/explicit/identifier.oxt delete mode 100644 testautomation/extensions/optional/input/identifier/legacy/identifier.oxt delete mode 100755 testautomation/extensions/optional/input/identifier/readme.txt delete mode 100644 testautomation/extensions/optional/input/issues/111434.oxt delete mode 100644 testautomation/extensions/optional/input/issues/Logging.xcu delete mode 100644 testautomation/extensions/optional/input/issues/LoggingOptions.xcs delete mode 100644 testautomation/extensions/optional/input/options/leaf1.oxt delete mode 100644 testautomation/extensions/optional/input/options/leaf2.oxt delete mode 100644 testautomation/extensions/optional/input/options/leaves1.oxt delete mode 100644 testautomation/extensions/optional/input/options/leaves2.oxt delete mode 100644 testautomation/extensions/optional/input/options/leaves3.oxt delete mode 100644 testautomation/extensions/optional/input/options/modules1.oxt delete mode 100644 testautomation/extensions/optional/input/options/modules2.oxt delete mode 100644 testautomation/extensions/optional/input/options/nodes1.oxt delete mode 100644 testautomation/extensions/optional/input/options/nodes2.oxt delete mode 100644 testautomation/extensions/optional/input/options/nodes3.oxt delete mode 100644 testautomation/extensions/optional/input/options/nodes4.oxt delete mode 100644 testautomation/extensions/optional/input/options/nodes5.oxt delete mode 100755 testautomation/extensions/optional/input/options/readme.txt delete mode 100644 testautomation/extensions/optional/input/path_to_extension/LocationTest.odt delete mode 100644 testautomation/extensions/optional/input/path_to_extension/locationtest.oxt delete mode 100644 testautomation/extensions/optional/input/platform/all1.oxt delete mode 100644 testautomation/extensions/optional/input/platform/all2.oxt delete mode 100644 testautomation/extensions/optional/input/platform/all3.oxt delete mode 100755 testautomation/extensions/optional/input/platform/extensions.info delete mode 100644 testautomation/extensions/optional/input/platform/freebsd_x86.oxt delete mode 100644 testautomation/extensions/optional/input/platform/freebsd_x86_64.oxt delete mode 100644 testautomation/extensions/optional/input/platform/invalid1.oxt delete mode 100644 testautomation/extensions/optional/input/platform/invalid2.oxt delete mode 100644 testautomation/extensions/optional/input/platform/invalid3.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_arm_eabi.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_arm_oabi.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_ia64.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_mips_eb.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_mips_el.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_powerpc.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_powerpc64.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_s390.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_s390x.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_sparc.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_x86.oxt delete mode 100644 testautomation/extensions/optional/input/platform/linux_x86_64.oxt delete mode 100644 testautomation/extensions/optional/input/platform/macosx_powerpc.oxt delete mode 100644 testautomation/extensions/optional/input/platform/macosx_x86.oxt delete mode 100644 testautomation/extensions/optional/input/platform/mul1.oxt delete mode 100644 testautomation/extensions/optional/input/platform/os2_x86.oxt delete mode 100755 testautomation/extensions/optional/input/platform/readme.txt delete mode 100644 testautomation/extensions/optional/input/platform/solaris_sparc.oxt delete mode 100644 testautomation/extensions/optional/input/platform/solaris_x86.oxt delete mode 100644 testautomation/extensions/optional/input/platform/windows_x86.oxt delete mode 100755 testautomation/extensions/optional/input/publisher/extension.info delete mode 100644 testautomation/extensions/optional/input/publisher/pub1.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub2.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub3.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub4.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub5.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub6.oxt delete mode 100644 testautomation/extensions/optional/input/publisher/pub7.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/BadDesc.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/BadNamespace.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/BadRoot.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/CancelLicense.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/IncompAttr1.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/IncompAttr2.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/LongLic.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/MissingLic.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/MissingLicRef.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/NoDesc.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/NoLangNoDefault.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/OnlyDefault.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/ShortLicense.oxt delete mode 100644 testautomation/extensions/optional/input/simpleLicense/ShortLicenseShared.oxt delete mode 100644 testautomation/extensions/optional/input/update/plain1.oxt delete mode 100644 testautomation/extensions/optional/input/update/plain2.oxt delete mode 100644 testautomation/extensions/optional/input/update/plain3.oxt delete mode 100755 testautomation/extensions/optional/input/update/readme.txt delete mode 100644 testautomation/extensions/optional/input/versions/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_0.0/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_1.02.4.7.0/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_1.2.15.3/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_1.2.3/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_1.2.4.7/plain.oxt delete mode 100644 testautomation/extensions/optional/input/versions/version_none/plain.oxt delete mode 100755 testautomation/extensions/optional/input/web_update/readme.txt delete mode 100644 testautomation/extensions/optional/input/web_update/web1.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web2.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web3.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web4.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web5.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web6.oxt delete mode 100644 testautomation/extensions/optional/input/web_update/web7.oxt (limited to 'testautomation/extensions/optional') diff --git a/testautomation/extensions/optional/e_display_name.bas b/testautomation/extensions/optional/e_display_name.bas deleted file mode 100644 index b0cafa1a8c71..000000000000 --- a/testautomation/extensions/optional/e_display_name.bas +++ /dev/null @@ -1,57 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extension display names -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\display_name.inc" - - call hStatusIn( "extensions" , "e_display_name.bas" ) - call tExtensionDisplayName() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_extensions.bas b/testautomation/extensions/optional/e_extensions.bas deleted file mode 100644 index fb7decd9eed6..000000000000 --- a/testautomation/extensions/optional/e_extensions.bas +++ /dev/null @@ -1,54 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/************************************************************************ -'* -'* owner : thorsten.bosbach@oracle.com -'* -'* short description : Function test of extension manager -'* -'\************************************************************************ - -sub main - use "extensions\optional\includes\extensions.inc" - - call hStatusIn ( "extensions","e_extensions.bas" ) - - printlog " function test of extension manager " - - call tExtensionsFunction() - - call hStatusOut -end sub - -'------------------------------------------------------------------------- -sub LoadIncludeFiles - use "global\system\includes\master.inc" - use "global\system\includes\gvariabl.inc" - gApplication = "WRITER" - call GetUseFiles -end sub -'------------------------------------------------------------------------- - diff --git a/testautomation/extensions/optional/e_fileopen.bas b/testautomation/extensions/optional/e_fileopen.bas deleted file mode 100644 index 47223ff61209..000000000000 --- a/testautomation/extensions/optional/e_fileopen.bas +++ /dev/null @@ -1,55 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'******************************************************************************* -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : CWS oxtsysint01 enables installing extensions via file open dialog -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\fileopen.inc" - - call hStatusIn( "extensions" , "e_fileopen.bas" ) - call tExtensionFileOpen() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_help.bas b/testautomation/extensions/optional/e_help.bas deleted file mode 100644 index c68005f75142..000000000000 --- a/testautomation/extensions/optional/e_help.bas +++ /dev/null @@ -1,57 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extensible help -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\help.inc" - - call hStatusIn( "extensions" , "e_help.bas" ) - call tExtensibleHelp() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_identifiers.bas b/testautomation/extensions/optional/e_identifiers.bas deleted file mode 100644 index fe10332cec61..000000000000 --- a/testautomation/extensions/optional/e_identifiers.bas +++ /dev/null @@ -1,59 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Use unique identifiers instead of filenames for extensions -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\identifiers.inc" - - call hStatusIn( "extensions" , "e_identifiers.bas" ) - call tExtensionIdentifiers() - call hStatusOut() - -end sub - -'------------------------------------------------------------------------- - -sub LoadIncludeFiles - - use "global\system\includes\master.inc" - use "global\system\includes\gvariabl.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - use "global\tools\includes\optional\t_treelist_tools.inc" - use "global\tools\includes\optional\t_docfuncs.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_issues.bas b/testautomation/extensions/optional/e_issues.bas deleted file mode 100644 index 0e7659d8b7b4..000000000000 --- a/testautomation/extensions/optional/e_issues.bas +++ /dev/null @@ -1,55 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extension publisher string -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\issue110083.inc" - - call hStatusIn( "extensions" , "e_issues.bas" ) - call tExtensionIssue110083() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_location.bas b/testautomation/extensions/optional/e_location.bas deleted file mode 100644 index cfc660bba2d4..000000000000 --- a/testautomation/extensions/optional/e_location.bas +++ /dev/null @@ -1,68 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Test the extension locator service -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\location.inc" - - call hStatusIn( "extensions" , "e_location.bas" ) - - hSetMacroSecurityAPI( GC_MACRO_SECURITY_LEVEL_MEDIUM ) - - call tExtensionLocation() - - hSetMacroSecurityAPI( GC_MACRO_SECURITY_LEVEL_DEFAULT ) - - call hStatusOut() - -end sub - -'------------------------------------------------------------------------- - -sub LoadIncludeFiles - - use "global\system\includes\master.inc" - use "global\system\includes\gvariabl.inc" - - use "global\tools\includes\optional\t_docfuncs.inc" - use "global\tools\includes\optional\t_filetools.inc" - use "global\tools\includes\optional\t_macro_tools.inc" - use "global\tools\includes\optional\t_security_tools.inc" - use "global\tools\includes\optional\t_treelist_tools.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_meta-inf.bas b/testautomation/extensions/optional/e_meta-inf.bas deleted file mode 100644 index 0758fd0d1600..000000000000 --- a/testautomation/extensions/optional/e_meta-inf.bas +++ /dev/null @@ -1,59 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Case sensitive META-INF file -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\meta-inf.inc" - - call hStatusIn( "extensions" , "e_meta-inf.bas" ) - call tLowerCaseMetaInf - call hStatusOut() - -end sub - -'------------------------------------------------------------------------- - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - - use "global\tools\includes\optional\t_docfuncs.inc" - use "global\tools\includes\optional\t_filetools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_online_update.bas b/testautomation/extensions/optional/e_online_update.bas deleted file mode 100644 index 8e21d9cd2a34..000000000000 --- a/testautomation/extensions/optional/e_online_update.bas +++ /dev/null @@ -1,57 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Hit update button for an extension -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\online_update.inc" - - call hStatusIn( "extensions" , "e_online_update.bas" ) - call tExtensionUpdate() - call hStatusOut() - -end sub - -'------------------------------------------------------------------------- - -sub LoadIncludeFiles - - use "global\system\includes\master.inc" - use "global\system\includes\gvariabl.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_options.bas b/testautomation/extensions/optional/e_options.bas deleted file mode 100644 index 1f7b6a3e2342..000000000000 --- a/testautomation/extensions/optional/e_options.bas +++ /dev/null @@ -1,59 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Options for extensions -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\options.inc" - - call hStatusIn( "extensions" , "e_options.bas" ) - call tExtensionOptions1() - call hStatusOut() - -end sub - -'------------------------------------------------------------------------- - -sub LoadIncludeFiles - - use "global\system\includes\master.inc" - use "global\system\includes\gvariabl.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - use "global\tools\includes\optional\t_treelist_tools.inc" - use "global\tools\includes\optional\t_control_objects.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_platforms.bas b/testautomation/extensions/optional/e_platforms.bas deleted file mode 100644 index 8287060abb2f..000000000000 --- a/testautomation/extensions/optional/e_platforms.bas +++ /dev/null @@ -1,58 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'******************************************************************************* -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Supported extension platforms -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\platforms.inc" - - call hStatusIn( "extensions" , "e_platforms.bas" ) - call tExtensionPlatforms() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - - use "global\tools\includes\optional\t_extension_manager_tools.inc" - use "global\tools\includes\optional\t_key_tools.inc" - - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_publisher.bas b/testautomation/extensions/optional/e_publisher.bas deleted file mode 100644 index 320064c8b633..000000000000 --- a/testautomation/extensions/optional/e_publisher.bas +++ /dev/null @@ -1,55 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extension publisher string -'* -'\****************************************************************************** - -sub main - - use "extensions\optional\includes\publisher.inc" - - call hStatusIn( "extensions" , "e_publisher.bas" ) - call tExtensionPublisher() - call hStatusOut() - -end sub - -'******************************************************************************* - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - gApplication = "WRITER" - call GetUseFiles() - -end sub - diff --git a/testautomation/extensions/optional/e_taskpane.bas b/testautomation/extensions/optional/e_taskpane.bas deleted file mode 100644 index b6d29d22283d..000000000000 --- a/testautomation/extensions/optional/e_taskpane.bas +++ /dev/null @@ -1,49 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/************************************************************************ -'* -'* owner : -'* -'* short description : -'* -'\*********************************************************************** - -sub main - - use "extensions/optional/includes/e_taskpane.inc" - call tTaskPane - -end sub - -sub LoadIncludeFiles - - use "global\system\includes\gvariabl.inc" - use "global\system\includes\master.inc" - use "global\tools\includes\optional\t_extension_manager_tools.inc" - gApplication = "CALC" - call GetUseFiles() - -end sub \ No newline at end of file diff --git a/testautomation/extensions/optional/includes/display_name.inc b/testautomation/extensions/optional/includes/display_name.inc deleted file mode 100644 index e7663c7dc8b6..000000000000 --- a/testautomation/extensions/optional/includes/display_name.inc +++ /dev/null @@ -1,113 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extension display names -'* -'\****************************************************************************** - -testcase tExtensionDisplayName - - if ( gISOLang <> "en-US" ) then - qaerrorlog( "Test is not locale-safe, en-US only" ) - goto endsub - endif - - '///

Extension display names

- '///
Synopsis
Since CWS jl76 a possibility exists to give an extension a name which - '///+ differs from the filename to be displayed in the extension manager.
- '///
Specification
http://specs.openoffice.org/appwide/packagemanager/packagemanager_gui_spec.sxw
- '///
Files used
gTesttoolPath/extensions/features/input/display_name/*.oxt - - const EXTENSION_COUNT = 5 - - dim cExtensionPath as string - cExtensionPath = gTesttoolPath & "extensions\optional\input\display_name\" - cExtensionPath = convertpath( cExtensionPath ) - - dim cExtensionFileName( EXTENSION_COUNT ) as string - cExtensionFileName( 1 ) = "name1.oxt" - cExtensionFileName( 2 ) = "name2.oxt" - cExtensionFileName( 3 ) = "name3.oxt" - cExtensionFileName( 4 ) = "name4.oxt" - cExtensionFileName( 5 ) = "name5.oxt" - - dim cExtensionDisplayName( EXTENSION_COUNT ) as string - cExtensionDisplayName( 1 ) = "name1 en-US" - cExtensionDisplayName( 2 ) = "name2 en-US-region1" - cExtensionDisplayName( 3 ) = "name3 en" - cExtensionDisplayName( 4 ) = "name4 en-GB" - cExtensionDisplayName( 5 ) = "name5 de" - - dim iCurrentExtension as integer - dim cCurrentExtension as string - dim iStatus as integer - dim bStatus as boolean - - '///
Test case specification
- '///
    - '///+
  • Install test extensions via GUI
  • - for iCurrentExtension = 1 to EXTENSION_COUNT - - cCurrentExtension = cExtensionPath & cExtensionFileName( iCurrentExtension ) - - printlog( "" ) - printlog( "Adding extension by filename: " & cCurrentExtension ) - - iStatus = hExtensionAddGUI( cCurrentExtension , "NoLicense, InstallForUser, NoUpdate, Verbose" ) - if ( iStatus < 1 ) then - warnlog( "Failed to install extension: " & cCurrentExtension ) - endif - - next iCurrentExtension - - '///+
  • Remove all extensions by display name (which also verifies the display name)
  • - bStatus = true - for iCurrentExtension = 1 to EXTENSION_COUNT - - cCurrentExtension = cExtensionDisplayName( iCurrentExtension ) - - printlog( "" ) - printlog( "Removing extension by display name: " & cCurrentExtension ) - - iStatus = hExtensionRemoveGUI( cCurrentExtension ) - if ( iStatus <> 0 ) then - warnlog( "Failed to remove extension: " & cCurrentExtension ) - bStatus = false - endif - - next iCurrentExtension - - '///+
  • If anything went wrong, reset the office/userlayer
  • - if ( not bStatus ) then - call sResetTheOffice - endif - '///
- -endcase - diff --git a/testautomation/extensions/optional/includes/e_taskpane.inc b/testautomation/extensions/optional/includes/e_taskpane.inc deleted file mode 100644 index 6d1794e68456..000000000000 --- a/testautomation/extensions/optional/includes/e_taskpane.inc +++ /dev/null @@ -1,74 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/************************************************************************ -'* -'* owner : -'* -'* short description : -'* -'\*********************************************************************** -testcase tTaskPane - - Dim sExtensionPath as String - Dim iStatus as integer - - sExtensionPath = gTesttoolPath + "extensions/optional/input/extensions/TaskPaneComponent/TaskPaneComponent.oxt" - - iStatus = hExtensionAddGUI( sExtensionPath, "InstallForUser, NoLicense" ) - if(iStatus <= 0 ) then - warnlog "extension could not installed. ErrorCode is " + iStatus - goto endsub - endif - - call hNewDocument - - kontext "DocumentCalc" - - DocumentCalc.useMenu - - hMenuSelectNr(3) - if(hMenuItemIsChecked(11)) then - ' do nothing. The pane is displayed - else - hMenuSelectNr(11) - endif - - kontext "MSC_Special_Dialog" - if ( MSC_Special_Dialog.exists(1) ) then - printlog "task pane exists" - else - warnlog "task pane does not exists" - endif - - call hCloseDocument - - iStatus = hExtensionRemoveGUI("TaskPaneComponent.oxt") - if(iStatus <> 0 ) then - warnlog "extension could not deinstalled. ErrorCode is " + iStatus - goto endsub - endif - -endcase diff --git a/testautomation/extensions/optional/includes/extensions.inc b/testautomation/extensions/optional/includes/extensions.inc deleted file mode 100644 index db115274e19d..000000000000 --- a/testautomation/extensions/optional/includes/extensions.inc +++ /dev/null @@ -1,684 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/************************************************************************ -'* -'* owner : thorsten.bosbach@oracle.com -'* -'* short description : Function test of extension manager -'* -'\************************************************************************ - -testcase tExtensionsFunction - - ' written for CWS jsc7, in master since SRC680m176 - ' additions for CWS sb63 - Dependency checking with versioning - documents 24-30 - ' features: - http://specs.openoffice.org/appwide/packagemanager/simple_extension_license.odt - ' - http://specs.openoffice.org/appwide/packagemanager/extensiondependencies1.odt - '/// The test documents are available at http://qa.openoffice.org/source/browse/qa/qatesttool/framework/basic/input/extensions/ ///' - '/// Textdocuments used in this test and expected messages: ///' - '/// (1/31): simpleLicense\BadDesc.oxt ///' - '/// - BadDesc.oxt/description.xml contains data which cannot be parsed. ///' - '/// - will not install ///' - '/// (2/31): simpleLicense\BadNamespace.oxt ///' - '/// - BadNamespace.oxt/description.xml contains a root element with an unsupported namespace. ///' - '/// - will not install ///' - '/// (3/31): simpleLicense\BadRoot.oxt ///' - '/// - BadRoot.oxt/description.xml does not contain the root element . ///' - '/// - will not install ///' - '/// (4/31): simpleLicense\IncompAttr1.oxt ///' - '/// - ExtensionSoftwareLicenseAgreement dialog exists ///' - '/// - installs and is enabled ///' - '/// (5/31): simpleLicense\IncompAttr2.oxt ///' - '/// - Cannot find a localized license text or a default license text. ///' - '/// - will not install ///' - '/// (6/31): simpleLicense\LongLic.oxt ///' - '/// - ExtensionSoftwareLicenseAgreement dialog exists ///' - '/// - It is a Long License ///' - '/// - installs and is enabled ///' - '/// (7/31): simpleLicense\MissingLic.oxt ///' - '/// - MissingLic.oxt\registration\license_en_US.txt does not exist. ///' - '/// - will not install ///' - '/// (8/31): simpleLicense\MissingLicRef.oxt ///' - '/// - Cannot find a localized license text or a default license text. ///' - '/// - will not install ///' - '/// (9/31): simpleLicense\NoDesc.oxt ///' - '/// - installs and is enabled ///' - '/// (10/31): simpleLicense\NoLangNoDefault.oxt ///' - '/// - Cannot find a localized license text or a default license text. ///' - '/// - will not install ///' - '/// (11/31): simpleLicense\OnlyDefault.oxt ///' - '/// - Cannot find a localized license text or a default license text. ///' - '/// - will not install ///' - '/// (12/31): simpleLicense\ShortLicense.oxt ///' - '/// - ExtensionSoftwareLicenseAgreement dialog exists ///' - '/// - installs and is enabled ///' - '/// (13/31): ///' - '/// - will not install ///' - '/// (14/31): simpleLicense\ShortLicenseShared.oxt ///' - '/// - ExtensionSoftwareLicenseAgreement dialog exists ///' - '/// - installs and is enabled ///' - '/// (15/31): dependencies\broken-dependency.oxt ///' - '/// - broken-dependency.oxt/description.xml contains data which cannot be parsed. ///' - '/// - will not install ///' - '/// (16/31): dependencies\double-dependencies.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/2): Dependency 1 ///' - '/// (2/2): Dependency 2 ///' - '/// - will not install ///' - '/// (17/31): dependencies\empty-dependencies.oxt ///' - '/// - installs and is enabled ///' - '/// (18/31): dependencies\funny-dependency.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): & < > ' " > ' tab . crlf ///' - '/// . em-dash�;. line-separator?. paragraph-separator?. xxxxxxxxxxx... ///' - '/// - will not install ///' - '/// (19/31): dependencies\license-dependency.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Dependency ///' - '/// - will not install ///' - '/// (20/31): dependencies\many-dependencies.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/20): Dependency 1 ///' - '/// (2/20): Dependency 2 ///' - '/// (3/20): Dependency 3 ///' - '/// (4/20): Dependency 4 ///' - '/// (5/20): Dependency 5 ///' - '/// (6/20): Dependency 6 ///' - '/// (7/20): Dependency 7 ///' - '/// (8/20): Dependency 8 ///' - '/// (9/20): Dependency 9 ///' - '/// (10/20): Dependency 10 ///' - '/// (11/20): Dependency 11 ///' - '/// (12/20): Dependency 12 ///' - '/// (13/20): Dependency 13 ///' - '/// (14/20): Dependency 14 ///' - '/// (15/20): Dependency 15 ///' - '/// (16/20): Dependency 16 ///' - '/// (17/20): Dependency 17 ///' - '/// (18/20): Dependency 18 ///' - '/// (19/20): Dependency 19 ///' - '/// (20/20): Dependency 20 ///' - '/// - will not install ///' - '/// (21/31): dependencies\no-dependencies.oxt ///' - '/// - installs and is enabled ///' - '/// (22/31): dependencies\no-description.oxt ///' - '/// - installs and is enabled ///' - '/// (23/31): dependencies\unknown-dependency.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Unknown ///' - '/// - will not install ///' - '/// (24/31): dependencies\version21.oxt ///' - '/// - installs and is enabled ///' - '/// (25/31): dependencies\version10000.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Unknown ///' - '/// - will not install ///' - '/// (26/31): dependencies\version21ns.oxt ///' - '/// - installs and is enabled ///' - '/// (27/31): dependencies\version21other.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Unknown ///' - '/// - will not install ///' - '/// (25/31): dependencies\version25.oxt ///' - '/// - installs and is enabled ///' - '/// (25/31): dependencies\version30.oxt ///' - '/// - installs and is enabled ///' - '/// (25/31): dependencies\version31.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Unknown ///' - '/// - will not install ///' - '/// (27/31): dependencies\version21other.oxt ///' - '/// - UnsatisfiedDependencies dialog exists ///' - '/// (1/1): Unknown ///' - '/// (30/31): dependencies\versionempty.oxt ///' - '/// - installs and is enabled ///' - '/// (31/31): dependencies\versionnone.oxt ///' - '/// - installs and is enabled ///' - '/// (32/41): versions/plain.oxt - '/// - installs and is enabled ///' - '/// (33/41): versions/plain.oxt - '/// - You are about to install version 1.02.4.7.0 of the extension org.openoffice.legacy.plain.oxt. That version is already installed. - '/// - installs and is enabled ///' - '/// (34/41): versions/version_none/plain.oxt - '/// - You are about to install version 0 of the extension org.openoffice.legacy.plain.oxt. The newer version 1.02.4.7.0 is already installed. - '/// - installs and is enabled ///' - '/// (35/41): versions/version_1.2.3/plain.oxt - '/// - You are about to install version 1.2.3 of the extension org.openoffice.legacy.plain.oxt. The older version 0 is already installed. - '/// - installs and is enabled ///' - '/// (36/41): versions/version_1.2.3/plain.oxt - '/// - You are about to install version 1.2.3 of the extension org.openoffice.legacy.plain.oxt. That version is already installed. - '/// - installs and is enabled ///' - '/// (37/41): versions/version_0.0/plain.oxt - '/// - You are about to install version 0.0 of the extension org.openoffice.legacy.plain.oxt. The newer version 1.2.3 is already installed. - '/// - installs and is enabled ///' - '/// (38/41): versions/version_1.2.4.7/plain.oxt - '/// - You are about to install version 1.2.4.7 of the extension org.openoffice.legacy.plain.oxt. The older version 0.0 is already installed. - '/// - installs and is enabled ///' - '/// (39/41): versions/version_1.02.4.7.0/plain.oxt - '/// - You are about to install version 1.02.4.7.0 of the extension org.openoffice.legacy.plain.oxt. That version is already installed. - '/// - installs and is enabled ///' - '/// (40/41): versions/version_1.2.3/plain.oxt - '/// - You are about to install version 1.2.3 of the extension org.openoffice.legacy.plain.oxt. The newer version 1.02.4.7.0 is already installed. - '/// - installs and is enabled ///' - '/// (41/41): versions/version_1.2.15.3/plain.oxt - '/// - You are about to install version 1.2.15.3 of the extension org.openoffice.legacy.plain.oxt. The older version 1.2.3 is already installed. - - dim j,b,i,a,x,y as integer - dim sPath as string - dim aFiles(50) as string - dim aFeatures(50) as string - dim aFileList(50) as string - dim sTemp as string - dim sTemp2 as string - dim sTemp3 as string - dim sTemp4 as string - dim aTemp - dim aTemp2 - dim sFirstStatus as string - dim bFound as boolean - dim aRemovePackages(50) as string - dim bFoundNumber as boolean - dim sLastVersion as string - - sLastVersion = "" - ' want to start and work with just one document window - b = getDocumentCount - hFileCloseAll() - hNewDocument() - - ' load about twenty one extension files, to test the features - ' the list tells the filename and in encoded numbers the features - ' a line looks like: - ' simpleLicense\LongLic.oxt;0,2,1,0 - ' - the filename and the features are seperated by a semicolon - ' - the numbes for the features are seperated by colons - ' 1st number: Unsatisfied dependencies; if there are any, the number counts them; if there are none it is zero and the dialog won't come up - ' 2nd number: License; if there is one the value is 1; it it a long one, where the scroll button needs to be used it is 2; 3 if the license should not be accepted for testing purposes, if there is no license the value is zero - ' 3rd number: If the extension should successfully install the value is one, else zero. - ' 4th number: If an active is expected after selecting a file for installation the value is one, else zero. - ' 5th number: If active is expected the expected version information after selecting a file for installation the value is one, else zero and if an upgrade/downgrade is expected, the number is 2. - - ' Base path for test files - sPath = convertPath(gTestToolPath+"extensions/optional/input/") - ' read filelist and expected features - ListRead(aFileList(), sPath+"files.txt") - a = listCount(aFileList()) - printlog a - for i = 1 to a - aTemp = split (aFileList(i),";") - if uBound(aTemp()) >0 then - listAppend(aFiles(),aTemp(0)) - listAppend(aFeatures(),aTemp(1)) - endif - next i - - ' there are some dependencys to languages... - if iSprache = 49 then - sTemp = aFeatures(4) - aFeatures(4) = aFeatures(5) - aFeatures(5) = sTemp - else - if iSprache <> 01 then - aFeatures(4) = aFeatures(5) - aFeatures(6) = aFeatures(5) - aFeatures(12) = aFeatures(5) - aFeatures(13) = aFeatures(5) - aFeatures(14) = aFeatures(5) - endif - endif - ' cleanup before starting; check that no extension from the list is installed right now; if remove it. - '/// Before starting, look into extension manager, if already a file is installed, that will be used in this test ///' - '/// Remove it. ///' - a = listCount(aFiles()) - dim ii as integer - ToolsPackageManager - kontext "PackageManager" - If PackageManager.exists(10) then - BrowsePackages.typeKeys("") - ii = 1 - while (ii < BrowsePackages.getItemCount+1 ) - kontext "PackageManager" - 'BrowsePackages.typeKeys("+") - 'BrowsePackages.typeKeys("") - BrowsePackages.select ii - sTemp = BrowsePackages.getItemText (ii,1) - if right(sTemp,3) = "oxt" then - for x = 1 to a - sTemp3 = aFiles(x) - aTemp = split(sTemp3,"\") - if uBound(aTemp) < 1 then - aTemp = split(sTemp3,"/") - endif - sTemp3 = aTemp(uBound(aTemp)) - if sTemp = sTemp3 then - qaErrorLog "Package is already installed, trying to remove it: '" + sTemp + "'" - if remove.isEnabled then - remove.click - - kontext "Active" - if ( Active.exists( 2 ) ) then - Active.ok() - else - warnlog( "No confirmation dialog for Extension removal" ) - endif - - Kontext "AddingPackages" - y=0 - while AddingPackages.exists(1) AND (y<30) - printlog "RemovingPackages..." - sleep 1 - y=y+1 - wend - kontext "PackageManager" - BrowsePackages.typeKeys("") - x = 100 - else - warnlog "Package is already installed and can't get removed: '" + sTemp + "'" - ii=ii+1 - x = 101 - endif - endif - next x - if x < 100 then - ii=ii+1 - endif - else - ii=ii+1 - endif - wend - kontext "PackageManager" - PackageManager.close - WaitSlot( 5000 ) - endif - - ' for every test file do... - a = listCount(aFiles()) - for i = 1 to a - printlog "********** Test file ("+i+"/"+a+"): "+aFiles(i) - aTemp = split (aFeatures(i),",") - '/// call Tools - Package/Extension manager ///' - ToolsPackageManager - kontext "PackageManager" - If PackageManager.exists(10) then - '/// going to top of package list and explode every line, until the button 'Add' is enabled ///' - '/// should be 'My Packages' ///' - 'BrowsePackages.typeKeys("") - 'sTemp = BrowsePackages.getSelText - 'sTemp2 = "" - 'while (Not Add.isEnabled AND (sTemp <> sTemp2)) - ' BrowsePackages.typeKeys("+") - ' BrowsePackages.typeKeys("") - ' sTemp2 = sTemp - ' sTemp = BrowsePackages.getSelText - 'wend - 'if sTemp = sTemp2 then - ' warnlog "Couldn't find a way to enable the Add button - aborting" - ' goto endsub - 'endif - 'printlog BrowsePackages.getSelText - '/// click button 'Add' ///' - try - Add.click - catch - warnlog "#i90870# extension manager deadlock/C++ runtimes" - exitrestarttheoffice - ToolsPackageManager - kontext "PackageManager" - Add.click - endcatch - '/// Add Package(s)... dialg comes up ///' - Kontext "OeffnenDlg" - if OeffnenDlg.exists(5) then - '/// put filename into field ///' - Dateiname.setText convertPath(sPath + aFiles(i)) - printlog DateiTyp.getSelText - '/// press button 'Open' ///' - Oeffnen.click - else - warnlog "Add Package(s)... dialog didn't came up" - endif - - 'Asking for whom to install; All: YES, Me: NO, nobody: Cancel - kontext - if active.exists(5) then - sTemp = active.getText - printlog "Messagebox: " + sTemp - ' We only want to handle the installation target here which only - ' pops up if we have the choice (rights to write to shared layer) - if active.getButtonCount = 3 then - try - active.yes - catch - warnlog( "Try...catch: Failed to click Yes-button" ) - endcatch - else - printlog "No installation target message (this is probably a root-installation)" - endif - endif - - '/// Progress dialog comes up ///' - Kontext "AddingPackages" - if AddingPackages.exists(1) then - printlog " - AddingPackages dialog exists" - 'DialogTest(AddingPackages) - endif - - '/// If any error happens, an active comes up, telling what is wrong ///' - ' error is just a dialog with one button - ' version infos have two buttons - Kontext - if active.exists(5) then - sTemp = active.getText - select case active.getbuttoncount - case 1: - y = instr(sTemp, " ") - if cBool(aTemp(3)) then - printlog sTemp - else - warnlog sTemp - endif - case 2: - x = 0 - if cBool(aTemp(4)) then - printlog "Version info message available." - else - warnlog "Version info message available, but not expected" - endif - printlog sTemp - bFoundNumber = false - aTemp2 = split(sTemp," ") - y = uBound(aTemp2) - while ((NOT bFoundNumber) AND (x < y)) - stemp2 = left(aTemp2(x),1) - if isNumeric(stemp2) then - bFoundNumber = TRUE - printlog "Try to install version: " + aTemp2(x) - endif - x=x+1 - wend - if NOT bFoundNumber then - warnlog "No version was mentioned in the version message!" - endif - bFoundNumber = false - while (NOT bFoundNumber AND x < y) - stemp2 = left(aTemp2(x),1) - if isNumeric(stemp2) then - bFoundNumber = TRUE - endif - x=x+1 - wend - if aTemp(4) = "2" AND bFoundNumber then - printlog "Old version is: " + aTemp2(x-1) - elseif bFoundNumber then - warnlog "No old version expected: " + aTemp2(x-1) - elseif aTemp(4) = "2" then - warnlog "Old version expected, but not mentioned." - endif - end select - active.ok - else - if cBool(aTemp(3)) then - if i = 3 then - qaErrorLog "#i73367# " - else - warnlog "errormessage expected, but none came up." - endif - endif - endif - - '/// If there are any unsatisfied dependencies, they are shown now ///' - Kontext "UnsatisfiedDependencies" - if UnsatisfiedDependencies.exists(10) then - if cBool(aTemp(0)) then - printlog " - UnsatisfiedDependencies dialog exists" - else - warnLog "UnsatisfiedDependencies are not expected but available" - endif - DialogTest(UnsatisfiedDependencies) - y = UnsatisfiedDependencyList.getItemCount - if cInt(aTemp(0)) <> y then - warnlog "Difference in dependencies; expected: " + aTemp(0) + "; found: " +y - endif - for x = 1 to y - printlog " ("+x+"/"+y+"): "+UnsatisfiedDependencyList.getItemText(x) - next x - '/// close dialog if available, extension will not be installed ///' - UnsatisfiedDependencies.close - else - if cBool(aTemp(0)) then - warnLog "UnsatisfiedDependencies expected but none shown." - endif - endif - - '/// If there is a license, it is shown now ///' - Kontext "ExtensionSoftwareLicenseAgreement" - if ExtensionSoftwareLicenseAgreement.exists(10) then - if cBool(aTemp(1)) then - printlog " - ExtensionSoftwareLicenseAgreement dialog exists" - else - warnlog "ExtensionSoftwareLicenseAgreement are not expected but shown" - endif - if NOT Accept.isEnabled then - if cInt(aTemp(1)) = 2 then - printlog " Long License" - else - errorlog "Long License" - endif - else - if NOT cInt(aTemp(1)) = 2 then - printlog "Long License" - else - errorlog "Long License" - endif - endif - '/// scroll down until accept button is enabled, click accept button ///' - LicenseText.typeKeys ("",true) - if Accept.isEnabled then - '/// for testing purposes click cancel one time - the extension should not get installed ///' - if cInt(aTemp(1)) = 3 then - ExtensionSoftwareLicenseAgreement.CANCEL - else - Accept.click - endif - else - qaErrorLog "Accept not enabled.yet" - while NOT Accept.isEnabled - ScrollDown.click - printlog "Scrolling..." - sleep 1 - wend - '/// for testing purposes click cancel one time - the extension should not get installed ///' - if cInt(aTemp(1)) = 3 then - ExtensionSoftwareLicenseAgreement.CANCEL - else - Accept.click - endif - endif - else - if cBool(aTemp(1)) then - errorlog "ExtensionSoftwareLicenseAgreement dialog expected but not shown." - endif - endif - - '/// There may come up another active right now, which would be an error ///' - Kontext - if active.exists(5) then - sTemp = active.getText - if i = 7 then - qaerrorlog "#i67452# " + sTemp - else - if i = 13 then - qaerrorlog "#i73307#" + stemp - else - warnlog sTemp - endif - endif - active.ok - endif - - '/// the progress dialog is now available again ///' - Kontext "AddingPackages" - x=0 - while AddingPackages.exists(1) AND (x<30) - printlog "AddingPackages..." - sleep 1 - x=x+1 - wend - - '/// There may come up another active right now, which would be an error ///' - Kontext - if active.exists(5) then - sTemp = active.getText - warnlog sTemp - active.ok - endif - - ' find out, if the extension got installed - kontext "PackageManager" - BrowsePackages.typeKeys("") - BrowsePackages.typeKeys("+") - y = BrowsePackages.getItemCount - sTemp = aFiles(i) - aTemp2 = split(sTemp,"\") - if uBound(aTemp2) < 1 then - aTemp2 = split(sTemp,"/") - endif - sTemp = aTemp2(uBound(aTemp2)) - printlog stemp - bFound = FALSE - for x = 1 to y - sTemp2 = BrowsePackages.getItemText(x,1) - printlog "("+x+"/"+y+"): "+sTemp2 - ' Mechanism to detect a status change; report it only one time - sTemp3 = BrowsePackages.getItemText(x,3) ' enabled? - sTemp4 = BrowsePackages.getItemText(x,2) ' version - if sTemp3 <> "" AND sFirstStatus = "" then - sFirstStatus = sTemp3 - else - if (sFirstStatus <> sTemp3) AND (sTemp3 <> "") AND (sFirstStatus <> "alreadyshown") then - qaErrorlog "#i67450# " + sFirstStatus + " <> " + sTemp3 - sFirstStatus= "alreadyshown" - endif - endif - if sTemp3 <> "" then - printlog " +++ " + sTemp3 - endif - if sTemp4 <> "" then - sLastVersion = sTemp4 - printlog " Version:" + sTemp4 - endif - if sTemp = sTemp2 then - listAppend(aRemovePackages(), sTemp) - if cBool(aTemp(2)) then - printlog "-------------------------------- Extension got installed" - bFound = TRUE - else - if i = 3 then - qaerrorLog "#i73367# " - else - warnLog "-------------------------------- Extension got installed, but shouldn't do that" - endif - endif - endif - next x - if NOT cBool(aTemp(2)) and bFound then - warnlog "not found" - endif - '/// Close extension manager ///' - PackageManager.OK - 'OK / Close - else - warnlog "Couldn't call Tools -> Package manager - aborting test at " + i - goto endsub - endif - next i - - '/// after installing all extensions, remove them ///' - ' uninstall all components, that were installed - a = listCount(aRemovePackages()) - ToolsPackageManager - - kontext "PackageManager" - If PackageManager.exists(10) then - - BrowsePackages.typeKeys("") - waitslot() - - ii = 1 - while (ii < BrowsePackages.getItemCount +1) - - wait( 2000 ) ' Required, Extension Manager needs time to populate - kontext "PackageManager" - 'BrowsePackages.typeKeys("+") - 'BrowsePackages.typeKeys("") - sTemp2 = sTemp - BrowsePackages.select ii - waitslot() - - sTemp = BrowsePackages.getItemText (ii,1) - if right(sTemp,3) = "oxt" then - for x = 1 to a - if sTemp = aRemovePackages(x) then - printlog "Package is installed, trying to remove it: '" + sTemp + "'" - if remove.isEnabled then - remove.click - - kontext "Active" - if ( Active.exists( 2 ) ) then - Active.ok() - else - warnlog( "No confirmation for extension removal" ) - endif - - Kontext "AddingPackages" - y=0 - while AddingPackages.exists(1) AND (y<30) - printlog "RemovingPackages..." - sleep 1 - y=y+1 - wend - kontext "PackageManager" - BrowsePackages.typeKeys("") - x = 100 - else - warnlog "Package can't get removed: '" + sTemp + "'" - ii=ii+1 - endif - endif - next x - endif - ii = ii+1 - wend - kontext "PackageManager" - hCloseDialog( PackageManager, "close" ) - else - qaErrorLog "disabling installed extensions failed;" - endif - WaitSlot() - hFileCloseAll() -endcase - - diff --git a/testautomation/extensions/optional/includes/fileopen.inc b/testautomation/extensions/optional/includes/fileopen.inc deleted file mode 100644 index 8c3800f007d8..000000000000 --- a/testautomation/extensions/optional/includes/fileopen.inc +++ /dev/null @@ -1,103 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'******************************************************************************* -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : CWS oxtsysint01 enables installing extensions via file open dialog -'* -'\****************************************************************************** - -testcase tExtensionFileOpen - - printlog( "Install an extension via File Open - new with CWS oxtsysint01" ) - - dim cString as string - - if ( gBuild < 9305 ) then - printlog( "No testing for builds prior to 9305" - goto endsub - endif - - const EXTENSION_NAME = "locationtest.oxt" - dim cPath as string - cPath = gTesttoolPath & "extensions/optional/input/path_to_extension/" & EXTENSION_NAME - - hFileOpen( cPath ) - - kontext "Active" - if ( Active.exists() ) then - printlog( "Extension installation message found, accepting" ) - printlog( Active.getText() ) - Active.ok() - else - warnlog( "Extension installation message missing" ) - endif - - hExtensionRemoveGUI( EXTENSION_NAME ) - - printlog( "Verify that the Add Extension Dialog remembers the last used path..." ) - hExtensionAddGUI( cPath, "" ) - - printlog( "Reopen Extension Manager UI, click Add.. and check the directory" ) - ToolsPackageManager - - kontext "PackageManager" - if ( PackageManager.exists( 3 ) ) then - Add.click() - - Kontext "OeffnenDlg" - if ( OeffnenDlg.exists( 2 ) ) then - - printlog( "Select the last item in the list which should be the extension" ) - DateiAuswahl.select( Dateiauswahl.getItemCount() ) - cString = DateiAuswahl.getSelText() - if ( cString <> EXTENSION_NAME ) then - warnlog( "Incorrect extension listed. Please check path and filename" ) - printlog( "Expected: " & EXTENSION_NAME ) - printlog( "Found...: " & cString ) - printlog( "Issues: #i67122, #i92234" ) - else - printlog( "Found correct extension, the dialog remembers the path" ) - endif - - kontext "OeffnenDlg" - OeffnenDlg.cancel() - else - warnlog( "Could not access Add Extensions Dialog" ) - endif - - kontext "PackageManager" - PackageManager.close() - else - warnlog( "Could not open Extension Manager GUI" ) - endif - - hExtensionRemoveGUI( EXTENSION_NAME ) - -endcase - - diff --git a/testautomation/extensions/optional/includes/help.inc b/testautomation/extensions/optional/includes/help.inc deleted file mode 100644 index 5e6aa357e4b6..000000000000 --- a/testautomation/extensions/optional/includes/help.inc +++ /dev/null @@ -1,213 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extensible help -'* -'\****************************************************************************** - -testcase tExtensibleHelp - - '///

Extensible help

- - '///
Synopsis
Beginning with CWS ab38 extensions can extend the help application with index entries and content
- '///
Specification document
- '///+http://specs.openoffice.org/appwide/help/ExtensibleHelp.odt
- '///
Files used:
.../extensions/features/input/extensible_help/*.info, *.oxt
- '///
Test case specification
- - ' This is the base path to the input directory where all workfiles are located - dim cExtName as string - dim cExtPath as string - cExtPath = gTesttoolPath & "extensions\optional\input\extensible_help\" - cExtPath = convertpath( cExtPath ) - - ' This is the configuration file for the test extensions. This approach was chosen - ' because the extensions have a lot in common but not enough to make a general - ' routine without any special cases. It is possible to add more extensions easily - ' by just configuring them in the config file. Ideally no canges to the test case - ' itself are required. - const CONFIG_FILE = "extension.info" - dim cCfgPath as string - cCfgPath = cExtPath - cCfgPath = convertpath( cCfgPath & CONFIG_FILE ) - - ' In this array we store the config file. Always make sure it is large enough - ' to hold the entire file - dim cCfgArray( 60 ) as string - - ' Some returnvalues/status variables, general purpose - dim iStatus as integer - dim bStatus as boolean - - ' Control variables for the outer loop (actions for each extension) - dim iCurrentExtension as integer - dim iExtensionCount as integer - - ' Control variables for the inner loop (items to test for an extension) - dim cCurrentHelpItem as string - dim iCurrentHelpItem as integer - dim iHelpItemCount as integer - - ' Values retrieved from the config file or the help content - dim cItem as string - dim cHead as string - dim cLine as string - - ' Correct the position within the index list. If we have a main item with - ' sub-items we might need to move a few entries down in the list to get the - ' sub-items. - dim cMove as string - dim iMove as integer - dim iMoveDown as integer - - do while ( getDocumentCount > 0 ) - call hCloseDocument() - loop - - '///
    - '///+
  • Open a writer document (so the help comes up for writer)
  • - gApplication = "WRITER" - call hNewDocument() - if ( getDocumentCount <> 1 ) then - warnlog( "Fatal: Unable to open new writer document" ) - sResetTheOffice - goto endsub - endif - - '///+
  • Read the config file - determine the number of test-extensions
  • - iStatus = hGetDataFileSection( cCfgPath, cCfgArray(), "files", "", "" ) - iExtensionCount = int( hGetValueForKeyAsString( cCfgArray(), "count" ) ) - printlog( "Read configuration for " & iExtensionCount & " files." ) - - '///+
  • Cycle through the configured test-extensions
  • - '///
      - for iCurrentExtension = 1 to iExtensionCount - - '///+
    • Read the config file - get settings for current extension
    • - hGetDataFileSection( cCfgPath, cCfgArray(), iCurrentExtension, "", "" ) - cExtPath = cExtPath & hGetValueForKeyAsString( cCfgArray(), "file" ) - cExtName = hGetValueForKeyAsString( cCfgArray(), "name" ) - - - '///+
    • Install the test-extension, cleanup and quit on failure
    • - iStatus = hExtensionAddGUI( cExtPath , "NoUpdate,NoLicense,InstallForUser,Verbose" ) - if ( iStatus < 1 ) then - warnlog( "Fatal: Adding extension failed with rc = " & iStatus ) - sResetTheOffice - goto endsub - endif - - '///+
    • Open the help browser
    • - HelpContents - kontext "StarOfficeHelp" - if ( StarOfficeHelp.exists( 2 ) ) then - - '///+
    • Switch to the index tabpage
    • - TabControl.setPage( IndexPage ) - else - warnlog( "Unable to open help browser" ) - hCloseDocument() - sResetTheOffice() - goto endsub - endif - - '///+
    • Search the help index for the items described in the config file
    • - iHelpItemCount = int( hGetValueForKeyAsString( cCfgArray(), "items" ) ) - printlog( "Testing " & iHelpItemCount & " items" ) - '///
        - for iCurrentHelpItem = 1 to iHelpItemCount - - printlog( "" ) - printlog( "Testing item " & iCurrentHelpItem ) - - '///+
      • Get the test strings from the config file
      • - cItem = "hindex_" & iCurrentHelpItem - cMove = "h_move_" & iCurrentHelpItem - cHead = "header_" & iCurrentHelpItem - cItem = hGetValueForKeyAsString( cCfgArray(), cItem ) - cHead = hGetValueForKeyAsString( cCfgArray(), cHead ) - iMove = int( hGetValueForKeyAsString( cCfgArray(), cMove ) - - '///+
      • Enter the search term into the search field of the index page
      • - kontext "StarOfficeHelp" - SearchIndex.setText( cItem ) : WaitSlot() - - for iMoveDown = 1 to iMove - SearchIndex.typeKeys( "" ) - next iMoveDown - - '///+
      • Display the associated help page (content) by clicking on "Display"
      • - DisplayIndex.click() : WaitSlot() - - '///+
      • Get the header from the content
      • - kontext "HelpContent" - HelpContent.typeKeys( "" ) - HelpContent.typeKeys( "" , len( cHead ) ) - hUseAsyncSlot( "EditCopy" ) - cLine = GetClipBoardText - - '///+
      • Compare the config string with the header
      • - if ( cLine <> cHead ) then - if ( iCurrentHelpItem = 1 and gPlatGroup <> "Win95" ) then - qaerrorlog( "Header is incorrect, slower navigation on Unix(like)" ) - else - warnlog( "Header is incorrect. Please check." ) - endif - printlog( "Found...: " & cLine ) - printlog( "Expected: " & cHead ) - else - printlog( "The header is correct: " & cLine ) - endif - - next iCurrentHelpItem - '///
      - - '///+
    • Close the help browser
    • - kontext "StarOfficeHelp" - StarOfficeHelp.typeKeys( "" ) - - '///+
    • Remove the extension
    • - hExtensionRemoveGUI( cExtName ) - - - next iCurrentExtension - '///
    - - '///+
  • Close the writer document
  • - call hCloseDocument() - if ( getDocumentCount <> 0 ) then - warnlog( "Fatal: Failed to close writer document" ) - sResetTheOffice - goto endsub - endif - - '///
- -endcase - diff --git a/testautomation/extensions/optional/includes/identifiers.inc b/testautomation/extensions/optional/includes/identifiers.inc deleted file mode 100644 index dd4d42ca160d..000000000000 --- a/testautomation/extensions/optional/includes/identifiers.inc +++ /dev/null @@ -1,120 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Use unique identifiers instead of filenames for extensions -'* -'\****************************************************************************** - -testcase tExtensionIdentifiers() - - printlog( "Extension identifiers / reinstallation of extensions" ) - - if ( gBuild <= 9183 ) then - printlog( "Build does not support extension identifiers" ) - goto endsub - endif - - - dim cExtensionPath( 2 ) as string - dim cCommonPath as string - dim cExtensionCount( 3 ) as integer - const EXTENSION_NAME = "identifier.oxt" - dim cExtensionFlags as string - - - ' paths to the extensions - the have identical names but different identifiers - cCommonPath = gTesttoolPath & "extensions\optional\input\identifier\" - cExtensionPath( 1 ) = convertpath( cCommonPath & "legacy\" & EXTENSION_NAME ) - cExtensionPath( 2 ) = convertpath( cCommonPath & "explicit\" & EXTENSION_NAME ) - cExtensionCount( 0 ) = hGetExtensionCount() - - ' Install first extension - cExtensionFlags = "InstallForUser" - cExtensionCount( 1 ) = hExtensionAddGUI( cExtensionPath( 1 ), cExtensionFlags ) - if ( cExtensionCount( 1 ) = cExtensionCount( 0 ) + 1 ) then - printlog( "Extension 1 was installed" ) - else - warnlog( "Incorrect extension count: " & cExtensionCount( 1 ) ) - endif - - ' Install second extension - cExtensionFlags = "InstallForUser" - cExtensionCount( 2 ) = hExtensionAddGUI( cExtensionPath( 2 ), cExtensionFlags ) - if ( cExtensionCount( 2 ) = cExtensionCount( 1 ) + 1 ) then - printlog( "Extension 2 was installed" ) - else - warnlog( "Incorrect extension count: " & cExtensionCount( 2 ) ) - endif - - ' Install first extension again - cExtensionFlags = "InstallForUser,AllowUpdate" - cExtensionCount( 3 ) = hExtensionAddGUI( cExtensionPath( 1 ), cExtensionFlags ) - if ( cExtensionCount( 3 ) = cExtensionCount( 2 ) ) then - printlog( "Extension 1 was installed, overwriting existing" ) - endif - - - ' Install second extension again - cExtensionFlags = "InstallForUser,AllowUpdate" - cExtensionCount( 3 ) = hExtensionAddGUI( cExtensionPath( 2 ), cExtensionFlags ) - if ( cExtensionCount( 3 ) = cExtensionCount( 2 ) ) then - printlog( "Extension 2 was installed, overwriting existing" ) - endif - - hExtensionRemoveGUI( EXTENSION_NAME ) - hExtensionRemoveGUI( EXTENSION_NAME ) - - ' Install first extension - cExtensionFlags = "InstallForUser" - cExtensionCount( 1 ) = hExtensionAddGUI( cExtensionPath( 1 ), cExtensionFlags ) - if ( cExtensionCount( 1 ) = cExtensionCount( 0 ) + 1 ) then - printlog( "Extension 1 was installed again" ) - else - warnlog( "Extension 1 was not installed" ) - endif - - ' Install second extension - cExtensionFlags = "InstallForUser" - cExtensionCount( 2 ) = hExtensionAddGUI( cExtensionPath( 2 ), cExtensionFlags ) - if ( cExtensionCount( 2 ) = cExtensionCount( 1 ) + 1 ) then - printlog( "Extension 2 was installed again" ) - else - warnlog( "Extension 2 was not installed" ) - endif - - hExtensionRemoveGUI( EXTENSION_NAME ) - hExtensionRemoveGUI( EXTENSION_NAME ) - - if ( hGetExtensionCount() <> cExtensionCount( 0 ) ) then - warnlog( "For some reason we have an unexpected number of extensions listed" ) - else - printlog( "Extensions were handled correctly" ) - endif - -endcase diff --git a/testautomation/extensions/optional/includes/issue110083.inc b/testautomation/extensions/optional/includes/issue110083.inc deleted file mode 100755 index 8bd6c38dacee..000000000000 --- a/testautomation/extensions/optional/includes/issue110083.inc +++ /dev/null @@ -1,79 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'******************************************************************************* -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : CWS sb112 fixes a problem with configuration schemas -'* -'\****************************************************************************** - -testcase tExtensionIssue110083() - - printlog( "Configuration/-schema .xcu/.xcs-files which might trigger exceptions from unopkg/Extension Manager" ) - - const NUMBER_OF_TEST_EXTENSIONS = 2 - - dim cExtensionNames( NUMBER_OF_TEST_EXTENSIONS ) as string - cExtensionNames( 1 ) = "LoggingOptions.xcs" - cExtensionNames( 2 ) = "Logging.xcu" - - dim cErrorIdentifier( NUMBER_OF_TEST_EXTENSIONS ) as string - cErrorIdentifier( 1 ) = "no component element" - cErrorIdentifier( 2 ) = "no component element" - - dim cExtensionPath as string - cExtensionPath = gTesttoolPath & "extensions/optional/input/issues/" - - dim cExtension as string - - dim iCurrentExtension as integer - - - for iCurrentExtension = 1 to NUMBER_OF_TEST_EXTENSIONS - - cExtension = convertpath( cExtensionPath & cExtensionNames( iCurrentExtension ) ) - hExtensionAddGUI( cExtension, "" ) - - kontext "Active" - if ( Active.exists() ) then - if ( instr( Active.getText, cErrorIdentifier( iCurrentExtension ) ) > 0 ) then - warnlog( "#i110083# - Error installing .xcs/.xcu-file: " & cExtensionNames( iCurrentExtension ) ) - Active.ok() - - kontext "PackageManager" - PackageManager.close() - else - warnlog( "Unexpected messagebox displayed. It cannot be handled" ) - endif - else - hExtensionRemoveGUI( cExtensionNames( iCurrentExtension ) ) - endif - - next iCurrentExtension - -endcase - diff --git a/testautomation/extensions/optional/includes/location.inc b/testautomation/extensions/optional/includes/location.inc deleted file mode 100644 index 2c1cc45f0b07..000000000000 --- a/testautomation/extensions/optional/includes/location.inc +++ /dev/null @@ -1,133 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Test the extension locator service -'* -'\****************************************************************************** - -testcase tExtensionLocation - - printlog( "Test the extension locator service" ) - - ' The location of the sample extension and helper document - dim cWorkPath as string - cWorkPath = gTesttoolPath & "extensions\optional\input\path_to_extension\" - cWorkPath = convertpath( cWorkPath ) - - const EXTENSION_NAME = "locationtest.oxt" - const DOCUMENT_NAME = "LocationTest.odt" - const MACRO_NAME = "tExtensionLocation" - - dim brc as boolean - dim irc as integer - dim cMsg as string - - printlog( "Using extension: " & cWorkPath & EXTENSION_NAME ) - printlog( "Using document.: " & cWorkPath & DOCUMENT_NAME ) - - brc = hFileOpen( cWorkPath & DOCUMENT_NAME ) - if ( not brc ) then - brc = hAllowMacroExecution() - if ( not brc ) then - warnlog( "This is not the macro execution warning" ) - endif - else - warnlog( "Macro execution warning is missing" ) - endif - - hMacroOrganizerRunMacro( MACRO_NAME ) - - kontext "Makro" - if ( Makro.exists( 1 ) ) then - warnlog( "Macro was not executed") - Makro.close() - goto endsub - else - printlog( "Macro was executed") - endif - - kontext "active" - if ( active.exists( 2 ) ) then - cMsg = active.getText() - if ( cMsg <> "" ) then - warnlog( "The messagebox is not empty: " & cMsg ) - else - printlog( "Messagebox is empty, good." ) - endif - active.ok() - else - warnlog( "No messagebox displayed, please check that the macro is executed" ) - endif - - hExtensionAddGUI( cWorkPath & EXTENSION_NAME , "verbose,InstallForUser" ) - hMacroOrganizerRunMacro( MACRO_NAME ) - - kontext "active" - if ( active.exists( 2 ) ) then - cMsg = active.getText() - - if ( cMsg = "" ) then - warnlog( "The messagebox is empty, please check." ) - else - - printlog( "Content of messagebox: " & cMsg ) - - if ( instr( cMsg , "file:///" ) > 0 ) then - printlog( "Found File-URL" ) - else - warnlog( "This does not appear to be a File-URL, please check!" ) - endif - - if ( instr( cMsg , EXTENSION_NAME ) > 0 ) then - printlog( "Extension string is present" ) - else - warnlog( "Extension name seems to be missing" ) - endif - - if ( dir( cMsg ) = "" ) then - warnlog( "The extension could not be found at the expected location" ) - else - printlog( "Extension found. Good." ) - endif - - endif - active.ok() - else - warnlog( "No messagebox displayed, please check that the macro is executed" ) - endif - - irc = hExtensionRemoveGUI( EXTENSION_NAME ) - if ( irc <> 0 ) then - warnlog( "the extension was NOT cleanly removed" ) - endif - - hDestroyDocument() - -endcase - diff --git a/testautomation/extensions/optional/includes/meta-inf.inc b/testautomation/extensions/optional/includes/meta-inf.inc deleted file mode 100644 index e9fbd91bf7b3..000000000000 --- a/testautomation/extensions/optional/includes/meta-inf.inc +++ /dev/null @@ -1,83 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Case sensitive META-INF in packages -'* -'\****************************************************************************** - -testcase tLowerCaseMetaInf - - printlog( "The filename in lowercase letters may prevent installation" ) - - dim cExtensionName as string - cExtensionName = "lowercasemetainf.oxt" - - dim cExtensionPath as string - cExtensionPath = gTesttoolPath & "extensions\optional\input\errors\" - cExtensionPath = cExtensionPath & cExtensionName - - dim irc as integer - - printlog( "Install extension: " & cExtensionPath ) - irc = hExtensionAddGUI( cExtensionPath, "AcceptLicense,InstallForUser" ) - - if ( irc > 0 ) then - - printlog( "Check for unexpected messagebox" ) - kontext "Active" - if ( Active.exists( 3 ) ) then - warnlog( "Extension should install after license has been displayed" ) - printlog( Active.getText() ) - - printlog( "Trying to end test gracefully" ) - Active.ok() - - printlog( "Close Extension Manager" ) - kontext "PackageManager" - if ( PackageManager.exists( 3 ) ) then - PackageManager.close() - else - warnlog( "Cannot access Extension Manager" ) - endif - - else - printlog( "No messagebox, good." ) - endif - - printlog( "Remove extension" ) - hExtensionRemoveGUI( cExtensionName ) - - else - - warnlog( "The extension was not installed" ) - - endif - -endcase - diff --git a/testautomation/extensions/optional/includes/online_update.inc b/testautomation/extensions/optional/includes/online_update.inc deleted file mode 100644 index 9f125c1c8a2c..000000000000 --- a/testautomation/extensions/optional/includes/online_update.inc +++ /dev/null @@ -1,114 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Hit update button for an extension -'* -'\****************************************************************************** - -testcase tExtensionUpdate - - 'warnlog( "#i81543# Office crashes when Testtool executes .exists() method on some objects" ) - 'goto endsub - - '///

Hit update button for an extension

- '///
    - - const EXTENSION_NAME = "ShortLicense.oxt" - - dim cSampleExtension as string - cSampleExtension = gTesttoolPath & "extensions\optional\input\simpleLicense\" - cSampleExtension = cSampleExtension & EXTENSION_NAME - cSampleExtension = convertpath( cSampleExtension ) - - dim iDocumentsBefore as integer - dim iDocumentsAfter as integer - - printlog( "" ) - - if ( dir( cSampleExtension ) <> "" ) then - printlog( "Using extension: " & cSampleExtension ) - else - warnlog( "Fatal: Sample extension could not be found: " & cSampleExtension ) - goto endsub - endif - printlog( "" ) - - - '///+
  • Create a new writer document
  • - hNewDocument() - - '///+
  • get the number of open documents (should be 2)
  • - iDocumentsBefore = getDocumentCount() - - '///+
  • Add sample extension "ShortLicense"
  • - hExtensionAddGUI( cSampleExtension , "InstallForUser,AcceptLicense,Verbose" ) - - '///+
  • Reopen the Extension Manager
  • - printlog( "Reopen Extension Manager" ) - ToolsPackageManager - - '///+
  • Click the "Update"-button
  • - printlog( "Click the update-button" ) - kontext "PackageManager" - updates.click() - - '///+
  • verif y that the update-Dialog is present
  • - kontext "ExtensionUpdate" - if ( ExtensionUpdate.exists() ) then - printlog( "Close update-dialog. Good." ) - ExtensionUpdate.close() - else - warnlog( "Extension update dialog is missing" ) - endif - - '///+
  • Close the Extension Manager" - kontext "PackageManager" - if ( PackageManager.exists() ) then - printlog( "Close Extension Manager" ) - PackageManager.close() - endif - - '///+
  • verify that we still have the correct number of documents open
  • - iDocumentsAfter = getDocumentCount() - if ( iDocumentsAfter <> iDocumentsBefore ) then - warnlog( "Incorrect number of documents open. Please verify" ) - else - printlog( "Correct number of documents are open. Good" ) - endif - - '///+
  • Close the second document
  • - hCloseDocument() - - '///+
  • Remove the extension
  • - hExtensionRemoveGUI( EXTENSION_NAME ) - - '///
- -endcase - diff --git a/testautomation/extensions/optional/includes/options.inc b/testautomation/extensions/optional/includes/options.inc deleted file mode 100644 index e3cc82ba15f2..000000000000 --- a/testautomation/extensions/optional/includes/options.inc +++ /dev/null @@ -1,172 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Options for extensions -'* -'\****************************************************************************** - -testcase tExtensionOptions1 - - '///

Options for extensions

- '///
    - - const EXTENSION_NAME = "leaf1.oxt" - const OPTIONS_ITEM = "Writer leaf1 en-US" - const ITEM_POS_1 = 2 - const ITEM_POS_2 = 35 - const ITEM_POS_2_ASIAN = 38 - - dim cExtensionName as string - - dim cExtensionPath as string - cExtensionPath = gTesttoolPath & "extensions\optional\input\options\" - - dim cExtensionFile as string - cExtensionFile = convertpath( cExtensionPath & EXTENSION_NAME ) - - dim irc as integer - dim brc as boolean - - '///+
  • Create one single writer document, the node will be merged into it
  • - do while ( getDocumentCount > 0 ) - hCloseDocument() - loop - gApplication = "WRITER" - hNewDocument() - kontext "DocumentWriter" - DocumentWriter.typeKeys( "tExtensionOptions1" ) - - - '///+
  • Open the Extension Manager, click Add
  • - '///+
  • Load the sample extension "leaf1.oxt"
  • - '///+
  • Close the Extension Manager
  • - printlog( "Add sample extension" ) - hExtensionAddGUI( cExtensionFile, "verbose,InstallForUser" ) - - '///+
  • Reopen the Extension Manager
  • - printlog( "Reopen the Extension Manager" ) - ToolsPackageManager - kontext "PackageManager" - - '///+
  • Select the extension by name
  • - printlog( "Move from the top node to the sample extension" ) - BrowsePackages.select( EXTENSION_NAME ) - - '///+
  • Test some control states for leaf1.oxt node
  • - printlog( "Verify control states" ) - '///
      - '///+
    • Add... (enabled)
    • - if ( not Add.isEnabled() ) then - warnlog( "Add button should be enabled" ) - endif - - '///+
    • Remove (enabled)
    • - if ( not Remove.isEnabled() ) then - warnlog( "Remove button should be enabled" ) - endif - - '///+
    • Enable (hidden)
    • - if ( Enable.exists() ) then - warnlog( "Enable button should be hidden" ) - endif - - '///+
    • Disable (enabled)
    • - if ( not Disable.isEnabled() ) then - warnlog( "Disable button should be enabled" ) - endif - - '///+
    • Updates... (enabled)
    • - if ( not Updates.isEnabled() ) then - warnlog( "Updates button should be enabled" ) - endif - - '///+
    • Options... (enabled)
    • - if ( not Options.isEnabled() ) then - warnlog( "Options button should be enabled" ) - endif - '///
    - - '///+
  • Click on the Options... button
  • - printlog( "Open Options dialog from Extension Manager" ) - kontext "PackageManager" - if ( options.exists() ) then - options.click() - - '///+
  • Verify that the node "leaf1" is at pos 2 (absolute)
  • - printlog( "Verify presence and position of the leaf node" ) - irc = hSelectOptionsItem( OPTIONS_ITEM , ITEM_POS_1 ) - if ( irc > 0 ) then - warnlog( "Test failed" ) - endif - - '///+
  • Close Options dialog (cancel) - printlog( "Cancel Options dialog to get back to the Extension Manager" ) - OptionenDlg.cancel() - - else - warnlog( "Options button does not exist/implemented in CWS jl61" ) - endif - - '///+
  • Close the Extension Manager
  • - kontext "PackageManager" - printlog( "Close the Extension Manager" ) - PackageManager.close() - - '///+
  • Open Tools/Options
  • - printlog( "From the document open Tools/Options" ) - ToolsOptions - - printlog( "Verify presence and position of the leaf node" ) - if ( bAsianLan ) then - irc = hSelectOptionsItem( OPTIONS_ITEM , ITEM_POS_2_ASIAN ) - else - irc = hSelectOptionsItem( OPTIONS_ITEM , ITEM_POS_2 ) - endif - if ( irc > 1 ) then - warnlog( "Node <" & OPTIONS_ITEM & "> was not found in Tools/Options" ) - else - printlog( "Node is present. Good." ) - endif - - Kontext "OptionenDlg" - printlog( "Cancel Tools/Options to get back to the document" ) - OptionenDlg.cancel() - - '///+
  • Cleanup: Remove the sample extension
  • - printlog( "Remove sample extension" ) - hExtensionRemoveGUI( EXTENSION_NAME ) - - '///+
  • Cleanup: Close document
  • - do while ( getDocumentCount > 0 ) - hCloseDocument() - loop - - '///
      -endcase - diff --git a/testautomation/extensions/optional/includes/platforms.inc b/testautomation/extensions/optional/includes/platforms.inc deleted file mode 100644 index 3ba5d4b2bc7f..000000000000 --- a/testautomation/extensions/optional/includes/platforms.inc +++ /dev/null @@ -1,126 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'******************************************************************************* -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Supported extension platforms -'* -'\****************************************************************************** - -testcase tExtensionPlatforms - - printlog( "Verify that only extensions designed for this platform are installed" ) - - dim cBasePath as string - cBasePath = gTesttoolPath & "extensions\optional\input\platform\" - cBasePath = convertpath( cBasePath ) - - dim cConfigFile as string - cConfigFile = cBasePath & "extensions.info" - - dim iExtensionCount as integer - dim iCurrentExtension as integer - - dim cCurrentExtensionName as string - dim cCurrentExtensionPath as string - dim cCurrentExtensionFile as string - dim cCurrentExtensionPlatform as string - dim cInfoArray( 200 ) as string - - dim iStatus as integer - dim bShouldInstall as boolean - - hGetDataFileSection( cConfigFile, cInfoArray(), "general", "", "" ) - iExtensionCount = hGetValueForKeyAsInt( cInfoArray(), "ExtensionCount" ) - - for iCurrentExtension = 1 to iExtensionCount - - hGetDataFileSection( cConfigFile, cInfoArray(), iCurrentExtension, "" , "" ) - cCurrentExtensionFile = hGetValueForKeyAsString( cInfoArray(), "File" ) - cCurrentExtensionName = hGetValueForKeyAsString( cInfoArray(), "Name" ) - cCurrentExtensionPath = cBasePath & cCurrentExtensionFile - cCurrentExtensionPlatform = hGetValueForKeyAsString( cInfoArray(), "Platform" ) - - ' Find out whether the extension should install or not - select case ( cCurrentExtensionPlatform ) - case "all" : bShouldInstall = TRUE - case gtSysName : bShouldInstall = TRUE - case gPlatGroup : bShouldInstall = TRUE - case gPlatform : bShouldInstall = TRUE - case else : bShouldInstall = FALSE - end select - - printlog( "" ) - printlog( "("+iCurrentExtension+"/"+iExtensionCount+") Current extension: " & cCurrentExtensionFile ) - iStatus = hExtensionAddGUI( cCurrentExtensionPath, "InstallForUser, NoLicense, NoUpdate, Verbose" ) - - if ( iStatus = -7 or iStatus >= 0 ) then - - kontext "Active" - if ( Active.exists( 2 ) ) then - select case ( bShouldInstall ) - case TRUE : warnlog( "Extension should install but a warning is displayed" ) - case FALSE : printlog( "Extension is for another platform, it is not installed" ) - end select - Active.ok() - else - select case ( bShouldInstall ) - case TRUE : printlog( "No platform mismatch warning. Good." ) - case FALSE : warnlog( "Platform mismatch warning is missing!" ) - end select - endif - - kontext "PackageManager" - if ( PackageManager.exists( 1 ) ) then PackageManager.close() - - iStatus = hExtensionRemoveGUI( cCurrentExtensionName ) - - select case ( iStatus ) - case 0: ' Extension was removed successfully - select case ( bShouldInstall ) - case TRUE : printlog( "Extension was installed and removed, good" ) - case FALSE : warnlog( "The extension was removed but should not be installed" ) - end select - case 3: ' Extension was not found at removal - select case ( bShouldInstall ) - case TRUE : warnlog( "The extension should have been installed but is missing" ) - case FALSE : printlog( "The extension was not installed. Good" ) - end select - case else : ' Any other returnvalue is bad - warnlog( "Unexpected returnvalue from function: " & iStatus ) - end select - - else - warnlog( "Bad status returned, installation of extension failed" ) - goto endsub - endif - - next iCurrentExtension - -endcase - - diff --git a/testautomation/extensions/optional/includes/publisher.inc b/testautomation/extensions/optional/includes/publisher.inc deleted file mode 100644 index 8df7f96724a9..000000000000 --- a/testautomation/extensions/optional/includes/publisher.inc +++ /dev/null @@ -1,286 +0,0 @@ -'encoding UTF-8 Do not remove or change this line! -'************************************************************************** -' DO NOT ALTER 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 -' -' for a copy of the LGPLv3 License. -' -'/****************************************************************************** -'* -'* owner : gregor.hartmann@oracle.com -'* -'* short description : Extension publisher and release notes -'* -'\****************************************************************************** - -testcase tExtensionPublisher - - printlog( "Extension Manager and Release Notes" ) - - if ( gISOLang <> "en-US" ) then - qaerrorlog( "Test does not handle translated strings, aborting" ) - goto endsub - endif - - ' Specification document - ' http://specs.openoffice.org/appwide/packagemanager/online_update_for_extensions.odt - ' http://specs.openoffice.org/appwide/packagemanager/online_update_for_extensions.odt - - ' This is the path where the test-extensions and the info file are located - dim cBasePath as string - cBasePath = gTesttoolPath & "extensions/optional/input/publisher/" - cBasePath = convertpath( cBasePath ) - - ' Modify this file to add test cases or attributes - dim cInfoFile as string : cinfoFile = cBasePath & "extension.info" - - ' The number of files to test. Information about this is stored in the file - ' specified by cInfoFile - dim iFileCount as integer - dim iCurrentFile as integer - dim iExtensionCount as integer - dim iExitCounter as integer - dim iCurrentExtensionCount as integer : iCurrentExtensionCount = 0 - dim iTry as integer - - ' This is the data we get from the configuration file - dim cCurrentFileName as string - dim cHasReleaseNotes as string - dim cReleaseNotes as string - dim cHasPublisher as string - dim cPublisher as string - - ' This is where we store the configuration data. This array must have more - ' lines than cInfoFile contains. - dim cConfigArray( 60 ) as string - - dim cTestString as string - dim bInstallationComplete as boolean : bInstallationComplete = false - - iExtensionCount = hGetExtensionCount() - - - hGetDataFileSection( cInfoFile, cConfigArray(), "info", "", "" ) - iFileCount = int( hGetValueForKeyAsString( cConfigArray() , "filecount" ) ) - printlog( cInfoFile & " specifies " & iFileCount & " documents to load" ) - - iExtensionCount = iExtensionCount + iFileCount - printlog( "Expected number of extensions after installation: " & iExtensionCount ) - - printlog( "Installing extensions" ) - for iCurrentFile = 1 to iFileCount - - hGetDataFileSection( cInfoFile, cConfigArray(), iCurrentFile, "", "" ) - cCurrentFileName = hGetValueForKeyAsString( cConfigArray() , "file" ) - cCurrentFileName = cBasePath & cCurrentFileName - sExtensionCLI( "add" , cCurrentFileName ) - wait 1000 ' This is required, sExtensionCLI is asynchronous. - - next iCurrentFile - printlog( "Finished installing extensions, now verifying..." ) - - hNewDocument() - ToolsPackageManager - - kontext "PackageManager" - if ( PackageManager.exists( 3 ) ) then - - for iTry = 1 to 30 - - iCurrentExtensionCount = BrowsePackages.getItemCount() - - if ( iCurrentExtensionCount = iExtensionCount ) then - printlog( "All extensions have been installed, good." ) - bInstallationComplete = true - exit for - endif - - printlog( "Waiting for listbox: Number of extensions: " & iCurrentExtensionCount ) - wait( 1000 ) ' Required, the list takes considerable time to fill. - - next iTry - - ' If one or more extensions have not been added to the list we better abort the - ' test as the remaining parts need all extensions to be installed causing - ' lots of cryptig errors to appear in the log. - if ( not bInstallationComplete ) then - warnlog( "Not all extensions have been installed. Aborting test." ) - kontext "PackageManager" - if ( PackageManager.exists() ) then - PackageManager.cancel() - PackageManager.notExists( 2 ) - endif - goto endsub - endif - else - warnlog( "The Extension Manager did not open, Aborting test" ) - goto endsub - endif - - - kontext "PackageManager" - printlog( "Going for the update-dialog" ) - if ( Updates.isEnabled() ) then - - printlog( "Updates-button is enabled" ) - Updates.click() - - kontext "ExtensionUpdate" - if ( ExtensionUpdate.exists( 2 ) ) then - - iExitCounter = 0 - do while ( AvailableUpdatesList.getItemCount() < iFileCount ) - printlog( "Waiting for Updates List to populate..." ) - wait( 1000 ) - iExitCounter = iExitCounter + 1 - if ( iExitCounter = 200 ) then - warnlog( "Update list for extensions is stalled (expected: 7), " & _ - "found: " & AvailableUpdatesList.getItemCount() ) - kontext "ExtensionUpdate" - ExtensionUpdate.close() - ExtensionUpdate.notExists( 2 ) - kontext "PackageManager" - PackageManager.cancel() - PackageManager.notExists( 2 ) - goto endsub - endif - loop - - if ( ShowAllUpdates.exists() ) then - if ( ShowAllUpdates.isEnabled() ) then - warnlog( """Show all updates"" should be disabled" ) - else - printlog( """Show all updates"" is disabled, good" ) - endif - else - qaerrorlog( """Show all updates"" checkbox could not be accessed" ) - endif - - if ( AvailableUpdatesList.isEnabled() ) then - - printlog( "Available updates list populated in " & iExitCounter & " seconds" ) - - if ( iExitCounter < 20 ) then - - for iCurrentFile = 1 to iFileCount - - hGetDataFileSection( cInfoFile, cConfigArray(), iCurrentFile, "", "" ) - cCurrentFileName = hGetValueForKeyAsString( cConfigArray() , "display_name" ) - - cHasReleaseNotes = hGetValueForKeyAsString( cConfigArray() , "has_release_notes" ) - cReleaseNotes = hGetValueForKeyAsString( cConfigArray() , "release_notes" ) - - cHasPublisher = hGetValueForKeyAsString( cConfigArray() , "has_publisher" ) - cPublisher = hGetValueForKeyAsString( cConfigArray() , "publisher" ) - - AvailableUpdatesList.select( iCurrentFile ) - - if ( AvailableUpdatesList.getText() = cCurrentFileName ) then - printlog( "Testing extension: " & cCurrentFileName ) - - if ( lcase( cHasReleaseNotes ) = "yes" ) then - if ( ReleaseNotesText.isVisible() ) then - printlog( " - Release notes text is visible. Good." ) - qaerrorlog( "#i84700# cannot read static text on extension update dialog" ) - 'cTestString = ReleaseNotesText.getSelText() - 'if ( cTestString = cReleaseNotes ) then - ' printlog( " - Release notes text is ok." ) - 'else - ' warnlog( "Incorrect release notes text" ) - ' printlog( "Expected: " & cReleaseNotes ) - ' printlog( "Found...: " & ctestString ) - 'endif - else - warnlog( "Release notes text is not visible" ) - endif - else - if ( ReleaseNotesText.isVisible() ) then - warnlog( "Release notes should not be visible" ) - else - printlog( " - No release notes for this extension." ) - endif - endif - - if ( lcase( cHasPublisher ) = "yes" ) then - if ( UpdatePublisherText.isVisible() ) then - printlog( " - Publisher text is visible. Good." ) - qaerrorlog( "#i84700# cannot read static text" ) - 'cTestString = UpdatePublisherText.getText() - 'if ( cTestString = cPublisher ) then - ' printlog( " - Release notes text is ok." ) - 'else - ' warnlog( "Incorrect release notes text" ) - ' printlog( "Expected: " & cPublisher ) - ' printlog( "Found...: " & ctestString ) - 'endif - else - warnlog( "Publisher text is not visible." ) - endif - else - if ( UpdatePublisherText.isVisible() ) then - warnlog( "Publisher should not be visible." ) - else - printlog( " - No Publisher for this extension." ) - endif - endif - - else - printlog( "The extension is not at the expected position" ) - printlog( "Expected: " & cCurrentFileName ) - printlog( "Found...: " & AvailableUpdatesList.getText() ) - exit for - endif - - next iCurrentFile - else - warnlog( "Updates list not fully populated in 15 seconds -> fail" ) - endif - else - warnlog( "No extensions available for update. Installation failed?" ) - endif - - kontext "ExtensionUpdate" - ExtensionUpdate.close() - ExtensionUpdate.notExists( 2 ) - else - warnlog( "Extension Update dialog is not open" ) - endif - - else - warnlog( "Update-button on extension manager ui is disabled" ) - endif - - kontext "PackageManager" - PackageManager.close() - PackageManager.notExists( 2 ) - - printlog( "Removing extensions" ) - for iCurrentFile = 1 to iFileCount - hGetDataFileSection( cInfoFile, cConfigArray(), iCurrentFile, "", "" ) - cCurrentFileName = hGetValueForKeyAsString( cConfigArray() , "file" ) - sExtensionCLI( "remove" , cCurrentFileName ) - next iCurrentFile - printlog( "Finished removing extensions" ) - - hFileCloseAll() - -endcase - diff --git a/testautomation/extensions/optional/input/dependencies/broken-dependency.oxt b/testautomation/extensions/optional/input/dependencies/broken-dependency.oxt deleted file mode 100644 index 11bab0a95092..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/broken-dependency.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/double-dependencies.oxt b/testautomation/extensions/optional/input/dependencies/double-dependencies.oxt deleted file mode 100644 index 055c27ea53ba..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/double-dependencies.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/empty-dependencies.oxt b/testautomation/extensions/optional/input/dependencies/empty-dependencies.oxt deleted file mode 100644 index ebb18dcbf51b..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/empty-dependencies.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/funny-dependency.oxt b/testautomation/extensions/optional/input/dependencies/funny-dependency.oxt deleted file mode 100644 index 9b683e6d1e4b..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/funny-dependency.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/license-dependency.oxt b/testautomation/extensions/optional/input/dependencies/license-dependency.oxt deleted file mode 100644 index b01da4b5ca8a..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/license-dependency.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/many-dependencies.oxt b/testautomation/extensions/optional/input/dependencies/many-dependencies.oxt deleted file mode 100644 index 367568143778..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/many-dependencies.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/no-dependencies.oxt b/testautomation/extensions/optional/input/dependencies/no-dependencies.oxt deleted file mode 100644 index 6487eb66ae14..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/no-dependencies.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/no-description.oxt b/testautomation/extensions/optional/input/dependencies/no-description.oxt deleted file mode 100644 index 1e6579cd7dd4..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/no-description.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/unknown-dependency.oxt b/testautomation/extensions/optional/input/dependencies/unknown-dependency.oxt deleted file mode 100644 index 7c2a22c6d5da..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/unknown-dependency.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version10000.oxt b/testautomation/extensions/optional/input/dependencies/version10000.oxt deleted file mode 100644 index c15b7a117c8c..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version10000.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version21.oxt b/testautomation/extensions/optional/input/dependencies/version21.oxt deleted file mode 100644 index 922b2795555c..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version21.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version21ns.oxt b/testautomation/extensions/optional/input/dependencies/version21ns.oxt deleted file mode 100644 index 5efb2ed90220..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version21ns.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version21other.oxt b/testautomation/extensions/optional/input/dependencies/version21other.oxt deleted file mode 100644 index d88a8155af65..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version21other.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version25.oxt b/testautomation/extensions/optional/input/dependencies/version25.oxt deleted file mode 100644 index 07c71c3e5983..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version25.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version30.oxt b/testautomation/extensions/optional/input/dependencies/version30.oxt deleted file mode 100644 index 59b8dc545973..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version30.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version300.oxt b/testautomation/extensions/optional/input/dependencies/version300.oxt deleted file mode 100644 index 39840d84eeb1..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version300.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version301.oxt b/testautomation/extensions/optional/input/dependencies/version301.oxt deleted file mode 100644 index 6dfa188dddf0..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version301.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version31.oxt b/testautomation/extensions/optional/input/dependencies/version31.oxt deleted file mode 100644 index 843cb02f10ec..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version31.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version310.oxt b/testautomation/extensions/optional/input/dependencies/version310.oxt deleted file mode 100644 index 40b66db99b65..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version310.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version33.oxt b/testautomation/extensions/optional/input/dependencies/version33.oxt deleted file mode 100644 index 11525f5be3bd..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version33.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version330.oxt b/testautomation/extensions/optional/input/dependencies/version330.oxt deleted file mode 100644 index abc13cdc07a2..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version330.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version34.oxt b/testautomation/extensions/optional/input/dependencies/version34.oxt deleted file mode 100644 index 772645635446..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version34.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/version937.oxt b/testautomation/extensions/optional/input/dependencies/version937.oxt deleted file mode 100644 index 11dda16cb48c..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/version937.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/versionempty.oxt b/testautomation/extensions/optional/input/dependencies/versionempty.oxt deleted file mode 100644 index a06bb01294f4..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/versionempty.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/dependencies/versionnone.oxt b/testautomation/extensions/optional/input/dependencies/versionnone.oxt deleted file mode 100644 index ace2a11651ff..000000000000 Binary files a/testautomation/extensions/optional/input/dependencies/versionnone.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/name1.oxt b/testautomation/extensions/optional/input/display_name/name1.oxt deleted file mode 100644 index 5a53690d6935..000000000000 Binary files a/testautomation/extensions/optional/input/display_name/name1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/name2.oxt b/testautomation/extensions/optional/input/display_name/name2.oxt deleted file mode 100644 index f6cbcae3bcbd..000000000000 Binary files a/testautomation/extensions/optional/input/display_name/name2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/name3.oxt b/testautomation/extensions/optional/input/display_name/name3.oxt deleted file mode 100644 index 8df750ce62a5..000000000000 Binary files a/testautomation/extensions/optional/input/display_name/name3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/name4.oxt b/testautomation/extensions/optional/input/display_name/name4.oxt deleted file mode 100644 index 6ce4822e3701..000000000000 Binary files a/testautomation/extensions/optional/input/display_name/name4.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/name5.oxt b/testautomation/extensions/optional/input/display_name/name5.oxt deleted file mode 100644 index 56973be7817b..000000000000 Binary files a/testautomation/extensions/optional/input/display_name/name5.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/display_name/readme.txt b/testautomation/extensions/optional/input/display_name/readme.txt deleted file mode 100755 index 23173bde63dd..000000000000 --- a/testautomation/extensions/optional/input/display_name/readme.txt +++ /dev/null @@ -1,26 +0,0 @@ -The folder contains extensions which use in the description.xml the following: --The element -The element contains localized child elements. - -To test the display name in the update dialog use the extensions in -desktop/test/deployment/update/simple - - -The following table shows what localized item is used, when the Office the locale -en-US uses. - - -Localization: - -Installed office: en-US - | publisher | release notes -============================================= -name1.oxt | en-US | en-US ---------------------------------------------- -name2.oxt | en-US-region1 | en-US-region1 ---------------------------------------------- -name3.oxt | en | en ---------------------------------------------- -name4.oxt | en-GB | en-GB ---------------------------------------------- -name5.oxt | de | de diff --git a/testautomation/extensions/optional/input/errors/i77436-README.txt b/testautomation/extensions/optional/input/errors/i77436-README.txt deleted file mode 100755 index d98910a35192..000000000000 --- a/testautomation/extensions/optional/input/errors/i77436-README.txt +++ /dev/null @@ -1,21 +0,0 @@ -This macro is used to verify the correct handling of the extension. -Install the extension, copy the code to the basic-ide, run it. You should get two messageboxes listing some interfaces. -This macro only works in conjunction with the sample extension in this directory. -Note that the testtool uses the same macro from framework/tools/input/macros.txt otherwise we would have to implement yet -another way of entering macros to the IDE. - - - - -' The sample macro -Sub Main -'test service -o= createUnoService("TestNamesComp") -msgbox o.dbg_supportedInterfaces - -'test singleton -ctx = getDefaultContext -factory = ctx.getValueByName("org.openoffice.test.Names") -msgbox o.dbg_supportedInterfaces - -End Sub diff --git a/testautomation/extensions/optional/input/errors/i77436-extension.oxt b/testautomation/extensions/optional/input/errors/i77436-extension.oxt deleted file mode 100644 index 449014826a64..000000000000 Binary files a/testautomation/extensions/optional/input/errors/i77436-extension.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/errors/lowercasemetainf.oxt b/testautomation/extensions/optional/input/errors/lowercasemetainf.oxt deleted file mode 100644 index 117f27b3dc5f..000000000000 Binary files a/testautomation/extensions/optional/input/errors/lowercasemetainf.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/eventbinding/DialogComponent.odt b/testautomation/extensions/optional/input/eventbinding/DialogComponent.odt deleted file mode 100644 index 93909c631efa..000000000000 Binary files a/testautomation/extensions/optional/input/eventbinding/DialogComponent.odt and /dev/null differ diff --git a/testautomation/extensions/optional/input/eventbinding/DialogComponent.oxt b/testautomation/extensions/optional/input/eventbinding/DialogComponent.oxt deleted file mode 100644 index 04d8878c6f45..000000000000 Binary files a/testautomation/extensions/optional/input/eventbinding/DialogComponent.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/extensible_help/extensible_help_en.oxt b/testautomation/extensions/optional/input/extensible_help/extensible_help_en.oxt deleted file mode 100644 index c113d59b6187..000000000000 Binary files a/testautomation/extensions/optional/input/extensible_help/extensible_help_en.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/extensible_help/extensible_help_en_de.oxt b/testautomation/extensions/optional/input/extensible_help/extensible_help_en_de.oxt deleted file mode 100644 index 73d43c2bce6c..000000000000 Binary files a/testautomation/extensions/optional/input/extensible_help/extensible_help_en_de.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/extensible_help/extension.info b/testautomation/extensions/optional/input/extensible_help/extension.info deleted file mode 100755 index a88f6967d070..000000000000 --- a/testautomation/extensions/optional/input/extensible_help/extension.info +++ /dev/null @@ -1,59 +0,0 @@ -# This file configures the tExtensionHelp test case found in the files -# extension_help.bas and extension_help.inc. -# It contains information about the extensions and the entries they create -# within the help application -# If you want to add more test files, just increase the "count=" entry and add -# another section to the end of this file. - -# Note that - beginning with CWS jl76 we can have a display name for extensions -# defined in the extension itself to be shown in the extension manager -# The item "name=" was introduced to cope with this. Usually "file=" and "name=" -# are identical - -# The entries to search for in the help index are separated in three parts: -# 1) the help index string (hindex) to be found in the index -# 2) How many items to move down in the index to get the requested subpage -# 3) the header of the content page (header) -# both appended with an underscore and a unique, increasing number. - -[files] -count=1 - -[1] -file=extensible_help_en.oxt -name=extensible_help_en.oxt -items=6 - -hindex_1=ab38 test: All pages -h_move_1=0 -header_1=Extension foo page1 - -hindex_2=ab38 test: All pages -h_move_2=1 -header_2=Extension foo page1 - -hindex_3=ab38 test: All pages -h_move_3=2 -header_3=Extension foo page2 - -hindex_4=subfolder/anotherpage -h_move_4=0 -header_4=Extension foo page2 - -hindex_5=ab38 test: Single level entry page1 -h_move_5=0 -header_5=Extension foo page1 - -hindex_6=ab38 test: Single level entry page1 for swriter and sdraw only -h_move_6=0 -header_6=Extension foo page1 - - -[2] -# This file is currently unconfigured. -file=extensible_help_en_de.oxt -name=extensible_help_en_de.oxt -hindex_1= - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/build.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/build.xml deleted file mode 100755 index 4428a95f551b..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/build.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - Builds, tests, and runs the project extension project. - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-impl.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-impl.xml deleted file mode 100755 index f01ad79df06e..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-impl.xml +++ /dev/null @@ -1,794 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set src.dir - Must set build.dir - Must set dist.dir - Must set build.classes.dir - Must set dist.javadoc.dir - Must set build.test.classes.dir - Must set build.test.results.dir - Must set build.classes.excludes - Must set dist.jar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - - - - - - java -cp "${run.classpath.with.dist.jar}" ${main.class} - - - - - - - - - - - - - - - - - - - - - - - To run this application from the command line without Ant, try: - - java -jar "${dist.jar.resolved}" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set run.class - - - - Must select one file in the IDE or set run.class - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set debug.class - - - - - Must select one file in the IDE or set debug.class - - - - - Must set fix.includes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select some files in the IDE or set javac.includes - - - - - - - - - - - - - - - - - - Some tests failed; see details above. - - - - - - - - - Must select some files in the IDE or set test.includes - - - - Some tests failed; see details above. - - - - - Must select one file in the IDE or set test.class - - - - - - - - - - - - - - - - - - - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - Must select one file in the IDE or set applet.url - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml deleted file mode 100755 index 25b3f25f86c7..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/build-uno-impl.xml +++ /dev/null @@ -1,462 +0,0 @@ - - - - Builds, tests, and runs an UNO project. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      - -
      -
      -
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This target can only run inside the NetBeans IDE. - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/genfiles.properties b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/genfiles.properties deleted file mode 100644 index 2f144fe1f264..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/genfiles.properties +++ /dev/null @@ -1,9 +0,0 @@ -# x-no-translate -build.xml.data.CRC32=2b754fcd -build.xml.script.CRC32=0a20deac -build.xml.stylesheet.CRC32=d5b6853a -# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. -# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. -nbproject/build-impl.xml.data.CRC32=54a58ff4 -nbproject/build-impl.xml.script.CRC32=25927849 -nbproject/build-impl.xml.stylesheet.CRC32=576378a2@1.32.1.45 diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/config.properties b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/config.properties deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/private.properties b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/private.properties deleted file mode 100644 index 1b26762e782d..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/private/private.properties +++ /dev/null @@ -1,7 +0,0 @@ -# x-no-translate -compile.on.save=false -do.depend=false -do.jar=true -javac.debug=true -javadoc.preview=true -user.properties.file=/localuser/qamsc/.netbeans/6.8/build.properties diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project-uno.properties b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project-uno.properties deleted file mode 100644 index 8abadd201d42..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project-uno.properties +++ /dev/null @@ -1,19 +0,0 @@ -# x-no-translate -uno.project.type=office.component.project -project.name=TaskPaneComponent -registration.classname=com.example.TaskPaneComponent -external.jar.dir=lib -idl_types.jar=TaskPaneComponent_IDL_types.jar -central.registration.class=com.example.CentralRegistrationClass -# extensions for files that go into the .oxt package; some are also referenced in the manifest -manifest.package.extensions=**/*.xcu,**/*.xcs,**/*.xdl,**/*.xlb,**/*.xba,**/*.properties,**/*.default -imgae.extensions=**/*.png,**/*.jpg,**/*.jpeg,**/*.gif -help.content.extensions=**/*.xhp,**/*.tree,${image.extensions} -dialog.content.extensions=**/*.xdl,**/*.properties,**/*.default,${image.extensions} -office.startup.options= -images.dir=images -registry.dir=registry -help.dir=help -dialogs.dir=dialogs -licenses.dir=licenses -description.dir=description diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.properties b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.properties deleted file mode 100644 index 7ca12dec0468..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.properties +++ /dev/null @@ -1,68 +0,0 @@ -# x-no-translate -application.args= -application.title=TaskPaneComponent -application.vendor=qamsc -build.classes.dir=${build.dir}/classes -build.classes.excludes=**/*.java,**/*.form,**/*.xcu,**/*.xcs,**/*.idl,**/*manifest.xml -# This directory is removed when the project is cleaned: -build.dir=build -build.generated.dir=${build.dir}/generated -build.generated.sources.dir=${build.dir}/generated-sources -# Only compile against the classpath explicitly listed here: -build.sysclasspath=ignore -build.test.classes.dir=${build.dir}/test/classes -build.test.results.dir=${build.dir}/test/results -debug.classpath=\ - ${run.classpath} -debug.test.classpath=\ - ${run.test.classpath} -# This directory is removed when the project is cleaned: -dist.dir=dist -dist.jar=${dist.dir}/TaskPaneComponent.jar -dist.javadoc.dir=${dist.dir}/javadoc -endorsed.classpath= -excludes= -file.reference.juh.jar=../../office/slidecopy/openoffice.org/ure/share/java/juh.jar -file.reference.jurt.jar=../../office/slidecopy/openoffice.org/ure/share/java/jurt.jar -file.reference.ridl.jar=../../office/slidecopy/openoffice.org/ure/share/java/ridl.jar -file.reference.unoil.jar=../../office/slidecopy/openoffice.org/basis3.3/program/classes/unoil.jar -includes=** -jar.compress=false -javac.classpath=\ - ${file.reference.unoil.jar}:\ - ${file.reference.juh.jar}:\ - ${file.reference.jurt.jar}:\ - ${file.reference.ridl.jar} -# Space-separated list of extra javac options -javac.compilerargs= -javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -javac.test.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir}:\ - ${libs.junit.classpath} -javadoc.additionalparam= -javadoc.author=false -javadoc.encoding= -javadoc.noindex=false -javadoc.nonavbar=false -javadoc.notree=false -javadoc.private=false -javadoc.splitindex=true -javadoc.use=true -javadoc.version=false -javadoc.windowtitle= -meta.inf.dir=${src.dir}/META-INF -platform.active=default_platform -run.classpath=\ - ${javac.classpath}:\ - ${build.classes.dir} -# Space-separated list of JVM arguments used when running the project -# (you may also define separate properties like run-sys-prop.name=value instead of -Dname=value -# or test-sys-prop.name=value to set system properties for unit tests): -run.jvmargs= -run.test.classpath=\ - ${javac.test.classpath}:\ - ${build.test.classes.dir} -src.dir=src diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.xml deleted file mode 100755 index 43c253f3c7e5..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/nbproject/project.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - org.netbeans.modules.java.j2seproject - - - TaskPaneComponent - 1.6.5 - - - - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu deleted file mode 100644 index 367281d0deaf..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/CalcWindowState.xcu +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - ein Panel - - - true - - - - - noch ein Panel - - - true - - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/Factories.xcu b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/Factories.xcu deleted file mode 100644 index 90dce8595a1b..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/registry/data/org/openoffice/Office/UI/Factories.xcu +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - toolpanel - - - com.example.TestPanel1 - - - - - - com.example.TaskPaneComponent - - - - - toolpanel - - - com.example.TestPanel2 - - - - - - com.example.TaskPaneComponent - - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/CentralRegistrationClass.java b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/CentralRegistrationClass.java deleted file mode 100755 index 5276f584aa3e..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/CentralRegistrationClass.java +++ /dev/null @@ -1,140 +0,0 @@ -/************************************************************************* - * DO NOT ALTER 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 - * - * for a copy of the LGPLv3 License. - * - ************************************************************************/ -package com.example; - -import com.sun.star.lang.XSingleComponentFactory; -import com.sun.star.registry.XRegistryKey; -import java.io.IOException; -import java.lang.reflect.Method; -import java.net.JarURLConnection; -import java.net.URL; -import java.util.Enumeration; -import java.util.StringTokenizer; -import java.util.jar.Attributes; -import java.util.jar.Manifest; - -/** - * - * @author Marc Neumann - */ -public class CentralRegistrationClass -{ - - public static XSingleComponentFactory __getComponentFactory(String sImplementationName) - { - String regClassesList = getRegistrationClasses(); - StringTokenizer t = new StringTokenizer(regClassesList, " "); - while (t.hasMoreTokens()) - { - String className = t.nextToken(); - if (className != null && className.length() != 0) - { - try - { - Class regClass = Class.forName(className); - Method writeRegInfo = regClass.getDeclaredMethod("__getComponentFactory", new Class[] - { - String.class - }); - Object result = writeRegInfo.invoke(regClass, sImplementationName); - if (result != null) - { - return (XSingleComponentFactory) result; - } - } - catch (Exception ex) - { - ex.printStackTrace(); - } - } - } - return null; - } - - public static boolean __writeRegistryServiceInfo(XRegistryKey xRegistryKey) - { - boolean bResult = true; - String regClassesList = getRegistrationClasses(); - StringTokenizer t = new StringTokenizer(regClassesList, " "); - while (t.hasMoreTokens()) - { - String className = t.nextToken(); - if (className != null && className.length() != 0) - { - try - { - Class regClass = Class.forName(className); - Method writeRegInfo = regClass.getDeclaredMethod("__writeRegistryServiceInfo", new Class[] - { - XRegistryKey.class - }); - Object result = writeRegInfo.invoke(regClass, xRegistryKey); - bResult &= ((Boolean) result).booleanValue(); - } - catch (Exception ex) - { - ex.printStackTrace(); - } - } - } - return bResult; - } - - private static String getRegistrationClasses() - { - CentralRegistrationClass c = new CentralRegistrationClass(); - String name = c.getClass().getCanonicalName().replace('.', '/').concat(".class"); - try - { - Enumeration urlEnum = c.getClass().getClassLoader().getResources("META-INF/MANIFEST.MF"); - while (urlEnum.hasMoreElements()) - { - URL url = urlEnum.nextElement(); - String file = url.getFile(); - JarURLConnection jarConnection = (JarURLConnection) url.openConnection(); - Manifest mf = jarConnection.getManifest(); - - Attributes attrs = (Attributes) mf.getAttributes(name); - if (attrs != null) - { - String classes = attrs.getValue("RegistrationClasses"); - return classes; - } - } - } - catch (IOException ex) - { - ex.printStackTrace(); - } - - return ""; - } - - /** Creates a new instance of CentralRegistrationClass */ - private CentralRegistrationClass() - { - } -} diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/TaskPaneComponent.java b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/TaskPaneComponent.java deleted file mode 100755 index 0c5fdb782fad..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/TaskPaneComponent.java +++ /dev/null @@ -1,116 +0,0 @@ -/************************************************************************* - * DO NOT ALTER 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 - * - * for a copy of the LGPLv3 License. - * - ************************************************************************/ -package com.example; - -import com.sun.star.awt.XWindow; -import com.sun.star.frame.XFrame; -import com.sun.star.uno.XComponentContext; -import com.sun.star.lib.uno.helper.Factory; -import com.sun.star.lang.XSingleComponentFactory; -import com.sun.star.registry.XRegistryKey; -import com.sun.star.lib.uno.helper.WeakBase; -import com.sun.star.uno.UnoRuntime; - -public final class TaskPaneComponent extends WeakBase - implements com.sun.star.ui.XUIElementFactory, - com.sun.star.lang.XServiceInfo -{ - - private final XComponentContext m_xContext; - private static final String m_implementationName = TaskPaneComponent.class.getName(); - private static final String[] m_serviceNames = - { - "com.sun.star.ui.UIElementFactory" - }; - - public TaskPaneComponent(XComponentContext context) - { - m_xContext = context; - } - - public static XSingleComponentFactory __getComponentFactory(String sImplementationName) - { - XSingleComponentFactory xFactory = null; - - if (sImplementationName.equals(m_implementationName)) - { - xFactory = Factory.createComponentFactory(TaskPaneComponent.class, m_serviceNames); - } - return xFactory; - } - - public static boolean __writeRegistryServiceInfo(XRegistryKey xRegistryKey) - { - return Factory.writeRegistryServiceInfo(m_implementationName, - m_serviceNames, - xRegistryKey); - } - - public com.sun.star.ui.XUIElement createUIElement(String ResourceURL, com.sun.star.beans.PropertyValue[] creationArgs) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.IllegalArgumentException - { - - XFrame docFrame = null; - XWindow panelParentWindow = null; - for (int i = 0; i < creationArgs.length; ++i) - { - if (creationArgs[i].Name.equals("Frame")) - { - docFrame = UnoRuntime.queryInterface(XFrame.class, creationArgs[i].Value); - } else if (creationArgs[i].Name.equals("ParentWindow")) - { - panelParentWindow = UnoRuntime.queryInterface(XWindow.class, creationArgs[i].Value); - } - } - - return new ToolPanelUIElement(m_xContext, docFrame, panelParentWindow); - - } - - // com.sun.star.lang.XServiceInfo: - public String getImplementationName() - { - return m_implementationName; - } - - public boolean supportsService(String sService) - { - int len = m_serviceNames.length; - - for (int i = 0; i < len; i++) - { - if (sService.equals(m_serviceNames[i])) - { - return true; - } - } - return false; - } - - public String[] getSupportedServiceNames() - { - return m_serviceNames; - } -} diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanel.java b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanel.java deleted file mode 100755 index fcebd804ec1f..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanel.java +++ /dev/null @@ -1,56 +0,0 @@ -/************************************************************************* - * DO NOT ALTER 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 - * - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.example; - -import com.sun.star.accessibility.XAccessible; -import com.sun.star.awt.XWindow; -import com.sun.star.ui.XToolPanel; -import com.sun.star.uno.UnoRuntime; - -/** - * - * @author frank.schoenheit@oracle.com - */ -public class ToolPanel implements XToolPanel -{ - ToolPanel( final XWindow i_panelWindow ) - { - m_panelWindow = i_panelWindow; - } - - public XWindow getWindow() - { - return m_panelWindow; - } - - public XAccessible createAccessible( XAccessible i_parentAccessible ) - { - return UnoRuntime.queryInterface( XAccessible.class, m_panelWindow ); - } - - private XWindow m_panelWindow; -} diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanelUIElement.java b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanelUIElement.java deleted file mode 100755 index 599850e00ef1..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/com/example/ToolPanelUIElement.java +++ /dev/null @@ -1,153 +0,0 @@ -/************************************************************************* - * DO NOT ALTER 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 - * - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -package com.example; - -import com.sun.star.awt.XContainerWindowProvider; -import com.sun.star.awt.XWindow; -import com.sun.star.awt.XWindowPeer; -import com.sun.star.deployment.PackageInformationProvider; -import com.sun.star.deployment.XPackageInformationProvider; -import com.sun.star.frame.XFrame; -import com.sun.star.lang.DisposedException; -import com.sun.star.lang.XComponent; -import com.sun.star.lib.uno.helper.ComponentBase; -import com.sun.star.ui.UIElementType; -import com.sun.star.ui.XUIElement; -import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.XComponentContext; -import java.util.logging.Level; -import java.util.logging.Logger; - -/** - * - * @author frank.schoenheit@oracle.com - */ -public class ToolPanelUIElement extends ComponentBase implements XUIElement -{ - - protected final XFrame m_docFrame; - protected final XWindow m_parentWindow; - private XWindow m_panelRootWindow = null; - private Object m_toolPanel = null; - XComponentContext context = null; - - - protected ToolPanelUIElement( XComponentContext _context, final XFrame i_docFrame, final XWindow i_parentWindow ) - { - context = _context; - m_docFrame = i_docFrame; - m_parentWindow = i_parentWindow; - } - - public static String getResourceURLBase() - { - return "private:resource/toolpanel/com.example.TaskPaneComponent/"; - } - - // XUIElement overridables - public XFrame getFrame() { return m_docFrame; } - public short getType() { return UIElementType.TOOLPANEL; } - public String getResourceURL() { return getResourceURLBase() + getPanelResourceURLSuffix(); } - - public Object getRealInterface() - { - synchronized( this ) - { - if ( this.bDisposed || this.bInDispose ) - throw new DisposedException( new String(), this ); - - if ( m_toolPanel == null ) - m_toolPanel = new ToolPanel( getOrCreatePanelRootWindow() ); - } - return m_toolPanel; - } - - // own overridables - /** returns the name of the dialog description file of the tool panel, without .xdl suffix - */ - protected String getPanelResourceLocation() - { - return "TaskPaneComponentUI"; - - } - - /** returns the resource URL suffix to use for the tool panel - * @return - */ - protected String getPanelResourceURLSuffix() - { - return "TaskPaneComponentUI"; - } - - - // ComponentBase overridables - protected void postDisposing() - { - super.postDisposing(); - synchronized ( this ) - { - if ( m_panelRootWindow != null ) - { - XComponent panelWindowComp = UnoRuntime.queryInterface( XComponent.class, m_panelRootWindow ); - panelWindowComp.dispose(); - m_panelRootWindow = null; - - } - m_toolPanel = null; - } - } - - // helpers - synchronized private XWindow getOrCreatePanelRootWindow() - { - try - { - XPackageInformationProvider pip = PackageInformationProvider.get(context); - String s = pip.getPackageLocation("com.example.TaskPaneComponent"); - - String dialogUrl = s + "/toolpanels/" + getPanelResourceLocation() + ".xdl"; - - XContainerWindowProvider provider = UnoRuntime.queryInterface( - XContainerWindowProvider.class, - context.getServiceManager().createInstanceWithContext("com.sun.star.awt.ContainerWindowProvider",context) - ); - - m_panelRootWindow = provider.createContainerWindow( - dialogUrl, - "", - UnoRuntime.queryInterface( XWindowPeer.class, m_parentWindow ), - null - ); - - } - catch ( final Exception e ) - { - Logger.getLogger( ToolPanelUIElement.class.getName() ).log( Level.SEVERE, null, e ); - } - return m_panelRootWindow; - } -} diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/description.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/description.xml deleted file mode 100755 index 9e32a6e8bfed..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/description.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/toolpanels/TaskPaneComponentUI.xdl b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/toolpanels/TaskPaneComponentUI.xdl deleted file mode 100755 index 75e1ceb1e019..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/toolpanels/TaskPaneComponentUI.xdl +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/uno-extension-manifest.xml b/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/uno-extension-manifest.xml deleted file mode 100755 index d49fe3d726ee..000000000000 --- a/testautomation/extensions/optional/input/extension_sources/TaskPaneComponent/src/uno-extension-manifest.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/testautomation/extensions/optional/input/extensions/TaskPaneComponent/TaskPaneComponent.oxt b/testautomation/extensions/optional/input/extensions/TaskPaneComponent/TaskPaneComponent.oxt deleted file mode 100644 index 5c826dd3541d..000000000000 Binary files a/testautomation/extensions/optional/input/extensions/TaskPaneComponent/TaskPaneComponent.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/files.txt b/testautomation/extensions/optional/input/files.txt deleted file mode 100755 index 369cb99b74d2..000000000000 --- a/testautomation/extensions/optional/input/files.txt +++ /dev/null @@ -1,50 +0,0 @@ -simpleLicense\BadDesc.oxt;0,0,0,1,0 -simpleLicense\BadNamespace.oxt;0,0,0,1,0 -simpleLicense\BadRoot.oxt;0,0,0,1,0 -simpleLicense\IncompAttr1.oxt;0,1,1,0,0 -simpleLicense\IncompAttr2.oxt;0,1,1,0,0 -simpleLicense\LongLic.oxt;0,2,1,0,0 -simpleLicense\MissingLic.oxt;0,0,0,1,0 -simpleLicense\MissingLicRef.oxt;0,0,0,1,0 -simpleLicense\NoDesc.oxt;0,0,1,0,0 -simpleLicense\NoLangNoDefault.oxt;0,1,1,0,0 -simpleLicense\OnlyDefault.oxt;0,1,1,0,0 -simpleLicense\ShortLicense.oxt;0,1,1,0,0 -simpleLicense\CancelLicense.oxt;0,3,0,0,0 -simpleLicense\ShortLicenseShared.oxt;0,1,1,0,0 -dependencies\broken-dependency.oxt;0,0,0,1,0 -dependencies\double-dependencies.oxt;2,0,0,0,0 -dependencies\empty-dependencies.oxt;0,0,1,0,0 -dependencies\funny-dependency.oxt;1,0,0,0,0 -dependencies\license-dependency.oxt;1,0,0,0,0 -dependencies\many-dependencies.oxt;20,0,0,0,0 -dependencies\no-dependencies.oxt;0,0,1,0,0 -dependencies\no-description.oxt;0,0,1,0,0 -dependencies\unknown-dependency.oxt;1,0,0,0,0 -dependencies\version21.oxt;0,0,1,0,0 -dependencies\version10000.oxt;1,0,0,0,0 -dependencies\version21ns.oxt;0,0,1,0,0 -dependencies\version21other.oxt;1,0,0,0,0 -dependencies\version25.oxt;0,0,1,0,0 -dependencies\version30.oxt;0,0,1,0,0 -dependencies\version300.oxt;0,0,1,0,0 -dependencies\version301.oxt;0,0,1,0,0 -dependencies\version310.oxt;0,0,1,0,0 -dependencies\version330.oxt;0,0,1,0,0 -dependencies\versionempty.oxt;0,0,1,0,0 -dependencies\version31.oxt;0,0,1,0,0 -dependencies\version33.oxt;0,0,1,0,0 -dependencies\version34.oxt;1,0,0,0,0 -dependencies\version937.oxt;1,0,0,0,0 -dependencies\versionnone.oxt;0,0,1,0,0 -versions/plain.oxt;0,0,1,0,0 -versions/plain.oxt;0,0,1,0,1 -versions/version_none/plain.oxt;0,0,1,0,2 -versions/version_1.2.3/plain.oxt;0,0,1,0,2 -versions/version_1.2.3/plain.oxt;0,0,1,0,1 -versions/version_0.0/plain.oxt;0,0,1,0,2 -versions/version_1.2.4.7/plain.oxt;0,0,1,0,2 -versions/version_1.02.4.7.0/plain.oxt;0,0,1,0,1 -versions/version_1.2.3/plain.oxt;0,0,1,0,2 -versions/version_1.2.15.3/plain.oxt;0,0,1,0,2 -issues/111434.oxt;0,1,1,0,0 diff --git a/testautomation/extensions/optional/input/identifier/explicit/identifier.oxt b/testautomation/extensions/optional/input/identifier/explicit/identifier.oxt deleted file mode 100644 index 3851e291c970..000000000000 Binary files a/testautomation/extensions/optional/input/identifier/explicit/identifier.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/identifier/legacy/identifier.oxt b/testautomation/extensions/optional/input/identifier/legacy/identifier.oxt deleted file mode 100644 index df8bb8449241..000000000000 Binary files a/testautomation/extensions/optional/input/identifier/legacy/identifier.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/identifier/readme.txt b/testautomation/extensions/optional/input/identifier/readme.txt deleted file mode 100755 index 3588de21feb4..000000000000 --- a/testautomation/extensions/optional/input/identifier/readme.txt +++ /dev/null @@ -1,16 +0,0 @@ -Extension identifiers - -Extension identifiers have been introduced because of the new filename- -extension (.oxt) might lead to conflicts with older extensions of the same name. -Previously extensions were identified by their filenames only which is -insufficient. Old extensions get an automatic legacy identifier and from now on -an identifier can be explicitly set. - -This directory contains two extensions, one being the legacy and the other one -having the identifier explicitly set. You should be able to install them both -at the same time. - -This feature is tested by framework\basic\f_basic_extension_identifiers.bas. -The spec can be found here: -http://specs.openoffice.org/appwide/packagemanager/extensionidentifiers.odt -The feature was brought in by CWS sb66, the issue is #i69910 diff --git a/testautomation/extensions/optional/input/issues/111434.oxt b/testautomation/extensions/optional/input/issues/111434.oxt deleted file mode 100644 index d88965e803f1..000000000000 Binary files a/testautomation/extensions/optional/input/issues/111434.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/issues/Logging.xcu b/testautomation/extensions/optional/input/issues/Logging.xcu deleted file mode 100644 index 8bf0f34b6f1b..000000000000 --- a/testautomation/extensions/optional/input/issues/Logging.xcu +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - com.sun.star.logging.PlainTextFormatter - - - bw.stv.tvs.logging.UILogHandler - - - 2147483647 - - - - tvs.ui - - - TVS-Logger (bw.stv.tvs.logging.DefaultLogger) - - - - - \ No newline at end of file diff --git a/testautomation/extensions/optional/input/issues/LoggingOptions.xcs b/testautomation/extensions/optional/input/issues/LoggingOptions.xcs deleted file mode 100644 index ca1ee9a4b6cb..000000000000 --- a/testautomation/extensions/optional/input/issues/LoggingOptions.xcs +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - Enthält zusätzliche Optionen für den TVS-UILogHandler - - - - - - - - - - - - diff --git a/testautomation/extensions/optional/input/options/leaf1.oxt b/testautomation/extensions/optional/input/options/leaf1.oxt deleted file mode 100644 index 9c3ff86985b6..000000000000 Binary files a/testautomation/extensions/optional/input/options/leaf1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/leaf2.oxt b/testautomation/extensions/optional/input/options/leaf2.oxt deleted file mode 100644 index b95628900c40..000000000000 Binary files a/testautomation/extensions/optional/input/options/leaf2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/leaves1.oxt b/testautomation/extensions/optional/input/options/leaves1.oxt deleted file mode 100644 index 037389a018b8..000000000000 Binary files a/testautomation/extensions/optional/input/options/leaves1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/leaves2.oxt b/testautomation/extensions/optional/input/options/leaves2.oxt deleted file mode 100644 index 531b38566352..000000000000 Binary files a/testautomation/extensions/optional/input/options/leaves2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/leaves3.oxt b/testautomation/extensions/optional/input/options/leaves3.oxt deleted file mode 100644 index f5bb0f226239..000000000000 Binary files a/testautomation/extensions/optional/input/options/leaves3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/modules1.oxt b/testautomation/extensions/optional/input/options/modules1.oxt deleted file mode 100644 index bae652ffbc39..000000000000 Binary files a/testautomation/extensions/optional/input/options/modules1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/modules2.oxt b/testautomation/extensions/optional/input/options/modules2.oxt deleted file mode 100644 index d6d7956d459c..000000000000 Binary files a/testautomation/extensions/optional/input/options/modules2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/nodes1.oxt b/testautomation/extensions/optional/input/options/nodes1.oxt deleted file mode 100644 index b1dfa18d3efa..000000000000 Binary files a/testautomation/extensions/optional/input/options/nodes1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/nodes2.oxt b/testautomation/extensions/optional/input/options/nodes2.oxt deleted file mode 100644 index a35cfaba9dc8..000000000000 Binary files a/testautomation/extensions/optional/input/options/nodes2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/nodes3.oxt b/testautomation/extensions/optional/input/options/nodes3.oxt deleted file mode 100644 index db0bc49da522..000000000000 Binary files a/testautomation/extensions/optional/input/options/nodes3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/nodes4.oxt b/testautomation/extensions/optional/input/options/nodes4.oxt deleted file mode 100644 index fe0550fdc655..000000000000 Binary files a/testautomation/extensions/optional/input/options/nodes4.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/nodes5.oxt b/testautomation/extensions/optional/input/options/nodes5.oxt deleted file mode 100644 index 893e9ee3e216..000000000000 Binary files a/testautomation/extensions/optional/input/options/nodes5.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/options/readme.txt b/testautomation/extensions/optional/input/options/readme.txt deleted file mode 100755 index da576203972d..000000000000 --- a/testautomation/extensions/optional/input/options/readme.txt +++ /dev/null @@ -1,195 +0,0 @@ -Important: The hander component extensionoptions.jar in the extensions may not -contain exactly the same sources as the one build in the handler directory. To -make sure that debugging works build the handler directory and put the -extensionoptions.jar into the extension. - - - -leaf1.oxt: Defines a leaf under the node WriterNode -================================================================================ - -leaf2.oxt: Defines a leaf under a node that has a name which requires special -"xml encoding". The name is "My Writer's & Settings". The node is not assigned -to a Module and the Node/AllModules property is not true. This is a typical -scenario when a Node had been added to an existing Module and later the Module -was removed. This is a situation which actually should not occur. In this case -DO NOT show the Node in the OOo's options dialog, because it shows only nodes -for a particular module and in this case the Module for the Node is unknown. -In the Extension Manager's -options dialog this Node can be shown because the Module is irrelevant. -See also nodes5.oxt. -================================================================================ - -leaves1.oxt: multiple ordered leaves under available nodes. The leaves Lables are -localized for en-US and de. The following leaves should appear: - -Writer: --leaves1 Writer 1 en-US --leaves1 Writer 2 en-US --leaves1 Writer 3 en-US - -Calc: --leaves1 Calc 3 en-US --leaves1 Calc 3 en-US --leaves1 Calc 3 en-US - -Draw: --leaves1 Draw 3 en-US --leaves1 Draw 3 en-US --leaves1 Draw 3 en-US - -If a german office is used then the strings contain "de" instead of "en-US". -================================================================================ - -leaves2.oxt: Same as leaves1.oxt. Use together with leaves1.oxt to test the -grouping of leaves. -================================================================================ - -leaves3.oxt: Same as leaves1.oxt, but the leaves are not ordered. -================================================================================ - -nodes1.oxt: Defines one node which has AllModules set and which has -no children. Therefore this node should not be displayed. -================================================================================ - -nodes2.oxt: Defines 3 nodes which use AllModules and which form an -ordered group. Every node defines also 3 nodes which have a determined order. - --nodes2 node 1 en-US - -nodes2 node 1 leaf 1 en-US - -nodes2 node 1 leaf 2 en-US - -nodes2 node 1 leaf 3 en-US - --nodes2 node 2 en-US - -nodes2 node 2 leaf 1 en-US - -nodes2 node 2 leaf 2 en-US - -nodes2 node 2 leaf 3 en-US - --nodes2 node 3 en-US - -nodes2 node 3 leaf 1 en-US - -nodes2 node 3 leaf 2 en-US - -nodes2 node 3 leaf 3 en-US - -================================================================================ - -nodes3.oxt: Defines 3 nodes which are placed under different existing Modules. -The nodes and there leaves are ordered. - -Context Writer: -- nodes3 node 1 - nodes3 node 1 leaf 1 en-US - nodes3 node 1 leaf 2 en-US - nodes3 node 1 leaf 3 en-US - -- nodes3 node 2 - nodes3 node 2 leaf 1 en-US - nodes3 node 2 leaf 2 en-US - nodes3 node 2 leaf 3 en-US - -- nodes3 node 3 - nodes3 node 3 leaf 1 en-US - nodes3 node 3 leaf 2 en-US - nodes3 node 3 leaf 3 en-US - -Context Calc: -- nodes3 node 1 - nodes3 node 1 leaf 1 en-US - nodes3 node 1 leaf 2 en-US - nodes3 node 1 leaf 3 en-US - -- nodes3 node 3 - nodes3 node 3 leaf 1 en-US - nodes3 node 3 leaf 2 en-US - nodes3 node 3 leaf 3 en-US - -Context Draw: -- nodes3 node 2 - nodes3 node 2 leaf 1 en-US - nodes3 node 2 leaf 2 en-US - nodes3 node 2 leaf 3 en-US - -================================================================================ - -nodes4.oxt: Same as nodes3.oxt. Use together with nodes3.txt to test the -grouping of nodes. -================================================================================ - -nodes5.oxt: Defines a node which in turn defines 3 leaves. The Node -is not assigned to a Module and the AllModule property is false (which is the -default).This may happen when a node -had been added to an already existing Module and then this Module was removed. For -example, an extension adds a node to the "Writer Module" and the -next office update removes the "Writer Module" (which is rather inconceivable). -Then the node and its leaves MUST NOT be displayed in OOo's options dialog, -because the Module is not known. However, it can be displayed in the -options dialog of the Extension Manager. See also the description for leaf2.oxt. -================================================================================ - -modules1.oxt: Defines two Modules and three Nodes. The Nodes may not -be displayed in OOo's options dialog because there is currently no application -which uses this Module. However the Nodes are displayed in the options dialog -of the Extension Manager. -There are three Nodes defined. The relation ship is this: - --module1 - -node 1 - -leaf 1 - -leaf 2 - -leaf 3 - -node 2 - -leaf 1 - -leaf 2 - -leaf 3 - -node 3 - -leaf 1 - -leaf 2 - -leaf 3 - --module2 - -node1 - -leaf 1 - -leaf 2 - -leaf 3 - -node3 - -leaf 1 - -leaf 2 - -leaf 3 - -The options dialog of the Extension Manager shall display only three nodes: - - -node 1 - -leaf 1 - -leaf 2 - -leaf 3 - -node 2 - -leaf 1 - -leaf 2 - -leaf 3 - -node 3 - -leaf 1 - -leaf 2 - -leaf 3 - -or - - -node 1 - -leaf 1 - -leaf 2 - -leaf 3 - -node 3 - -leaf 1 - -leaf 2 - -leaf 3 - -node 2 - -leaf 1 - -leaf 2 - -leaf 3 - -Since the order of Module|s is not defined, the dialog may display first the -Nodes from module2 and then from module1. If a node is already displayed then -it is not shown again. - -================================================================================ - -modules2.oxt: Same as modules1, except that the order of nodes and leaves -is not defined. diff --git a/testautomation/extensions/optional/input/path_to_extension/LocationTest.odt b/testautomation/extensions/optional/input/path_to_extension/LocationTest.odt deleted file mode 100644 index c28acb26511a..000000000000 Binary files a/testautomation/extensions/optional/input/path_to_extension/LocationTest.odt and /dev/null differ diff --git a/testautomation/extensions/optional/input/path_to_extension/locationtest.oxt b/testautomation/extensions/optional/input/path_to_extension/locationtest.oxt deleted file mode 100644 index 33ec6af039a0..000000000000 Binary files a/testautomation/extensions/optional/input/path_to_extension/locationtest.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/all1.oxt b/testautomation/extensions/optional/input/platform/all1.oxt deleted file mode 100644 index ad9662a7c226..000000000000 Binary files a/testautomation/extensions/optional/input/platform/all1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/all2.oxt b/testautomation/extensions/optional/input/platform/all2.oxt deleted file mode 100644 index 632d11b42938..000000000000 Binary files a/testautomation/extensions/optional/input/platform/all2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/all3.oxt b/testautomation/extensions/optional/input/platform/all3.oxt deleted file mode 100644 index ab781552a5aa..000000000000 Binary files a/testautomation/extensions/optional/input/platform/all3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/extensions.info b/testautomation/extensions/optional/input/platform/extensions.info deleted file mode 100755 index fdcda07205aa..000000000000 --- a/testautomation/extensions/optional/input/platform/extensions.info +++ /dev/null @@ -1,146 +0,0 @@ -# This is a list of extensions with their respective platforms that they run on. -# Note that Platfom=none does not necessarily mean that they do not run at all -# but merely states that this platform is not tested on a regular basis by -# Sun QA. -# Note that we have no means to distinguish between system architectures so -# this test does - for now - exclusively work on i386 based systems (no 64 bit) - -[general] -ExtensionCount=26 - -[1] -File=all1.oxt -Platform=all -Name=All Platforms 1 - -[2] -File=all2.oxt -Platform=all -Name=All Platforms 2 - -[3] -File=all3.oxt -Platform=all -Name=all3.oxt - -[4] -File=freebsd_x86.oxt -Platform=none -Name=Single Platform: freebsd_x86 - -[5] -File=freebsd_x86_64.oxt -Platform=none -Name=Single Platform: freebsd_x86_64 - -[6] -File=invalid1.oxt -Platform=none -Name=Invalid 1 - -[7] -File=invalid2.oxt -Platform=none -Name=Invalid 2 - -[8] -File=invalid3.oxt -Platform=none -Name=Invalid 3 - -[9] -File=linux_arm_eabi.oxt -Platform=none -Name=Single Platform: linux_arm_eabi - -[10] -File=linux_arm_oabi.oxt -Platform=none -Name=Single Platform: linux_arm_oabi - -[11] -File=linux_ia64.oxt -Platform=none -Name=Single Platform: linux_ia64 - -[12] -File=linux_mips_eb.oxt -Platform=none -Name=Single Platform: linux_mips_eb - -[13] -File=linux_mips_el.oxt -Platform=none -Name=Single Platform: linux_mips_el - -[14] -File=linux_powerpc.oxt -Platform=none -Name=Single Platform: linux_powerpc - -[15] -File=linux_powerpc64.oxt -Platform=none -Name=Single Platform: linux_powerpc64 - -[16] -File=linux_s390.oxt -Platform=none -Name=Single Platform: linux_s390 - -[17] -File=linux_s390x.oxt -Platform=none -Name=Single Platform: linux_s390x - -[18] -File=linux_sparc.oxt -Platform=none -Name=Single Platform: linux_sparc - -[19] -File=linux_x86.oxt -Platform=Linux -Name=Single Platform: linux_x86 - -[20] -File=linux_x86_64.oxt -Platform=none -Name=Single Platform: linux_x86_64 - -[21] -File=macosx_powerpc.oxt -Platform=none -Name=Single Platform: macosx_powerpc - -[22] -File=macosx_x86.oxt -Platform=osx -Name=Single Platform: macosx_x86 - -[23] -File=os2_x86.oxt -Platform=eComStation -Name=Single Platform: os2_x86 - -[24] -File=solaris_sparc.oxt -Platform=Solaris SPARC -Name=Single Platform: solaris_sparc - -[25] -File=solaris_x86.oxt -Platform=Solaris x86 -Name=Single Platform: solaris_x86 - -[26] -File=windows_x86.oxt -Platform=w95 -Name=Single Platform: windows_x86 - -#[23] -#File=mul1.oxt -#Platform=all -#Name=Multiple Platforms 1 - - diff --git a/testautomation/extensions/optional/input/platform/freebsd_x86.oxt b/testautomation/extensions/optional/input/platform/freebsd_x86.oxt deleted file mode 100644 index 338f5761deb1..000000000000 Binary files a/testautomation/extensions/optional/input/platform/freebsd_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/freebsd_x86_64.oxt b/testautomation/extensions/optional/input/platform/freebsd_x86_64.oxt deleted file mode 100644 index 39fee6de1a77..000000000000 Binary files a/testautomation/extensions/optional/input/platform/freebsd_x86_64.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/invalid1.oxt b/testautomation/extensions/optional/input/platform/invalid1.oxt deleted file mode 100644 index 13d709f438fc..000000000000 Binary files a/testautomation/extensions/optional/input/platform/invalid1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/invalid2.oxt b/testautomation/extensions/optional/input/platform/invalid2.oxt deleted file mode 100644 index f14257191b81..000000000000 Binary files a/testautomation/extensions/optional/input/platform/invalid2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/invalid3.oxt b/testautomation/extensions/optional/input/platform/invalid3.oxt deleted file mode 100644 index cadffa4f2ac1..000000000000 Binary files a/testautomation/extensions/optional/input/platform/invalid3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_arm_eabi.oxt b/testautomation/extensions/optional/input/platform/linux_arm_eabi.oxt deleted file mode 100644 index 9c504e841b98..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_arm_eabi.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_arm_oabi.oxt b/testautomation/extensions/optional/input/platform/linux_arm_oabi.oxt deleted file mode 100644 index f2c987f645a7..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_arm_oabi.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_ia64.oxt b/testautomation/extensions/optional/input/platform/linux_ia64.oxt deleted file mode 100644 index f579a18ab90d..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_ia64.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_mips_eb.oxt b/testautomation/extensions/optional/input/platform/linux_mips_eb.oxt deleted file mode 100644 index bf0bd942332b..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_mips_eb.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_mips_el.oxt b/testautomation/extensions/optional/input/platform/linux_mips_el.oxt deleted file mode 100644 index 6bd56446831b..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_mips_el.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_powerpc.oxt b/testautomation/extensions/optional/input/platform/linux_powerpc.oxt deleted file mode 100644 index e301a3fb3ad1..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_powerpc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_powerpc64.oxt b/testautomation/extensions/optional/input/platform/linux_powerpc64.oxt deleted file mode 100644 index e5f3ae063923..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_powerpc64.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_s390.oxt b/testautomation/extensions/optional/input/platform/linux_s390.oxt deleted file mode 100644 index 199702ebf056..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_s390.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_s390x.oxt b/testautomation/extensions/optional/input/platform/linux_s390x.oxt deleted file mode 100644 index 2ed250833fb1..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_s390x.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_sparc.oxt b/testautomation/extensions/optional/input/platform/linux_sparc.oxt deleted file mode 100644 index 53dfc71e0c4e..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_sparc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_x86.oxt b/testautomation/extensions/optional/input/platform/linux_x86.oxt deleted file mode 100644 index 8379539cad34..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/linux_x86_64.oxt b/testautomation/extensions/optional/input/platform/linux_x86_64.oxt deleted file mode 100644 index 0fb18227522f..000000000000 Binary files a/testautomation/extensions/optional/input/platform/linux_x86_64.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/macosx_powerpc.oxt b/testautomation/extensions/optional/input/platform/macosx_powerpc.oxt deleted file mode 100644 index 7c146347127a..000000000000 Binary files a/testautomation/extensions/optional/input/platform/macosx_powerpc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/macosx_x86.oxt b/testautomation/extensions/optional/input/platform/macosx_x86.oxt deleted file mode 100644 index a20aadfefffd..000000000000 Binary files a/testautomation/extensions/optional/input/platform/macosx_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/mul1.oxt b/testautomation/extensions/optional/input/platform/mul1.oxt deleted file mode 100644 index b3b555969bdf..000000000000 Binary files a/testautomation/extensions/optional/input/platform/mul1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/os2_x86.oxt b/testautomation/extensions/optional/input/platform/os2_x86.oxt deleted file mode 100644 index 1c7fd40bef9f..000000000000 Binary files a/testautomation/extensions/optional/input/platform/os2_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/readme.txt b/testautomation/extensions/optional/input/platform/readme.txt deleted file mode 100755 index 2ab102a27d3c..000000000000 --- a/testautomation/extensions/optional/input/platform/readme.txt +++ /dev/null @@ -1,49 +0,0 @@ -Extension which only support one platform -======================================================== - -freebsd_x86.oxt: freebsd_x86 -freebsd_x86_86.oxt: freebsd_x86_64 -linux_arm_eabi.oxt: linux_arm_eabi -linux_arm_oabi.oxt: linux_arm_oabi -linux_ia64.oxt: linux_ia64 -linux_mips_eb.oxt: linux_mips_eb -linux_mips_el.oxt: linux_mips_el -linux_powerpc64.oxt: linux_powerpc64 -linux_powerpc.oxt: linux_powerpc -linux_s390.oxt: linux_s390 -linux_s390x.oxt: linux_s390x -linux_sparc.oxt: linux_sparc -linux_x86.oxt: linux_x86 -linux_x86_64.oxt: linux_x86_64 -macos_powerpc.oxt: macos_powerpc -macos_x86.oxt: macos_x86 -solaris_sparc.oxt: solaris_sparc -solaris_x86.oxt: solaris_x86 -windows_x86.oxt: windows_x86 -os2_x86.oxt: os/2_x86 - -Extensions which support multiple platforms -======================================================= -mul1.oxt: windows_x86, linux_x86, solaris_x86 - - -All platforms -========================================================= -all1.oxt: all, The element is missing. Default is "all". - -all2.oxt: all, - -all3.oxt: all, no description.xml - - - -Invalid platforms -========================================================= -The following extensions cannot be installed because the platform element -is not correct. We assume that no valid platform is defined. - -invalid1.oxt: - -invalid2.oxt: - -invalid3.oxt: diff --git a/testautomation/extensions/optional/input/platform/solaris_sparc.oxt b/testautomation/extensions/optional/input/platform/solaris_sparc.oxt deleted file mode 100644 index a61f81f43942..000000000000 Binary files a/testautomation/extensions/optional/input/platform/solaris_sparc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/solaris_x86.oxt b/testautomation/extensions/optional/input/platform/solaris_x86.oxt deleted file mode 100644 index 44d43df69184..000000000000 Binary files a/testautomation/extensions/optional/input/platform/solaris_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/platform/windows_x86.oxt b/testautomation/extensions/optional/input/platform/windows_x86.oxt deleted file mode 100644 index c66a9b1418fa..000000000000 Binary files a/testautomation/extensions/optional/input/platform/windows_x86.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/extension.info b/testautomation/extensions/optional/input/publisher/extension.info deleted file mode 100755 index 4750cad09c1f..000000000000 --- a/testautomation/extensions/optional/input/publisher/extension.info +++ /dev/null @@ -1,58 +0,0 @@ -[info] -filecount=7 - -[1] -file=pub1.oxt -display_name=pub1.oxt Version 2.0 -publisher=My OpenOffice en-US -has_publisher=yes -release_notes=Release Notes -has_release_notes=yes - -[2] -file=pub2.oxt -display_name=pub2.oxt Version 2.0 -publisher=My OpenOffice en-US-region1 -has_publisher=yes -release_notes=Release Notes -has_release_notes=yes - -[3] -file=pub3.oxt -display_name=pub3.oxt Version 2.0 -publisher=My OpenOffice en -has_publisher=yes -release_notes=Release Notes -has_release_notes=yes - -[4] -file=pub4.oxt -display_name=pub4.oxt Version 2.0 -publisher=My OpenOffice en-GB -has_publisher=yes -release_notes=Release Notes -has_release_notes=yes - -[5] -file=pub5.oxt -display_name=pub5.oxt Version 2.0 -publisher=My OpenOffice de -has_publisher=yes -release_notes=Release Notes -has_release_notes=yes - -[6] -file=pub6.oxt -display_name=pub6.oxt Version 2.0 -publisher=My OpenOffice en-US -has_publisher=yes -release_notes=Release Notes -has_release_notes=no - -[7] -file=pub7.oxt -display_name=pub7.oxt Version 2.0 -publisher= -has_publisher=no -release_notes=Release Notes -has_release_notes=yes diff --git a/testautomation/extensions/optional/input/publisher/pub1.oxt b/testautomation/extensions/optional/input/publisher/pub1.oxt deleted file mode 100644 index c44ee9f3bc56..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub2.oxt b/testautomation/extensions/optional/input/publisher/pub2.oxt deleted file mode 100644 index 438bcae830a3..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub3.oxt b/testautomation/extensions/optional/input/publisher/pub3.oxt deleted file mode 100644 index 62fd69f5595a..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub4.oxt b/testautomation/extensions/optional/input/publisher/pub4.oxt deleted file mode 100644 index 4f6224f780cd..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub4.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub5.oxt b/testautomation/extensions/optional/input/publisher/pub5.oxt deleted file mode 100644 index 1774e6cd35c3..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub5.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub6.oxt b/testautomation/extensions/optional/input/publisher/pub6.oxt deleted file mode 100644 index 791a37f8e710..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub6.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/publisher/pub7.oxt b/testautomation/extensions/optional/input/publisher/pub7.oxt deleted file mode 100644 index 96e96887d0b1..000000000000 Binary files a/testautomation/extensions/optional/input/publisher/pub7.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/BadDesc.oxt b/testautomation/extensions/optional/input/simpleLicense/BadDesc.oxt deleted file mode 100644 index 436778d54dd4..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/BadDesc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/BadNamespace.oxt b/testautomation/extensions/optional/input/simpleLicense/BadNamespace.oxt deleted file mode 100644 index 252115348ff6..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/BadNamespace.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/BadRoot.oxt b/testautomation/extensions/optional/input/simpleLicense/BadRoot.oxt deleted file mode 100644 index 1cda25643afb..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/BadRoot.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/CancelLicense.oxt b/testautomation/extensions/optional/input/simpleLicense/CancelLicense.oxt deleted file mode 100644 index 7e1998843254..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/CancelLicense.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/IncompAttr1.oxt b/testautomation/extensions/optional/input/simpleLicense/IncompAttr1.oxt deleted file mode 100644 index c2cb36b55b1d..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/IncompAttr1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/IncompAttr2.oxt b/testautomation/extensions/optional/input/simpleLicense/IncompAttr2.oxt deleted file mode 100644 index fa2235ef7b4c..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/IncompAttr2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/LongLic.oxt b/testautomation/extensions/optional/input/simpleLicense/LongLic.oxt deleted file mode 100644 index cb22c91ed576..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/LongLic.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/MissingLic.oxt b/testautomation/extensions/optional/input/simpleLicense/MissingLic.oxt deleted file mode 100644 index 7bfb4b62c551..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/MissingLic.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/MissingLicRef.oxt b/testautomation/extensions/optional/input/simpleLicense/MissingLicRef.oxt deleted file mode 100644 index a5a0982974ad..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/MissingLicRef.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/NoDesc.oxt b/testautomation/extensions/optional/input/simpleLicense/NoDesc.oxt deleted file mode 100644 index ac83dac97eba..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/NoDesc.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/NoLangNoDefault.oxt b/testautomation/extensions/optional/input/simpleLicense/NoLangNoDefault.oxt deleted file mode 100644 index 17f125b30f63..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/NoLangNoDefault.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/OnlyDefault.oxt b/testautomation/extensions/optional/input/simpleLicense/OnlyDefault.oxt deleted file mode 100644 index 3b6e4b9fd74a..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/OnlyDefault.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/ShortLicense.oxt b/testautomation/extensions/optional/input/simpleLicense/ShortLicense.oxt deleted file mode 100644 index 7e1998843254..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/ShortLicense.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/simpleLicense/ShortLicenseShared.oxt b/testautomation/extensions/optional/input/simpleLicense/ShortLicenseShared.oxt deleted file mode 100644 index c0b0950fb133..000000000000 Binary files a/testautomation/extensions/optional/input/simpleLicense/ShortLicenseShared.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/update/plain1.oxt b/testautomation/extensions/optional/input/update/plain1.oxt deleted file mode 100644 index ef3edc023c5f..000000000000 Binary files a/testautomation/extensions/optional/input/update/plain1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/update/plain2.oxt b/testautomation/extensions/optional/input/update/plain2.oxt deleted file mode 100644 index 242ea8bfa6f2..000000000000 Binary files a/testautomation/extensions/optional/input/update/plain2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/update/plain3.oxt b/testautomation/extensions/optional/input/update/plain3.oxt deleted file mode 100644 index 7dd56d0314df..000000000000 Binary files a/testautomation/extensions/optional/input/update/plain3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/update/readme.txt b/testautomation/extensions/optional/input/update/readme.txt deleted file mode 100755 index e48fa3db5ff3..000000000000 --- a/testautomation/extensions/optional/input/update/readme.txt +++ /dev/null @@ -1,26 +0,0 @@ -The folder contains only simple extension. That is, they only contain -- META-INF --t.rdb --description.xml - -The description.xml contains only a version and one URL to the update data - -For example: - - - - - - - - - - - - -The update information which is referenced in the update-information and the update is committed in the extensions/www project. To modify them get the project: - -cvs co extensions/wwww - -the files can be found under extensions/www/testarea/desktop diff --git a/testautomation/extensions/optional/input/versions/plain.oxt b/testautomation/extensions/optional/input/versions/plain.oxt deleted file mode 100644 index c0cb381edf62..000000000000 Binary files a/testautomation/extensions/optional/input/versions/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_0.0/plain.oxt b/testautomation/extensions/optional/input/versions/version_0.0/plain.oxt deleted file mode 100644 index f156014eb8c3..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_0.0/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_1.02.4.7.0/plain.oxt b/testautomation/extensions/optional/input/versions/version_1.02.4.7.0/plain.oxt deleted file mode 100644 index 521a2b6c77a8..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_1.02.4.7.0/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_1.2.15.3/plain.oxt b/testautomation/extensions/optional/input/versions/version_1.2.15.3/plain.oxt deleted file mode 100644 index 000f3a144fbd..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_1.2.15.3/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_1.2.3/plain.oxt b/testautomation/extensions/optional/input/versions/version_1.2.3/plain.oxt deleted file mode 100644 index e34264591c58..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_1.2.3/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_1.2.4.7/plain.oxt b/testautomation/extensions/optional/input/versions/version_1.2.4.7/plain.oxt deleted file mode 100644 index d63c79a734b6..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_1.2.4.7/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/versions/version_none/plain.oxt b/testautomation/extensions/optional/input/versions/version_none/plain.oxt deleted file mode 100644 index fc227b099ec8..000000000000 Binary files a/testautomation/extensions/optional/input/versions/version_none/plain.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/readme.txt b/testautomation/extensions/optional/input/web_update/readme.txt deleted file mode 100755 index 4ae5ddd9182f..000000000000 --- a/testautomation/extensions/optional/input/web_update/readme.txt +++ /dev/null @@ -1,133 +0,0 @@ -The folder contains extensions which need to be updated through a web site. -The "Updates dialog" of the Extension Manager will mark the updates for these -extensions as "browser based update". The Extension Manager will open a browser -for each of the extensions and navigate to the respective website. - -================================================================================ -web1.oxt - web5.oxt: -================================================================================ -They contain . That is they reference directly the respective -webX.update.xml (for example, web1.update.xml) files which are available at -http://extensions.openoffice.org/testarea/desktop/website_update/update/... -For example: -http://extensions.openoffice.org/testarea/desktop/website_update/update/web2.update.xml - -The update information contain multiple URLs to "localized" web sites. Each URL is -assigned to a particular local. For example: - - - -The Extension Manager will choose the URLs where the lang attribute matches most -closely the locale of the office. - -The following table shows what localized web site is used, when the office uses the locale -en-US. The web page will display the locale used. See update/web1_de.html, etc. - - -Localization: - -Installed office en-US - | publisher | release notes -============================================= -web1.oxt | en-US | en-US ---------------------------------------------- -web2.oxt | en-US-region1 | en-US-region1 ---------------------------------------------- -web3.oxt | en | en ---------------------------------------------- -web4.oxt | en-GB | en-GB ---------------------------------------------- -web5.oxt | de | de - - -================================================================================ -web6.oxt -================================================================================ -Need not be committed in extensions/www/testarea/desktop. - -web6.oxt is intended for tests with extensions.services.openoffice.org. -It does not contain . That is, the Extension Manager will obtain -the update information from the repository as feed: - -http://updateext.services.openoffice.org/ProductUpdateService/check.Update - -Test ----- -Repository: - --Create the new extension in the repository. --Provide a company name and a URL to the company website. In our case this should be - http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html - --Create a new release for the extension. Upload the description.xml of version 2.0 -(update/web6/description.xml). Provide a download URL for the web site (field - "Download from page / Open follow up page URL", which should be - http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html - Provide release notes. - - -Office: --Install version 1.0 of the extension: - desktop/test/deployment/update/website_update/web6.oxt - --Run the update in the Extension Manager - - -Result: -The Update Dialog should show the publisher name as provided in "Provider URL" field -of the extension edit page (not release). - -A release notes link is displayed with an URL to the release notes as provided in -the "Provider Title" field of the extension release edit page. - -When running the update then the web browser should navigate to -http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html - - -================================================================================ -web7.oxt -================================================================================ -Need not be committed in extensions/www/testarea/desktop - -web7.oxt is intended for tests with extensions.services.openoffice.org. -It does not contain . That is, the Extension Manager will obtain -the update information from the repository as feed: - -http://updateext.services.openoffice.org/ProductUpdateService/check.Update - -The description.xml which will be uploaded contains URLs for release notes and publisher -names/ URLs. That is, these information are not generated from the information of the -repository web site. - -Test ------------ -Repository: - --Create the new extension in the repository. --Provide a company name and a URL to the company website. In our case these should be different - to those provided in the description.xml. These should NOT go into the update feed. - Choose for example as "Provider Title": FOO and as "Provider URL" some valid URL but NOT - http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html - --Create a new release for the extension. Upload the description.xml of version 2.0 -(update/web7/description.xml). Provide a download URL for the web site (field - "Download from page / Open follow up page URL", which should be - http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html - Provide release notes. - -Office: --Install version 1.0 of the extension: - desktop/test/deployment/update/website_update/web7.oxt - --Run the update in the Extension Manager - -Result: -The Update Dialog should show the publisher name as provided in the description.xml. -That is: My OpenOffice en-US and NOT "FOO". - -A release notes link is displayed with an URL to the release notes as provided in -the description.xml. That is: -http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_xxx.html - -When running the update then the web browser should navigate to -http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html diff --git a/testautomation/extensions/optional/input/web_update/web1.oxt b/testautomation/extensions/optional/input/web_update/web1.oxt deleted file mode 100644 index 7c17586e0454..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web1.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web2.oxt b/testautomation/extensions/optional/input/web_update/web2.oxt deleted file mode 100644 index 705e70a7533f..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web2.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web3.oxt b/testautomation/extensions/optional/input/web_update/web3.oxt deleted file mode 100644 index 4e63a75f0cbf..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web3.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web4.oxt b/testautomation/extensions/optional/input/web_update/web4.oxt deleted file mode 100644 index e66513e68384..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web4.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web5.oxt b/testautomation/extensions/optional/input/web_update/web5.oxt deleted file mode 100644 index 65b02db9347d..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web5.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web6.oxt b/testautomation/extensions/optional/input/web_update/web6.oxt deleted file mode 100644 index 98416edfa583..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web6.oxt and /dev/null differ diff --git a/testautomation/extensions/optional/input/web_update/web7.oxt b/testautomation/extensions/optional/input/web_update/web7.oxt deleted file mode 100644 index 31ba45f032d5..000000000000 Binary files a/testautomation/extensions/optional/input/web_update/web7.oxt and /dev/null differ -- cgit