From ed5640d8b587fbcfed7dd7967f3de04b37a76f26 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:06:44 +0200 Subject: Adding upstream version 4:7.4.7. Signed-off-by: Daniel Baumann --- .../deployment/dependencies/broken-dependency.oxt | Bin 0 -> 1655 bytes .../dependencies/double-dependencies.oxt | Bin 0 -> 1651 bytes .../deployment/dependencies/empty-dependencies.oxt | Bin 0 -> 1624 bytes .../deployment/dependencies/funny-dependency.oxt | Bin 0 -> 1730 bytes .../deployment/dependencies/license-dependency.oxt | Bin 0 -> 1891 bytes .../test/deployment/dependencies/loversion35.oxt | Bin 0 -> 1736 bytes .../test/deployment/dependencies/loversion36.oxt | Bin 0 -> 1736 bytes .../deployment/dependencies/many-dependencies.oxt | Bin 0 -> 1702 bytes .../test/deployment/dependencies/maxversion33.oxt | Bin 0 -> 1740 bytes .../test/deployment/dependencies/maxversion34.oxt | Bin 0 -> 1741 bytes .../test/deployment/dependencies/maxversion35.oxt | Bin 0 -> 1741 bytes .../test/deployment/dependencies/maxversion36.oxt | Bin 0 -> 1739 bytes desktop/test/deployment/dependencies/minattr22.oxt | Bin 0 -> 1690 bytes desktop/test/deployment/dependencies/minattr23.oxt | Bin 0 -> 1690 bytes desktop/test/deployment/dependencies/minattr24.oxt | Bin 0 -> 1690 bytes .../deployment/dependencies/no-dependencies.oxt | Bin 0 -> 1611 bytes .../deployment/dependencies/no-description.oxt | Bin 0 -> 1360 bytes desktop/test/deployment/dependencies/readme.txt | 73 +++++++++++++++++++++ .../deployment/dependencies/unknown-dependency.oxt | Bin 0 -> 1633 bytes .../test/deployment/dependencies/version10000.oxt | Bin 0 -> 1668 bytes desktop/test/deployment/dependencies/version21.oxt | Bin 0 -> 1666 bytes .../test/deployment/dependencies/version21ns.oxt | Bin 0 -> 1661 bytes .../deployment/dependencies/version21other.oxt | Bin 0 -> 1679 bytes desktop/test/deployment/dependencies/version22.oxt | Bin 0 -> 1666 bytes desktop/test/deployment/dependencies/version23.oxt | Bin 0 -> 1666 bytes desktop/test/deployment/dependencies/version34.oxt | Bin 0 -> 1721 bytes desktop/test/deployment/dependencies/version35.oxt | Bin 0 -> 1721 bytes .../test/deployment/dependencies/versionempty.oxt | Bin 0 -> 1675 bytes .../test/deployment/dependencies/versionnone.oxt | Bin 0 -> 1674 bytes 29 files changed, 73 insertions(+) create mode 100644 desktop/test/deployment/dependencies/broken-dependency.oxt create mode 100644 desktop/test/deployment/dependencies/double-dependencies.oxt create mode 100644 desktop/test/deployment/dependencies/empty-dependencies.oxt create mode 100644 desktop/test/deployment/dependencies/funny-dependency.oxt create mode 100644 desktop/test/deployment/dependencies/license-dependency.oxt create mode 100644 desktop/test/deployment/dependencies/loversion35.oxt create mode 100644 desktop/test/deployment/dependencies/loversion36.oxt create mode 100644 desktop/test/deployment/dependencies/many-dependencies.oxt create mode 100644 desktop/test/deployment/dependencies/maxversion33.oxt create mode 100644 desktop/test/deployment/dependencies/maxversion34.oxt create mode 100644 desktop/test/deployment/dependencies/maxversion35.oxt create mode 100644 desktop/test/deployment/dependencies/maxversion36.oxt create mode 100644 desktop/test/deployment/dependencies/minattr22.oxt create mode 100644 desktop/test/deployment/dependencies/minattr23.oxt create mode 100644 desktop/test/deployment/dependencies/minattr24.oxt create mode 100644 desktop/test/deployment/dependencies/no-dependencies.oxt create mode 100644 desktop/test/deployment/dependencies/no-description.oxt create mode 100644 desktop/test/deployment/dependencies/readme.txt create mode 100644 desktop/test/deployment/dependencies/unknown-dependency.oxt create mode 100644 desktop/test/deployment/dependencies/version10000.oxt create mode 100644 desktop/test/deployment/dependencies/version21.oxt create mode 100644 desktop/test/deployment/dependencies/version21ns.oxt create mode 100644 desktop/test/deployment/dependencies/version21other.oxt create mode 100644 desktop/test/deployment/dependencies/version22.oxt create mode 100644 desktop/test/deployment/dependencies/version23.oxt create mode 100644 desktop/test/deployment/dependencies/version34.oxt create mode 100644 desktop/test/deployment/dependencies/version35.oxt create mode 100644 desktop/test/deployment/dependencies/versionempty.oxt create mode 100644 desktop/test/deployment/dependencies/versionnone.oxt (limited to 'desktop/test/deployment/dependencies') diff --git a/desktop/test/deployment/dependencies/broken-dependency.oxt b/desktop/test/deployment/dependencies/broken-dependency.oxt new file mode 100644 index 000000000..11bab0a95 Binary files /dev/null and b/desktop/test/deployment/dependencies/broken-dependency.oxt differ diff --git a/desktop/test/deployment/dependencies/double-dependencies.oxt b/desktop/test/deployment/dependencies/double-dependencies.oxt new file mode 100644 index 000000000..055c27ea5 Binary files /dev/null and b/desktop/test/deployment/dependencies/double-dependencies.oxt differ diff --git a/desktop/test/deployment/dependencies/empty-dependencies.oxt b/desktop/test/deployment/dependencies/empty-dependencies.oxt new file mode 100644 index 000000000..ebb18dcbf Binary files /dev/null and b/desktop/test/deployment/dependencies/empty-dependencies.oxt differ diff --git a/desktop/test/deployment/dependencies/funny-dependency.oxt b/desktop/test/deployment/dependencies/funny-dependency.oxt new file mode 100644 index 000000000..9b683e6d1 Binary files /dev/null and b/desktop/test/deployment/dependencies/funny-dependency.oxt differ diff --git a/desktop/test/deployment/dependencies/license-dependency.oxt b/desktop/test/deployment/dependencies/license-dependency.oxt new file mode 100644 index 000000000..b01da4b5c Binary files /dev/null and b/desktop/test/deployment/dependencies/license-dependency.oxt differ diff --git a/desktop/test/deployment/dependencies/loversion35.oxt b/desktop/test/deployment/dependencies/loversion35.oxt new file mode 100644 index 000000000..ecd509cd9 Binary files /dev/null and b/desktop/test/deployment/dependencies/loversion35.oxt differ diff --git a/desktop/test/deployment/dependencies/loversion36.oxt b/desktop/test/deployment/dependencies/loversion36.oxt new file mode 100644 index 000000000..f38630e0c Binary files /dev/null and b/desktop/test/deployment/dependencies/loversion36.oxt differ diff --git a/desktop/test/deployment/dependencies/many-dependencies.oxt b/desktop/test/deployment/dependencies/many-dependencies.oxt new file mode 100644 index 000000000..367568143 Binary files /dev/null and b/desktop/test/deployment/dependencies/many-dependencies.oxt differ diff --git a/desktop/test/deployment/dependencies/maxversion33.oxt b/desktop/test/deployment/dependencies/maxversion33.oxt new file mode 100644 index 000000000..fe0998c81 Binary files /dev/null and b/desktop/test/deployment/dependencies/maxversion33.oxt differ diff --git a/desktop/test/deployment/dependencies/maxversion34.oxt b/desktop/test/deployment/dependencies/maxversion34.oxt new file mode 100644 index 000000000..0a284b388 Binary files /dev/null and b/desktop/test/deployment/dependencies/maxversion34.oxt differ diff --git a/desktop/test/deployment/dependencies/maxversion35.oxt b/desktop/test/deployment/dependencies/maxversion35.oxt new file mode 100644 index 000000000..e95b97cd6 Binary files /dev/null and b/desktop/test/deployment/dependencies/maxversion35.oxt differ diff --git a/desktop/test/deployment/dependencies/maxversion36.oxt b/desktop/test/deployment/dependencies/maxversion36.oxt new file mode 100644 index 000000000..786ed4ce1 Binary files /dev/null and b/desktop/test/deployment/dependencies/maxversion36.oxt differ diff --git a/desktop/test/deployment/dependencies/minattr22.oxt b/desktop/test/deployment/dependencies/minattr22.oxt new file mode 100644 index 000000000..a6c8e3758 Binary files /dev/null and b/desktop/test/deployment/dependencies/minattr22.oxt differ diff --git a/desktop/test/deployment/dependencies/minattr23.oxt b/desktop/test/deployment/dependencies/minattr23.oxt new file mode 100644 index 000000000..83d17938c Binary files /dev/null and b/desktop/test/deployment/dependencies/minattr23.oxt differ diff --git a/desktop/test/deployment/dependencies/minattr24.oxt b/desktop/test/deployment/dependencies/minattr24.oxt new file mode 100644 index 000000000..00f053f48 Binary files /dev/null and b/desktop/test/deployment/dependencies/minattr24.oxt differ diff --git a/desktop/test/deployment/dependencies/no-dependencies.oxt b/desktop/test/deployment/dependencies/no-dependencies.oxt new file mode 100644 index 000000000..6487eb66a Binary files /dev/null and b/desktop/test/deployment/dependencies/no-dependencies.oxt differ diff --git a/desktop/test/deployment/dependencies/no-description.oxt b/desktop/test/deployment/dependencies/no-description.oxt new file mode 100644 index 000000000..1e6579cd7 Binary files /dev/null and b/desktop/test/deployment/dependencies/no-description.oxt differ diff --git a/desktop/test/deployment/dependencies/readme.txt b/desktop/test/deployment/dependencies/readme.txt new file mode 100644 index 000000000..8ba90ce4a --- /dev/null +++ b/desktop/test/deployment/dependencies/readme.txt @@ -0,0 +1,73 @@ +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# This file incorporates work covered by the following license notice: +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed +# with this work for additional information regarding copyright +# ownership. The ASF licenses this file to you under the Apache +# License, Version 2.0 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.apache.org/licenses/LICENSE-2.0 . +# + +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 new file mode 100644 index 000000000..7c2a22c6d Binary files /dev/null and b/desktop/test/deployment/dependencies/unknown-dependency.oxt differ diff --git a/desktop/test/deployment/dependencies/version10000.oxt b/desktop/test/deployment/dependencies/version10000.oxt new file mode 100644 index 000000000..c15b7a117 Binary files /dev/null and b/desktop/test/deployment/dependencies/version10000.oxt differ diff --git a/desktop/test/deployment/dependencies/version21.oxt b/desktop/test/deployment/dependencies/version21.oxt new file mode 100644 index 000000000..922b27955 Binary files /dev/null and b/desktop/test/deployment/dependencies/version21.oxt differ diff --git a/desktop/test/deployment/dependencies/version21ns.oxt b/desktop/test/deployment/dependencies/version21ns.oxt new file mode 100644 index 000000000..5efb2ed90 Binary files /dev/null and b/desktop/test/deployment/dependencies/version21ns.oxt differ diff --git a/desktop/test/deployment/dependencies/version21other.oxt b/desktop/test/deployment/dependencies/version21other.oxt new file mode 100644 index 000000000..d88a8155a Binary files /dev/null and b/desktop/test/deployment/dependencies/version21other.oxt differ diff --git a/desktop/test/deployment/dependencies/version22.oxt b/desktop/test/deployment/dependencies/version22.oxt new file mode 100644 index 000000000..4c8a207b6 Binary files /dev/null and b/desktop/test/deployment/dependencies/version22.oxt differ diff --git a/desktop/test/deployment/dependencies/version23.oxt b/desktop/test/deployment/dependencies/version23.oxt new file mode 100644 index 000000000..6c08d2949 Binary files /dev/null and b/desktop/test/deployment/dependencies/version23.oxt differ diff --git a/desktop/test/deployment/dependencies/version34.oxt b/desktop/test/deployment/dependencies/version34.oxt new file mode 100644 index 000000000..ee2a82d93 Binary files /dev/null and b/desktop/test/deployment/dependencies/version34.oxt differ diff --git a/desktop/test/deployment/dependencies/version35.oxt b/desktop/test/deployment/dependencies/version35.oxt new file mode 100644 index 000000000..6e99cf1b2 Binary files /dev/null and b/desktop/test/deployment/dependencies/version35.oxt differ diff --git a/desktop/test/deployment/dependencies/versionempty.oxt b/desktop/test/deployment/dependencies/versionempty.oxt new file mode 100644 index 000000000..a06bb0129 Binary files /dev/null and b/desktop/test/deployment/dependencies/versionempty.oxt differ diff --git a/desktop/test/deployment/dependencies/versionnone.oxt b/desktop/test/deployment/dependencies/versionnone.oxt new file mode 100644 index 000000000..ace2a1165 Binary files /dev/null and b/desktop/test/deployment/dependencies/versionnone.oxt differ -- cgit v1.2.3