summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-08-11 16:18:44 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-08-11 16:18:44 +0000
commit7ff200219a0bf43b6ed5763a0cc5b1caf1eb3aaa (patch)
tree8889d31d910802816bbef355377e485b14f5d5b9
parent4d5acc8f2b1f578537c9f8e56b4f3f2ce358cae8 (diff)
INTEGRATION: CWS jl40 (1.1.2); FILE ADDED
2006/07/21 08:42:39 sb 1.1.2.1: #i67503# Test extensions originally attached to #i66005#, including readme.txt.
-rw-r--r--desktop/test/deployment/dependencies/readme.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/desktop/test/deployment/dependencies/readme.txt b/desktop/test/deployment/dependencies/readme.txt
new file mode 100644
index 000000000000..863441d35cfb
--- /dev/null
+++ b/desktop/test/deployment/dependencies/readme.txt
@@ -0,0 +1,24 @@
+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.
+
+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). \ No newline at end of file