summaryrefslogtreecommitdiff
path: root/desktop/test
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/test')
-rw-r--r--desktop/test/deployment/active/Addons.xcu67
-rwxr-xr-xdesktop/test/deployment/active/Dispatch.java101
-rwxr-xr-xdesktop/test/deployment/active/MANIFEST.MF3
-rw-r--r--desktop/test/deployment/active/ProtocolHandler.xcu48
-rwxr-xr-xdesktop/test/deployment/active/Provider.java81
-rwxr-xr-xdesktop/test/deployment/active/Services.java72
-rw-r--r--desktop/test/deployment/active/active_native.cxx314
-rwxr-xr-xdesktop/test/deployment/active/active_python.py120
-rwxr-xr-xdesktop/test/deployment/active/description.xml36
-rwxr-xr-xdesktop/test/deployment/active/makefile.mk87
-rwxr-xr-xdesktop/test/deployment/active/manifest.xml43
-rw-r--r--desktop/test/deployment/boxt/Addons.xcu50
-rw-r--r--desktop/test/deployment/boxt/ProtocolHandler.xcu38
-rw-r--r--desktop/test/deployment/boxt/boxt.cxx184
-rwxr-xr-xdesktop/test/deployment/boxt/description.xml39
-rwxr-xr-xdesktop/test/deployment/boxt/makefile.mk68
-rwxr-xr-xdesktop/test/deployment/boxt/manifest.xml37
-rw-r--r--desktop/test/deployment/dependencies/broken-dependency.oxtbin1655 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/double-dependencies.oxtbin1651 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/empty-dependencies.oxtbin1624 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/funny-dependency.oxtbin1730 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/license-dependency.oxtbin1891 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/many-dependencies.oxtbin1702 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/minattr22.oxtbin1690 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/minattr23.oxtbin1690 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/minattr24.oxtbin1690 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/no-dependencies.oxtbin1611 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/no-description.oxtbin1360 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/dependencies/readme.txt82
-rw-r--r--desktop/test/deployment/dependencies/unknown-dependency.oxtbin1633 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version10000.oxtbin1668 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version21.oxtbin1666 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version21ns.oxtbin1661 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version21other.oxtbin1679 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version22.oxtbin1666 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/version23.oxtbin1666 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/versionempty.oxtbin1675 -> 0 bytes
-rw-r--r--desktop/test/deployment/dependencies/versionnone.oxtbin1674 -> 0 bytes
-rw-r--r--desktop/test/deployment/description/desc1.oxtbin2096 -> 0 bytes
-rw-r--r--desktop/test/deployment/description/desc2.oxtbin2091 -> 0 bytes
-rw-r--r--desktop/test/deployment/description/desc3.oxtbin2070 -> 0 bytes
-rw-r--r--desktop/test/deployment/description/desc4.oxtbin2061 -> 0 bytes
-rw-r--r--desktop/test/deployment/description/desc5.oxtbin2041 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/description/readme.txt23
-rw-r--r--desktop/test/deployment/display_name/name1.oxtbin704 -> 0 bytes
-rw-r--r--desktop/test/deployment/display_name/name2.oxtbin699 -> 0 bytes
-rw-r--r--desktop/test/deployment/display_name/name3.oxtbin681 -> 0 bytes
-rw-r--r--desktop/test/deployment/display_name/name4.oxtbin675 -> 0 bytes
-rw-r--r--desktop/test/deployment/display_name/name5.oxtbin654 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/display_name/readme.txt26
-rwxr-xr-xdesktop/test/deployment/executable_content/build/hello.c47
-rwxr-xr-xdesktop/test/deployment/executable_content/build/makefile.mk51
-rwxr-xr-xdesktop/test/deployment/executable_content/build/readme.txt2
-rw-r--r--desktop/test/deployment/executable_content/hello.oxtbin35048 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/executable_content/readme.txt12
-rw-r--r--desktop/test/deployment/identifier/explicit/identifier.oxtbin1660 -> 0 bytes
-rw-r--r--desktop/test/deployment/identifier/legacy/identifier.oxtbin1634 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/identifier/readme.txt33
-rw-r--r--desktop/test/deployment/locationtest/LocationTest.idl40
-rwxr-xr-xdesktop/test/deployment/locationtest/LocationTest.java165
-rw-r--r--desktop/test/deployment/locationtest/LocationTest.odtbin7681 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/locationtest/MANIFEST.MF2
-rwxr-xr-xdesktop/test/deployment/locationtest/delzip1
-rwxr-xr-xdesktop/test/deployment/locationtest/description.xml13
-rwxr-xr-xdesktop/test/deployment/locationtest/makefile.mk87
-rwxr-xr-xdesktop/test/deployment/locationtest/manifest.xml5
-rwxr-xr-xdesktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/MANIFEST.MF2
-rwxr-xr-xdesktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java449
-rwxr-xr-xdesktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/makefile.mk53
-rw-r--r--desktop/test/deployment/options/leaf1.oxtbin8308 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/leaf1mod.oxtbin8310 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/leaf2.oxtbin8338 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/leaves1.oxtbin21158 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/leaves2.oxtbin21153 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/leaves3.oxtbin21080 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/modules1.oxtbin24317 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/modules2.oxtbin24196 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/nodes1.oxtbin1882 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/nodes2.oxtbin24287 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/nodes3.oxtbin24315 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/nodes4.oxtbin24318 -> 0 bytes
-rw-r--r--desktop/test/deployment/options/nodes5.oxtbin12616 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/options/readme.txt200
-rw-r--r--desktop/test/deployment/passive/Addons.xcu67
-rwxr-xr-xdesktop/test/deployment/passive/Dispatch.java101
-rwxr-xr-xdesktop/test/deployment/passive/MANIFEST.MF3
-rw-r--r--desktop/test/deployment/passive/ProtocolHandler.xcu48
-rwxr-xr-xdesktop/test/deployment/passive/Provider.java81
-rwxr-xr-xdesktop/test/deployment/passive/Services.java49
-rwxr-xr-xdesktop/test/deployment/passive/description.xml36
-rwxr-xr-xdesktop/test/deployment/passive/makefile.mk141
-rwxr-xr-xdesktop/test/deployment/passive/manifest.xml40
-rwxr-xr-xdesktop/test/deployment/passive/passive_java.component38
-rwxr-xr-xdesktop/test/deployment/passive/passive_native.component38
-rw-r--r--desktop/test/deployment/passive/passive_native.cxx283
-rwxr-xr-xdesktop/test/deployment/passive/passive_python.component38
-rwxr-xr-xdesktop/test/deployment/passive/passive_python.py101
-rw-r--r--desktop/test/deployment/simple_license/BadDesc.oxtbin9663 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/BadNamespace.oxtbin9736 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/BadRoot.oxtbin9073 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale1.oxtbin2126 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale2.oxtbin2121 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale3.oxtbin2101 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale4.oxtbin2094 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale5.oxtbin2072 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Locale6.oxtbin1397 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/LongLic.oxtbin9521 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/MissingLic.oxtbin9214 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/MissingLicRef.oxtbin9332 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/NoDefLang.oxtbin9360 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/NoDesc.oxtbin8722 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/NoLang.oxtbin9217 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/Prefix.oxtbin1112 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/ShortLicense.oxtbin9381 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/ShortLicenseShared.oxtbin9382 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/suppress_license.oxtbin2143 -> 0 bytes
-rw-r--r--desktop/test/deployment/simple_license/tests_simple_license.odtbin16629 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/changing_display_name/change1.oxtbin1650 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/changing_display_name/change1_mod.oxtbin1673 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/changing_display_name/readme.txt13
-rw-r--r--desktop/test/deployment/update/changing_display_name/update1/change1.oxtbin1675 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/changing_display_name/update1/change1.update.xml10
-rw-r--r--desktop/test/deployment/update/changing_display_name/update2/change1.oxtbin1687 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/changing_display_name/update2/change1.update.xml10
-rw-r--r--desktop/test/deployment/update/default_url/default1.oxtbin1544 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/default_url/default2.oxtbin1544 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/default_url/readme.txt9
-rw-r--r--desktop/test/deployment/update/default_url/update/default1.oxtbin1546 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/default_url/update/default1.update.xml10
-rw-r--r--desktop/test/deployment/update/default_url/update/default2.oxtbin1546 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/default_url/update/default2.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/default_url/update/feed1.xml33
-rw-r--r--desktop/test/deployment/update/defect/fail1.oxtbin2189 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/fail2.oxtbin2188 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/fail3.oxtbin2188 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/fail4.oxtbin2189 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/info1.oxtbin2188 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/info2.oxtbin2187 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/defect/info3.oxtbin2187 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/defect/readme.txt15
-rw-r--r--desktop/test/deployment/update/defect/update/fail1.oxtbin2193 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/defect/update/fail1.update.xml10
-rw-r--r--desktop/test/deployment/update/defect/update/fail2.oxtbin2436 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/defect/update/fail2.update.xml10
-rw-r--r--desktop/test/deployment/update/defect/update/fail3.oxtbin2396 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/defect/update/fail3.update.xml10
-rw-r--r--desktop/test/deployment/update/defect/update/fail4.oxt0
-rwxr-xr-xdesktop/test/deployment/update/defect/update/fail4.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/defect/update/info1.update.xml0
-rwxr-xr-xdesktop/test/deployment/update/defect/update/info2.update.xml1
-rw-r--r--desktop/test/deployment/update/defect/update/info3.oxtbin2189 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/defect/update/info3.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/dependencies/publisher_en.html9
-rwxr-xr-xdesktop/test/deployment/update/dependencies/readme.txt32
-rwxr-xr-xdesktop/test/deployment/update/dependencies/release-notes_en.html8
-rw-r--r--desktop/test/deployment/update/dependencies/update-dependencies.oxtbin1751 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/dependencies/update/update-dependencies.update.xml71
-rw-r--r--desktop/test/deployment/update/license/lic1.oxtbin3608 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/license/lic2.oxtbin3625 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/license/lic3.oxtbin3624 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/license/readme.txt9
-rw-r--r--desktop/test/deployment/update/license/update/lic1.oxtbin3610 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/license/update/lic1.update.xml10
-rw-r--r--desktop/test/deployment/update/license/update/lic2.oxtbin3627 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/license/update/lic2.update.xml10
-rw-r--r--desktop/test/deployment/update/license/update/lic3.oxtbin3626 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/license/update/lic3.update.xml10
-rw-r--r--desktop/test/deployment/update/platform/all1.oxtbin692 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/all2.oxtbin702 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/all3.oxtbin297 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/freebsd_x86.oxtbin706 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/freebsd_x86_64.oxtbin711 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/invalid1.oxtbin653 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/invalid2.oxtbin653 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/invalid3.oxtbin655 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_arm_eabi.oxtbin709 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_arm_oabi.oxtbin710 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_ia64.oxtbin706 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_mips_eb.oxtbin709 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_mips_el.oxtbin708 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_powerpc.oxtbin708 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_powerpc64.oxtbin710 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_s390.oxtbin705 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_s390x.oxtbin706 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_sparc.oxtbin706 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_x86.oxtbin705 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/linux_x86_64.oxtbin708 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/macosx_powerpc.oxtbin710 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/macosx_x86.oxtbin707 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/mul1.oxtbin952 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/os2_x86.oxtbin706 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/platform/readme.txt49
-rw-r--r--desktop/test/deployment/update/platform/solaris_sparc.oxtbin709 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/solaris_x86.oxtbin706 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/platform/windows_x86.oxtbin707 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub1.oxtbin1882 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub10.oxtbin1742 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub11.oxtbin1601 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub2.oxtbin1866 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub3.oxtbin1829 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub4.oxtbin1812 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub5.oxtbin1769 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub6.oxtbin1814 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub7.oxtbin1769 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub8.oxtbin1853 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/pub9.oxtbin1779 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_de-DE-altmark.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_de-DE.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_de.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en-GB.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en-US-region1.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en-US-region2.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en-US.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en-region3.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/publisher_en.html9
-rwxr-xr-xdesktop/test/deployment/update/publisher/readme.txt212
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_de-DE-altmark.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_de-DE.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_de.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en-GB.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en-US-region1.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en-US-region2.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en-US.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en-region3.html8
-rwxr-xr-xdesktop/test/deployment/update/publisher/release-notes_en.html8
-rw-r--r--desktop/test/deployment/update/publisher/update/pub1.oxtbin1885 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub1.update.xml36
-rw-r--r--desktop/test/deployment/update/publisher/update/pub10.oxtbin1744 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/update/pub11.oxtbin1603 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/update/pub2.oxtbin1871 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub2.update.xml34
-rw-r--r--desktop/test/deployment/update/publisher/update/pub3.oxtbin1833 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub3.update.xml30
-rw-r--r--desktop/test/deployment/update/publisher/update/pub4.oxtbin1815 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub4.update.xml28
-rw-r--r--desktop/test/deployment/update/publisher/update/pub5.oxtbin1774 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub5.update.xml24
-rw-r--r--desktop/test/deployment/update/publisher/update/pub6.oxtbin1816 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub6.update.xml24
-rw-r--r--desktop/test/deployment/update/publisher/update/pub7.oxtbin1771 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/publisher/update/pub7.update.xml24
-rw-r--r--desktop/test/deployment/update/publisher/update/pub8.oxtbin1855 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/publisher/update/pub9.oxtbin1781 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/readme.txt68
-rw-r--r--desktop/test/deployment/update/simple/plain1.oxtbin1642 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/simple/plain2.oxtbin1643 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/simple/plain3.oxtbin1643 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/simple/readme.txt31
-rw-r--r--desktop/test/deployment/update/simple/update/plain1.oxtbin1645 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/simple/update/plain1.update.xml10
-rw-r--r--desktop/test/deployment/update/simple/update/plain2.oxtbin1645 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/simple/update/plain2.update.xml10
-rw-r--r--desktop/test/deployment/update/simple/update/plain3.oxtbin1645 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/simple/update/plain3.update.xml10
-rw-r--r--desktop/test/deployment/update/updatefeed/feed1.oxtbin2184 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/updatefeed/feed2.oxtbin2184 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/updatefeed/update/feed1.oxtbin2184 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/updatefeed/update/feed1.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/updatefeed/update/feed1.xml33
-rw-r--r--desktop/test/deployment/update/updatefeed/update/feed2.oxtbin2184 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/updatefeed/update/feed2.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/MANIFEST.MF2
-rw-r--r--desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl40
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/TestExtension.java165
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/delzip1
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/description.xml13
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/makefile.mk91
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/build/manifest.xml5
-rwxr-xr-xdesktop/test/deployment/update/updateinfocreation/readme.txt38
-rw-r--r--desktop/test/deployment/update/updateinfocreation/update/updateinfo.oxtbin4295 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/updateinfocreation/updateinfo.oxtbin4295 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/readme.txt133
-rw-r--r--desktop/test/deployment/update/website_update/update/web1.oxtbin1695 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1.update.xml20
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_de-DE-altmark.html18
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_de-DE.html18
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_de.html19
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en-GB.html19
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en-US-region1.html19
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en-US-region2.html19
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en-US.html20
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en-region3.html19
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web1_en.html19
-rw-r--r--desktop/test/deployment/update/website_update/update/web2.oxtbin1695 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web2.update.xml19
-rw-r--r--desktop/test/deployment/update/website_update/update/web3.oxtbin1695 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web3.update.xml17
-rw-r--r--desktop/test/deployment/update/website_update/update/web4.oxtbin1695 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web4.update.xml16
-rw-r--r--desktop/test/deployment/update/website_update/update/web5.oxtbin1695 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web5.update.xml14
-rw-r--r--desktop/test/deployment/update/website_update/update/web6.oxtbin1640 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web6/description.xml11
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web6/readme.txt5
-rw-r--r--desktop/test/deployment/update/website_update/update/web7.oxtbin1897 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web7/description.xml36
-rwxr-xr-xdesktop/test/deployment/update/website_update/update/web7/readme.txt5
-rw-r--r--desktop/test/deployment/update/website_update/web1.oxtbin1693 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web2.oxtbin1693 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web3.oxtbin1693 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web4.oxtbin1693 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web5.oxtbin1693 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web6.oxtbin1638 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/website_update/web7.oxtbin1894 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/readme.txt18
-rw-r--r--desktop/test/deployment/update/wrong_url/update/url1.oxtbin2192 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/update/url1.update.xml11
-rw-r--r--desktop/test/deployment/update/wrong_url/update/url2.oxtbin2206 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/update/url2.update.xml10
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/update/wrongdownload1.update.xml11
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/update/wrongdownload2.update.xml11
-rwxr-xr-xdesktop/test/deployment/update/wrong_url/update/wrongdownload3.update.xml11
-rw-r--r--desktop/test/deployment/update/wrong_url/url1.oxtbin2190 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/wrong_url/url2.oxtbin2205 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/wrong_url/url3.oxtbin2204 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/wrong_url/wrongdownload1.oxtbin2194 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/wrong_url/wrongdownload2.oxtbin2194 -> 0 bytes
-rw-r--r--desktop/test/deployment/update/wrong_url/wrongdownload3.oxtbin2194 -> 0 bytes
-rwxr-xr-xdesktop/test/deployment/version/readme.txt85
-rw-r--r--desktop/test/deployment/version/version_0.0/dependency.oxtbin1657 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_0.0/license.oxtbin1733 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_0.0/plain.oxtbin1618 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.02.4.7.0/dependency.oxtbin1662 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.02.4.7.0/license.oxtbin1738 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.02.4.7.0/plain.oxtbin1624 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.15.3/dependency.oxtbin1662 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.15.3/license.oxtbin1738 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.15.3/plain.oxtbin1624 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.3/dependency.oxtbin1659 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.3/license.oxtbin1735 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.3/plain.oxtbin1620 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.4.7/dependency.oxtbin1661 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.4.7/license.oxtbin1737 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_1.2.4.7/plain.oxtbin1623 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badelement/dependency.oxtbin1654 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badelement/license.oxtbin1731 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badelement/plain.oxtbin1616 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badvalue/dependency.oxtbin1657 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badvalue/license.oxtbin1733 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_badvalue/plain.oxtbin1618 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_0.0/dependency.oxtbin1618 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_1.02.4.7.0/dependency.oxtbin1624 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_1.2.15.3/dependency.oxtbin1624 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_1.2.3/dependency.oxtbin1620 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_1.2.4.7/dependency.oxtbin1623 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_badelement/dependency.oxtbin1616 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_badvalue/dependency.oxtbin1618 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_nodependencies_none/dependency.oxtbin1598 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_none/dependency.oxtbin1645 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_none/license.oxtbin1722 -> 0 bytes
-rw-r--r--desktop/test/deployment/version/version_none/plain.oxtbin1598 -> 0 bytes
351 files changed, 0 insertions, 5819 deletions
diff --git a/desktop/test/deployment/active/Addons.xcu b/desktop/test/deployment/active/Addons.xcu
deleted file mode 100644
index cc75f2ab8f..0000000000
--- a/desktop/test/deployment/active/Addons.xcu
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="Addons">
- <node o:name="AddonUI">
- <node o:name="OfficeMenuBar">
- <node o:name="org.openoffice.test.desktop.deployment.active"
- o:op="replace">
- <prop o:name="Title" xml:lang="en-US">
- <value>active</value>
- </prop>
- <node o:name="Submenu">
- <node o:name="1" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.active_native:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>native</value>
- </prop>
- </node>
- <node o:name="2" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.active_java:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>java</value>
- </prop>
- </node>
- <node o:name="3" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.active_python:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>python</value>
- </prop>
- </node>
- </node>
- </node>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/active/Dispatch.java b/desktop/test/deployment/active/Dispatch.java
deleted file mode 100755
index 25443f96e0..0000000000
--- a/desktop/test/deployment/active/Dispatch.java
+++ /dev/null
@@ -1,101 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.active_java;
-
-import com.sun.star.awt.MessageBoxButtons;
-import com.sun.star.awt.Rectangle;
-import com.sun.star.awt.XMessageBox;
-import com.sun.star.awt.XMessageBoxFactory;
-import com.sun.star.awt.XWindowPeer;
-import com.sun.star.beans.PropertyValue;
-import com.sun.star.frame.DispatchDescriptor;
-import com.sun.star.frame.XDesktop;
-import com.sun.star.frame.XDispatch;
-import com.sun.star.frame.XStatusListener;
-import com.sun.star.lang.WrappedTargetRuntimeException;
-import com.sun.star.lang.XComponent;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.util.URL;
-
-public final class Dispatch extends WeakBase implements XServiceInfo, XDispatch
-{
- public Dispatch(XComponentContext context) {
- this.context = context;
- }
-
- public String getImplementationName() { return implementationName; }
-
- public boolean supportsService(String ServiceName) {
- return false; //TODO
- }
-
- public String[] getSupportedServiceNames() {
- return serviceNames;
- }
-
- public void dispatch(URL URL, PropertyValue[] Arguments) {
- try {
- XMultiComponentFactory smgr = UnoRuntime.queryInterface(
- XMultiComponentFactory.class, context.getServiceManager());
- XMessageBox box = UnoRuntime.queryInterface(
- XMessageBoxFactory.class,
- smgr.createInstanceWithContext(
- "com.sun.star.awt.Toolkit", context)).
- createMessageBox(
- UnoRuntime.queryInterface(
- XWindowPeer.class,
- (UnoRuntime.queryInterface(
- XDesktop.class,
- smgr.createInstanceWithContext(
- "com.sun.star.frame.Desktop", context)).
- getCurrentFrame().getComponentWindow())),
- new Rectangle(), "infobox", MessageBoxButtons.BUTTONS_OK,
- "active", "java");
- box.execute();
- UnoRuntime.queryInterface(XComponent.class, box).dispose();
- } catch (com.sun.star.uno.RuntimeException e) {
- throw e;
- } catch (com.sun.star.uno.Exception e) {
- throw new WrappedTargetRuntimeException(
- "wrapped: " + e.getMessage(), this, e);
- }
- }
-
- public void addStatusListener(XStatusListener Control, URL URL) {}
-
- public void removeStatusListener(XStatusListener Control, URL URL) {}
-
- private final XComponentContext context;
-
- static final String implementationName =
- "com.sun.star.comp.test.deployment.active_java_singleton";
-
- static final String[] serviceNames = new String[0];
-}
diff --git a/desktop/test/deployment/active/MANIFEST.MF b/desktop/test/deployment/active/MANIFEST.MF
deleted file mode 100755
index 63480874dd..0000000000
--- a/desktop/test/deployment/active/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Sealed: true
-RegistrationClassName: com.sun.star.comp.test.deployment.active_java.Services
-UNO-Type-Path:
diff --git a/desktop/test/deployment/active/ProtocolHandler.xcu b/desktop/test/deployment/active/ProtocolHandler.xcu
deleted file mode 100644
index 017bdea72b..0000000000
--- a/desktop/test/deployment/active/ProtocolHandler.xcu
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="ProtocolHandler">
- <node o:name="HandlerSet">
- <node o:name="com.sun.star.test.deployment.active_native" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.active_native:*</value>
- </prop>
- </node>
- <node o:name="com.sun.star.test.deployment.active_java" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.active_java:*</value>
- </prop>
- </node>
- <node o:name="com.sun.star.test.deployment.active_python" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.active_python:*</value>
- </prop>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/active/Provider.java b/desktop/test/deployment/active/Provider.java
deleted file mode 100755
index df31979f4b..0000000000
--- a/desktop/test/deployment/active/Provider.java
+++ /dev/null
@@ -1,81 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.active_java;
-
-import com.sun.star.frame.DispatchDescriptor;
-import com.sun.star.frame.XDispatch;
-import com.sun.star.frame.XDispatchProvider;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.util.URL;
-
-public final class Provider extends WeakBase
- implements XServiceInfo, XDispatchProvider
-{
- public Provider(XComponentContext context) {
- this.context = context;
- }
-
- public String getImplementationName() { return implementationName; }
-
- public boolean supportsService(String ServiceName) {
- return ServiceName.equals(getSupportedServiceNames()[0]); //TODO
- }
-
- public String[] getSupportedServiceNames() {
- return serviceNames;
- }
-
- public XDispatch queryDispatch(
- URL URL, String TargetFrameName, int SearchFlags)
- {
- return UnoRuntime.queryInterface(
- XDispatch.class,
- context.getValueByName(
- "/singletons/" +
- "com.sun.star.test.deployment.active_java_singleton"));
- }
-
- public XDispatch[] queryDispatches(DispatchDescriptor[] Requests) {
- XDispatch[] s = new XDispatch[Requests.length];
- for (int i = 0; i < s.length; ++i) {
- s[i] = queryDispatch(
- Requests[i].FeatureURL, Requests[i].FrameName,
- Requests[i].SearchFlags);
- }
- return s;
- }
-
- private final XComponentContext context;
-
- static final String implementationName =
- "com.sun.star.comp.test.deployment.active_java";
-
- static final String[] serviceNames = new String[] {
- "com.sun.star.test.deployment.active_java" };
-}
diff --git a/desktop/test/deployment/active/Services.java b/desktop/test/deployment/active/Services.java
deleted file mode 100755
index 4ea19f4b7a..0000000000
--- a/desktop/test/deployment/active/Services.java
+++ /dev/null
@@ -1,72 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.active_java;
-
-import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.registry.InvalidRegistryException;
-import com.sun.star.registry.XRegistryKey;
-
-public final class Services {
- private Services() {}
-
- public static XSingleComponentFactory __getComponentFactory(
- String implementation)
- {
- if (implementation.equals(Dispatch.implementationName)) {
- return Factory.createComponentFactory(
- Dispatch.class, Dispatch.implementationName,
- Dispatch.serviceNames);
- } else if (implementation.equals(Provider.implementationName)) {
- return Factory.createComponentFactory(
- Provider.class, Provider.implementationName,
- Provider.serviceNames);
- } else {
- return null;
- }
- }
-
- public static boolean __writeRegistryServiceInfo(XRegistryKey key) {
- if (!(Factory.writeRegistryServiceInfo(
- Dispatch.implementationName, Dispatch.serviceNames, key) &&
- Factory.writeRegistryServiceInfo(
- Provider.implementationName, Provider.serviceNames, key)))
- {
- return false;
- }
- try {
- key.
- createKey(
- "/" + Dispatch.implementationName +
- "/UNO/SINGLETONS/" +
- "com.sun.star.test.deployment.active_java_singleton").
- setStringValue(Dispatch.implementationName);
- } catch (InvalidRegistryException e) {
- return false;
- }
- return true;
- }
-}
diff --git a/desktop/test/deployment/active/active_native.cxx b/desktop/test/deployment/active/active_native.cxx
deleted file mode 100644
index 6507cdb0d7..0000000000
--- a/desktop/test/deployment/active/active_native.cxx
+++ /dev/null
@@ -1,314 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-************************************************************************/
-
-#include "precompiled_desktop.hxx"
-#include "sal/config.h"
-
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/awt/MessageBoxButtons.hpp"
-#include "com/sun/star/awt/Rectangle.hpp"
-#include "com/sun/star/awt/XMessageBox.hpp"
-#include "com/sun/star/awt/XMessageBoxFactory.hpp"
-#include "com/sun/star/awt/XWindowPeer.hpp"
-#include "com/sun/star/beans/PropertyValue.hpp"
-#include "com/sun/star/frame/DispatchDescriptor.hpp"
-#include "com/sun/star/frame/XDesktop.hpp"
-#include "com/sun/star/frame/XDispatch.hpp"
-#include "com/sun/star/frame/XDispatchProvider.hpp"
-#include "com/sun/star/frame/XFrame.hpp"
-#include "com/sun/star/frame/XStatusListener.hpp"
-#include "com/sun/star/lang/XComponent.hpp"
-#include "com/sun/star/lang/XMultiComponentFactory.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/registry/XRegistryKey.hpp"
-#include "com/sun/star/uno/DeploymentException.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/util/URL.hpp"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/implementationentry.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/diagnose.h"
-#include "rtl/textenc.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "uno/lbnames.h"
-
-namespace {
-
-namespace css = com::sun::star;
-
-class Provider:
- public cppu::WeakImplHelper2<
- css::lang::XServiceInfo, css::frame::XDispatchProvider >,
- private boost::noncopyable
-{
-public:
- static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
- css::uno::Reference< css::uno::XComponentContext > const & xContext)
- SAL_THROW((css::uno::Exception))
- { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); }
-
- static rtl::OUString SAL_CALL static_getImplementationName();
-
- static css::uno::Sequence< rtl::OUString > SAL_CALL
- static_getSupportedServiceNames();
-
-private:
- Provider(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- context_(context) { OSL_ASSERT(context.is()); }
-
- virtual ~Provider() {}
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
- { return static_getImplementationName(); }
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException)
- { return ServiceName == getSupportedServiceNames()[0]; } //TODO
-
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
- { return static_getSupportedServiceNames(); }
-
- virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(
- css::util::URL const &, rtl::OUString const &, sal_Int32)
- throw (css::uno::RuntimeException);
-
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
- SAL_CALL queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException);
-
- css::uno::Reference< css::uno::XComponentContext > context_;
-};
-
-rtl::OUString Provider::static_getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.comp.test.deployment.active_native"));
-}
-
-css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
-{
- rtl::OUString name(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.test.deployment.active_native"));
- return css::uno::Sequence< rtl::OUString >(&name, 1);
-}
-
-css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch(
- css::util::URL const &, rtl::OUString const &, sal_Int32)
- throw (css::uno::RuntimeException)
-{
- css::uno::Reference< css::frame::XDispatch > dispatch;
- if (!(context_->getValueByName(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "/singletons/com.sun.star.test.deployment."
- "active_native_singleton"))) >>=
- dispatch) ||
- !dispatch.is())
- {
- throw css::uno::DeploymentException(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "component context fails to supply singleton"
- " com.sun.star.test.deployment.active_native_singleton of"
- " type com.sun.star.frame.XDispatch")),
- context_);
- }
- return dispatch;
-}
-
-css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
-Provider::queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException)
-{
- css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > s(
- Requests.getLength());
- for (sal_Int32 i = 0; i < s.getLength(); ++i) {
- s[i] = queryDispatch(
- Requests[i].FeatureURL, Requests[i].FrameName,
- Requests[i].SearchFlags);
- }
- return s;
-}
-
-class Dispatch:
- public cppu::WeakImplHelper2<
- css::lang::XServiceInfo, css::frame::XDispatch >,
- private boost::noncopyable
-{
-public:
- static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
- css::uno::Reference< css::uno::XComponentContext > const & xContext)
- SAL_THROW((css::uno::Exception))
- { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); }
-
- static rtl::OUString SAL_CALL static_getImplementationName();
-
- static css::uno::Sequence< rtl::OUString > SAL_CALL
- static_getSupportedServiceNames()
- { return css::uno::Sequence< rtl::OUString >(); }
-
-private:
- Dispatch(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- context_(context) { OSL_ASSERT(context.is()); }
-
- virtual ~Dispatch() {}
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
- { return static_getImplementationName(); }
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const &)
- throw (css::uno::RuntimeException)
- { return false; } //TODO
-
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
- { return static_getSupportedServiceNames(); }
-
- virtual void SAL_CALL dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException);
-
- virtual void SAL_CALL addStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-
- virtual void SAL_CALL removeStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-
- css::uno::Reference< css::uno::XComponentContext > context_;
-};
-
-rtl::OUString Dispatch::static_getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.comp.test.deployment.active_native_singleton"));
-}
-
-void Dispatch::dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException)
-{
- css::uno::Reference< css::lang::XMultiComponentFactory > smgr(
- context_->getServiceManager(), css::uno::UNO_SET_THROW);
- css::uno::Reference< css::awt::XMessageBox > box(
- css::uno::Reference< css::awt::XMessageBoxFactory >(
- smgr->createInstanceWithContext(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.awt.Toolkit")), context_),
- css::uno::UNO_QUERY_THROW)->createMessageBox(
- css::uno::Reference< css::awt::XWindowPeer >(
- css::uno::Reference< css::frame::XFrame >(
- css::uno::Reference< css::frame::XDesktop >(
- smgr->createInstanceWithContext(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.frame.Desktop")),
- context_),
- css::uno::UNO_QUERY_THROW)->getCurrentFrame(),
- css::uno::UNO_SET_THROW)->getComponentWindow(),
- css::uno::UNO_QUERY_THROW),
- css::awt::Rectangle(),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("infobox")),
- css::awt::MessageBoxButtons::BUTTONS_OK,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("active")),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("native"))),
- css::uno::UNO_SET_THROW);
- box->execute();
- css::uno::Reference< css::lang::XComponent >(
- box, css::uno::UNO_QUERY_THROW)->dispose();
-}
-
-static cppu::ImplementationEntry const services[] = {
- { &Provider::static_create, &Provider::static_getImplementationName,
- &Provider::static_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 },
- { &Dispatch::static_create, &Dispatch::static_getImplementationName,
- &Dispatch::static_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 },
- { 0, 0, 0, 0, 0, 0 }
-};
-
-}
-
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
- char const * pImplName, void * pServiceManager, void * pRegistryKey)
-{
- return cppu::component_getFactoryHelper(
- pImplName, pServiceManager, pRegistryKey, services);
-}
-
-extern "C" sal_Bool SAL_CALL component_writeInfo(
- void * pServiceManager, void * pRegistryKey)
-{
- if (!component_writeInfoHelper(pServiceManager, pRegistryKey, services)) {
- return false;
- }
- try {
- css::uno::Reference< css::registry::XRegistryKey >(
- (css::uno::Reference< css::registry::XRegistryKey >(
- static_cast< css::registry::XRegistryKey * >(pRegistryKey))->
- createKey(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")) +
- Dispatch::static_getImplementationName() +
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "/UNO/SINGLETONS/com.sun.star.test.deployment."
- "active_native_singleton")))),
- css::uno::UNO_SET_THROW)->
- setStringValue(Dispatch::static_getImplementationName());
- } catch (css::uno::Exception & e) {
- (void) e;
- OSL_TRACE(
- "active_native component_writeInfo exception: %s",
- rtl::OUStringToOString(e.Message, RTL_TEXTENCODING_UTF8).getStr());
- return false;
- }
- return true;
-}
diff --git a/desktop/test/deployment/active/active_python.py b/desktop/test/deployment/active/active_python.py
deleted file mode 100755
index 8ba0947b6b..0000000000
--- a/desktop/test/deployment/active/active_python.py
+++ /dev/null
@@ -1,120 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-import uno
-import unohelper
-
-from com.sun.star.awt import Rectangle
-from com.sun.star.awt.MessageBoxButtons import BUTTONS_OK
-from com.sun.star.frame import XDispatch, XDispatchProvider
-from com.sun.star.lang import XServiceInfo
-from com.sun.star.registry import InvalidRegistryException
-
-class Provider(unohelper.Base, XServiceInfo, XDispatchProvider):
- implementationName = "com.sun.star.comp.test.deployment.active_python"
-
- serviceNames = ("com.sun.star.test.deployment.active_python",)
-
- def __init__(self, context):
- self.context = context
-
- def getImplementationName(self):
- return self.implementationName
-
- def supportsService(self, ServiceName):
- return ServiceName in self.serviceNames
-
- def getSupportedServiceNames(self):
- return self.serviceNames
-
- def queryDispatch(self, URL, TargetFrame, SearchFlags):
- return self.context.getValueByName( \
- "/singletons/com.sun.star.test.deployment.active_python_singleton")
-
- def queryDispatches(self, Requests):
- tuple( \
- self.queryDispatch(i.FeatureURL, i.FrameName, i.SearchFlags) \
- for i in Requests)
-
-class Dispatch(unohelper.Base, XServiceInfo, XDispatch):
- implementationName = \
- "com.sun.star.comp.test.deployment.active_python_singleton"
-
- serviceNames = ()
-
- def __init__(self, context):
- self.context = context
-
- def getImplementationName(self):
- return self.implementationName
-
- def supportsService(self, ServiceName):
- return ServiceName in self.serviceNames
-
- def getSupportedServiceNames(self):
- return self.serviceNames
-
- def dispatch(self, URL, Arguments):
- smgr = self.context.getServiceManager()
- box = smgr.createInstanceWithContext( \
- "com.sun.star.awt.Toolkit", self.context).createMessageBox( \
- smgr.createInstanceWithContext( \
- "com.sun.star.frame.Desktop", self.context). \
- getCurrentFrame().getComponentWindow(), \
- Rectangle(), "infobox", BUTTONS_OK, "active", "python")
- box.execute();
- box.dispose();
-
- def addStatusListener(self, Control, URL):
- pass
-
- def removeStatusListener(self, Control, URL):
- pass
-
-def getComponentFactory(implementationName, smgr, regKey):
- if implementationName == Provider.implementationName:
- return unohelper.createSingleServiceFactory( \
- Provider, Provider.implementationName, Provider.serviceNames)
- elif implementationName == Dispatch.implementationName:
- return unohelper.createSingleServiceFactory( \
- Dispatch, Dispatch.implementationName, Dispatch.serviceNames)
- else:
- return None
-
-def writeRegistryInfo(smgr, regKey):
- try:
- for i in (Provider, Dispatch):
- key = regKey.createKey("/" + i.implementationName + "/UNO")
- for j in i.serviceNames:
- key.createKey("/SERVICES/" + j);
- regKey.createKey( \
- "/" + Dispatch.implementationName + "/UNO/SINGLETONS/" \
- "com.sun.star.test.deployment.active_python_singleton"). \
- setStringValue(Dispatch.implementationName)
- except InvalidRegistryException:
- return False
- return True
diff --git a/desktop/test/deployment/active/description.xml b/desktop/test/deployment/active/description.xml
deleted file mode 100755
index fd7049e0cc..0000000000
--- a/desktop/test/deployment/active/description.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<d:description xmlns:d="http://openoffice.org/extensions/description/2006">
- <d:identifier
- value="org.openoffice/framework/desktop/test/deployment/active"/>
- <d:version value="1"/>
- <d:dependencies>
- <d:OpenOffice.org-minimal-version d:name="OpenOffice.org 3.4" value="3.4"/>
- </d:dependencies>
-</d:description>
diff --git a/desktop/test/deployment/active/makefile.mk b/desktop/test/deployment/active/makefile.mk
deleted file mode 100755
index 05c19eb236..0000000000
--- a/desktop/test/deployment/active/makefile.mk
+++ /dev/null
@@ -1,87 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-PRJ = ../../..
-PRJNAME = desktop
-TARGET = test_deployment_active
-
-ENABLE_EXCEPTIONS = TRUE
-
-PACKAGE = com/sun/star/comp/test/deployment/active_java
-JAVAFILES = Dispatch.java Provider.java Services.java
-JARFILES = juh.jar ridl.jar unoil.jar
-
-.INCLUDE: settings.mk
-
-DLLPRE =
-
-SLOFILES = $(SHL1OBJS)
-
-SHL1TARGET = active_native.uno
-SHL1OBJS = $(SLO)/active_native.obj
-SHL1RPATH = OXT
-SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB)
-SHL1VERSIONMAP = $(SOLARENV)/src/reg-component.map
-DEF1NAME = $(SHL1TARGET)
-
-.INCLUDE: target.mk
-
-.IF "$(SOLAR_JAVA)" != ""
-
-ALLTAR : $(MISC)/active.oxt
-
-$(MISC)/active.oxt : manifest.xml description.xml Addons.xcu \
- ProtocolHandler.xcu $(SHL1TARGETN) $(MISC)/$(TARGET)/active_java.jar \
- active_python.py
- $(RM) $@
- $(RM) -r $(MISC)/$(TARGET)/active.oxt-zip
- $(MKDIR) $(MISC)/$(TARGET)/active.oxt-zip
- $(MKDIRHIER) $(MISC)/$(TARGET)/active.oxt-zip/META-INF
- $(SED) -e 's|@PATH@|$(SHL1TARGETN:f)|g' \
- -e 's|@PLATFORM@|$(RTL_OS:l)_$(RTL_ARCH:l)|g' < manifest.xml \
- > $(MISC)/$(TARGET)/active.oxt-zip/META-INF/manifest.xml
- $(COPY) description.xml Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN) \
- $(MISC)/$(TARGET)/active_java.jar active_python.py \
- $(MISC)/$(TARGET)/active.oxt-zip/
- cd $(MISC)/$(TARGET)/active.oxt-zip && zip ../../active.oxt \
- META-INF/manifest.xml description.xml Addons.xcu ProtocolHandler.xcu \
- $(SHL1TARGETN:f) active_java.jar active_python.py
-
-$(MISC)/$(TARGET)/active_java.jar : MANIFEST.MF $(JAVATARGET)
- $(MKDIRHIER) $(@:d)
- $(RM) $@
- $(RM) -r $(MISC)/$(TARGET)/active_java.jar-zip
- $(MKDIR) $(MISC)/$(TARGET)/active_java.jar-zip
- $(MKDIRHIER) $(MISC)/$(TARGET)/active_java.jar-zip/META-INF \
- $(MISC)/$(TARGET)/active_java.jar-zip/$(PACKAGE)
- $(COPY) MANIFEST.MF $(MISC)/$(TARGET)/active_java.jar-zip/META-INF/
- $(COPY) $(foreach,i,$(JAVAFILES:b) $(CLASSDIR)/$(PACKAGE)/$i.class) \
- $(MISC)/$(TARGET)/active_java.jar-zip/$(PACKAGE)/
- cd $(MISC)/$(TARGET)/active_java.jar-zip && zip ../active_java.jar \
- META-INF/MANIFEST.MF $(foreach,i,$(JAVAFILES:b) $(PACKAGE)/$i.class)
-
-.ENDIF
diff --git a/desktop/test/deployment/active/manifest.xml b/desktop/test/deployment/active/manifest.xml
deleted file mode 100755
index 4f07669666..0000000000
--- a/desktop/test/deployment/active/manifest.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<m:manifest xmlns:m="http://openoffice.org/2001/manifest">
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="Addons.xcu"/>
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="ProtocolHandler.xcu"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-component;type=native;platform=@PLATFORM@"
- m:full-path="@PATH@"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-component;type=Java"
- m:full-path="active_java.jar"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-component;type=Python"
- m:full-path="active_python.py"/>
-</m:manifest>
diff --git a/desktop/test/deployment/boxt/Addons.xcu b/desktop/test/deployment/boxt/Addons.xcu
deleted file mode 100644
index 3df7e2de27..0000000000
--- a/desktop/test/deployment/boxt/Addons.xcu
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="Addons">
- <node o:name="AddonUI">
- <node o:name="OfficeMenuBar">
- <node o:name="org.openoffice.test.desktop.deployment.boxt" o:op="replace">
- <prop o:name="Title" xml:lang="en-US">
- <value>boxt</value>
- </prop>
- <node o:name="Submenu">
- <node o:name="1" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.boxt:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>boxt</value>
- </prop>
- </node>
- </node>
- </node>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/boxt/ProtocolHandler.xcu b/desktop/test/deployment/boxt/ProtocolHandler.xcu
deleted file mode 100644
index fe448aedbe..0000000000
--- a/desktop/test/deployment/boxt/ProtocolHandler.xcu
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="ProtocolHandler">
- <node o:name="HandlerSet">
- <node o:name="com.sun.star.test.deployment.boxt" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.boxt:*</value>
- </prop>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/boxt/boxt.cxx b/desktop/test/deployment/boxt/boxt.cxx
deleted file mode 100644
index b67625d588..0000000000
--- a/desktop/test/deployment/boxt/boxt.cxx
+++ /dev/null
@@ -1,184 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-************************************************************************/
-
-#include "precompiled_desktop.hxx"
-#include "sal/config.h"
-
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/beans/PropertyValue.hpp"
-#include "com/sun/star/frame/DispatchDescriptor.hpp"
-#include "com/sun/star/frame/XDispatch.hpp"
-#include "com/sun/star/frame/XDispatchProvider.hpp"
-#include "com/sun/star/frame/XStatusListener.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/util/URL.hpp"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase3.hxx"
-#include "cppuhelper/implementationentry.hxx"
-#include "cppuhelper/weak.hxx"
-#include "filter/msfilter/countryid.hxx"
-#include "osl/diagnose.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "uno/lbnames.h"
-#include "vcl/svapp.hxx"
-
-namespace {
-
-namespace css = com::sun::star;
-
-class Service:
- public cppu::WeakImplHelper3<
- css::lang::XServiceInfo, css::frame::XDispatchProvider,
- css::frame::XDispatch >,
- private boost::noncopyable
-{
-public:
- static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
- css::uno::Reference< css::uno::XComponentContext > const &)
- SAL_THROW((css::uno::Exception))
- { return static_cast< cppu::OWeakObject * >(new Service); }
-
- static rtl::OUString SAL_CALL static_getImplementationName();
-
- static css::uno::Sequence< rtl::OUString > SAL_CALL
- static_getSupportedServiceNames();
-
-private:
- Service() {}
-
- virtual ~Service() {}
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
- { return static_getImplementationName(); }
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException)
- { return ServiceName == getSupportedServiceNames()[0]; } //TODO
-
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
- { return static_getSupportedServiceNames(); }
-
- virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(
- css::util::URL const &, rtl::OUString const &, sal_Int32)
- throw (css::uno::RuntimeException)
- { return this; }
-
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
- SAL_CALL queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException);
-
- virtual void SAL_CALL dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException);
-
- virtual void SAL_CALL addStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-
- virtual void SAL_CALL removeStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-};
-
-rtl::OUString Service::static_getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM("com.sun.star.comp.test.deployment.boxt"));
-}
-
-css::uno::Sequence< rtl::OUString > Service::static_getSupportedServiceNames() {
- rtl::OUString name(
- RTL_CONSTASCII_USTRINGPARAM("com.sun.star.test.deployment.boxt"));
- return css::uno::Sequence< rtl::OUString >(&name, 1);
-}
-
-css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
-Service::queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException)
-{
- css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > s(
- Requests.getLength());
- for (sal_Int32 i = 0; i < s.getLength(); ++i) {
- s[i] = queryDispatch(
- Requests[i].FeatureURL, Requests[i].FrameName,
- Requests[i].SearchFlags);
- }
- return s;
-}
-
-void Service::dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException)
-{
- msfilter::ConvertCountryToLanguage(msfilter::COUNTRY_DONTKNOW);
- // link against some obscure library that is unlikely already loaded
- Application::ShowNativeErrorBox(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("boxt")),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("test")));
-}
-
-static cppu::ImplementationEntry const services[] = {
- { &Service::static_create, &Service::static_getImplementationName,
- &Service::static_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 },
- { 0, 0, 0, 0, 0, 0 }
-};
-
-}
-
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
- char const * pImplName, void * pServiceManager, void * pRegistryKey)
-{
- return cppu::component_getFactoryHelper(
- pImplName, pServiceManager, pRegistryKey, services);
-}
-
-extern "C" sal_Bool SAL_CALL component_writeInfo(
- void * pServiceManager, void * pRegistryKey)
-{
- return component_writeInfoHelper(pServiceManager, pRegistryKey, services);
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/desktop/test/deployment/boxt/description.xml b/desktop/test/deployment/boxt/description.xml
deleted file mode 100755
index 5a67bf3e94..0000000000
--- a/desktop/test/deployment/boxt/description.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<d:description xmlns:d="http://openoffice.org/extensions/description/2006">
- <d:identifier value="org.openoffice/framework/desktop/test/deployment/boxt"/>
- <d:version value="@VERSION@"/>
- <d:platform value="@PLATFORM@"/>
- <d:dependencies>
- <d:OpenOffice.org-minimal-version d:name="OpenOffice.org @VERSION@"
- value="@VERSION@"/>
- <d:OpenOffice.org-maximal-version d:name="OpenOffice.org @VERSION@ or older"
- d:OpenOffice.org-minimal-version="2.3" value="@VERSION@"/>
- </d:dependencies>
-</d:description>
diff --git a/desktop/test/deployment/boxt/makefile.mk b/desktop/test/deployment/boxt/makefile.mk
deleted file mode 100755
index 88e72aef4a..0000000000
--- a/desktop/test/deployment/boxt/makefile.mk
+++ /dev/null
@@ -1,68 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-PRJ = ../../..
-PRJNAME = desktop
-TARGET = test_deployment_boxt
-
-ENABLE_EXCEPTIONS = TRUE
-
-.INCLUDE: settings.mk
-.INCLUDE: rtlbootstrap.mk
-.INCLUDE: versionlist.mk
-
-my_version = $(OOOBASEVERSIONMAJOR).$(OOOBASEVERSIONMINOR)
-
-DLLPRE =
-
-SLOFILES = $(SHL1OBJS)
-
-SHL1TARGET = boxt.uno
-SHL1OBJS = $(SLO)/boxt.obj
-SHL1RPATH = BOXT
-SHL1STDLIBS = \
- $(CPPUHELPERLIB) $(CPPULIB) $(MSFILTERLIB) $(SALLIB) $(TOOLSLIB) $(VCLLIB)
-SHL1VERSIONMAP = $(SOLARENV)/src/reg-component.map
-DEF1NAME = $(SHL1TARGET)
-
-.INCLUDE: target.mk
-
-ALLTAR : $(MISC)/boxt.oxt
-
-$(MISC)/boxt.oxt .ERRREMOVE : manifest.xml description.xml Addons.xcu \
- ProtocolHandler.xcu $(SHL1TARGETN)
- $(RM) -r $@ $(MISC)/$(TARGET).zip
- $(MKDIR) $(MISC)/$(TARGET).zip
- $(MKDIR) $(MISC)/$(TARGET).zip/META-INF
- $(SED) -e 's|@PATH@|$(SHL1TARGETN:f)|g' < manifest.xml \
- > $(MISC)/$(TARGET).zip/META-INF/manifest.xml
- $(SED) -e 's|@PLATFORM@|$(RTL_OS:l)_$(RTL_ARCH:l)|g' \
- -e 's|@VERSION@|$(my_version)|g' < description.xml \
- > $(MISC)/$(TARGET).zip/description.xml
- $(COPY) Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN) $(MISC)/$(TARGET).zip
- cd $(MISC)/$(TARGET).zip && zip ../boxt.oxt META-INF/manifest.xml \
- description.xml Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN:f)
diff --git a/desktop/test/deployment/boxt/manifest.xml b/desktop/test/deployment/boxt/manifest.xml
deleted file mode 100755
index 73ebfc306e..0000000000
--- a/desktop/test/deployment/boxt/manifest.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<m:manifest xmlns:m="http://openoffice.org/2001/manifest">
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="Addons.xcu"/>
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="ProtocolHandler.xcu"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-component;type=native"
- m:full-path="@PATH@"/>
-</m:manifest>
diff --git a/desktop/test/deployment/dependencies/broken-dependency.oxt b/desktop/test/deployment/dependencies/broken-dependency.oxt
deleted file mode 100644
index 11bab0a950..0000000000
--- a/desktop/test/deployment/dependencies/broken-dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/double-dependencies.oxt b/desktop/test/deployment/dependencies/double-dependencies.oxt
deleted file mode 100644
index 055c27ea53..0000000000
--- a/desktop/test/deployment/dependencies/double-dependencies.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/empty-dependencies.oxt b/desktop/test/deployment/dependencies/empty-dependencies.oxt
deleted file mode 100644
index ebb18dcbf5..0000000000
--- a/desktop/test/deployment/dependencies/empty-dependencies.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/funny-dependency.oxt b/desktop/test/deployment/dependencies/funny-dependency.oxt
deleted file mode 100644
index 9b683e6d1e..0000000000
--- a/desktop/test/deployment/dependencies/funny-dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/license-dependency.oxt b/desktop/test/deployment/dependencies/license-dependency.oxt
deleted file mode 100644
index b01da4b5ca..0000000000
--- a/desktop/test/deployment/dependencies/license-dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/many-dependencies.oxt b/desktop/test/deployment/dependencies/many-dependencies.oxt
deleted file mode 100644
index 3675681437..0000000000
--- a/desktop/test/deployment/dependencies/many-dependencies.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/minattr22.oxt b/desktop/test/deployment/dependencies/minattr22.oxt
deleted file mode 100644
index a6c8e3758c..0000000000
--- a/desktop/test/deployment/dependencies/minattr22.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/minattr23.oxt b/desktop/test/deployment/dependencies/minattr23.oxt
deleted file mode 100644
index 83d17938c4..0000000000
--- a/desktop/test/deployment/dependencies/minattr23.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/minattr24.oxt b/desktop/test/deployment/dependencies/minattr24.oxt
deleted file mode 100644
index 00f053f487..0000000000
--- a/desktop/test/deployment/dependencies/minattr24.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/no-dependencies.oxt b/desktop/test/deployment/dependencies/no-dependencies.oxt
deleted file mode 100644
index 6487eb66ae..0000000000
--- a/desktop/test/deployment/dependencies/no-dependencies.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/no-description.oxt b/desktop/test/deployment/dependencies/no-description.oxt
deleted file mode 100644
index 1e6579cd7d..0000000000
--- a/desktop/test/deployment/dependencies/no-description.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/readme.txt b/desktop/test/deployment/dependencies/readme.txt
deleted file mode 100755
index a99fade002..0000000000
--- a/desktop/test/deployment/dependencies/readme.txt
+++ /dev/null
@@ -1,82 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-no-description.oxt, no-dependencies.oxt, empty-dependencies.oxt effectively have
-no dependencies and should thus install successfully.
-
-broken-dependencies.oxt contains a malformed description.xml and should thus
-display an error and not install.
-
-double-dependencies.oxt contains a description.xml with two dependencies
-elements. This is not allowed by the spec but behaviour is unspecified. In the
-current implementation, it combines the two elements, and thus finds two
-unsatisfied dependencies, displays the Unsatisfied Dependencies dialog and does
-not install.
-
-version21.oxt contains a dependency on OOo 2.1 (and should thus only install in
-OOo 2.1 or later); version21ns.oxt is the same, but with a different way of
-using XML namespaces; version21other.oxt additionally contains an unsatisfied
-dependency (and should thus not install in any OOo version). version22.oxt
-contains a dependency on OOo 2.2 (and should thus only install in OOo 2.2 or
-later). version23.oxt contains a dependency on OOo 2.3 (and should thus only
-install in OOo 2.3 or later). version10000.oxt contains a dependency on the
-hypothetical OOo version 10000 (and should thus not install in any OOo version).
-versionempty.oxt contains an empty value attribute and versionnone.oxt lacks the
-value attribute; neither is allowed by the spec, but the current implementation
-treats both as pre OOo 2.1 versions (and the extensions should thus install in
-OOo 2.1 or later).
-
-maxversion30.oxt contains a maximal version dependency on OOo 3.0 (and should
-thus only install in OOo 3.0 or earlier, back to OOo 2.3, thanks to the
-additionally specified OpenOffice.org-minimal-version attribute).
-maxversion10000.oxt contains a maximal version dependency on the hypothetical
-OOo version 10000 (and should thus install in any OOo version 3.1 or later;
-OpenOffice.org-maximal-version was introduced in OOo 3.1, and no OpenOffice.org-
-minimal-version attribute is specified). bad-minmaxversion.oxt contains a
-minimal version dependency on OOo 3.2 and a maximal version dependency on
-OOo 3.1 (and should thus not install in any OOo version).
-
-minattr22.oxt contains a (hypothetical, most probably never satisfied)
-UNSATISFIED dependency with an OpenOffice.org-minimal-version attribute of
-"2.2" (and should thus install in OOo 2.3 or later); minattr23.oxt is similar,
-but with an OpenOffice.org-minimal-version attribute of "2.3" (and should thus
-also install in OOo 2.3 or later); minattr24.oxt is similar, but with an
-OpenOffice.org-minimal-version attribute of "2.4" (and should thus only install
-in OOo 2.4 or later).
-
-All of the following testcases should result in the Unsatisfied Dependencies
-dialog being displayed and the extension not being installed:
-
-unknown-dependency.oxt contains a dependency without a name attribute, and
-should thus display "Unknown" (localized).
-
-funny-dependency.oxt, many-dependencies.oxt contain somewhat extreme input.
-
-license-dependency.oxt contains both a license to be accepted by the user and
-dependencies. What is important here is that the Unsatisfied Dependencies
-dialog is displayed, but not the license (as installation aborts as soon as
-unsatisfied dependencies are found).
diff --git a/desktop/test/deployment/dependencies/unknown-dependency.oxt b/desktop/test/deployment/dependencies/unknown-dependency.oxt
deleted file mode 100644
index 7c2a22c6d5..0000000000
--- a/desktop/test/deployment/dependencies/unknown-dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version10000.oxt b/desktop/test/deployment/dependencies/version10000.oxt
deleted file mode 100644
index c15b7a117c..0000000000
--- a/desktop/test/deployment/dependencies/version10000.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version21.oxt b/desktop/test/deployment/dependencies/version21.oxt
deleted file mode 100644
index 922b279555..0000000000
--- a/desktop/test/deployment/dependencies/version21.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version21ns.oxt b/desktop/test/deployment/dependencies/version21ns.oxt
deleted file mode 100644
index 5efb2ed902..0000000000
--- a/desktop/test/deployment/dependencies/version21ns.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version21other.oxt b/desktop/test/deployment/dependencies/version21other.oxt
deleted file mode 100644
index d88a8155af..0000000000
--- a/desktop/test/deployment/dependencies/version21other.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version22.oxt b/desktop/test/deployment/dependencies/version22.oxt
deleted file mode 100644
index 4c8a207b68..0000000000
--- a/desktop/test/deployment/dependencies/version22.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/version23.oxt b/desktop/test/deployment/dependencies/version23.oxt
deleted file mode 100644
index 6c08d2949c..0000000000
--- a/desktop/test/deployment/dependencies/version23.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/versionempty.oxt b/desktop/test/deployment/dependencies/versionempty.oxt
deleted file mode 100644
index a06bb01294..0000000000
--- a/desktop/test/deployment/dependencies/versionempty.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/dependencies/versionnone.oxt b/desktop/test/deployment/dependencies/versionnone.oxt
deleted file mode 100644
index ace2a11651..0000000000
--- a/desktop/test/deployment/dependencies/versionnone.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/desc1.oxt b/desktop/test/deployment/description/desc1.oxt
deleted file mode 100644
index e447fd6eae..0000000000
--- a/desktop/test/deployment/description/desc1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/desc2.oxt b/desktop/test/deployment/description/desc2.oxt
deleted file mode 100644
index 8df2f33fa6..0000000000
--- a/desktop/test/deployment/description/desc2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/desc3.oxt b/desktop/test/deployment/description/desc3.oxt
deleted file mode 100644
index fbd1136b03..0000000000
--- a/desktop/test/deployment/description/desc3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/desc4.oxt b/desktop/test/deployment/description/desc4.oxt
deleted file mode 100644
index 0c97f5fd44..0000000000
--- a/desktop/test/deployment/description/desc4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/desc5.oxt b/desktop/test/deployment/description/desc5.oxt
deleted file mode 100644
index 8110073499..0000000000
--- a/desktop/test/deployment/description/desc5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/description/readme.txt b/desktop/test/deployment/description/readme.txt
deleted file mode 100755
index bb133ba516..0000000000
--- a/desktop/test/deployment/description/readme.txt
+++ /dev/null
@@ -1,23 +0,0 @@
-The folder contains extensions which use in the description.xml the following:
--The <extension-description> element The element contains localized child
-elements.
-
-The following table shows what localized item is used, when the Office the locale
-en-US uses. The displayed extension description contains the locale.
-
-
-Localization:
-
-Installed office: en-US
- | locale
-=========================
-desc1.oxt | en-US
--------------------------
-desc2.oxt | en-US-region1
---------------------------
-desc3.oxt | en
---------------------------
-desc4.oxt | en-GB
---------------------------
-desc5.oxt | de
-
diff --git a/desktop/test/deployment/display_name/name1.oxt b/desktop/test/deployment/display_name/name1.oxt
deleted file mode 100644
index 5a53690d69..0000000000
--- a/desktop/test/deployment/display_name/name1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/display_name/name2.oxt b/desktop/test/deployment/display_name/name2.oxt
deleted file mode 100644
index f6cbcae3bc..0000000000
--- a/desktop/test/deployment/display_name/name2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/display_name/name3.oxt b/desktop/test/deployment/display_name/name3.oxt
deleted file mode 100644
index 8df750ce62..0000000000
--- a/desktop/test/deployment/display_name/name3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/display_name/name4.oxt b/desktop/test/deployment/display_name/name4.oxt
deleted file mode 100644
index 6ce4822e37..0000000000
--- a/desktop/test/deployment/display_name/name4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/display_name/name5.oxt b/desktop/test/deployment/display_name/name5.oxt
deleted file mode 100644
index 56973be781..0000000000
--- a/desktop/test/deployment/display_name/name5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/display_name/readme.txt b/desktop/test/deployment/display_name/readme.txt
deleted file mode 100755
index 23173bde63..0000000000
--- a/desktop/test/deployment/display_name/readme.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-The folder contains extensions which use in the description.xml the following:
--The <display-name> 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/desktop/test/deployment/executable_content/build/hello.c b/desktop/test/deployment/executable_content/build/hello.c
deleted file mode 100755
index e5f41dc651..0000000000
--- a/desktop/test/deployment/executable_content/build/hello.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2000, 2010 Oracle and/or its affiliates.
- *
- * OpenOffice.org - a multi-platform office productivity suite
- *
- * This file is part of OpenOffice.org.
- *
- * OpenOffice.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License version 3
- * only, as published by the Free Software Foundation.
- *
- * OpenOffice.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License version 3 for more details
- * (a copy is included in the LICENSE file that accompanied this code).
- *
- * You should have received a copy of the GNU Lesser General Public License
- * version 3 along with OpenOffice.org. If not, see
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-// MARKER(update_precomp.py): autogen include statement, do not remove
-#include "precompiled_desktop.hxx"
-
-#include <stdio.h>
-
-int main(int argc , char** argv, char** envp)
-{
- //prevent warning about unused parameters
- //we need to provide parameter names in C
- (void)argc;
- (void)argv;
- (void)envp;
-
- fprintf(stdout,"Hello world!\n");
- return 0;
-}
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/desktop/test/deployment/executable_content/build/makefile.mk b/desktop/test/deployment/executable_content/build/makefile.mk
deleted file mode 100755
index 038051c974..0000000000
--- a/desktop/test/deployment/executable_content/build/makefile.mk
+++ /dev/null
@@ -1,51 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ = ..$/..$/..$/..
-
-PRJNAME = desktop
-TARGET = hello
-LIBTARGET=NO
-NO_DEFAULT_STL=TRUE
-LIBSALCPPRT=
-
-.INCLUDE : settings.mk
-
-
-APP1NOSAL = TRUE
-APP1OBJS = \
- $(OBJ)$/hello.obj
-
-
-APP1TARGET = $(TARGET)
-
-DEPOBJFILES = \
- $(OBJ)$/hello.obj
-
-
-.INCLUDE : target.mk
-
diff --git a/desktop/test/deployment/executable_content/build/readme.txt b/desktop/test/deployment/executable_content/build/readme.txt
deleted file mode 100755
index 4f956e573e..0000000000
--- a/desktop/test/deployment/executable_content/build/readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This folder contains the sources to build the hello executable which is contained
-in the hello.oxt.
diff --git a/desktop/test/deployment/executable_content/hello.oxt b/desktop/test/deployment/executable_content/hello.oxt
deleted file mode 100644
index 97d6d14a31..0000000000
--- a/desktop/test/deployment/executable_content/hello.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/executable_content/readme.txt b/desktop/test/deployment/executable_content/readme.txt
deleted file mode 100755
index ad3c01097e..0000000000
--- a/desktop/test/deployment/executable_content/readme.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-When the executable is installed try to execute the executable "hello". The executable
-file attribute (not on Windows) should be set.
-
-CD into the extension directory in /user|share)/uno_packages/cache/uno_packages/xyz_
-Then there are the directories for different platforms:
-
-windows,
-solaris,
-linux
-
-Each directory contains a hello executable. On linux one should execute it in a
-shell with an build environment, so that the c++ runtime is found.
diff --git a/desktop/test/deployment/identifier/explicit/identifier.oxt b/desktop/test/deployment/identifier/explicit/identifier.oxt
deleted file mode 100644
index 3851e291c9..0000000000
--- a/desktop/test/deployment/identifier/explicit/identifier.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/identifier/legacy/identifier.oxt b/desktop/test/deployment/identifier/legacy/identifier.oxt
deleted file mode 100644
index df8bb84492..0000000000
--- a/desktop/test/deployment/identifier/legacy/identifier.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/identifier/readme.txt b/desktop/test/deployment/identifier/readme.txt
deleted file mode 100755
index 8a791c586a..0000000000
--- a/desktop/test/deployment/identifier/readme.txt
+++ /dev/null
@@ -1,33 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-legacy/identifier.oxt and explicit/identifier.oxt are two different extensions
-that happen to have the same file name. legacy/identifier.oxt does not have an
-explicit extension identifier, so it gets the implicit one "org.openoffice.
-legacy.identifier.oxt". explicit/identifier.oxt has the
-explicit extension identifier "org.openoffice/framework/desktop/test/deployment/
-identifier/explicit/identifier.oxt".
diff --git a/desktop/test/deployment/locationtest/LocationTest.idl b/desktop/test/deployment/locationtest/LocationTest.idl
deleted file mode 100644
index 43beaac0a3..0000000000
--- a/desktop/test/deployment/locationtest/LocationTest.idl
+++ /dev/null
@@ -1,40 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- *************************************************************************/
-
-#ifndef _com_sun_star_comp_smoketest_LocationTest_idl_
-#define _com_sun_star_comp_smoketest_LocationTest_idl_
-
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-
-module com { module sun { module star { module comp { module smoketest {
- // example service, XServiceInfo is implemented here for demonstration
- // issues. XServiceInfo must be implemented by all components.
- service TestExtension: ::com::sun::star::lang::XServiceInfo;
-};};};};};
-
-#endif
diff --git a/desktop/test/deployment/locationtest/LocationTest.java b/desktop/test/deployment/locationtest/LocationTest.java
deleted file mode 100755
index b16d494551..0000000000
--- a/desktop/test/deployment/locationtest/LocationTest.java
+++ /dev/null
@@ -1,165 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- *************************************************************************/
-package com.sun.star.comp.smoketest;
-
-import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.registry.XRegistryKey;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.uno.Type;
-
-/** This class capsulates the class, that implements the minimal component, a
- * factory for creating the service (<CODE>__getComponentFactory</CODE>) and a
- * method, that writes the information into the given registry key
- * (<CODE>__writeRegistryServiceInfo</CODE>).
- */
-public class LocationTest {
- /** This class implements the component. At least the interfaces XServiceInfo,
- * XTypeProvider, and XInitialization should be provided by the service.
- */
- public static class _LocationTest extends WeakBase
- implements XServiceInfo {
- /** The service name, that must be used to get an instance of this service.
- */
- static private final String __serviceName =
- "com.sun.star.comp.smoketest.LocationTest";
-
- /** The initial component contextr, that gives access to
- * the service manager, supported singletons, ...
- * It's often later used
- */
- private XComponentContext m_cmpCtx;
-
- /** The service manager, that gives access to all registered services.
- * It's often later used
- */
- private XMultiComponentFactory m_xMCF;
-
- /** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
- * could be introduced while initializing.
- */
- public _LocationTest(XComponentContext xCompContext) {
- try {
- m_cmpCtx = xCompContext;
- m_xMCF = m_cmpCtx.getServiceManager();
- }
- catch( Exception e ) {
- e.printStackTrace();
- }
- }
-
- /** This method returns an array of all supported service names.
- * @return Array of supported service names.
- */
- public String[] getSupportedServiceNames() {
- return getServiceNames();
- }
-
- /** This method is a simple helper function to used in the
- * static component initialisation functions as well as in
- * getSupportedServiceNames.
- */
- public static String[] getServiceNames() {
- String[] sSupportedServiceNames = { __serviceName };
- return sSupportedServiceNames;
- }
-
- /** This method returns true, if the given service will be
- * supported by the component.
- * @param sServiceName Service name.
- * @return True, if the given service name will be supported.
- */
- public boolean supportsService( String sServiceName ) {
- return sServiceName.equals( __serviceName );
- }
-
- /** Return the class name of the component.
- * @return Class name of the component.
- */
- public String getImplementationName() {
- return _LocationTest.class.getName();
- }
- }
-
-
- /**
- * Gives a factory for creating the service.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns a <code>XSingleComponentFactory</code> for creating
- * the component
- * @param sImplName the name of the implementation for which a
- * service is desired
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static XSingleComponentFactory __getComponentFactory(String sImplName)
- {
- XSingleComponentFactory xFactory = null;
-
- if ( sImplName.equals( _LocationTest.class.getName() ) )
- xFactory = Factory.createComponentFactory(_LocationTest.class,
- _LocationTest.getServiceNames());
-
- return xFactory;
- }
-
- /**
- * Writes the service information into the given registry key.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns true if the operation succeeded
- * @param regKey the registryKey
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) {
- return Factory.writeRegistryServiceInfo(_LocationTest.class.getName(),
- _LocationTest.getServiceNames(),
- regKey);
- }
-
- /** This method is a member of the interface for initializing an object
- * directly after its creation.
- * @param object This array of arbitrary objects will be passed to the
- * component after its creation.
- * @throws Exception Every exception will not be handled, but will be
- * passed to the caller.
- */
- public void initialize( Object[] object )
- throws com.sun.star.uno.Exception {
- /* The component describes what arguments its expected and in which
- * order!At this point you can read the objects and can intialize
- * your component using these objects.
- */
- }
-}
diff --git a/desktop/test/deployment/locationtest/LocationTest.odt b/desktop/test/deployment/locationtest/LocationTest.odt
deleted file mode 100644
index 8e1aa70078..0000000000
--- a/desktop/test/deployment/locationtest/LocationTest.odt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/locationtest/MANIFEST.MF b/desktop/test/deployment/locationtest/MANIFEST.MF
deleted file mode 100755
index a2fa8c34b7..0000000000
--- a/desktop/test/deployment/locationtest/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-RegistrationClassName: com.sun.star.comp.smoketest.LocationTest
-
diff --git a/desktop/test/deployment/locationtest/delzip b/desktop/test/deployment/locationtest/delzip
deleted file mode 100755
index 636fda90bf..0000000000
--- a/desktop/test/deployment/locationtest/delzip
+++ /dev/null
@@ -1 +0,0 @@
-ECHO is OFF
diff --git a/desktop/test/deployment/locationtest/description.xml b/desktop/test/deployment/locationtest/description.xml
deleted file mode 100755
index 54e45537b0..0000000000
--- a/desktop/test/deployment/locationtest/description.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:d="http://openoffice.org/extensions/description/2006" >
- <identifier value="org.openoffice.extensions.testarea.desktop.location"/>
- <version value="1.0" />
- <dependencies >
- <OpenOffice.org-minimal-version value="2.2" d:name="OpenOffice.org 2.2"/>
- </dependencies>
- <update-information>
- <src xlink:href="http://update.services.openoffice.org/ProductUpdateService/check.Update?product=extension&amp;extensionid=org.openoffice.extensions.testarea.desktop.updateinfo&amp;refresh=true"/>
- </update-information>
-</description>
diff --git a/desktop/test/deployment/locationtest/makefile.mk b/desktop/test/deployment/locationtest/makefile.mk
deleted file mode 100755
index 24be56c28d..0000000000
--- a/desktop/test/deployment/locationtest/makefile.mk
+++ /dev/null
@@ -1,87 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ = ..$/..$/..
-PRJNAME = location_test
-PACKAGE = com$/sun$/star$/comp$/smoketest
-TARGET = com_sun_star_comp_smoketest
-
-no_common_build_zip:=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
-
-JARTARGET = LocationTest.jar
-JARCOMPRESS = TRUE
-CUSTOMMANIFESTFILE = MANIFEST.MF
-
-ZIP1TARGET=locationtest
-ZIP1LIST=*
-ZIPFLAGS=-r
-ZIP1DIR=$(MISC)$/$(TARGET)
-ZIP1EXT=.oxt
-
-# --- Files --------------------------------------------------------
-
-COPY_OXT_MANIFEST:= $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
-JAVAFILES = LocationTest.java
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-$(JARTARGETN) : $(MISC)$/$(TARGET).javamaker.done
-
-$(JAVACLASSFILES) : $(MISC)$/$(TARGET).javamaker.done
-
-$(MISC)$/$(TARGET).javamaker.done: $(BIN)$/LocationTest.rdb
- $(JAVAMAKER) -O$(CLASSDIR) -BUCR -nD -X$(SOLARBINDIR)/types.rdb $<
- $(TOUCH) $@
-
-$(BIN)$/LocationTest.rdb: LocationTest.idl
- $(IDLC) -O$(MISC) -I$(SOLARIDLDIR) -cid -we $<
- +-$(RM) $@
- $(REGMERGE) $@ /UCR $(MISC)$/LocationTest.urd
-
-$(MISC)$/$(ZIP1TARGET).createdir :
- +$(MKDIRHIER) $(MISC)$/$(TARGET)$/META-INF >& $(NULLDEV) && $(TOUCH) $@
-
-$(MISC)$/$(TARGET)_resort : manifest.xml $(JARTARGETN) $(MISC)$/$(ZIP1TARGET).createdir $(BIN)$/LocationTest.rdb description.xml
- $(COPY) manifest.xml $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
- $(COPY) $(JARTARGETN) $(MISC)$/$(TARGET)$/$(JARTARGET)
- $(COPY) $(BIN)$/LocationTest.rdb $(MISC)$/$(TARGET)$/LocationTest.rdb
- $(COPY) description.xml $(MISC)$/$(TARGET)$/description.xml
- $(TOUCH) $@
-
-.IF "$(ZIP1TARGETN)"!=""
-$(ZIP1TARGETN) : $(MISC)$/$(TARGET)_resort $(MISC)$/$(ZIP1TARGET).createdir
-
-.ENDIF # "$(ZIP1TARGETN)"!=""
-
diff --git a/desktop/test/deployment/locationtest/manifest.xml b/desktop/test/deployment/locationtest/manifest.xml
deleted file mode 100755
index 3dd6460faf..0000000000
--- a/desktop/test/deployment/locationtest/manifest.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
- <manifest:file-entry manifest:full-path="LocationTest.jar" manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>
- <manifest:file-entry manifest:full-path="LocationTest.rdb" manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>
-</manifest:manifest>
diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/MANIFEST.MF b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/MANIFEST.MF
deleted file mode 100755
index fba55a6e0d..0000000000
--- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-RegistrationClassName: com.sun.star.comp.extensionoptions.OptionsEventHandler
-
diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java
deleted file mode 100755
index bd8e40826c..0000000000
--- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/OptionsEventHandler.java
+++ /dev/null
@@ -1,449 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- *************************************************************************/
-package com.sun.star.comp.extensionoptions;
-
-import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.lang.XMultiServiceFactory;
-import com.sun.star.lang.WrappedTargetException;
-import com.sun.star.lang.IllegalArgumentException;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lang.WrappedTargetException;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.Any;
-import com.sun.star.uno.AnyConverter;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.uno.Exception;
-import com.sun.star.registry.XRegistryKey;
-import com.sun.star.awt.XContainerWindowEventHandler;
-import com.sun.star.awt.XControl;
-import com.sun.star.awt.XControlModel;
-import com.sun.star.awt.XControlContainer;
-import com.sun.star.container.XNameAccess;
-import com.sun.star.container.NoSuchElementException;
-import com.sun.star.beans.PropertyValue;
-import com.sun.star.beans.PropertyState;
-import com.sun.star.beans.XPropertySet;
-import com.sun.star.beans.UnknownPropertyException;
-import com.sun.star.beans.PropertyVetoException;
-import com.sun.star.util.XChangesBatch;
-
-/** A handler which supports multiple options pages which all
- * have the same controls.
- */
-public class OptionsEventHandler {
-
- public static class _OptionsEventHandler extends WeakBase
- implements XServiceInfo, XContainerWindowEventHandler {
-
- static private final String __serviceName =
- "com.sun.star.comp.extensionoptions.OptionsEventHandler";
-
- private XComponentContext m_cmpCtx;
-
- private XMultiComponentFactory m_xMCF;
-
- private XNameAccess m_xAccessLeaves;
-
- /**Names of supported options pages.
- */
- private String[] m_arWindowNames = {
- "Writer1", "Writer2", "Writer3", "Calc1", "Calc2", "Calc3",
- "Draw1", "Draw2", "Draw3", "Node1_1", "Node1_2", "Node1_3",
- "Node2_1", "Node2_2", "Node2_3", "Node3_1", "Node3_2", "Node3_3"};
-
- /**Names of the controls which are supported by this handler. All these
- *controls must have a "Text" property.
- */
- private String[] m_arStringControls = {
- "String0", "String1", "String2", "String3", "String4"};
-
- public _OptionsEventHandler(XComponentContext xCompContext) {
- m_cmpCtx = xCompContext;
- m_xMCF = m_cmpCtx.getServiceManager();
-
- //Create the com.sun.star.configuration.ConfigurationUpdateAccess
- //for the registry node which contains the data for our option
- //pages.
- XMultiServiceFactory xConfig;
- try {
- xConfig = (XMultiServiceFactory) UnoRuntime.queryInterface(
- XMultiServiceFactory.class,
- m_cmpCtx.getServiceManager().createInstanceWithContext(
- "com.sun.star.configuration.ConfigurationProvider", m_cmpCtx));
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace();
- return;
- }
-
- //One argument for creating the ConfigurationUpdateAccess is the "nodepath".
- //Our nodepath point to the node of which the direct subnodes represent the
- //different options pages.
- Object[] args = new Object[1];
- args[0] = new PropertyValue(
- "nodepath", 0, "/org.openoffice.desktop.deployment.options.ExtensionData/Leaves",
- PropertyState.DIRECT_VALUE);
-
- //We get the com.sun.star.container.XNameAccess from the instance of
- //ConfigurationUpdateAccess and save it for later use.
- try {
- m_xAccessLeaves = (XNameAccess) UnoRuntime.queryInterface(
- XNameAccess.class, xConfig.createInstanceWithArguments(
- "com.sun.star.configuration.ConfigurationUpdateAccess", args));
-
- } catch (com.sun.star.uno.Exception e) {
- e.printStackTrace();
- return;
- }
- }
-
- /** This method returns an array of all supported service names.
- * @return Array of supported service names.
- */
- public String[] getSupportedServiceNames() {
- return getServiceNames();
- }
-
- /** This method is a simple helper function to used in the
- * static component initialisation functions as well as in
- * getSupportedServiceNames.
- */
- public static String[] getServiceNames() {
- String[] sSupportedServiceNames = { __serviceName };
- return sSupportedServiceNames;
- }
-
- /** This method returns true, if the given service will be
- * supported by the component.
- * @param sServiceName Service name.
- * @return True, if the given service name will be supported.
- */
- public boolean supportsService( String sServiceName ) {
- return sServiceName.equals( __serviceName );
- }
-
- /** Return the class name of the component.
- * @return Class name of the component.
- */
- public String getImplementationName() {
- return _OptionsEventHandler.class.getName();
- }
-
- //XContainerWindowEventHandler
- public boolean callHandlerMethod(com.sun.star.awt.XWindow aWindow,
- Object aEventObject, String sMethod)
- throws WrappedTargetException {
- if (sMethod.equals("external_event") ){
- try {
- return handleExternalEvent(aWindow, aEventObject);
- } catch (com.sun.star.uno.RuntimeException re) {
- throw re;
- } catch (com.sun.star.uno.Exception e) {
- throw new WrappedTargetException(sMethod, this, e);
- }
- }
-
- return true;
- }
-
- //XContainerWindowEventHandler
- public String[] getSupportedMethodNames() {
- return new String[] {"external_event"};
- }
-
- private boolean handleExternalEvent(com.sun.star.awt.XWindow aWindow, Object aEventObject)
- throws com.sun.star.uno.Exception {
- try {
- String sMethod = AnyConverter.toString(aEventObject);
- if (sMethod.equals("ok")) {
- saveData(aWindow);
- } else if (sMethod.equals("back") || sMethod.equals("initialize")) {
- loadData(aWindow);
- }
- } catch (com.sun.star.lang.IllegalArgumentException e) {
- throw new com.sun.star.lang.IllegalArgumentException(
- "Method external_event requires a string in the event object argument.",
- this, (short) -1);
- }
-
- return true;
- }
-
- private void saveData(com.sun.star.awt.XWindow aWindow)
- throws com.sun.star.lang.IllegalArgumentException,
- com.sun.star.uno.Exception {
-
- //Determine the name of the options page. This serves two purposes. First, if this
- //options page is supported by this handler and second we use the name two locate
- //the corresponding data in the registry.
- String sWindowName = getWindowName(aWindow);
- if (sWindowName == null)
- throw new com.sun.star.lang.IllegalArgumentException(
- "This window is not supported by this handler", this, (short) -1);
-
- //To access the separate controls of the window we need to obtain the
- //XControlContainer from the window implementation
- XControlContainer xContainer = (XControlContainer) UnoRuntime.queryInterface(
- XControlContainer.class, aWindow);
- if (xContainer == null)
- throw new com.sun.star.uno.Exception(
- "Could not get XControlContainer from window.", this);
-
- //This is an implementation which will be used for several options pages
- //which all have the same controls. m_arStringControls is an array which
- //contains the names.
- for (int i = 0; i < m_arStringControls.length; i++) {
-
- //To obtain the data from the controls we need to get their model.
- //First get the respective control from the XControlContainer.
- XControl xControl = xContainer.getControl(m_arStringControls[i]);
-
- //This generic handler and the corresponding registry schema support
- //up to five text controls. However, if a options page does not use all
- //five controls then we will not complain here.
- if (xControl == null)
- continue;
-
- //From the control we get the model, which in turn supports the
- //XPropertySet interface, which we finally use to get the data from
- //the control.
- XPropertySet xProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class, xControl.getModel());
-
- if (xProp == null)
- throw new com.sun.star.uno.Exception(
- "Could not get XPropertySet from control.", this);
- //Get the "Text" property.
- Object aText = xProp.getPropertyValue("Text");
- String sValue = null;
-
- //The value is still contained in a com.sun.star.uno.Any - so convert it.
- try {
- sValue = AnyConverter.toString(aText);
- } catch (com.sun.star.lang.IllegalArgumentException e) {
- throw new com.sun.star.lang.IllegalArgumentException(
- "Wrong property type.", this, (short) -1);
- }
-
- //Now we have the actual string value of the control. What we need now is
- //the XPropertySet of the respective property in the registry, so that we
- //can store the value.
- //To access the registry we have previously created a service instance
- //of com.sun.star.configuration.ConfigurationUpdateAccess which supports
- //com.sun.star.container.XNameAccess. The XNameAccess is used to get the
- //particular registry node which represents this options page.
- //Fortunately the name of the window is the same as the registry node.
- XPropertySet xLeaf = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class, m_xAccessLeaves.getByName(sWindowName));
- if (xLeaf == null)
- throw new com.sun.star.uno.Exception(
- "XPropertySet not supported.", this);
-
- //Finally we can set the value
- xLeaf.setPropertyValue(m_arStringControls[i], sValue);
- }
-
- //Committing the changes will cause or changes to be written to the registry.
- XChangesBatch xUpdateCommit =
- (XChangesBatch) UnoRuntime.queryInterface(XChangesBatch.class, m_xAccessLeaves);
- xUpdateCommit.commitChanges();
- }
-
- private void loadData(com.sun.star.awt.XWindow aWindow)
- throws com.sun.star.uno.Exception {
-
- //Determine the name of the window. This serves two purposes. First, if this
- //window is supported by this handler and second we use the name two locate
- //the corresponding data in the registry.
- String sWindowName = getWindowName(aWindow);
- if (sWindowName == null)
- throw new com.sun.star.lang.IllegalArgumentException(
- "The window is not supported by this handler", this, (short) -1);
-
- //To acces the separate controls of the window we need to obtain the
- //XControlContainer from window implementation
- XControlContainer xContainer = (XControlContainer) UnoRuntime.queryInterface(
- XControlContainer.class, aWindow);
- if (xContainer == null)
- throw new com.sun.star.uno.Exception(
- "Could not get XControlContainer from window.", this);
-
- //This is an implementation which will be used for several options pages
- //which all have the same controls. m_arStringControls is an array which
- //contains the names.
- for (int i = 0; i < m_arStringControls.length; i++) {
-
- //load the values from the registry
- //To access the registry we have previously created a service instance
- //of com.sun.star.configuration.ConfigurationUpdateAccess which supports
- //com.sun.star.container.XNameAccess. We obtain now the section
- //of the registry which is assigned to this options page.
- XPropertySet xLeaf = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class, m_xAccessLeaves.getByName(sWindowName));
- if (xLeaf == null)
- throw new com.sun.star.uno.Exception(
- "XPropertySet not supported.", this);
-
- //The properties in the registry have the same name as the respective
- //controls. We use the names now to obtain the property values.
- Object aValue = xLeaf.getPropertyValue(m_arStringControls[i]);
-
- //Now that we have the value we need to set it at the corresponding
- //control in the window. The XControlContainer, which we obtained earlier
- //is the means to get hold of all the controls.
- XControl xControl = xContainer.getControl(m_arStringControls[i]);
-
- //This generic handler and the corresponding registry schema support
- //up to five text controls. However, if a options page does not use all
- //five controls then we will not complain here.
- if (xControl == null)
- continue;
-
- //From the control we get the model, which in turn supports the
- //XPropertySet interface, which we finally use to set the data at the
- //control
- XPropertySet xProp = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class, xControl.getModel());
-
- if (xProp == null)
- throw new com.sun.star.uno.Exception(
- "Could not get XPropertySet from control.", this);
-
- //This handler supports only text controls, which are named "Pattern Field"
- //in the dialog editor. We set the "Text" property.
- xProp.setPropertyValue("Text", aValue);
- }
- }
-
- //Checks if the name property of the window is one of the supported names and returns
- //always a valid string or null
- private String getWindowName(com.sun.star.awt.XWindow aWindow)
- throws com.sun.star.uno.Exception {
-
- if (aWindow == null)
- new com.sun.star.lang.IllegalArgumentException(
- "Method external_event requires that a window is passed as argument",
- this, (short) -1);
-
- //We need to get the control model of the window. Therefore the first step is
- //to query for it.
- XControl xControlDlg = (XControl) UnoRuntime.queryInterface(
- XControl.class, aWindow);
-
- if (xControlDlg == null)
- throw new com.sun.star.uno.Exception(
- "Cannot obtain XControl from XWindow in method external_event.");
- //Now get model
- XControlModel xModelDlg = xControlDlg.getModel();
-
- if (xModelDlg == null)
- throw new com.sun.star.uno.Exception(
- "Cannot obtain XControlModel from XWindow in method external_event.", this);
- //The model itself does not provide any information except that its
- //implementation supports XPropertySet which is used to access the data.
- XPropertySet xPropDlg = (XPropertySet) UnoRuntime.queryInterface(
- XPropertySet.class, xModelDlg);
- if (xPropDlg == null)
- throw new com.sun.star.uno.Exception(
- "Cannot obtain XPropertySet from window in method external_event.", this);
-
- //Get the "Name" property of the window
- Object aWindowName = xPropDlg.getPropertyValue("Name");
-
- //Get the string from the returned com.sun.star.uno.Any
- String sName = null;
- try {
- sName = AnyConverter.toString(aWindowName);
- } catch (com.sun.star.lang.IllegalArgumentException e) {
- throw new com.sun.star.uno.Exception(
- "Name - property of window is not a string.", this);
- }
-
- //Eventually we can check if we this handler can "handle" this options page.
- //The class has a member m_arWindowNames which contains all names of windows
- //for which it is intended
- for (int i = 0; i < m_arWindowNames.length; i++) {
- if (m_arWindowNames[i].equals(sName)) {
- return sName;
- }
- }
- return null;
- }
- }
-
-
- /**
- * Gives a factory for creating the service.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns a <code>XSingleComponentFactory</code> for creating
- * the component
- * @param sImplName the name of the implementation for which a
- * service is desired
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static XSingleComponentFactory __getComponentFactory(String sImplName)
- {
- XSingleComponentFactory xFactory = null;
-
- if ( sImplName.equals( _OptionsEventHandler.class.getName() ) )
- xFactory = Factory.createComponentFactory(_OptionsEventHandler.class,
- _OptionsEventHandler.getServiceNames());
-
- return xFactory;
- }
-
- /**
- * Writes the service information into the given registry key.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns true if the operation succeeded
- * @param regKey the registryKey
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) {
- return Factory.writeRegistryServiceInfo(_OptionsEventHandler.class.getName(),
- _OptionsEventHandler.getServiceNames(),
- regKey);
- }
-
- /** This method is a member of the interface for initializing an object
- * directly after its creation.
- * @param object This array of arbitrary objects will be passed to the
- * component after its creation.
- * @throws Exception Every exception will not be handled, but will be
- * passed to the caller.
- */
- public void initialize( Object[] object )
- throws com.sun.star.uno.Exception {
- }
-
-}
diff --git a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/makefile.mk b/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/makefile.mk
deleted file mode 100755
index 662fffce40..0000000000
--- a/desktop/test/deployment/options/handler/com/sun/star/comp/extensionoptions/makefile.mk
+++ /dev/null
@@ -1,53 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ = ..$/..$/..$/..$/..$/..$/..$/..$/..
-PRJNAME = desktop
-PACKAGE = com$/sun$/star$/comp$/extensionoptions
-TARGET = options
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
-
-
-JARTARGET = extensionoptions.jar
-JARCOMPRESS = TRUE
-CUSTOMMANIFESTFILE = MANIFEST.MF
-JARCLASSDIRS=com
-
-
-# --- Files --------------------------------------------------------
-
-JAVAFILES = OptionsEventHandler.java
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
diff --git a/desktop/test/deployment/options/leaf1.oxt b/desktop/test/deployment/options/leaf1.oxt
deleted file mode 100644
index 9c3ff86985..0000000000
--- a/desktop/test/deployment/options/leaf1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/leaf1mod.oxt b/desktop/test/deployment/options/leaf1mod.oxt
deleted file mode 100644
index d5d9fe6896..0000000000
--- a/desktop/test/deployment/options/leaf1mod.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/leaf2.oxt b/desktop/test/deployment/options/leaf2.oxt
deleted file mode 100644
index b95628900c..0000000000
--- a/desktop/test/deployment/options/leaf2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/leaves1.oxt b/desktop/test/deployment/options/leaves1.oxt
deleted file mode 100644
index 037389a018..0000000000
--- a/desktop/test/deployment/options/leaves1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/leaves2.oxt b/desktop/test/deployment/options/leaves2.oxt
deleted file mode 100644
index 531b385663..0000000000
--- a/desktop/test/deployment/options/leaves2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/leaves3.oxt b/desktop/test/deployment/options/leaves3.oxt
deleted file mode 100644
index f5bb0f2262..0000000000
--- a/desktop/test/deployment/options/leaves3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/modules1.oxt b/desktop/test/deployment/options/modules1.oxt
deleted file mode 100644
index bae652ffbc..0000000000
--- a/desktop/test/deployment/options/modules1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/modules2.oxt b/desktop/test/deployment/options/modules2.oxt
deleted file mode 100644
index d6d7956d45..0000000000
--- a/desktop/test/deployment/options/modules2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/nodes1.oxt b/desktop/test/deployment/options/nodes1.oxt
deleted file mode 100644
index b1dfa18d3e..0000000000
--- a/desktop/test/deployment/options/nodes1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/nodes2.oxt b/desktop/test/deployment/options/nodes2.oxt
deleted file mode 100644
index a35cfaba9d..0000000000
--- a/desktop/test/deployment/options/nodes2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/nodes3.oxt b/desktop/test/deployment/options/nodes3.oxt
deleted file mode 100644
index db0bc49da5..0000000000
--- a/desktop/test/deployment/options/nodes3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/nodes4.oxt b/desktop/test/deployment/options/nodes4.oxt
deleted file mode 100644
index fe0550fdc6..0000000000
--- a/desktop/test/deployment/options/nodes4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/nodes5.oxt b/desktop/test/deployment/options/nodes5.oxt
deleted file mode 100644
index 893e9ee3e2..0000000000
--- a/desktop/test/deployment/options/nodes5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/options/readme.txt b/desktop/test/deployment/options/readme.txt
deleted file mode 100755
index 9879a72cef..0000000000
--- a/desktop/test/deployment/options/readme.txt
+++ /dev/null
@@ -1,200 +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
-================================================================================
-
-leaf1mod.oxt: Defines a leaf under the node WriterNode
-
-It has a douplicate entry in the manifest.xml (OptionsDialog.xcu). This would cause a DisposedException when uninstalling on OOo 3.0 and prevent the extension from being uninstalled. This is actually a bug of the extensions. However, the error is difficult to investigate. Therefore this was fixed to make OOo more robust (i96690).
-================================================================================
-
-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/desktop/test/deployment/passive/Addons.xcu b/desktop/test/deployment/passive/Addons.xcu
deleted file mode 100644
index 61578d7426..0000000000
--- a/desktop/test/deployment/passive/Addons.xcu
+++ /dev/null
@@ -1,67 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="Addons">
- <node o:name="AddonUI">
- <node o:name="OfficeMenuBar">
- <node o:name="org.openoffice.test.desktop.deployment.passive"
- o:op="replace">
- <prop o:name="Title" xml:lang="en-US">
- <value>passive</value>
- </prop>
- <node o:name="Submenu">
- <node o:name="1" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_native:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>native</value>
- </prop>
- </node>
- <node o:name="2" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_java:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>java</value>
- </prop>
- </node>
- <node o:name="3" o:op="replace">
- <prop o:name="URL">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_python:</value>
- </prop>
- <prop o:name="Title" xml:lang="en-US">
- <value>python</value>
- </prop>
- </node>
- </node>
- </node>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/passive/Dispatch.java b/desktop/test/deployment/passive/Dispatch.java
deleted file mode 100755
index 295f34d599..0000000000
--- a/desktop/test/deployment/passive/Dispatch.java
+++ /dev/null
@@ -1,101 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.passive_java;
-
-import com.sun.star.awt.MessageBoxButtons;
-import com.sun.star.awt.Rectangle;
-import com.sun.star.awt.XMessageBox;
-import com.sun.star.awt.XMessageBoxFactory;
-import com.sun.star.awt.XWindowPeer;
-import com.sun.star.beans.PropertyValue;
-import com.sun.star.frame.DispatchDescriptor;
-import com.sun.star.frame.XDesktop;
-import com.sun.star.frame.XDispatch;
-import com.sun.star.frame.XStatusListener;
-import com.sun.star.lang.WrappedTargetRuntimeException;
-import com.sun.star.lang.XComponent;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.util.URL;
-
-public final class Dispatch extends WeakBase implements XServiceInfo, XDispatch
-{
- public Dispatch(XComponentContext context) {
- this.context = context;
- }
-
- public String getImplementationName() { return implementationName; }
-
- public boolean supportsService(String ServiceName) {
- return false; //TODO
- }
-
- public String[] getSupportedServiceNames() {
- return serviceNames;
- }
-
- public void dispatch(URL URL, PropertyValue[] Arguments) {
- try {
- XMultiComponentFactory smgr = UnoRuntime.queryInterface(
- XMultiComponentFactory.class, context.getServiceManager());
- XMessageBox box = UnoRuntime.queryInterface(
- XMessageBoxFactory.class,
- smgr.createInstanceWithContext(
- "com.sun.star.awt.Toolkit", context)).
- createMessageBox(
- UnoRuntime.queryInterface(
- XWindowPeer.class,
- (UnoRuntime.queryInterface(
- XDesktop.class,
- smgr.createInstanceWithContext(
- "com.sun.star.frame.Desktop", context)).
- getCurrentFrame().getComponentWindow())),
- new Rectangle(), "infobox", MessageBoxButtons.BUTTONS_OK,
- "passive", "java");
- box.execute();
- UnoRuntime.queryInterface(XComponent.class, box).dispose();
- } catch (com.sun.star.uno.RuntimeException e) {
- throw e;
- } catch (com.sun.star.uno.Exception e) {
- throw new WrappedTargetRuntimeException(
- "wrapped: " + e.getMessage(), this, e);
- }
- }
-
- public void addStatusListener(XStatusListener Control, URL URL) {}
-
- public void removeStatusListener(XStatusListener Control, URL URL) {}
-
- private final XComponentContext context;
-
- static final String implementationName =
- "com.sun.star.comp.test.deployment.passive_java_singleton";
-
- static final String[] serviceNames = new String[0];
-}
diff --git a/desktop/test/deployment/passive/MANIFEST.MF b/desktop/test/deployment/passive/MANIFEST.MF
deleted file mode 100755
index 45a04bf263..0000000000
--- a/desktop/test/deployment/passive/MANIFEST.MF
+++ /dev/null
@@ -1,3 +0,0 @@
-Sealed: true
-RegistrationClassName: com.sun.star.comp.test.deployment.passive_java.Services
-UNO-Type-Path:
diff --git a/desktop/test/deployment/passive/ProtocolHandler.xcu b/desktop/test/deployment/passive/ProtocolHandler.xcu
deleted file mode 100644
index bc0355be41..0000000000
--- a/desktop/test/deployment/passive/ProtocolHandler.xcu
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<o:component-data xmlns:o="http://openoffice.org/2001/registry"
- o:package="org.openoffice.Office" o:name="ProtocolHandler">
- <node o:name="HandlerSet">
- <node o:name="com.sun.star.test.deployment.passive_native" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_native:*</value>
- </prop>
- </node>
- <node o:name="com.sun.star.test.deployment.passive_java" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_java:*</value>
- </prop>
- </node>
- <node o:name="com.sun.star.test.deployment.passive_python" o:op="replace">
- <prop o:name="Protocols">
- <value>vnd.org.openoffice.test.desktop.deployment.passive_python:*</value>
- </prop>
- </node>
- </node>
-</o:component-data>
diff --git a/desktop/test/deployment/passive/Provider.java b/desktop/test/deployment/passive/Provider.java
deleted file mode 100755
index 6f74ed9eb8..0000000000
--- a/desktop/test/deployment/passive/Provider.java
+++ /dev/null
@@ -1,81 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.passive_java;
-
-import com.sun.star.frame.DispatchDescriptor;
-import com.sun.star.frame.XDispatch;
-import com.sun.star.frame.XDispatchProvider;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.util.URL;
-
-public final class Provider extends WeakBase
- implements XServiceInfo, XDispatchProvider
-{
- public Provider(XComponentContext context) {
- this.context = context;
- }
-
- public String getImplementationName() { return implementationName; }
-
- public boolean supportsService(String ServiceName) {
- return ServiceName.equals(getSupportedServiceNames()[0]); //TODO
- }
-
- public String[] getSupportedServiceNames() {
- return serviceNames;
- }
-
- public XDispatch queryDispatch(
- URL URL, String TargetFrameName, int SearchFlags)
- {
- return UnoRuntime.queryInterface(
- XDispatch.class,
- context.getValueByName(
- "/singletons/" +
- "com.sun.star.test.deployment.passive_java_singleton"));
- }
-
- public XDispatch[] queryDispatches(DispatchDescriptor[] Requests) {
- XDispatch[] s = new XDispatch[Requests.length];
- for (int i = 0; i < s.length; ++i) {
- s[i] = queryDispatch(
- Requests[i].FeatureURL, Requests[i].FrameName,
- Requests[i].SearchFlags);
- }
- return s;
- }
-
- private final XComponentContext context;
-
- static final String implementationName =
- "com.sun.star.comp.test.deployment.passive_java";
-
- static final String[] serviceNames = new String[] {
- "com.sun.star.test.deployment.passive_java" };
-}
diff --git a/desktop/test/deployment/passive/Services.java b/desktop/test/deployment/passive/Services.java
deleted file mode 100755
index 799df3e702..0000000000
--- a/desktop/test/deployment/passive/Services.java
+++ /dev/null
@@ -1,49 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-************************************************************************/
-
-package com.sun.star.comp.test.deployment.passive_java;
-
-import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.lib.uno.helper.Factory;
-
-public final class Services {
- private Services() {}
-
- public static XSingleComponentFactory __getComponentFactory(
- String implementation)
- {
- if (implementation.equals(Dispatch.implementationName)) {
- return Factory.createComponentFactory(
- Dispatch.class, Dispatch.implementationName,
- Dispatch.serviceNames);
- } else if (implementation.equals(Provider.implementationName)) {
- return Factory.createComponentFactory(
- Provider.class, Provider.implementationName,
- Provider.serviceNames);
- } else {
- return null;
- }
- }
-}
diff --git a/desktop/test/deployment/passive/description.xml b/desktop/test/deployment/passive/description.xml
deleted file mode 100755
index 468dfa065f..0000000000
--- a/desktop/test/deployment/passive/description.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<d:description xmlns:d="http://openoffice.org/extensions/description/2006">
- <d:identifier
- value="org.openoffice/framework/desktop/test/deployment/passive"/>
- <d:version value="1"/>
- <d:dependencies>
- <d:OpenOffice.org-minimal-version d:name="OpenOffice.org 3.4" value="3.4"/>
- </d:dependencies>
-</d:description>
diff --git a/desktop/test/deployment/passive/makefile.mk b/desktop/test/deployment/passive/makefile.mk
deleted file mode 100755
index 05defbe6d1..0000000000
--- a/desktop/test/deployment/passive/makefile.mk
+++ /dev/null
@@ -1,141 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-PRJ = ../../..
-PRJNAME = desktop
-TARGET = test_deployment_passive
-
-ENABLE_EXCEPTIONS = TRUE
-
-PACKAGE = com/sun/star/comp/test/deployment/passive_java
-JAVAFILES = Dispatch.java Provider.java Services.java
-JARFILES = juh.jar ridl.jar unoil.jar
-
-my_platform_components = passive_native
-my_generic_components = passive_java passive_python
-
-.INCLUDE: settings.mk
-
-
-DLLPRE =
-
-SLOFILES = $(SHL1OBJS)
-
-SHL1TARGET = passive_native.uno
-SHL1OBJS = $(SLO)/passive_native.obj
-SHL1RPATH = OXT
-SHL1STDLIBS = $(CPPUHELPERLIB) $(CPPULIB) $(SALLIB)
-SHL1VERSIONMAP = $(SOLARENV)/src/component.map
-DEF1NAME = $(SHL1TARGET)
-
-.INCLUDE: target.mk
-
-.IF "$(SOLAR_JAVA)" != ""
-
-ALLTAR : $(MISC)/passive.oxt
-
-$(MISC)/passive.oxt : manifest.xml description.xml Addons.xcu \
- ProtocolHandler.xcu $(MISC)/$(TARGET)/platform.components \
- $(MISC)/$(TARGET)/generic.components $(SHL1TARGETN) \
- $(MISC)/$(TARGET)/passive_java.jar passive_python.py
- $(RM) $@
- $(RM) -r $(MISC)/$(TARGET)/passive.oxt-zip
- $(MKDIR) $(MISC)/$(TARGET)/passive.oxt-zip
- $(MKDIRHIER) $(MISC)/$(TARGET)/passive.oxt-zip/META-INF
- $(SED) -e 's|@PLATFORM@|$(RTL_OS:l)_$(RTL_ARCH:l)|g' < manifest.xml \
- > $(MISC)/$(TARGET)/passive.oxt-zip/META-INF/manifest.xml
- $(COPY) description.xml Addons.xcu ProtocolHandler.xcu \
- $(MISC)/$(TARGET)/platform.components \
- $(MISC)/$(TARGET)/generic.components $(SHL1TARGETN) \
- $(MISC)/$(TARGET)/passive_java.jar passive_python.py \
- $(MISC)/$(TARGET)/passive.oxt-zip/
- cd $(MISC)/$(TARGET)/passive.oxt-zip && zip ../../passive.oxt \
- META-INF/manifest.xml description.xml Addons.xcu ProtocolHandler.xcu \
- platform.components generic.components $(SHL1TARGETN:f) \
- passive_java.jar passive_python.py
-
-$(MISC)/$(TARGET)/platform.components : $(SOLARENV)/bin/packcomponents.xslt \
- $(MISC)/$(TARGET)/platform.components.input \
- $(my_platform_components:^"$(MISC)/$(TARGET)/":+".component")
- $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/$(TARGET)/ -o $@ \
- $(SOLARENV)/bin/packcomponents.xslt \
- $(MISC)/$(TARGET)/platform.components.input
-
-$(MISC)/$(TARGET)/platform.components.input :
- $(MKDIRHIER) $(@:d)
- echo '<list>' \
- '$(my_platform_components:^"<filename>":+".component</filename>")' \
- '</list>' > $@
-
-$(MISC)/$(TARGET)/generic.components : $(SOLARENV)/bin/packcomponents.xslt \
- $(MISC)/$(TARGET)/generic.components.input \
- $(my_generic_components:^"$(MISC)/$(TARGET)/":+".component")
- $(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/$(TARGET)/ -o $@ \
- $(SOLARENV)/bin/packcomponents.xslt \
- $(MISC)/$(TARGET)/generic.components.input
-
-$(MISC)/$(TARGET)/generic.components.input :
- $(MKDIRHIER) $(@:d)
- echo '<list>' \
- '$(my_generic_components:^"<filename>":+".component</filename>")' \
- '</list>' > $@
-
-$(MISC)/$(TARGET)/passive_native.component : \
- $(SOLARENV)/bin/createcomponent.xslt passive_native.component
- $(MKDIRHIER) $(@:d)
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_EXTENSION)$(SHL1TARGETN:f)' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt passive_native.component
-
-$(MISC)/$(TARGET)/passive_java.component : \
- $(SOLARENV)/bin/createcomponent.xslt passive_java.component
- $(MKDIRHIER) $(@:d)
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_EXTENSION)passive_java.jar' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt passive_java.component
-
-$(MISC)/$(TARGET)/passive_python.component : \
- $(SOLARENV)/bin/createcomponent.xslt passive_python.component
- $(MKDIRHIER) $(@:d)
- $(XSLTPROC) --nonet --stringparam uri \
- '$(COMPONENTPREFIX_EXTENSION)passive_python.py' -o $@ \
- $(SOLARENV)/bin/createcomponent.xslt passive_python.component
-
-$(MISC)/$(TARGET)/passive_java.jar : MANIFEST.MF $(JAVATARGET)
- $(MKDIRHIER) $(@:d)
- $(RM) $@
- $(RM) -r $(MISC)/$(TARGET)/passive_java.jar-zip
- $(MKDIR) $(MISC)/$(TARGET)/passive_java.jar-zip
- $(MKDIRHIER) $(MISC)/$(TARGET)/passive_java.jar-zip/META-INF \
- $(MISC)/$(TARGET)/passive_java.jar-zip/$(PACKAGE)
- $(COPY) MANIFEST.MF $(MISC)/$(TARGET)/passive_java.jar-zip/META-INF/
- $(COPY) $(foreach,i,$(JAVAFILES:b) $(CLASSDIR)/$(PACKAGE)/$i.class) \
- $(MISC)/$(TARGET)/passive_java.jar-zip/$(PACKAGE)/
- cd $(MISC)/$(TARGET)/passive_java.jar-zip && zip ../passive_java.jar \
- META-INF/MANIFEST.MF $(foreach,i,$(JAVAFILES:b) $(PACKAGE)/$i.class)
-
-.ENDIF
diff --git a/desktop/test/deployment/passive/manifest.xml b/desktop/test/deployment/passive/manifest.xml
deleted file mode 100755
index 5b8ac8419b..0000000000
--- a/desktop/test/deployment/passive/manifest.xml
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<m:manifest xmlns:m="http://openoffice.org/2001/manifest">
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="Addons.xcu"/>
- <m:file-entry m:media-type="application/vnd.sun.star.configuration-data"
- m:full-path="ProtocolHandler.xcu"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-components;platform=@PLATFORM@"
- m:full-path="platform.components"/>
- <m:file-entry
- m:media-type="application/vnd.sun.star.uno-components"
- m:full-path="generic.components"/>
-</m:manifest>
diff --git a/desktop/test/deployment/passive/passive_java.component b/desktop/test/deployment/passive/passive_java.component
deleted file mode 100755
index 74be57177d..0000000000
--- a/desktop/test/deployment/passive/passive_java.component
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<component loader="com.sun.star.loader.Java2"
- xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.test.deployment.passive_java">
- <service name="com.sun.star.test.deployment.passive_java"/>
- </implementation>
- <implementation
- name="com.sun.star.comp.test.deployment.passive_java_singleton">
- <singleton name="com.sun.star.test.deployment.passive_java_singleton"/>
- </implementation>
-</component>
diff --git a/desktop/test/deployment/passive/passive_native.component b/desktop/test/deployment/passive/passive_native.component
deleted file mode 100755
index c14fd7ff00..0000000000
--- a/desktop/test/deployment/passive/passive_native.component
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<component loader="com.sun.star.loader.SharedLibrary"
- xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.test.deployment.passive_native">
- <service name="com.sun.star.test.deployment.passive_native"/>
- </implementation>
- <implementation
- name="com.sun.star.comp.test.deployment.passive_native_singleton">
- <singleton name="com.sun.star.test.deployment.passive_native_singleton"/>
- </implementation>
-</component>
diff --git a/desktop/test/deployment/passive/passive_native.cxx b/desktop/test/deployment/passive/passive_native.cxx
deleted file mode 100644
index 939e8208f5..0000000000
--- a/desktop/test/deployment/passive/passive_native.cxx
+++ /dev/null
@@ -1,283 +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
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-************************************************************************/
-
-#include "precompiled_desktop.hxx"
-#include "sal/config.h"
-
-#include "boost/noncopyable.hpp"
-#include "com/sun/star/awt/MessageBoxButtons.hpp"
-#include "com/sun/star/awt/Rectangle.hpp"
-#include "com/sun/star/awt/XMessageBox.hpp"
-#include "com/sun/star/awt/XMessageBoxFactory.hpp"
-#include "com/sun/star/awt/XWindowPeer.hpp"
-#include "com/sun/star/beans/PropertyValue.hpp"
-#include "com/sun/star/frame/DispatchDescriptor.hpp"
-#include "com/sun/star/frame/XDesktop.hpp"
-#include "com/sun/star/frame/XDispatch.hpp"
-#include "com/sun/star/frame/XDispatchProvider.hpp"
-#include "com/sun/star/frame/XFrame.hpp"
-#include "com/sun/star/frame/XStatusListener.hpp"
-#include "com/sun/star/lang/XComponent.hpp"
-#include "com/sun/star/lang/XMultiComponentFactory.hpp"
-#include "com/sun/star/lang/XServiceInfo.hpp"
-#include "com/sun/star/uno/DeploymentException.hpp"
-#include "com/sun/star/uno/Exception.hpp"
-#include "com/sun/star/uno/Reference.hxx"
-#include "com/sun/star/uno/RuntimeException.hpp"
-#include "com/sun/star/uno/Sequence.hxx"
-#include "com/sun/star/uno/XComponentContext.hpp"
-#include "com/sun/star/uno/XInterface.hpp"
-#include "com/sun/star/util/URL.hpp"
-#include "cppuhelper/factory.hxx"
-#include "cppuhelper/implbase2.hxx"
-#include "cppuhelper/implementationentry.hxx"
-#include "cppuhelper/weak.hxx"
-#include "osl/diagnose.h"
-#include "rtl/ustring.h"
-#include "rtl/ustring.hxx"
-#include "sal/types.h"
-#include "uno/lbnames.h"
-
-namespace {
-
-namespace css = com::sun::star;
-
-class Provider:
- public cppu::WeakImplHelper2<
- css::lang::XServiceInfo, css::frame::XDispatchProvider >,
- private boost::noncopyable
-{
-public:
- static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
- css::uno::Reference< css::uno::XComponentContext > const & xContext)
- SAL_THROW((css::uno::Exception))
- { return static_cast< cppu::OWeakObject * >(new Provider(xContext)); }
-
- static rtl::OUString SAL_CALL static_getImplementationName();
-
- static css::uno::Sequence< rtl::OUString > SAL_CALL
- static_getSupportedServiceNames();
-
-private:
- Provider(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- context_(context) { OSL_ASSERT(context.is()); }
-
- virtual ~Provider() {}
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
- { return static_getImplementationName(); }
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName)
- throw (css::uno::RuntimeException)
- { return ServiceName == getSupportedServiceNames()[0]; } //TODO
-
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
- { return static_getSupportedServiceNames(); }
-
- virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(
- css::util::URL const &, rtl::OUString const &, sal_Int32)
- throw (css::uno::RuntimeException);
-
- virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
- SAL_CALL queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException);
-
- css::uno::Reference< css::uno::XComponentContext > context_;
-};
-
-rtl::OUString Provider::static_getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.comp.test.deployment.passive_native"));
-}
-
-css::uno::Sequence< rtl::OUString > Provider::static_getSupportedServiceNames()
-{
- rtl::OUString name(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.test.deployment.passive_native"));
- return css::uno::Sequence< rtl::OUString >(&name, 1);
-}
-
-css::uno::Reference< css::frame::XDispatch > Provider::queryDispatch(
- css::util::URL const &, rtl::OUString const &, sal_Int32)
- throw (css::uno::RuntimeException)
-{
- css::uno::Reference< css::frame::XDispatch > dispatch;
- if (!(context_->getValueByName(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "/singletons/com.sun.star.test.deployment."
- "passive_native_singleton"))) >>=
- dispatch) ||
- !dispatch.is())
- {
- throw css::uno::DeploymentException(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "component context fails to supply singleton"
- " com.sun.star.test.deployment.passive_native_singleton of"
- " type com.sun.star.frame.XDispatch")),
- context_);
- }
- return dispatch;
-}
-
-css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > >
-Provider::queryDispatches(
- css::uno::Sequence< css::frame::DispatchDescriptor > const & Requests)
- throw (css::uno::RuntimeException)
-{
- css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > s(
- Requests.getLength());
- for (sal_Int32 i = 0; i < s.getLength(); ++i) {
- s[i] = queryDispatch(
- Requests[i].FeatureURL, Requests[i].FrameName,
- Requests[i].SearchFlags);
- }
- return s;
-}
-
-class Dispatch:
- public cppu::WeakImplHelper2<
- css::lang::XServiceInfo, css::frame::XDispatch >,
- private boost::noncopyable
-{
-public:
- static css::uno::Reference< css::uno::XInterface > SAL_CALL static_create(
- css::uno::Reference< css::uno::XComponentContext > const & xContext)
- SAL_THROW((css::uno::Exception))
- { return static_cast< cppu::OWeakObject * >(new Dispatch(xContext)); }
-
- static rtl::OUString SAL_CALL static_getImplementationName();
-
- static css::uno::Sequence< rtl::OUString > SAL_CALL
- static_getSupportedServiceNames()
- { return css::uno::Sequence< rtl::OUString >(); }
-
-private:
- Dispatch(
- css::uno::Reference< css::uno::XComponentContext > const & context):
- context_(context) { OSL_ASSERT(context.is()); }
-
- virtual ~Dispatch() {}
-
- virtual rtl::OUString SAL_CALL getImplementationName()
- throw (css::uno::RuntimeException)
- { return static_getImplementationName(); }
-
- virtual sal_Bool SAL_CALL supportsService(rtl::OUString const &)
- throw (css::uno::RuntimeException)
- { return false; } //TODO
-
- virtual css::uno::Sequence< rtl::OUString > SAL_CALL
- getSupportedServiceNames() throw (css::uno::RuntimeException)
- { return static_getSupportedServiceNames(); }
-
- virtual void SAL_CALL dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException);
-
- virtual void SAL_CALL addStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-
- virtual void SAL_CALL removeStatusListener(
- css::uno::Reference< css::frame::XStatusListener > const &,
- css::util::URL const &)
- throw (css::uno::RuntimeException)
- {}
-
- css::uno::Reference< css::uno::XComponentContext > context_;
-};
-
-rtl::OUString Dispatch::static_getImplementationName() {
- return rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.comp.test.deployment.passive_native_singleton"));
-}
-
-void Dispatch::dispatch(
- css::util::URL const &,
- css::uno::Sequence< css::beans::PropertyValue > const &)
- throw (css::uno::RuntimeException)
-{
- css::uno::Reference< css::lang::XMultiComponentFactory > smgr(
- context_->getServiceManager(), css::uno::UNO_SET_THROW);
- css::uno::Reference< css::awt::XMessageBox > box(
- css::uno::Reference< css::awt::XMessageBoxFactory >(
- smgr->createInstanceWithContext(
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.awt.Toolkit")), context_),
- css::uno::UNO_QUERY_THROW)->createMessageBox(
- css::uno::Reference< css::awt::XWindowPeer >(
- css::uno::Reference< css::frame::XFrame >(
- css::uno::Reference< css::frame::XDesktop >(
- smgr->createInstanceWithContext(
- rtl::OUString(
- RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.frame.Desktop")),
- context_),
- css::uno::UNO_QUERY_THROW)->getCurrentFrame(),
- css::uno::UNO_SET_THROW)->getComponentWindow(),
- css::uno::UNO_QUERY_THROW),
- css::awt::Rectangle(),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("infobox")),
- css::awt::MessageBoxButtons::BUTTONS_OK,
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("passive")),
- rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("native"))),
- css::uno::UNO_SET_THROW);
- box->execute();
- css::uno::Reference< css::lang::XComponent >(
- box, css::uno::UNO_QUERY_THROW)->dispose();
-}
-
-static cppu::ImplementationEntry const services[] = {
- { &Provider::static_create, &Provider::static_getImplementationName,
- &Provider::static_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 },
- { &Dispatch::static_create, &Dispatch::static_getImplementationName,
- &Dispatch::static_getSupportedServiceNames,
- &cppu::createSingleComponentFactory, 0, 0 },
- { 0, 0, 0, 0, 0, 0 }
-};
-
-}
-
-extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
- char const * pImplName, void * pServiceManager, void * pRegistryKey)
-{
- return cppu::component_getFactoryHelper(
- pImplName, pServiceManager, pRegistryKey, services);
-}
diff --git a/desktop/test/deployment/passive/passive_python.component b/desktop/test/deployment/passive/passive_python.component
deleted file mode 100755
index ea7a1992b5..0000000000
--- a/desktop/test/deployment/passive/passive_python.component
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--**********************************************************************
-*
-* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-*
-* Copyright 2000, 2010 Oracle and/or its affiliates.
-*
-* OpenOffice.org - a multi-platform office productivity suite
-*
-* This file is part of OpenOffice.org.
-*
-* OpenOffice.org is free software: you can redistribute it and/or modify
-* it under the terms of the GNU Lesser General Public License version 3
-* only, as published by the Free Software Foundation.
-*
-* OpenOffice.org is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU Lesser General Public License version 3 for more details
-* (a copy is included in the LICENSE file that accompanied this code).
-*
-* You should have received a copy of the GNU Lesser General Public License
-* version 3 along with OpenOffice.org. If not, see
-* <http://www.openoffice.org/license.html>
-* for a copy of the LGPLv3 License.
-*
-**********************************************************************-->
-
-<component loader="com.sun.star.loader.Python"
- xmlns="http://openoffice.org/2010/uno-components">
- <implementation name="com.sun.star.comp.test.deployment.passive_python">
- <service name="com.sun.star.test.deployment.passive_python"/>
- </implementation>
- <implementation
- name="com.sun.star.comp.test.deployment.passive_python_singleton">
- <singleton name="com.sun.star.test.deployment.passive_python_singleton"/>
- </implementation>
-</component>
diff --git a/desktop/test/deployment/passive/passive_python.py b/desktop/test/deployment/passive/passive_python.py
deleted file mode 100755
index dda68cccdb..0000000000
--- a/desktop/test/deployment/passive/passive_python.py
+++ /dev/null
@@ -1,101 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-import uno
-import unohelper
-
-from com.sun.star.awt import Rectangle
-from com.sun.star.awt.MessageBoxButtons import BUTTONS_OK
-from com.sun.star.frame import XDispatch, XDispatchProvider
-from com.sun.star.lang import XServiceInfo
-
-class Provider(unohelper.Base, XServiceInfo, XDispatchProvider):
- implementationName = "com.sun.star.comp.test.deployment.passive_python"
-
- serviceNames = ("com.sun.star.test.deployment.passive_python",)
-
- def __init__(self, context):
- self.context = context
-
- def getImplementationName(self):
- return self.implementationName
-
- def supportsService(self, ServiceName):
- return ServiceName in self.serviceNames
-
- def getSupportedServiceNames(self):
- return self.serviceNames
-
- def queryDispatch(self, URL, TargetFrame, SearchFlags):
- return self.context.getValueByName( \
- "/singletons/com.sun.star.test.deployment.passive_python_singleton")
-
- def queryDispatches(self, Requests):
- tuple( \
- self.queryDispatch(i.FeatureURL, i.FrameName, i.SearchFlags) \
- for i in Requests)
-
-class Dispatch(unohelper.Base, XServiceInfo, XDispatch):
- implementationName = \
- "com.sun.star.comp.test.deployment.passive_python_singleton"
-
- serviceNames = ()
-
- def __init__(self, context):
- self.context = context
-
- def getImplementationName(self):
- return self.implementationName
-
- def supportsService(self, ServiceName):
- return ServiceName in self.serviceNames
-
- def getSupportedServiceNames(self):
- return self.serviceNames
-
- def dispatch(self, URL, Arguments):
- smgr = self.context.getServiceManager()
- box = smgr.createInstanceWithContext( \
- "com.sun.star.awt.Toolkit", self.context).createMessageBox( \
- smgr.createInstanceWithContext( \
- "com.sun.star.frame.Desktop", self.context). \
- getCurrentFrame().getComponentWindow(), \
- Rectangle(), "infobox", BUTTONS_OK, "passive", "python")
- box.execute();
- box.dispose();
-
- def addStatusListener(self, Control, URL):
- pass
-
- def removeStatusListener(self, Control, URL):
- pass
-
-g_ImplementationHelper = unohelper.ImplementationHelper()
-g_ImplementationHelper.addImplementation( \
- Provider, Provider.implementationName, Provider.serviceNames)
-g_ImplementationHelper.addImplementation( \
- Dispatch, Dispatch.implementationName, Dispatch.serviceNames)
diff --git a/desktop/test/deployment/simple_license/BadDesc.oxt b/desktop/test/deployment/simple_license/BadDesc.oxt
deleted file mode 100644
index 436778d54d..0000000000
--- a/desktop/test/deployment/simple_license/BadDesc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/BadNamespace.oxt b/desktop/test/deployment/simple_license/BadNamespace.oxt
deleted file mode 100644
index e439c9e171..0000000000
--- a/desktop/test/deployment/simple_license/BadNamespace.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/BadRoot.oxt b/desktop/test/deployment/simple_license/BadRoot.oxt
deleted file mode 100644
index 1f6c60c992..0000000000
--- a/desktop/test/deployment/simple_license/BadRoot.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale1.oxt b/desktop/test/deployment/simple_license/Locale1.oxt
deleted file mode 100644
index 51ecb5c75c..0000000000
--- a/desktop/test/deployment/simple_license/Locale1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale2.oxt b/desktop/test/deployment/simple_license/Locale2.oxt
deleted file mode 100644
index bb6b236a5d..0000000000
--- a/desktop/test/deployment/simple_license/Locale2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale3.oxt b/desktop/test/deployment/simple_license/Locale3.oxt
deleted file mode 100644
index 56bfedc240..0000000000
--- a/desktop/test/deployment/simple_license/Locale3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale4.oxt b/desktop/test/deployment/simple_license/Locale4.oxt
deleted file mode 100644
index 9a465bc7cf..0000000000
--- a/desktop/test/deployment/simple_license/Locale4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale5.oxt b/desktop/test/deployment/simple_license/Locale5.oxt
deleted file mode 100644
index ce16830c13..0000000000
--- a/desktop/test/deployment/simple_license/Locale5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Locale6.oxt b/desktop/test/deployment/simple_license/Locale6.oxt
deleted file mode 100644
index 770d32506e..0000000000
--- a/desktop/test/deployment/simple_license/Locale6.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/LongLic.oxt b/desktop/test/deployment/simple_license/LongLic.oxt
deleted file mode 100644
index a0a49daeba..0000000000
--- a/desktop/test/deployment/simple_license/LongLic.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/MissingLic.oxt b/desktop/test/deployment/simple_license/MissingLic.oxt
deleted file mode 100644
index 04d58fd117..0000000000
--- a/desktop/test/deployment/simple_license/MissingLic.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/MissingLicRef.oxt b/desktop/test/deployment/simple_license/MissingLicRef.oxt
deleted file mode 100644
index 01c9d19a28..0000000000
--- a/desktop/test/deployment/simple_license/MissingLicRef.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/NoDefLang.oxt b/desktop/test/deployment/simple_license/NoDefLang.oxt
deleted file mode 100644
index 3eadd5254c..0000000000
--- a/desktop/test/deployment/simple_license/NoDefLang.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/NoDesc.oxt b/desktop/test/deployment/simple_license/NoDesc.oxt
deleted file mode 100644
index ac83dac97e..0000000000
--- a/desktop/test/deployment/simple_license/NoDesc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/NoLang.oxt b/desktop/test/deployment/simple_license/NoLang.oxt
deleted file mode 100644
index a4f3dd43a0..0000000000
--- a/desktop/test/deployment/simple_license/NoLang.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/Prefix.oxt b/desktop/test/deployment/simple_license/Prefix.oxt
deleted file mode 100644
index 3e09b8d804..0000000000
--- a/desktop/test/deployment/simple_license/Prefix.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/ShortLicense.oxt b/desktop/test/deployment/simple_license/ShortLicense.oxt
deleted file mode 100644
index efcfdc98e1..0000000000
--- a/desktop/test/deployment/simple_license/ShortLicense.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/ShortLicenseShared.oxt b/desktop/test/deployment/simple_license/ShortLicenseShared.oxt
deleted file mode 100644
index 775559a2c7..0000000000
--- a/desktop/test/deployment/simple_license/ShortLicenseShared.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/suppress_license.oxt b/desktop/test/deployment/simple_license/suppress_license.oxt
deleted file mode 100644
index 2bacd6aa37..0000000000
--- a/desktop/test/deployment/simple_license/suppress_license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/simple_license/tests_simple_license.odt b/desktop/test/deployment/simple_license/tests_simple_license.odt
deleted file mode 100644
index b0c86e11c6..0000000000
--- a/desktop/test/deployment/simple_license/tests_simple_license.odt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/changing_display_name/change1.oxt b/desktop/test/deployment/update/changing_display_name/change1.oxt
deleted file mode 100644
index c919129ab6..0000000000
--- a/desktop/test/deployment/update/changing_display_name/change1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/changing_display_name/change1_mod.oxt b/desktop/test/deployment/update/changing_display_name/change1_mod.oxt
deleted file mode 100644
index 5ab99d7bf2..0000000000
--- a/desktop/test/deployment/update/changing_display_name/change1_mod.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/changing_display_name/readme.txt b/desktop/test/deployment/update/changing_display_name/readme.txt
deleted file mode 100755
index 905f0be9a9..0000000000
--- a/desktop/test/deployment/update/changing_display_name/readme.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-
-The default display name, if nothing is provided by the extension, is the file name.
-The display name could be changed in different versions. There are three versions
-of change1.oxt available:
-
-v1: no display name
-v2: change1 de
-v3: change1 de - changed display name -
-
-change1_mod.oxt is the same as change1.oxt version 1 except that is has a display name.
-This situation should actually never arise, because the version should always be
-changed when the extension is changed - and be it only the display name.
-
diff --git a/desktop/test/deployment/update/changing_display_name/update1/change1.oxt b/desktop/test/deployment/update/changing_display_name/update1/change1.oxt
deleted file mode 100644
index ef034f9445..0000000000
--- a/desktop/test/deployment/update/changing_display_name/update1/change1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/changing_display_name/update1/change1.update.xml b/desktop/test/deployment/update/changing_display_name/update1/change1.update.xml
deleted file mode 100755
index 29aee72fa1..0000000000
--- a/desktop/test/deployment/update/changing_display_name/update1/change1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice/framework/desktop/changing_display_name/change1" />
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/changing_display_name/update1/change1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/changing_display_name/update2/change1.oxt b/desktop/test/deployment/update/changing_display_name/update2/change1.oxt
deleted file mode 100644
index 551f5a3f48..0000000000
--- a/desktop/test/deployment/update/changing_display_name/update2/change1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/changing_display_name/update2/change1.update.xml b/desktop/test/deployment/update/changing_display_name/update2/change1.update.xml
deleted file mode 100755
index 1e2ee11e9f..0000000000
--- a/desktop/test/deployment/update/changing_display_name/update2/change1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice/framework/desktop/changing_display_name/change1" />
- <version value="3.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/changing_display_name/update2/change1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/default_url/default1.oxt b/desktop/test/deployment/update/default_url/default1.oxt
deleted file mode 100644
index 3fa8c9f08f..0000000000
--- a/desktop/test/deployment/update/default_url/default1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/default_url/default2.oxt b/desktop/test/deployment/update/default_url/default2.oxt
deleted file mode 100644
index d54ce88c51..0000000000
--- a/desktop/test/deployment/update/default_url/default2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/default_url/readme.txt b/desktop/test/deployment/update/default_url/readme.txt
deleted file mode 100755
index 4ae7936bfc..0000000000
--- a/desktop/test/deployment/update/default_url/readme.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-Tests for using the default URL for update information. This URL is currently contained in
-the version.ini (ExtensionUpdateURL) and is used to obtain update information for extensions which do not provide
-an URL themselves.
-
-The extensions default1.oxt and default2.oxt do not have a URL for update information.
-
-To test this one has to put this entry into the version.ini:
-
-ExtensionUpdateURL=http://extensions.openoffice.org/testarea/desktop/default_url/update/feed1.xml
diff --git a/desktop/test/deployment/update/default_url/update/default1.oxt b/desktop/test/deployment/update/default_url/update/default1.oxt
deleted file mode 100644
index 198395c76e..0000000000
--- a/desktop/test/deployment/update/default_url/update/default1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/default_url/update/default1.update.xml b/desktop/test/deployment/update/default_url/update/default1.update.xml
deleted file mode 100755
index 0351d23e68..0000000000
--- a/desktop/test/deployment/update/default_url/update/default1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.default1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/default_url/update/default1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/default_url/update/default2.oxt b/desktop/test/deployment/update/default_url/update/default2.oxt
deleted file mode 100644
index 198395c76e..0000000000
--- a/desktop/test/deployment/update/default_url/update/default2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/default_url/update/default2.update.xml b/desktop/test/deployment/update/default_url/update/default2.update.xml
deleted file mode 100755
index 8bf00b2e22..0000000000
--- a/desktop/test/deployment/update/default_url/update/default2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.default2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/default_url/update/default2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/default_url/update/feed1.xml b/desktop/test/deployment/update/default_url/update/feed1.xml
deleted file mode 100755
index b504b7b4b0..0000000000
--- a/desktop/test/deployment/update/default_url/update/feed1.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
-
- <title>OpenOffice.org Update Feed</title>
- <link rel="alternate" type="text/html" href="http://update.services.openoffice.org/ooo/snapshot.html"/>
- <updated>2006-11-06T18:30:02Z</updated>
- <author>
- <name>The OpenOffice.org Project</name>
- <uri>http://openoffice.org</uri>
- <email>updatefeed@openoffice.org</email>
- </author>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566e9d</id>
- <entry>
- <title>default1.oxt version 2.0 available</title>
- <link rel="alternate" type="text/html"
- href="http://extensions.openoffice.org"/>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566e9f</id>
- <category term="org.openoffice.legacy.default1.oxt" label="default1.oxt" />
- <updated>2006-11-06T18:30:02Z</updated>
- <summary>Click here to go to the download page.</summary>
- <content type="application/xml" src="http://extensions.openoffice.org/testarea/desktop/default_url/update/default1.update.xml" />
- </entry>
- <entry>
- <title>default2.oxt version 2.0 available</title>
- <link rel="alternate" type="text/html"
- href="http://extensions.openoffice.org"/>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566eaf</id>
- <category term="org.openoffice.legacy.default2.oxt" label="default2.oxt" />
- <updated>2006-11-06T18:30:02Z</updated>
- <summary>Click here to go to the download page.</summary>
- <content type="application/xml" src="http://extensions.openoffice.org/testarea/desktop/default_url/update/default2.update.xml" />
- </entry>
-</feed>
diff --git a/desktop/test/deployment/update/defect/fail1.oxt b/desktop/test/deployment/update/defect/fail1.oxt
deleted file mode 100644
index 5b5cdba2cd..0000000000
--- a/desktop/test/deployment/update/defect/fail1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/fail2.oxt b/desktop/test/deployment/update/defect/fail2.oxt
deleted file mode 100644
index 61b0306f09..0000000000
--- a/desktop/test/deployment/update/defect/fail2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/fail3.oxt b/desktop/test/deployment/update/defect/fail3.oxt
deleted file mode 100644
index 9da26d48a6..0000000000
--- a/desktop/test/deployment/update/defect/fail3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/fail4.oxt b/desktop/test/deployment/update/defect/fail4.oxt
deleted file mode 100644
index 66b87caa14..0000000000
--- a/desktop/test/deployment/update/defect/fail4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/info1.oxt b/desktop/test/deployment/update/defect/info1.oxt
deleted file mode 100644
index 9ffd373fa1..0000000000
--- a/desktop/test/deployment/update/defect/info1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/info2.oxt b/desktop/test/deployment/update/defect/info2.oxt
deleted file mode 100644
index 229a52c3bc..0000000000
--- a/desktop/test/deployment/update/defect/info2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/info3.oxt b/desktop/test/deployment/update/defect/info3.oxt
deleted file mode 100644
index b702f3e004..0000000000
--- a/desktop/test/deployment/update/defect/info3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/readme.txt b/desktop/test/deployment/update/defect/readme.txt
deleted file mode 100755
index 5e8322f5cf..0000000000
--- a/desktop/test/deployment/update/defect/readme.txt
+++ /dev/null
@@ -1,15 +0,0 @@
-The updates, that is the newer versions, are defect. However, only fail2.oxt fails to install. The other extensions can be installed directly and through an update.
-
-fail1.oxt: in version2 the contained t.rdb was renamed so that it is not found (t.rdb is referenced in the manifest.xml).
-
-fail2.oxt: in version 2 the contained t.rdb is corrupted. It is a renamed .txt file which contains some text.
-
-fail3.oxt: in version 2 the contained t.rdb is corrupted. It is a renamed .txt file which does not contain any text.
-
-fail4.oxt: the version 2 references by fail4.update.xml is empty.
-
-info1.oxt: The update information file has length null.
-
-info2.oxt: The update information does not contain xml.
-
-info3.oxt: The update information contain an error: the tag update information contains two opening brackets (<<update-information>) \ No newline at end of file
diff --git a/desktop/test/deployment/update/defect/update/fail1.oxt b/desktop/test/deployment/update/defect/update/fail1.oxt
deleted file mode 100644
index dbcc7cd73e..0000000000
--- a/desktop/test/deployment/update/defect/update/fail1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/update/fail1.update.xml b/desktop/test/deployment/update/defect/update/fail1.update.xml
deleted file mode 100755
index 69cb73c4f1..0000000000
--- a/desktop/test/deployment/update/defect/update/fail1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.fail1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/defect/update/fail1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/defect/update/fail2.oxt b/desktop/test/deployment/update/defect/update/fail2.oxt
deleted file mode 100644
index 6df0c3cf99..0000000000
--- a/desktop/test/deployment/update/defect/update/fail2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/update/fail2.update.xml b/desktop/test/deployment/update/defect/update/fail2.update.xml
deleted file mode 100755
index 8b235acd9b..0000000000
--- a/desktop/test/deployment/update/defect/update/fail2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.fail2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/defect/update/fail2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/defect/update/fail3.oxt b/desktop/test/deployment/update/defect/update/fail3.oxt
deleted file mode 100644
index 2d340f4144..0000000000
--- a/desktop/test/deployment/update/defect/update/fail3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/update/fail3.update.xml b/desktop/test/deployment/update/defect/update/fail3.update.xml
deleted file mode 100755
index 60a2999210..0000000000
--- a/desktop/test/deployment/update/defect/update/fail3.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.fail3.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/defect/update/fail3.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/defect/update/fail4.oxt b/desktop/test/deployment/update/defect/update/fail4.oxt
deleted file mode 100644
index e69de29bb2..0000000000
--- a/desktop/test/deployment/update/defect/update/fail4.oxt
+++ /dev/null
diff --git a/desktop/test/deployment/update/defect/update/fail4.update.xml b/desktop/test/deployment/update/defect/update/fail4.update.xml
deleted file mode 100755
index 81775a7257..0000000000
--- a/desktop/test/deployment/update/defect/update/fail4.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.fail4.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/defect/update/fail4.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/defect/update/info1.update.xml b/desktop/test/deployment/update/defect/update/info1.update.xml
deleted file mode 100755
index e69de29bb2..0000000000
--- a/desktop/test/deployment/update/defect/update/info1.update.xml
+++ /dev/null
diff --git a/desktop/test/deployment/update/defect/update/info2.update.xml b/desktop/test/deployment/update/defect/update/info2.update.xml
deleted file mode 100755
index 1446608022..0000000000
--- a/desktop/test/deployment/update/defect/update/info2.update.xml
+++ /dev/null
@@ -1 +0,0 @@
-This is a invalid update information file!!!
diff --git a/desktop/test/deployment/update/defect/update/info3.oxt b/desktop/test/deployment/update/defect/update/info3.oxt
deleted file mode 100644
index 60debac57c..0000000000
--- a/desktop/test/deployment/update/defect/update/info3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/defect/update/info3.update.xml b/desktop/test/deployment/update/defect/update/info3.update.xml
deleted file mode 100755
index 35106ea29a..0000000000
--- a/desktop/test/deployment/update/defect/update/info3.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.info3.oxt"/>
- <version value="2.0" />
- <<update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/defect/update/info3.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/dependencies/publisher_en.html b/desktop/test/deployment/update/dependencies/publisher_en.html
deleted file mode 100755
index 37dbc2b9d6..0000000000
--- a/desktop/test/deployment/update/dependencies/publisher_en.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My Extension Company</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/dependencies/readme.txt b/desktop/test/deployment/update/dependencies/readme.txt
deleted file mode 100755
index 3c71da2488..0000000000
--- a/desktop/test/deployment/update/dependencies/readme.txt
+++ /dev/null
@@ -1,32 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-update-dependencies.oxt is an extension that itself has no dependencies, but
-whose update has unsatisfied dependencies (and also uses update-website).
-
-The update information contain also publisher and release notes information,
-which should be displayed in the update dialog.
diff --git a/desktop/test/deployment/update/dependencies/release-notes_en.html b/desktop/test/deployment/update/dependencies/release-notes_en.html
deleted file mode 100755
index 0971f78d14..0000000000
--- a/desktop/test/deployment/update/dependencies/release-notes_en.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/dependencies/update-dependencies.oxt b/desktop/test/deployment/update/dependencies/update-dependencies.oxt
deleted file mode 100644
index 513b25d207..0000000000
--- a/desktop/test/deployment/update/dependencies/update-dependencies.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/dependencies/update/update-dependencies.update.xml b/desktop/test/deployment/update/dependencies/update/update-dependencies.update.xml
deleted file mode 100755
index 51a631a8eb..0000000000
--- a/desktop/test/deployment/update/dependencies/update/update-dependencies.update.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--***********************************************************************
-
- DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-
- Copyright 2000, 2010 Oracle and/or its affiliates.
-
- OpenOffice.org - a multi-platform office productivity suite
-
- This file is part of OpenOffice.org.
-
- OpenOffice.org is free software: you can redistribute it and/or modify
- it under the terms of the GNU Lesser General Public License version 3
- only, as published by the Free Software Foundation.
-
- OpenOffice.org is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Lesser General Public License version 3 for more details
- (a copy is included in the LICENSE file that accompanied this code).
-
- You should have received a copy of the GNU Lesser General Public License
- version 3 along with OpenOffice.org. If not, see
- <http://www.openoffice.org/license.html>
- for a copy of the LGPLv3 License.
-
- ************************************************************************ -->
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:d="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/dependencies/update-dependencies.oxt"/>
- <version value="2.0"/>
- <dependencies>
- <dependency d:name="&amp; &lt; &gt; &apos; &quot; > ' tab&#x9;. crlf&#xD;&#xA;. em-dash&#x2014;. line-separator&#x2028;. paragraph-separator&#x2029;. xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"/>
- <dependency d:name="Dependency 1"/>
- <dependency d:name="Dependency 2"/>
- <dependency d:name="Dependency 3"/>
- <dependency d:name="Dependency 4"/>
- <dependency d:name="Dependency 5"/>
- <dependency d:name="Dependency 6"/>
- <dependency d:name="Dependency 7"/>
- <dependency d:name="Dependency 8"/>
- <dependency d:name="Dependency 9"/>
- <dependency d:name="Dependency 10"/>
- <dependency d:name="Dependency 11"/>
- <dependency d:name="Dependency 12"/>
- <dependency d:name="Dependency 13"/>
- <dependency d:name="Dependency 14"/>
- <dependency d:name="Dependency 15"/>
- <dependency d:name="Dependency 16"/>
- <dependency d:name="Dependency 17"/>
- <dependency d:name="Dependency 18"/>
- <dependency d:name="Dependency 19"/>
- <dependency d:name="Dependency 20"/>
- <dependency/>
- <d:OpenOffice.org-minimal-version value="2.1" d:name="OpenOffice.org 2.1"/>
- </dependencies>
- <update-website>
- <src xlink:href="http://nowhere.openoffice.org"/>
- <src xlink:href="http://nowhere.openoffice.org/2"/>
- </update-website>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/dependencies/publisher_en.html" lang="en">My Extension Company</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/dependencies/release-notes_en.html" lang="en" />
- </release-notes>
-
-</description>
diff --git a/desktop/test/deployment/update/license/lic1.oxt b/desktop/test/deployment/update/license/lic1.oxt
deleted file mode 100644
index 43bfe3b77b..0000000000
--- a/desktop/test/deployment/update/license/lic1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/lic2.oxt b/desktop/test/deployment/update/license/lic2.oxt
deleted file mode 100644
index 266a45e9a8..0000000000
--- a/desktop/test/deployment/update/license/lic2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/lic3.oxt b/desktop/test/deployment/update/license/lic3.oxt
deleted file mode 100644
index 3f1b989600..0000000000
--- a/desktop/test/deployment/update/license/lic3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/readme.txt b/desktop/test/deployment/update/license/readme.txt
deleted file mode 100755
index 03123d2c58..0000000000
--- a/desktop/test/deployment/update/license/readme.txt
+++ /dev/null
@@ -1,9 +0,0 @@
-The extensions contain a license which is displayed during installaion. If a the license is displayed during a update can be determined by the attribute
-/description/registration/simple-license/@suppress-on-update
-
-The default value is false, which means that the attribute is not set, then the license is displayed during an update.
-
-lic1.oxt: attribute not set
-lic2.oxt: attribute set to false
-lic3.oxt: attribute set to true
-
diff --git a/desktop/test/deployment/update/license/update/lic1.oxt b/desktop/test/deployment/update/license/update/lic1.oxt
deleted file mode 100644
index cc91e1ff16..0000000000
--- a/desktop/test/deployment/update/license/update/lic1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/update/lic1.update.xml b/desktop/test/deployment/update/license/update/lic1.update.xml
deleted file mode 100755
index 6c60375905..0000000000
--- a/desktop/test/deployment/update/license/update/lic1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.lic1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/license/update/lic1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/license/update/lic2.oxt b/desktop/test/deployment/update/license/update/lic2.oxt
deleted file mode 100644
index 3510007924..0000000000
--- a/desktop/test/deployment/update/license/update/lic2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/update/lic2.update.xml b/desktop/test/deployment/update/license/update/lic2.update.xml
deleted file mode 100755
index 6e284e9def..0000000000
--- a/desktop/test/deployment/update/license/update/lic2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.lic2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/license/update/lic2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/license/update/lic3.oxt b/desktop/test/deployment/update/license/update/lic3.oxt
deleted file mode 100644
index 6ac6e0fd0f..0000000000
--- a/desktop/test/deployment/update/license/update/lic3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/license/update/lic3.update.xml b/desktop/test/deployment/update/license/update/lic3.update.xml
deleted file mode 100755
index b6f55bca20..0000000000
--- a/desktop/test/deployment/update/license/update/lic3.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.lic3.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/license/update/lic3.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/platform/all1.oxt b/desktop/test/deployment/update/platform/all1.oxt
deleted file mode 100644
index ad9662a7c2..0000000000
--- a/desktop/test/deployment/update/platform/all1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/all2.oxt b/desktop/test/deployment/update/platform/all2.oxt
deleted file mode 100644
index 632d11b429..0000000000
--- a/desktop/test/deployment/update/platform/all2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/all3.oxt b/desktop/test/deployment/update/platform/all3.oxt
deleted file mode 100644
index ab781552a5..0000000000
--- a/desktop/test/deployment/update/platform/all3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/freebsd_x86.oxt b/desktop/test/deployment/update/platform/freebsd_x86.oxt
deleted file mode 100644
index 338f5761de..0000000000
--- a/desktop/test/deployment/update/platform/freebsd_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/freebsd_x86_64.oxt b/desktop/test/deployment/update/platform/freebsd_x86_64.oxt
deleted file mode 100644
index 39fee6de1a..0000000000
--- a/desktop/test/deployment/update/platform/freebsd_x86_64.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/invalid1.oxt b/desktop/test/deployment/update/platform/invalid1.oxt
deleted file mode 100644
index 13d709f438..0000000000
--- a/desktop/test/deployment/update/platform/invalid1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/invalid2.oxt b/desktop/test/deployment/update/platform/invalid2.oxt
deleted file mode 100644
index f14257191b..0000000000
--- a/desktop/test/deployment/update/platform/invalid2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/invalid3.oxt b/desktop/test/deployment/update/platform/invalid3.oxt
deleted file mode 100644
index cadffa4f2a..0000000000
--- a/desktop/test/deployment/update/platform/invalid3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_arm_eabi.oxt b/desktop/test/deployment/update/platform/linux_arm_eabi.oxt
deleted file mode 100644
index 9c504e841b..0000000000
--- a/desktop/test/deployment/update/platform/linux_arm_eabi.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_arm_oabi.oxt b/desktop/test/deployment/update/platform/linux_arm_oabi.oxt
deleted file mode 100644
index f2c987f645..0000000000
--- a/desktop/test/deployment/update/platform/linux_arm_oabi.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_ia64.oxt b/desktop/test/deployment/update/platform/linux_ia64.oxt
deleted file mode 100644
index f579a18ab9..0000000000
--- a/desktop/test/deployment/update/platform/linux_ia64.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_mips_eb.oxt b/desktop/test/deployment/update/platform/linux_mips_eb.oxt
deleted file mode 100644
index bf0bd94233..0000000000
--- a/desktop/test/deployment/update/platform/linux_mips_eb.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_mips_el.oxt b/desktop/test/deployment/update/platform/linux_mips_el.oxt
deleted file mode 100644
index 6bd5644683..0000000000
--- a/desktop/test/deployment/update/platform/linux_mips_el.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_powerpc.oxt b/desktop/test/deployment/update/platform/linux_powerpc.oxt
deleted file mode 100644
index e301a3fb3a..0000000000
--- a/desktop/test/deployment/update/platform/linux_powerpc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_powerpc64.oxt b/desktop/test/deployment/update/platform/linux_powerpc64.oxt
deleted file mode 100644
index e5f3ae0639..0000000000
--- a/desktop/test/deployment/update/platform/linux_powerpc64.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_s390.oxt b/desktop/test/deployment/update/platform/linux_s390.oxt
deleted file mode 100644
index 199702ebf0..0000000000
--- a/desktop/test/deployment/update/platform/linux_s390.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_s390x.oxt b/desktop/test/deployment/update/platform/linux_s390x.oxt
deleted file mode 100644
index 2ed250833f..0000000000
--- a/desktop/test/deployment/update/platform/linux_s390x.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_sparc.oxt b/desktop/test/deployment/update/platform/linux_sparc.oxt
deleted file mode 100644
index 53dfc71e0c..0000000000
--- a/desktop/test/deployment/update/platform/linux_sparc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_x86.oxt b/desktop/test/deployment/update/platform/linux_x86.oxt
deleted file mode 100644
index 8379539cad..0000000000
--- a/desktop/test/deployment/update/platform/linux_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/linux_x86_64.oxt b/desktop/test/deployment/update/platform/linux_x86_64.oxt
deleted file mode 100644
index 0fb1822752..0000000000
--- a/desktop/test/deployment/update/platform/linux_x86_64.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/macosx_powerpc.oxt b/desktop/test/deployment/update/platform/macosx_powerpc.oxt
deleted file mode 100644
index 7c14634712..0000000000
--- a/desktop/test/deployment/update/platform/macosx_powerpc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/macosx_x86.oxt b/desktop/test/deployment/update/platform/macosx_x86.oxt
deleted file mode 100644
index a20aadfeff..0000000000
--- a/desktop/test/deployment/update/platform/macosx_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/mul1.oxt b/desktop/test/deployment/update/platform/mul1.oxt
deleted file mode 100644
index b3b555969b..0000000000
--- a/desktop/test/deployment/update/platform/mul1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/os2_x86.oxt b/desktop/test/deployment/update/platform/os2_x86.oxt
deleted file mode 100644
index 1c7fd40bef..0000000000
--- a/desktop/test/deployment/update/platform/os2_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/readme.txt b/desktop/test/deployment/update/platform/readme.txt
deleted file mode 100755
index 2ab102a27d..0000000000
--- a/desktop/test/deployment/update/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 <platform> element is missing. Default is "all".
-
-all2.oxt: all, <platform value="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: <platform />
-
-invalid2.oxt: <platform value=""/>
-
-invalid3.oxt: <platform value="," />
diff --git a/desktop/test/deployment/update/platform/solaris_sparc.oxt b/desktop/test/deployment/update/platform/solaris_sparc.oxt
deleted file mode 100644
index a61f81f439..0000000000
--- a/desktop/test/deployment/update/platform/solaris_sparc.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/solaris_x86.oxt b/desktop/test/deployment/update/platform/solaris_x86.oxt
deleted file mode 100644
index 44d43df691..0000000000
--- a/desktop/test/deployment/update/platform/solaris_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/platform/windows_x86.oxt b/desktop/test/deployment/update/platform/windows_x86.oxt
deleted file mode 100644
index c66a9b1418..0000000000
--- a/desktop/test/deployment/update/platform/windows_x86.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub1.oxt b/desktop/test/deployment/update/publisher/pub1.oxt
deleted file mode 100644
index c44ee9f3bc..0000000000
--- a/desktop/test/deployment/update/publisher/pub1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub10.oxt b/desktop/test/deployment/update/publisher/pub10.oxt
deleted file mode 100644
index 1e7410ec1b..0000000000
--- a/desktop/test/deployment/update/publisher/pub10.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub11.oxt b/desktop/test/deployment/update/publisher/pub11.oxt
deleted file mode 100644
index ef7fbca5e6..0000000000
--- a/desktop/test/deployment/update/publisher/pub11.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub2.oxt b/desktop/test/deployment/update/publisher/pub2.oxt
deleted file mode 100644
index 438bcae830..0000000000
--- a/desktop/test/deployment/update/publisher/pub2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub3.oxt b/desktop/test/deployment/update/publisher/pub3.oxt
deleted file mode 100644
index 62fd69f559..0000000000
--- a/desktop/test/deployment/update/publisher/pub3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub4.oxt b/desktop/test/deployment/update/publisher/pub4.oxt
deleted file mode 100644
index 4f6224f780..0000000000
--- a/desktop/test/deployment/update/publisher/pub4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub5.oxt b/desktop/test/deployment/update/publisher/pub5.oxt
deleted file mode 100644
index 1774e6cd35..0000000000
--- a/desktop/test/deployment/update/publisher/pub5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub6.oxt b/desktop/test/deployment/update/publisher/pub6.oxt
deleted file mode 100644
index 791a37f8e7..0000000000
--- a/desktop/test/deployment/update/publisher/pub6.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub7.oxt b/desktop/test/deployment/update/publisher/pub7.oxt
deleted file mode 100644
index 96e96887d0..0000000000
--- a/desktop/test/deployment/update/publisher/pub7.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub8.oxt b/desktop/test/deployment/update/publisher/pub8.oxt
deleted file mode 100644
index dc9f0ce34d..0000000000
--- a/desktop/test/deployment/update/publisher/pub8.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/pub9.oxt b/desktop/test/deployment/update/publisher/pub9.oxt
deleted file mode 100644
index 5e8ba9ebc1..0000000000
--- a/desktop/test/deployment/update/publisher/pub9.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/publisher_de-DE-altmark.html b/desktop/test/deployment/update/publisher/publisher_de-DE-altmark.html
deleted file mode 100755
index c770b914ad..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_de-DE-altmark.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-DE-altmark</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_de-DE.html b/desktop/test/deployment/update/publisher/publisher_de-DE.html
deleted file mode 100755
index b06ed7088f..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_de-DE.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice de-DE</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_de.html b/desktop/test/deployment/update/publisher/publisher_de.html
deleted file mode 100755
index 4cba9f423d..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_de.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice de</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en-GB.html b/desktop/test/deployment/update/publisher/publisher_en-GB.html
deleted file mode 100755
index c73cf6219b..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en-GB.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-GB</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en-US-region1.html b/desktop/test/deployment/update/publisher/publisher_en-US-region1.html
deleted file mode 100755
index 68beac7248..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en-US-region1.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-US-region1</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en-US-region2.html b/desktop/test/deployment/update/publisher/publisher_en-US-region2.html
deleted file mode 100755
index 501adb6596..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en-US-region2.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-US-region2</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en-US.html b/desktop/test/deployment/update/publisher/publisher_en-US.html
deleted file mode 100755
index fd25751503..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en-US.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-US</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en-region3.html b/desktop/test/deployment/update/publisher/publisher_en-region3.html
deleted file mode 100755
index b9fdc9d657..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en-region3.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en-region3</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/publisher_en.html b/desktop/test/deployment/update/publisher/publisher_en.html
deleted file mode 100755
index 416ab81243..0000000000
--- a/desktop/test/deployment/update/publisher/publisher_en.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>My OpenOffice en</H1>
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/publisher/readme.txt b/desktop/test/deployment/update/publisher/readme.txt
deleted file mode 100755
index 1a659d8e87..0000000000
--- a/desktop/test/deployment/update/publisher/readme.txt
+++ /dev/null
@@ -1,212 +0,0 @@
---The folder contains extensions which use in the description.xml the following:
-
--The <publisher> element
--The <release-notes> element
-
-Both element contain localized child elements.
-
-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
-=============================================
-pub1.oxt | en-US | en-US
----------------------------------------------
-pub2.oxt | en-US-region1 | en-US-region1
----------------------------------------------
-pub3.oxt | en | en
----------------------------------------------
-pub4.oxt | en-GB | en-GB
----------------------------------------------
-pub5.oxt | de | de
-
-
-================================================================================
-pub6.oxt
-================================================================================
-like pub1 but without release notes.
-
-
-================================================================================
-pub7.oxt
-================================================================================
-like pub1 but without publisher name.
-
-================================================================================
-pub8.oxt
-================================================================================
-Need not be committed in extensions/www/testarea/desktop.
-
-pub8.oxt is intended for tests with extensions.services.openoffice.org.
-It does not contain <update-information>. That is, the Extension Manager will obtain
-the update information from the repository as feed:
-
-http://updateext.services.openoffice.org/ProductUpdateService/check.Update
-
-pub8.oxt provides <publisher> and <release-notes>. These information should be transferred
-in the update feed and not those entered in the repository.
-
-Test
-----
-Repository:
-
--Create the new extension in the repository.
--Provide a company name and a URL to the company website. This setting should be ignored
- when generating the udpate feed. Instead the publisher name from the extension is used.
- Enter "Publisher Title" : some arbitrary company
- "Publisher URL": any arbitrary URL but not:
- http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html
-
--Create a new release for the extension. Upload the version 2.0 (update/pub8.oxt).
- Provide release notes. These release notes should later not be seen when clicking on
- the release notes link.
-
-
-Office:
--Install version 1.0 of the extension:
- desktop/test/deployment/update/publisher/pub8.oxt
-
--Run the update in the Extension Manager
-
-
-Result:
-The Update Dialog should show the publisher name as provided in the description.xml. For example,
-when lang=en-US was selected: My OpenOffice en-US
-
-A release notes link is displayed with an URL to the release notes as provided in
-the description.xml. For example, when lang=en-US was selected:
-"http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html
-
-
-================================================================================
-pub9.oxt
-================================================================================
-Need not be committed in extensions/www/testarea/desktop.
-
-pub9.oxt is intended for tests with extensions.services.openoffice.org.
-It does not contain <update-information>. That is, the Extension Manager will obtain
-the update information from the repository as feed:
-
-http://updateext.services.openoffice.org/ProductUpdateService/check.Update
-
-pub9.oxt provides <publisher>. That means the update feed should
-contain the <publisher> as provided by the extension and the release notes as entered
-in the repository.
-
-Test
-----
-Repository:
-
--Create the new extension in the repository.
--Provide a company name and a URL to the company website. This setting should be ignored
- when generating the udpate feed. Instead the publisher name from the extension is used.
- Enter "Publisher Title" : some arbitrary company name
- "Publisher URL": any arbitrary URL but not:
- http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html
-
--Create a new release for the extension. Upload the version 2.0 (update/pub9.oxt).
- Provide release notes. These release notes should later be displayed when clicking on
- the release notes link.
-
-
-Office:
--Install version 1.0 of the extension:
- desktop/test/deployment/update/publisher/pub9.oxt
-
--Run the update in the Extension Manager
-
-
-Result:
-The Update Dialog should show the publisher name as provided in the description.xml. For example,
-when lang=en-US was selected: My OpenOffice en-US
-
-A release notes link is displayed with an URL to the release notes as provided in the release notes
-field on the edit page for the extension in the repository.
-
-================================================================================
-pub10.oxt
-================================================================================
-Need not be committed in extensions/www/testarea/desktop.
-
-pub10.oxt is intended for tests with extensions.services.openoffice.org.
-It does not contain <update-information>. That is, the Extension Manager will obtain
-the update information from the repository as feed:
-
-http://updateext.services.openoffice.org/ProductUpdateService/check.Update
-
-pub10.oxt provides <release-notes>. That means the update feed should
-contain the <release-notes> as provided by the extension and the publisher name/URLs as entered
-in the repository.
-
-Test
-----
-Repository:
-
--Create the new extension in the repository.
--Provide a company name and a URL to the company website. They should then be in the udpate
- feed.
-
--Create a new release for the extension. Upload the version 2.0 (update/pub10.oxt).
- Provide release notes. These release notes should NOT be displayed when clicking on
- the release notes link. Instead the release notes provided by pub10.oxt should be displayed.
-
-
-Office:
--Install version 1.0 of the extension:
- desktop/test/deployment/update/publisher/pub10.oxt
-
--Run the update in the Extension Manager
-
-
-Result:
-The Update Dialog should show the publisher name as provided in the repository.
-
-A release notes link is displayed with an URL to the release notes as provided in the
-pub10.oxt. For example, when the locale of the office is en-US then this page will be
-displayed:
-For example,
-when lang=en-US was selected: My OpenOffice en-US
-
-================================================================================
-pub11.oxt
-================================================================================
-Need not be committed in extensions/www/testarea/desktop.
-
-pub11.oxt is intended for tests with extensions.services.openoffice.org.
-It does not contain <update-information>. That is, the Extension Manager will obtain
-the update information from the repository as feed:
-
-http://updateext.services.openoffice.org/ProductUpdateService/check.Update
-
-pub10.oxt neither provides <release-notes> nor <publisher>. That means the update feed should
-contain these data as provided by the user on the repository web site.
-
-Test
-----
-Repository:
-
--Create the new extension in the repository.
--Provide a company name and a URL to the company website. They should then be in the udpate
- feed.
-
--Create a new release for the extension. Upload the version 2.0 (update/pub11.oxt).
- Provide release notes. These release notes should be displayed when clicking on
- the release notes link.
-
-
-Office:
--Install version 1.0 of the extension:
- desktop/test/deployment/update/publisher/pub11.oxt
-
--Run the update in the Extension Manager
-
-
-Result:
-The Update Dialog should show the publisher name as provided in the repository.
-
-A release notes link is displayed which leads to the release notes kept in the repository.
-
diff --git a/desktop/test/deployment/update/publisher/release-notes_de-DE-altmark.html b/desktop/test/deployment/update/publisher/release-notes_de-DE-altmark.html
deleted file mode 100755
index 81b38a9f5b..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_de-DE-altmark.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes de-DE-altmark</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_de-DE.html b/desktop/test/deployment/update/publisher/release-notes_de-DE.html
deleted file mode 100755
index f8f0121f02..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_de-DE.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes de-DE</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_de.html b/desktop/test/deployment/update/publisher/release-notes_de.html
deleted file mode 100755
index a9e1dc3647..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_de.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes de</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en-GB.html b/desktop/test/deployment/update/publisher/release-notes_en-GB.html
deleted file mode 100755
index ca72ec1b9c..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en-GB.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en-GB</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en-US-region1.html b/desktop/test/deployment/update/publisher/release-notes_en-US-region1.html
deleted file mode 100755
index 0e6f99ce4c..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en-US-region1.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en-US-region1</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en-US-region2.html b/desktop/test/deployment/update/publisher/release-notes_en-US-region2.html
deleted file mode 100755
index 597bca0ebe..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en-US-region2.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en-US-region2</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en-US.html b/desktop/test/deployment/update/publisher/release-notes_en-US.html
deleted file mode 100755
index 7f9d73e338..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en-US.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en-US</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en-region3.html b/desktop/test/deployment/update/publisher/release-notes_en-region3.html
deleted file mode 100755
index 5d62c7bcb4..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en-region3.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en-region3</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/release-notes_en.html b/desktop/test/deployment/update/publisher/release-notes_en.html
deleted file mode 100755
index d02e4f3330..0000000000
--- a/desktop/test/deployment/update/publisher/release-notes_en.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Release Notes en</H1>
-</BODY>
-</HTML>
diff --git a/desktop/test/deployment/update/publisher/update/pub1.oxt b/desktop/test/deployment/update/publisher/update/pub1.oxt
deleted file mode 100644
index cd04a58d55..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub1.update.xml b/desktop/test/deployment/update/publisher/update/pub1.update.xml
deleted file mode 100755
index 65ca88e5b7..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub1.update.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub1"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html" lang="en">My OpenOffice en</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html" lang="en-US">My OpenOffice en-US</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region1.html" lang="en-US-region1">My OpenOffice en-US-region1</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region2.html" lang="en-US-region2">My OpenOffice en-US-region2</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US.html" lang="en-US" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub10.oxt b/desktop/test/deployment/update/publisher/update/pub10.oxt
deleted file mode 100644
index 501a843381..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub10.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub11.oxt b/desktop/test/deployment/update/publisher/update/pub11.oxt
deleted file mode 100644
index 692c0401f4..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub11.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub2.oxt b/desktop/test/deployment/update/publisher/update/pub2.oxt
deleted file mode 100644
index 2a0bd6c21f..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub2.update.xml b/desktop/test/deployment/update/publisher/update/pub2.update.xml
deleted file mode 100755
index 35415fc87d..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub2.update.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub2"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html" lang="en">My OpenOffice en</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region1.html" lang="en-US-region1">My OpenOffice en-US-region1</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region2.html" lang="en-US-region2">My OpenOffice en-US-region2</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub3.oxt b/desktop/test/deployment/update/publisher/update/pub3.oxt
deleted file mode 100644
index 60675fc4d2..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub3.update.xml b/desktop/test/deployment/update/publisher/update/pub3.update.xml
deleted file mode 100755
index f15a4c525a..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub3.update.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub3"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html" lang="en">My OpenOffice en</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub3.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub4.oxt b/desktop/test/deployment/update/publisher/update/pub4.oxt
deleted file mode 100644
index 19f7b7991b..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub4.update.xml b/desktop/test/deployment/update/publisher/update/pub4.update.xml
deleted file mode 100755
index 9c46b6eb3d..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub4.update.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub4"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub4.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub5.oxt b/desktop/test/deployment/update/publisher/update/pub5.oxt
deleted file mode 100644
index afc632d570..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub5.update.xml b/desktop/test/deployment/update/publisher/update/pub5.update.xml
deleted file mode 100755
index dd47e95403..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub5.update.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub5"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub5.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub6.oxt b/desktop/test/deployment/update/publisher/update/pub6.oxt
deleted file mode 100644
index a68b445b8a..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub6.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub6.update.xml b/desktop/test/deployment/update/publisher/update/pub6.update.xml
deleted file mode 100755
index 5d4adc7a16..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub6.update.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub6"/>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html" lang="en">My OpenOffice en</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html" lang="en-US">My OpenOffice en-US</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region1.html" lang="en-US-region1">My OpenOffice en-US-region1</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region2.html" lang="en-US-region2">My OpenOffice en-US-region2</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub6.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub7.oxt b/desktop/test/deployment/update/publisher/update/pub7.oxt
deleted file mode 100644
index 1b4bee0442..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub7.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub7.update.xml b/desktop/test/deployment/update/publisher/update/pub7.update.xml
deleted file mode 100755
index cf61bc092d..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub7.update.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/publisher/pub7"/>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US.html" lang="en-US" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/update/pub7.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/publisher/update/pub8.oxt b/desktop/test/deployment/update/publisher/update/pub8.oxt
deleted file mode 100644
index 5688ab9d24..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub8.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/publisher/update/pub9.oxt b/desktop/test/deployment/update/publisher/update/pub9.oxt
deleted file mode 100644
index 752cfbbcf0..0000000000
--- a/desktop/test/deployment/update/publisher/update/pub9.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/readme.txt b/desktop/test/deployment/update/readme.txt
deleted file mode 100755
index b3fd9126ca..0000000000
--- a/desktop/test/deployment/update/readme.txt
+++ /dev/null
@@ -1,68 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-
-The extensions in the subdirectories of the update folder are used for
-testing the online update feature of extensions. The folder such as
-simple,
-license,
-defect, etc. contain extensions which can be installed in OOo. The
-corresponding update information file and the update are located on
-the extensions.openoffice.org website (cvs: extensions/www/testarea). For example:
-
-desktop/test/deployment/update/simple/plain1.oxt
-
-is version 1 of this extension and it references
-
-http://extensions.openoffice.org/testarea/desktop/simple/update/plain1.update.xml
-
-which in turn references version 2 at
-
-http://extensions.openoffice.org/testarea/desktop/simple/update/plain1.oxt
-
-
-To have all in one place the update information file and the update are also contained
-in the desktop project. They are in the update subfolder of the different test folders.
-For example
-
-.../update/simple/update
-.../update/license/update
-.../update/updatefeed/udpate
-
-
-The different test folders for the update are also commited in project extensions/www
-so that the files can be obtain via an URL. The structure and the contents is about the
-same as the content
-of desktop/test/deployment/udpate
-For example in
-
-extensions/www/testarea/desktop
-
-are the subfolder defect, simple, updatefeed, wrong_url, etc.
-they contain the extensions which are installed directly by the Extension Manager.
-These folders contain also the update subfolder which contains the update information
-and the actual updates.
diff --git a/desktop/test/deployment/update/simple/plain1.oxt b/desktop/test/deployment/update/simple/plain1.oxt
deleted file mode 100644
index 6256f99d5e..0000000000
--- a/desktop/test/deployment/update/simple/plain1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/plain2.oxt b/desktop/test/deployment/update/simple/plain2.oxt
deleted file mode 100644
index 03249c2777..0000000000
--- a/desktop/test/deployment/update/simple/plain2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/plain3.oxt b/desktop/test/deployment/update/simple/plain3.oxt
deleted file mode 100644
index 64838932d1..0000000000
--- a/desktop/test/deployment/update/simple/plain3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/readme.txt b/desktop/test/deployment/update/simple/readme.txt
deleted file mode 100755
index 34ad6bedab..0000000000
--- a/desktop/test/deployment/update/simple/readme.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-The folder contains only simple extension. That is, they only contain
-- META-INF
--t.rdb
--description.xml
-
-The description.xml contains a version, a display name, and one URL to the update data
-
-For example:
-
-
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="1.0" />
-
- <display-name>
- <name lang="de">plain1 de</name>
- </display-name>
-
- <update-information>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/simple/plain1.update.xml" />
- </update-information>
-</description>
-
-There is only one language as display name available, which will therefore always be displayed.
-
-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/desktop/test/deployment/update/simple/update/plain1.oxt b/desktop/test/deployment/update/simple/update/plain1.oxt
deleted file mode 100644
index d73362e873..0000000000
--- a/desktop/test/deployment/update/simple/update/plain1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/update/plain1.update.xml b/desktop/test/deployment/update/simple/update/plain1.update.xml
deleted file mode 100755
index 5ee57aacb8..0000000000
--- a/desktop/test/deployment/update/simple/update/plain1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.plain1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/simple/update/plain1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/simple/update/plain2.oxt b/desktop/test/deployment/update/simple/update/plain2.oxt
deleted file mode 100644
index 3dc02aa97a..0000000000
--- a/desktop/test/deployment/update/simple/update/plain2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/update/plain2.update.xml b/desktop/test/deployment/update/simple/update/plain2.update.xml
deleted file mode 100755
index e572908df6..0000000000
--- a/desktop/test/deployment/update/simple/update/plain2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.plain2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/simple/update/plain2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/simple/update/plain3.oxt b/desktop/test/deployment/update/simple/update/plain3.oxt
deleted file mode 100644
index 575152403b..0000000000
--- a/desktop/test/deployment/update/simple/update/plain3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/simple/update/plain3.update.xml b/desktop/test/deployment/update/simple/update/plain3.update.xml
deleted file mode 100755
index 038bebef02..0000000000
--- a/desktop/test/deployment/update/simple/update/plain3.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.plain3.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/simple/update/plain3.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/updatefeed/feed1.oxt b/desktop/test/deployment/update/updatefeed/feed1.oxt
deleted file mode 100644
index b1b11eccea..0000000000
--- a/desktop/test/deployment/update/updatefeed/feed1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/updatefeed/feed2.oxt b/desktop/test/deployment/update/updatefeed/feed2.oxt
deleted file mode 100644
index 47dca1676c..0000000000
--- a/desktop/test/deployment/update/updatefeed/feed2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/updatefeed/update/feed1.oxt b/desktop/test/deployment/update/updatefeed/update/feed1.oxt
deleted file mode 100644
index 82bb9665ae..0000000000
--- a/desktop/test/deployment/update/updatefeed/update/feed1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/updatefeed/update/feed1.update.xml b/desktop/test/deployment/update/updatefeed/update/feed1.update.xml
deleted file mode 100755
index ebf421dbfd..0000000000
--- a/desktop/test/deployment/update/updatefeed/update/feed1.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.feed1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/updatefeed/update/feed1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/updatefeed/update/feed1.xml b/desktop/test/deployment/update/updatefeed/update/feed1.xml
deleted file mode 100755
index 1c31851d8c..0000000000
--- a/desktop/test/deployment/update/updatefeed/update/feed1.xml
+++ /dev/null
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
-
- <title>OpenOffice.org Update Feed</title>
- <link rel="alternate" type="text/html" href="http://update.services.openoffice.org/ooo/snapshot.html"/>
- <updated>2006-11-06T18:30:02Z</updated>
- <author>
- <name>The OpenOffice.org Project</name>
- <uri>http://openoffice.org</uri>
- <email>updatefeed@openoffice.org</email>
- </author>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566e9d</id>
- <entry>
- <title>feed1.oxt version 2.0 available</title>
- <link rel="alternate" type="text/html"
- href="http://extensions.openoffice.org"/>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566e9f</id>
- <category term="org.openoffice.legacy.feed1.oxt" label="feed1.oxt" />
- <updated>2006-11-06T18:30:02Z</updated>
- <summary>Click here to go to the download page.</summary>
- <content type="application/xml" src="http://extensions.openoffice.org/testarea/desktop/updatefeed/update/feed1.update.xml" />
- </entry>
- <entry>
- <title>feed2.oxt version 2.0 available</title>
- <link rel="alternate" type="text/html"
- href="http://extensions.openoffice.org"/>
- <id>urn:uuid:a4ccd383-1dd1-11b2-a95c-0003ba566eaf</id>
- <category term="org.openoffice.legacy.feed2.oxt" label="feed2.oxt" />
- <updated>2006-11-06T18:30:02Z</updated>
- <summary>Click here to go to the download page.</summary>
- <content type="application/xml" src="http://extensions.openoffice.org/testarea/desktop/updatefeed/update/feed2.update.xml" />
- </entry>
-</feed>
diff --git a/desktop/test/deployment/update/updatefeed/update/feed2.oxt b/desktop/test/deployment/update/updatefeed/update/feed2.oxt
deleted file mode 100644
index 9c867ae4a8..0000000000
--- a/desktop/test/deployment/update/updatefeed/update/feed2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/updatefeed/update/feed2.update.xml b/desktop/test/deployment/update/updatefeed/update/feed2.update.xml
deleted file mode 100755
index 7a554b30c4..0000000000
--- a/desktop/test/deployment/update/updatefeed/update/feed2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.feed2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/updatefeed/update/feed2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/updateinfocreation/build/MANIFEST.MF b/desktop/test/deployment/update/updateinfocreation/build/MANIFEST.MF
deleted file mode 100755
index 09e2f42ca0..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/MANIFEST.MF
+++ /dev/null
@@ -1,2 +0,0 @@
-RegistrationClassName: com.sun.star.comp.smoketest.TestExtension
-
diff --git a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl b/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl
deleted file mode 100644
index af7b3c507e..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl
+++ /dev/null
@@ -1,40 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- *************************************************************************/
-
-#ifndef _com_sun_star_comp_smoketest_TestExtension_idl_
-#define _com_sun_star_comp_smoketest_TestExtension_idl_
-
-#include <com/sun/star/lang/XServiceInfo.idl>
-
-
-module com { module sun { module star { module comp { module smoketest {
- // example service, XServiceInfo is implemented here for demonstration
- // issues. XServiceInfo must be implemented by all components.
- service TestExtension: ::com::sun::star::lang::XServiceInfo;
-};};};};};
-
-#endif
diff --git a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.java b/desktop/test/deployment/update/updateinfocreation/build/TestExtension.java
deleted file mode 100755
index 91e8bf5ff3..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.java
+++ /dev/null
@@ -1,165 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- *************************************************************************/
-package com.sun.star.comp.smoketest;
-
-import com.sun.star.lib.uno.helper.Factory;
-import com.sun.star.lang.XMultiComponentFactory;
-import com.sun.star.lang.XSingleComponentFactory;
-import com.sun.star.lib.uno.helper.WeakBase;
-import com.sun.star.uno.UnoRuntime;
-import com.sun.star.uno.XComponentContext;
-import com.sun.star.registry.XRegistryKey;
-import com.sun.star.lang.XInitialization;
-import com.sun.star.lang.XTypeProvider;
-import com.sun.star.lang.XServiceInfo;
-import com.sun.star.uno.Type;
-
-/** This class capsulates the class, that implements the minimal component, a
- * factory for creating the service (<CODE>__getComponentFactory</CODE>) and a
- * method, that writes the information into the given registry key
- * (<CODE>__writeRegistryServiceInfo</CODE>).
- */
-public class TestExtension {
- /** This class implements the component. At least the interfaces XServiceInfo,
- * XTypeProvider, and XInitialization should be provided by the service.
- */
- public static class _TestExtension extends WeakBase
- implements XServiceInfo {
- /** The service name, that must be used to get an instance of this service.
- */
- static private final String __serviceName =
- "com.sun.star.comp.smoketest.TestExtension";
-
- /** The initial component contextr, that gives access to
- * the service manager, supported singletons, ...
- * It's often later used
- */
- private XComponentContext m_cmpCtx;
-
- /** The service manager, that gives access to all registered services.
- * It's often later used
- */
- private XMultiComponentFactory m_xMCF;
-
- /** The constructor of the inner class has a XMultiServiceFactory parameter.
- * @param xmultiservicefactoryInitialization A special service factory
- * could be introduced while initializing.
- */
- public _TestExtension(XComponentContext xCompContext) {
- try {
- m_cmpCtx = xCompContext;
- m_xMCF = m_cmpCtx.getServiceManager();
- }
- catch( Exception e ) {
- e.printStackTrace();
- }
- }
-
- /** This method returns an array of all supported service names.
- * @return Array of supported service names.
- */
- public String[] getSupportedServiceNames() {
- return getServiceNames();
- }
-
- /** This method is a simple helper function to used in the
- * static component initialisation functions as well as in
- * getSupportedServiceNames.
- */
- public static String[] getServiceNames() {
- String[] sSupportedServiceNames = { __serviceName };
- return sSupportedServiceNames;
- }
-
- /** This method returns true, if the given service will be
- * supported by the component.
- * @param sServiceName Service name.
- * @return True, if the given service name will be supported.
- */
- public boolean supportsService( String sServiceName ) {
- return sServiceName.equals( __serviceName );
- }
-
- /** Return the class name of the component.
- * @return Class name of the component.
- */
- public String getImplementationName() {
- return _TestExtension.class.getName();
- }
- }
-
-
- /**
- * Gives a factory for creating the service.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns a <code>XSingleComponentFactory</code> for creating
- * the component
- * @param sImplName the name of the implementation for which a
- * service is desired
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static XSingleComponentFactory __getComponentFactory(String sImplName)
- {
- XSingleComponentFactory xFactory = null;
-
- if ( sImplName.equals( _TestExtension.class.getName() ) )
- xFactory = Factory.createComponentFactory(_TestExtension.class,
- _TestExtension.getServiceNames());
-
- return xFactory;
- }
-
- /**
- * Writes the service information into the given registry key.
- * This method is called by the <code>JavaLoader</code>
- * <p>
- * @return returns true if the operation succeeded
- * @param regKey the registryKey
- * @see com.sun.star.comp.loader.JavaLoader
- */
- public static boolean __writeRegistryServiceInfo(XRegistryKey regKey) {
- return Factory.writeRegistryServiceInfo(_TestExtension.class.getName(),
- _TestExtension.getServiceNames(),
- regKey);
- }
- /** This method is a member of the interface for initializing an object
- * directly after its creation.
- * @param object This array of arbitrary objects will be passed to the
- * component after its creation.
- * @throws Exception Every exception will not be handled, but will be
- * passed to the caller.
- */
- public void initialize( Object[] object )
- throws com.sun.star.uno.Exception {
- /* The component describes what arguments its expected and in which
- * order!At this point you can read the objects and can intialize
- * your component using these objects.
- */
- }
-
-}
diff --git a/desktop/test/deployment/update/updateinfocreation/build/delzip b/desktop/test/deployment/update/updateinfocreation/build/delzip
deleted file mode 100755
index 636fda90bf..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/delzip
+++ /dev/null
@@ -1 +0,0 @@
-ECHO is OFF
diff --git a/desktop/test/deployment/update/updateinfocreation/build/description.xml b/desktop/test/deployment/update/updateinfocreation/build/description.xml
deleted file mode 100755
index a175c3232a..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/description.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink"
- xmlns:d="http://openoffice.org/extensions/description/2006" >
- <identifier value="org.openoffice.extensions.testarea.desktop.updateinfo"/>
- <version value="2.0" />
- <dependencies >
- <OpenOffice.org-minimal-version value="2.1" d:name="OpenOffice.org 2.1"/>
- </dependencies>
- <update-information>
- <src xlink:href="http://update.services.openoffice.org/ProductUpdateService/check.Update?product=extension&amp;extensionid=org.openoffice.extensions.testarea.desktop.updateinfo&amp;refresh=true"/>
- </update-information>
-</description>
diff --git a/desktop/test/deployment/update/updateinfocreation/build/makefile.mk b/desktop/test/deployment/update/updateinfocreation/build/makefile.mk
deleted file mode 100755
index b0479c942b..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/makefile.mk
+++ /dev/null
@@ -1,91 +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
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-PRJ = ..$/..$/..$/..$/..
-PRJNAME = updateinfo
-PACKAGE = com$/sun$/star$/comp$/smoketest
-TARGET = com_sun_star_comp_smoketest
-
-no_common_build_zip:=TRUE
-
-# --- Settings -----------------------------------------------------
-
-.INCLUDE : settings.mk
-
-JARFILES = ridl.jar jurt.jar unoil.jar juh.jar
-
-
-JARTARGET = TestExtension.jar
-JARCOMPRESS = TRUE
-CUSTOMMANIFESTFILE = MANIFEST.MF
-
-ZIP1TARGET=updateinfo
-ZIP1LIST=*
-ZIPFLAGS=-r
-ZIP1DIR=$(MISC)$/$(TARGET)
-ZIP1EXT=.oxt
-
-EXTUPDATEINFO_NAME=org.openoffice.extensions.testarea.desktop.updateinfo.update.xml
-EXTUPDATEINFO_SOURCE=description.xml
-EXTUPDATEINFO_URLS = http://extensions.openoffice.org/testarea/desktop/updateinfocreation/update/updateinfo.oxt
-# --- Files --------------------------------------------------------
-
-COPY_OXT_MANIFEST:= $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
-JAVAFILES = TestExtension.java
-
-# --- Targets ------------------------------------------------------
-
-.INCLUDE : target.mk
-
-$(JARTARGETN) : $(MISC)$/$(TARGET).javamaker.done
-
-$(JAVACLASSFILES) : $(MISC)$/$(TARGET).javamaker.done
-
-$(MISC)$/$(TARGET).javamaker.done: $(BIN)$/TestExtension.rdb
- $(JAVAMAKER) -O$(CLASSDIR) -BUCR -nD -X$(SOLARBINDIR)/types.rdb $<
- $(TOUCH) $@
-
-$(BIN)$/TestExtension.rdb: TestExtension.idl
- $(IDLC) -O$(MISC) -I$(SOLARIDLDIR) -cid -we $<
- +-$(RM) $@
- $(REGMERGE) $@ /UCR $(MISC)$/TestExtension.urd
-
-$(MISC)$/$(ZIP1TARGET).createdir :
- +$(MKDIRHIER) $(MISC)$/$(TARGET)$/META-INF >& $(NULLDEV) && $(TOUCH) $@
-
-$(MISC)$/$(TARGET)_resort : manifest.xml $(JARTARGETN) $(MISC)$/$(ZIP1TARGET).createdir $(BIN)$/TestExtension.rdb description.xml
- $(GNUCOPY) -u manifest.xml $(MISC)$/$(TARGET)$/META-INF$/manifest.xml
- $(GNUCOPY) -u $(JARTARGETN) $(MISC)$/$(TARGET)$/$(JARTARGET)
- $(GNUCOPY) -u $(BIN)$/TestExtension.rdb $(MISC)$/$(TARGET)$/TestExtension.rdb
- $(GNUCOPY) -u description.xml $(MISC)$/$(TARGET)$/description.xml
- $(TOUCH) $@
-
-.IF "$(ZIP1TARGETN)"!=""
-$(ZIP1TARGETN) : $(MISC)$/$(TARGET)_resort $(MISC)$/$(ZIP1TARGET).createdir
-
-.ENDIF # "$(ZIP1TARGETN)"!=""
-
diff --git a/desktop/test/deployment/update/updateinfocreation/build/manifest.xml b/desktop/test/deployment/update/updateinfocreation/build/manifest.xml
deleted file mode 100755
index fcedabf96b..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/build/manifest.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
- <manifest:file-entry manifest:full-path="TestExtension.jar" manifest:media-type="application/vnd.sun.star.uno-component;type=Java"/>
- <manifest:file-entry manifest:full-path="TestExtension.rdb" manifest:media-type="application/vnd.sun.star.uno-typelibrary;type=RDB"/>
-</manifest:manifest>
diff --git a/desktop/test/deployment/update/updateinfocreation/readme.txt b/desktop/test/deployment/update/updateinfocreation/readme.txt
deleted file mode 100755
index c4fc059053..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/readme.txt
+++ /dev/null
@@ -1,38 +0,0 @@
-The extension build in this test uses an update information which is obtained
-through a http get request. That is the URL does not reference an update
-information file. Instead it invokes code on a webserver which returns the
-update information. The URL used in this example is:
-
-http://update.services.openoffice.org/ProductUpdateService/check.Update?product=extension&amp;extensionid=org.openoffice.extensions.testarea.desktop.updateinfo&amp;refresh=true
-
-The updateinfo.oxt in this directory has the version 1.0 and in the sub-directory "update is the version 2 of this extension. Version 1.0 is also available here
-/extensions/www/testarea/desktop/updateinfocreation/updateinfo.oxt
-and version 2.0 here
-/extensions/www/testarea/desktop/updateinfocreation/update/updateinfo.oxt
-
-Therefore they can be accessed through
-
-http://extensions.openoffice.org/testarea/desktop/updateinfocreation/updateinfo.oxt
-and
-http://extensions.openoffice.org/testarea/desktop/updateinfocreation/update/updateinfo.oxt
-
-The latter location (version 2.0) will also be referenced by the update information
-which are returned by the webserver.
-
-The build sub-directory contains the code of the extension (version 2.0) and can
-be build by calling dmake in this directory. The makefile uses the special macros:
-
-EXTUPDATEINFO_NAME=org.openoffice.extensions.testarea.desktop.updateinfo.update.xml
-EXTUPDATEINFO_SOURCE=description.xml
-EXTUPDATEINFO_URLS = http://extensions.openoffice.org/testarea/desktop/updateinfocreation/update/updateinfo.oxt
-
-This causes the generation of the update information file. This file could be
-directly references by the URL in the <update-information> of the description.xml.
-See also the Wiki entry at:
-http://wiki.services.openoffice.org/wiki/Creating_update_information_for_extensions
-This generated update information file can then be used by the webserver, when it
-sends back the requested update information. The update information file will be
-generated in the misc diretory of the output directory.
-
-The update information file needs to be copied into common.pro/pus.mxyz directory.
-The project mwsfinish will process the files in the pus directory.
diff --git a/desktop/test/deployment/update/updateinfocreation/update/updateinfo.oxt b/desktop/test/deployment/update/updateinfocreation/update/updateinfo.oxt
deleted file mode 100644
index 52ddd3158e..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/update/updateinfo.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/updateinfocreation/updateinfo.oxt b/desktop/test/deployment/update/updateinfocreation/updateinfo.oxt
deleted file mode 100644
index 43ac7003bc..0000000000
--- a/desktop/test/deployment/update/updateinfocreation/updateinfo.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/readme.txt b/desktop/test/deployment/update/website_update/readme.txt
deleted file mode 100755
index 4ae5ddd918..0000000000
--- a/desktop/test/deployment/update/website_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 <update-information>. 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:
-
-<src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de"/>
-
-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 <update-information>. 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 <update-information>. 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/desktop/test/deployment/update/website_update/update/web1.oxt b/desktop/test/deployment/update/website_update/update/web1.oxt
deleted file mode 100644
index 157d5d952c..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web1.update.xml b/desktop/test/deployment/update/website_update/update/web1.update.xml
deleted file mode 100755
index 1355851073..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1.update.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web1"/>
-
- <update-website>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US.html" lang="en-US" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-region3.html" lang="en-region3" />
- </update-website>
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_de-DE-altmark.html b/desktop/test/deployment/update/website_update/update/web1_de-DE-altmark.html
deleted file mode 100755
index ffed5a52e8..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_de-DE-altmark.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>de-DE-altmark</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_de-DE.html b/desktop/test/deployment/update/website_update/update/web1_de-DE.html
deleted file mode 100755
index 33fb7f2ec8..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_de-DE.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>de-DE</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_de.html b/desktop/test/deployment/update/website_update/update/web1_de.html
deleted file mode 100755
index 31a53b91db..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_de.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>de</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en-GB.html b/desktop/test/deployment/update/website_update/update/web1_en-GB.html
deleted file mode 100755
index c46328a821..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en-GB.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en-GB</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en-US-region1.html b/desktop/test/deployment/update/website_update/update/web1_en-US-region1.html
deleted file mode 100755
index 80b41823b7..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en-US-region1.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en-US-region1</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en-US-region2.html b/desktop/test/deployment/update/website_update/update/web1_en-US-region2.html
deleted file mode 100755
index 1a501f520d..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en-US-region2.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en-US-region2</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en-US.html b/desktop/test/deployment/update/website_update/update/web1_en-US.html
deleted file mode 100755
index f861b09c01..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en-US.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en-US</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en-region3.html b/desktop/test/deployment/update/website_update/update/web1_en-region3.html
deleted file mode 100755
index f55bcbe381..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en-region3.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en-region3</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web1_en.html b/desktop/test/deployment/update/website_update/update/web1_en.html
deleted file mode 100755
index a0b422ebf2..0000000000
--- a/desktop/test/deployment/update/website_update/update/web1_en.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-<HTML>
-<HEAD>
-</HEAD>
-<BODY>
-<H1>Update Extensions</H1>
-<H1>en</H1>
-<p><a href="web1.oxt">web1.oxt</a></p>
-<p><a href="web2.oxt">web2.oxt</a></p>
-<p><a href="web3.oxt">web3.oxt</a></p>
-<p><a href="web4.oxt">web4.oxt</a></p>
-<p><a href="web5.oxt">web5.oxt</a></p>
-<p><a href="web6.oxt">web6.oxt</a></p>
-<p><a href="web7.oxt">web7.oxt</a></p>
-
-
-</BODY>
-</HTML>
-
diff --git a/desktop/test/deployment/update/website_update/update/web2.oxt b/desktop/test/deployment/update/website_update/update/web2.oxt
deleted file mode 100644
index 3a13e81143..0000000000
--- a/desktop/test/deployment/update/website_update/update/web2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web2.update.xml b/desktop/test/deployment/update/website_update/update/web2.update.xml
deleted file mode 100755
index 23343ecede..0000000000
--- a/desktop/test/deployment/update/website_update/update/web2.update.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web2"/>
-
- <update-website>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-region3.html" lang="en-region3" />
- </update-website>
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web3.oxt b/desktop/test/deployment/update/website_update/update/web3.oxt
deleted file mode 100644
index b3214a4e69..0000000000
--- a/desktop/test/deployment/update/website_update/update/web3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web3.update.xml b/desktop/test/deployment/update/website_update/update/web3.update.xml
deleted file mode 100755
index 0958b497f8..0000000000
--- a/desktop/test/deployment/update/website_update/update/web3.update.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web3"/>
-
- <update-website>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-region3.html" lang="en-region3" />
- </update-website>
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web4.oxt b/desktop/test/deployment/update/website_update/update/web4.oxt
deleted file mode 100644
index 93766fd44f..0000000000
--- a/desktop/test/deployment/update/website_update/update/web4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web4.update.xml b/desktop/test/deployment/update/website_update/update/web4.update.xml
deleted file mode 100755
index ddff6eb0a9..0000000000
--- a/desktop/test/deployment/update/website_update/update/web4.update.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web4"/>
-
- <update-website>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_en-region3.html" lang="en-region3" />
- </update-website>
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web5.oxt b/desktop/test/deployment/update/website_update/update/web5.oxt
deleted file mode 100644
index 1ae8f01b19..0000000000
--- a/desktop/test/deployment/update/website_update/update/web5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web5.update.xml b/desktop/test/deployment/update/website_update/update/web5.update.xml
deleted file mode 100755
index 28a61e14de..0000000000
--- a/desktop/test/deployment/update/website_update/update/web5.update.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
-
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web5"/>
-
- <update-website>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/website_update/update/web1_de-DE-altmark.html" lang="de-DE-altmark" />
- </update-website>
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web6.oxt b/desktop/test/deployment/update/website_update/update/web6.oxt
deleted file mode 100644
index 8bc16fb2c7..0000000000
--- a/desktop/test/deployment/update/website_update/update/web6.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web6/description.xml b/desktop/test/deployment/update/website_update/update/web6/description.xml
deleted file mode 100755
index 294661b6fc..0000000000
--- a/desktop/test/deployment/update/website_update/update/web6/description.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web6"/>
- <display-name>
- <name lang="en">web-based update test 1</name>
- </display-name>
-
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web6/readme.txt b/desktop/test/deployment/update/website_update/update/web6/readme.txt
deleted file mode 100755
index 7a1ba06efa..0000000000
--- a/desktop/test/deployment/update/website_update/update/web6/readme.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This folder contains the description.xml from update/web6.oxt
-When creating the release 2.0 on the repository then this description.xml can be uploaded.
-
-
-This folder is not needed on extensions.openoffice.org/testarea/desktop/....
diff --git a/desktop/test/deployment/update/website_update/update/web7.oxt b/desktop/test/deployment/update/website_update/update/web7.oxt
deleted file mode 100644
index 4d6220a48a..0000000000
--- a/desktop/test/deployment/update/website_update/update/web7.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/update/web7/description.xml b/desktop/test/deployment/update/website_update/update/web7/description.xml
deleted file mode 100755
index 8fcaf9278c..0000000000
--- a/desktop/test/deployment/update/website_update/update/web7/description.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/description/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <version value="2.0" />
- <identifier value="org.openoffice/framework/desktop/test/deployment/update/website_update/web7"/>
- <display-name>
- <name lang="en">web-based update test 1</name>
- </display-name>
-
- <publisher>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de.html" lang="de">My OpenOffice de</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en.html" lang="en">My OpenOffice en</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE.html" lang="de-DE">My OpenOffice de-DE</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_de-DE-altmark.html" lang="de-DE-altmark">My OpenOffice de-DE-altmark</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-GB.html" lang="en-GB">My OpenOffice en-GB</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US.html" lang="en-US">My OpenOffice en-US</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region1.html" lang="en-US-region1">My OpenOffice en-US-region1</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-US-region2.html" lang="en-US-region2">My OpenOffice en-US-region2</name>
- <name xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/publisher_en-region3.html" lang="en-region3">My OpenOffice en-region3</name>
- </publisher>
-
- <release-notes>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de.html" lang="de" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en.html" lang="en" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE.html" lang="de-DE" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_de-DE-altmark.html" lang="de-DE-altmark" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-GB.html" lang="en-GB" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US.html" lang="en-US" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region1.html" lang="en-US-region1" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-US-region2.html" lang="en-US-region2" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/publisher/release-notes_en-region3.html" lang="en-region3" />
- </release-notes>
-
-
-</description>
-
diff --git a/desktop/test/deployment/update/website_update/update/web7/readme.txt b/desktop/test/deployment/update/website_update/update/web7/readme.txt
deleted file mode 100755
index 8a6721b8e8..0000000000
--- a/desktop/test/deployment/update/website_update/update/web7/readme.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-This folder contains the description.xml from update/web7.oxt
-When creating the release 2.0 on the repository then this description.xml can be uploaded.
-
-
-This folder is not needed on extensions.openoffice.org/testarea/desktop/....
diff --git a/desktop/test/deployment/update/website_update/web1.oxt b/desktop/test/deployment/update/website_update/web1.oxt
deleted file mode 100644
index 7c17586e04..0000000000
--- a/desktop/test/deployment/update/website_update/web1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web2.oxt b/desktop/test/deployment/update/website_update/web2.oxt
deleted file mode 100644
index 705e70a753..0000000000
--- a/desktop/test/deployment/update/website_update/web2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web3.oxt b/desktop/test/deployment/update/website_update/web3.oxt
deleted file mode 100644
index 4e63a75f0c..0000000000
--- a/desktop/test/deployment/update/website_update/web3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web4.oxt b/desktop/test/deployment/update/website_update/web4.oxt
deleted file mode 100644
index e66513e683..0000000000
--- a/desktop/test/deployment/update/website_update/web4.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web5.oxt b/desktop/test/deployment/update/website_update/web5.oxt
deleted file mode 100644
index 65b02db934..0000000000
--- a/desktop/test/deployment/update/website_update/web5.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web6.oxt b/desktop/test/deployment/update/website_update/web6.oxt
deleted file mode 100644
index 98416edfa5..0000000000
--- a/desktop/test/deployment/update/website_update/web6.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/website_update/web7.oxt b/desktop/test/deployment/update/website_update/web7.oxt
deleted file mode 100644
index 31ba45f032..0000000000
--- a/desktop/test/deployment/update/website_update/web7.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/readme.txt b/desktop/test/deployment/update/wrong_url/readme.txt
deleted file mode 100755
index cc2459763c..0000000000
--- a/desktop/test/deployment/update/wrong_url/readme.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-The extensions use either multiple urls to the update information file, or the update information file contains multiple urls. Some of those URLs point to locations which do not exist.
-
-url1.oxt: The corresponding url1.update.xml contains two download urls. The first Url points to a location that is not available. The second points to the new version.
-
-url2.oxt: Contains to URLs to update information files. The first URL in url2.oxt is wrong and the second is
-correct.
-
-url3.oxt: contains to URLs to update information files which point to locations which do not exist.
-
-wrongdownload1.oxt: The corresponding wrongdownload1.update.xml contains two download URLs which point to locations which are not available.
-
-wrongdownload2.oxt: same as wrongdownload1.oxt
-
-wrongdownload3.oxt: same as wrongdownload1.oxt
-
-
-Use the wrongdownload extensions to check the automatic scolling of the text area that contains the results.
-
diff --git a/desktop/test/deployment/update/wrong_url/update/url1.oxt b/desktop/test/deployment/update/wrong_url/update/url1.oxt
deleted file mode 100644
index 479b546c84..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/url1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/update/url1.update.xml b/desktop/test/deployment/update/wrong_url/update/url1.update.xml
deleted file mode 100755
index a50dec4cd5..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/url1.update.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.url1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/notavailable/url1.oxt" />
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/update/url1.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/wrong_url/update/url2.oxt b/desktop/test/deployment/update/wrong_url/update/url2.oxt
deleted file mode 100644
index ec2c5c6528..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/url2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/update/url2.update.xml b/desktop/test/deployment/update/wrong_url/update/url2.update.xml
deleted file mode 100755
index 13757c8257..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/url2.update.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.url2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/update/url2.oxt" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/wrong_url/update/wrongdownload1.update.xml b/desktop/test/deployment/update/wrong_url/update/wrongdownload1.update.xml
deleted file mode 100755
index b2b62a3be3..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/wrongdownload1.update.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.wrongdownload1.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/notavailable/wrongdownload1.oxt" />
- <src xlink:href="http://extensions.openoffice.org/notavailable/" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/wrong_url/update/wrongdownload2.update.xml b/desktop/test/deployment/update/wrong_url/update/wrongdownload2.update.xml
deleted file mode 100755
index cb01718765..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/wrongdownload2.update.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.wrongdownload2.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/notavailable/wrongdownload2.oxt" />
- <src xlink:href="http://extensions.openoffice.org/notavailable/" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/wrong_url/update/wrongdownload3.update.xml b/desktop/test/deployment/update/wrong_url/update/wrongdownload3.update.xml
deleted file mode 100755
index 6ce027763d..0000000000
--- a/desktop/test/deployment/update/wrong_url/update/wrongdownload3.update.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<description xmlns="http://openoffice.org/extensions/update/2006"
- xmlns:xlink="http://www.w3.org/1999/xlink">
- <identifier value="org.openoffice.legacy.wrongdownload3.oxt"/>
- <version value="2.0" />
- <update-download>
- <src xlink:href="http://extensions.openoffice.org/testarea/desktop/wrong_url/notavailable/wrongdownload3.oxt" />
- <src xlink:href="http://extensions.openoffice.org/notavailable/" />
- </update-download>
-</description>
-
diff --git a/desktop/test/deployment/update/wrong_url/url1.oxt b/desktop/test/deployment/update/wrong_url/url1.oxt
deleted file mode 100644
index 41d8522fbb..0000000000
--- a/desktop/test/deployment/update/wrong_url/url1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/url2.oxt b/desktop/test/deployment/update/wrong_url/url2.oxt
deleted file mode 100644
index d68e45e5e5..0000000000
--- a/desktop/test/deployment/update/wrong_url/url2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/url3.oxt b/desktop/test/deployment/update/wrong_url/url3.oxt
deleted file mode 100644
index 80f93b74d1..0000000000
--- a/desktop/test/deployment/update/wrong_url/url3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/wrongdownload1.oxt b/desktop/test/deployment/update/wrong_url/wrongdownload1.oxt
deleted file mode 100644
index 535ae331a9..0000000000
--- a/desktop/test/deployment/update/wrong_url/wrongdownload1.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/wrongdownload2.oxt b/desktop/test/deployment/update/wrong_url/wrongdownload2.oxt
deleted file mode 100644
index aafe2c2467..0000000000
--- a/desktop/test/deployment/update/wrong_url/wrongdownload2.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/update/wrong_url/wrongdownload3.oxt b/desktop/test/deployment/update/wrong_url/wrongdownload3.oxt
deleted file mode 100644
index fbdac925a2..0000000000
--- a/desktop/test/deployment/update/wrong_url/wrongdownload3.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/readme.txt b/desktop/test/deployment/version/readme.txt
deleted file mode 100755
index c2ba28afd9..0000000000
--- a/desktop/test/deployment/version/readme.txt
+++ /dev/null
@@ -1,85 +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
- * <http://www.openoffice.org/license.html>
- * for a copy of the LGPLv3 License.
- *
- ************************************************************************/
-
-There are three extensions in various versions:
-
-1 version_XXX/plain.oxt has no dependencies and no license.
-2a version_XXX/dependency.oxt has an unsatisfied dependency and no license.
-2b version_nodependencies_XXX/dependency.oxt is identical to 2a but without the
- dependency.
-3 version_XXX/license.oxt has no dependencies and a license.
-
-The different versions are:
-
-A version_none contains no version element (treated as version "0").
-B version_badelement contains a bad <version val="1"/> (not allowed by the
- specification, but treated by the current implementation as version "0").
-C version_badvalue contains a bad <version value="1.a"/> (not allowed by the
- specification, but treated by the current implementation as version "1").
-D version_0.0 contains <version value="0.0"/> (same as version "0").
-E version_1.2.3 contains <version value="1.2.3"/>.
-F version_1.2.4.7 contains <version value="1.2.4.7"/>.
-G version_1.02.4.7.0 contains <version value="1.02.4.7.0"/> (same as version
- "1.2.4.7").
-H version_1.2.15.3 contains <version value="1.2.15.3"/>.
-
-The total order among the various versions is thus
-
- A = B = D < C < E < F = G < H.
-
-Things to watch for:
-
-- If version y of extension e is to be installed and version x < y of
- extension e is already installed, then
- unopkg add e
- will replace x with y.
-
-- If version y of extension e is to be installed and version x >= y of
- extension e is already installed, then
- unopkg add e
- will fail with an error message.
-
-- If version y of extension e is to be installed and any version x of
- extension e is already installed, then
- unopkg add -f e
- will replace x with y.
-
-- If version y of extension e is to be installed and any version x of
- extension e is already installed, then
- unopkg gui "Add..."
- and
- soffice "Tools - Package Manager... - Add..."
- will query with a dialog whether to replace x with y. The dialog will have
- "OK" (replace) preselected if x < y, and "Cancel" otherwise.
-
-- If replacing an installed version x of an extension e with a version y fails
- because y has unsatisfied dependencies, or because y has a license to wich the
- user does not agree, version x is left installed afterwards.
-
-- Checking for already installed versions of an extension is only done within a
- single layer (unopkg versus unopkg --shared; "My Packages" versus
- "OpenOffice Packages" in unopkg gui/soffice), not across layers.
diff --git a/desktop/test/deployment/version/version_0.0/dependency.oxt b/desktop/test/deployment/version/version_0.0/dependency.oxt
deleted file mode 100644
index 30c8432251..0000000000
--- a/desktop/test/deployment/version/version_0.0/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_0.0/license.oxt b/desktop/test/deployment/version/version_0.0/license.oxt
deleted file mode 100644
index b994ff71b7..0000000000
--- a/desktop/test/deployment/version/version_0.0/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_0.0/plain.oxt b/desktop/test/deployment/version/version_0.0/plain.oxt
deleted file mode 100644
index f156014eb8..0000000000
--- a/desktop/test/deployment/version/version_0.0/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.02.4.7.0/dependency.oxt b/desktop/test/deployment/version/version_1.02.4.7.0/dependency.oxt
deleted file mode 100644
index 4d75f70762..0000000000
--- a/desktop/test/deployment/version/version_1.02.4.7.0/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.02.4.7.0/license.oxt b/desktop/test/deployment/version/version_1.02.4.7.0/license.oxt
deleted file mode 100644
index 40938b7543..0000000000
--- a/desktop/test/deployment/version/version_1.02.4.7.0/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.02.4.7.0/plain.oxt b/desktop/test/deployment/version/version_1.02.4.7.0/plain.oxt
deleted file mode 100644
index 521a2b6c77..0000000000
--- a/desktop/test/deployment/version/version_1.02.4.7.0/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.15.3/dependency.oxt b/desktop/test/deployment/version/version_1.2.15.3/dependency.oxt
deleted file mode 100644
index 6f2a301f3b..0000000000
--- a/desktop/test/deployment/version/version_1.2.15.3/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.15.3/license.oxt b/desktop/test/deployment/version/version_1.2.15.3/license.oxt
deleted file mode 100644
index 2e2a875750..0000000000
--- a/desktop/test/deployment/version/version_1.2.15.3/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.15.3/plain.oxt b/desktop/test/deployment/version/version_1.2.15.3/plain.oxt
deleted file mode 100644
index 000f3a144f..0000000000
--- a/desktop/test/deployment/version/version_1.2.15.3/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.3/dependency.oxt b/desktop/test/deployment/version/version_1.2.3/dependency.oxt
deleted file mode 100644
index c296634587..0000000000
--- a/desktop/test/deployment/version/version_1.2.3/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.3/license.oxt b/desktop/test/deployment/version/version_1.2.3/license.oxt
deleted file mode 100644
index 9cd80e9911..0000000000
--- a/desktop/test/deployment/version/version_1.2.3/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.3/plain.oxt b/desktop/test/deployment/version/version_1.2.3/plain.oxt
deleted file mode 100644
index e34264591c..0000000000
--- a/desktop/test/deployment/version/version_1.2.3/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.4.7/dependency.oxt b/desktop/test/deployment/version/version_1.2.4.7/dependency.oxt
deleted file mode 100644
index 53089e76b0..0000000000
--- a/desktop/test/deployment/version/version_1.2.4.7/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.4.7/license.oxt b/desktop/test/deployment/version/version_1.2.4.7/license.oxt
deleted file mode 100644
index e283508d34..0000000000
--- a/desktop/test/deployment/version/version_1.2.4.7/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_1.2.4.7/plain.oxt b/desktop/test/deployment/version/version_1.2.4.7/plain.oxt
deleted file mode 100644
index d63c79a734..0000000000
--- a/desktop/test/deployment/version/version_1.2.4.7/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badelement/dependency.oxt b/desktop/test/deployment/version/version_badelement/dependency.oxt
deleted file mode 100644
index 3cb8faa2e7..0000000000
--- a/desktop/test/deployment/version/version_badelement/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badelement/license.oxt b/desktop/test/deployment/version/version_badelement/license.oxt
deleted file mode 100644
index 7b2b7730ec..0000000000
--- a/desktop/test/deployment/version/version_badelement/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badelement/plain.oxt b/desktop/test/deployment/version/version_badelement/plain.oxt
deleted file mode 100644
index 62267c212f..0000000000
--- a/desktop/test/deployment/version/version_badelement/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badvalue/dependency.oxt b/desktop/test/deployment/version/version_badvalue/dependency.oxt
deleted file mode 100644
index 7d81033654..0000000000
--- a/desktop/test/deployment/version/version_badvalue/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badvalue/license.oxt b/desktop/test/deployment/version/version_badvalue/license.oxt
deleted file mode 100644
index b97723ebb0..0000000000
--- a/desktop/test/deployment/version/version_badvalue/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_badvalue/plain.oxt b/desktop/test/deployment/version/version_badvalue/plain.oxt
deleted file mode 100644
index f9964ed8f0..0000000000
--- a/desktop/test/deployment/version/version_badvalue/plain.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_0.0/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_0.0/dependency.oxt
deleted file mode 100644
index f156014eb8..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_0.0/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_1.02.4.7.0/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_1.02.4.7.0/dependency.oxt
deleted file mode 100644
index 521a2b6c77..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_1.02.4.7.0/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_1.2.15.3/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_1.2.15.3/dependency.oxt
deleted file mode 100644
index 000f3a144f..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_1.2.15.3/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_1.2.3/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_1.2.3/dependency.oxt
deleted file mode 100644
index e34264591c..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_1.2.3/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_1.2.4.7/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_1.2.4.7/dependency.oxt
deleted file mode 100644
index d63c79a734..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_1.2.4.7/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_badelement/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_badelement/dependency.oxt
deleted file mode 100644
index 62267c212f..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_badelement/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_badvalue/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_badvalue/dependency.oxt
deleted file mode 100644
index f9964ed8f0..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_badvalue/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_nodependencies_none/dependency.oxt b/desktop/test/deployment/version/version_nodependencies_none/dependency.oxt
deleted file mode 100644
index fc227b099e..0000000000
--- a/desktop/test/deployment/version/version_nodependencies_none/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_none/dependency.oxt b/desktop/test/deployment/version/version_none/dependency.oxt
deleted file mode 100644
index 36a1854bf5..0000000000
--- a/desktop/test/deployment/version/version_none/dependency.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_none/license.oxt b/desktop/test/deployment/version/version_none/license.oxt
deleted file mode 100644
index 1564c089b0..0000000000
--- a/desktop/test/deployment/version/version_none/license.oxt
+++ /dev/null
Binary files differ
diff --git a/desktop/test/deployment/version/version_none/plain.oxt b/desktop/test/deployment/version/version_none/plain.oxt
deleted file mode 100644
index fc227b099e..0000000000
--- a/desktop/test/deployment/version/version_none/plain.oxt
+++ /dev/null
Binary files differ