aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-05-21 21:44:34 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-05-22 19:58:12 +0200
commit0b20dd6755c50bee3f4618282bb5e29cc442afcc (patch)
tree645f85d4fa96076207298e2b61c873cdd6aeb751 /tests/data
parent2f8176f57b9f02153a9d9a9b9ef89115e7bea9bb (diff)
downloadnextcloud-server-0b20dd6755c50bee3f4618282bb5e29cc442afcc.tar.gz
nextcloud-server-0b20dd6755c50bee3f4618282bb5e29cc442afcc.zip
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/app/description-multi-lang.xml4
-rw-r--r--tests/data/app/description-single-lang.xml4
-rw-r--r--tests/data/app/expected-info.json.license3
-rw-r--r--tests/data/app/invalid-info.xml5
-rw-r--r--tests/data/app/navigation-one-item.json.license2
-rw-r--r--tests/data/app/navigation-one-item.xml4
-rw-r--r--tests/data/app/navigation-two-items.json.license2
-rw-r--r--tests/data/app/navigation-two-items.xml4
-rw-r--r--tests/data/app/valid-info.xml5
-rw-r--r--tests/data/integritycheck/SomeApp.crt.license2
-rw-r--r--tests/data/integritycheck/SomeApp.key.license2
-rw-r--r--tests/data/integritycheck/core.crt.license3
-rw-r--r--tests/data/integritycheck/core.key.license2
-rw-r--r--tests/data/integritycheck/root.crt.license2
-rw-r--r--tests/data/integritycheck/root.key.license2
-rw-r--r--tests/data/svg/files-app-red.svg4
-rw-r--r--tests/data/svg/mixed-red.svg4
-rw-r--r--tests/data/svg/mixed-source.svg4
-rw-r--r--tests/data/svg/rect-black.svg4
-rw-r--r--tests/data/svg/rect-red.svg4
-rw-r--r--tests/data/svg/settings-admin-red.svg4
-rw-r--r--tests/data/testimage.webpbin2428 -> 3854 bytes
22 files changed, 70 insertions, 0 deletions
diff --git a/tests/data/app/description-multi-lang.xml b/tests/data/app/description-multi-lang.xml
index e7eee3bcb8b..be1dd616a99 100644
--- a/tests/data/app/description-multi-lang.xml
+++ b/tests/data/app/description-multi-lang.xml
@@ -1,4 +1,8 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<info>
<id>files_encryption</id>
<name>Server-side Encryption</name>
diff --git a/tests/data/app/description-single-lang.xml b/tests/data/app/description-single-lang.xml
index 5fb1ba07e8e..36fb2aacbe2 100644
--- a/tests/data/app/description-single-lang.xml
+++ b/tests/data/app/description-single-lang.xml
@@ -1,4 +1,8 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<info>
<id>files_encryption</id>
<name>Server-side Encryption</name>
diff --git a/tests/data/app/expected-info.json.license b/tests/data/app/expected-info.json.license
new file mode 100644
index 00000000000..328cbf7b249
--- /dev/null
+++ b/tests/data/app/expected-info.json.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
+SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/app/invalid-info.xml b/tests/data/app/invalid-info.xml
index 0ddb13b89c0..1c39ae2d625 100644
--- a/tests/data/app/invalid-info.xml
+++ b/tests/data/app/invalid-info.xml
@@ -1,4 +1,9 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-FileCopyrightText: 2014 ownCloud, Inc.
+ - SPDX-License-Identifier: AGPL-3.0-only
+-->
<info
<id>files_encryption</id>
<name>Server-side Encryption</name>
diff --git a/tests/data/app/navigation-one-item.json.license b/tests/data/app/navigation-one-item.json.license
new file mode 100644
index 00000000000..cbd71b0f672
--- /dev/null
+++ b/tests/data/app/navigation-one-item.json.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/tests/data/app/navigation-one-item.xml b/tests/data/app/navigation-one-item.xml
index a03e5c8ffbf..cb0bd5f2929 100644
--- a/tests/data/app/navigation-one-item.xml
+++ b/tests/data/app/navigation-one-item.xml
@@ -1,4 +1,8 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>activity</id>
diff --git a/tests/data/app/navigation-two-items.json.license b/tests/data/app/navigation-two-items.json.license
new file mode 100644
index 00000000000..cbd71b0f672
--- /dev/null
+++ b/tests/data/app/navigation-two-items.json.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/tests/data/app/navigation-two-items.xml b/tests/data/app/navigation-two-items.xml
index fba60a2871d..153e12e6511 100644
--- a/tests/data/app/navigation-two-items.xml
+++ b/tests/data/app/navigation-two-items.xml
@@ -1,4 +1,8 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
<id>activity</id>
diff --git a/tests/data/app/valid-info.xml b/tests/data/app/valid-info.xml
index 4788d046c13..9044c00f353 100644
--- a/tests/data/app/valid-info.xml
+++ b/tests/data/app/valid-info.xml
@@ -1,4 +1,9 @@
<?xml version="1.0"?>
+<!--
+ - SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-FileCopyrightText: 2014 ownCloud, Inc.
+ - SPDX-License-Identifier: AGPL-3.0-only
+-->
<info>
<id>files_encryption</id>
<name>Server-side Encryption</name>
diff --git a/tests/data/integritycheck/SomeApp.crt.license b/tests/data/integritycheck/SomeApp.crt.license
new file mode 100644
index 00000000000..2598a98f44c
--- /dev/null
+++ b/tests/data/integritycheck/SomeApp.crt.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/integritycheck/SomeApp.key.license b/tests/data/integritycheck/SomeApp.key.license
new file mode 100644
index 00000000000..2598a98f44c
--- /dev/null
+++ b/tests/data/integritycheck/SomeApp.key.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/integritycheck/core.crt.license b/tests/data/integritycheck/core.crt.license
new file mode 100644
index 00000000000..328cbf7b249
--- /dev/null
+++ b/tests/data/integritycheck/core.crt.license
@@ -0,0 +1,3 @@
+SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
+SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/integritycheck/core.key.license b/tests/data/integritycheck/core.key.license
new file mode 100644
index 00000000000..2598a98f44c
--- /dev/null
+++ b/tests/data/integritycheck/core.key.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/integritycheck/root.crt.license b/tests/data/integritycheck/root.crt.license
new file mode 100644
index 00000000000..2598a98f44c
--- /dev/null
+++ b/tests/data/integritycheck/root.crt.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/integritycheck/root.key.license b/tests/data/integritycheck/root.key.license
new file mode 100644
index 00000000000..2598a98f44c
--- /dev/null
+++ b/tests/data/integritycheck/root.key.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+SPDX-License-Identifier: AGPL-3.0-only
diff --git a/tests/data/svg/files-app-red.svg b/tests/data/svg/files-app-red.svg
index 81d7fca1472..1a8ad23cf74 100644
--- a/tests/data/svg/files-app-red.svg
+++ b/tests/data/svg/files-app-red.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg xmlns="http://www.w3.org/2000/svg" height="32" viewBox="0 0 32 32" width="32" version="1.1"><path fill="#f00" d="m3 4c-0.5 0-1 0.5-1 1v22c0 0.52 0.48 1 1 1h26c0.52 0 1-0.482 1-1v-18c0-0.5-0.5-1-1-1h-13l-4-4z"/></svg>
diff --git a/tests/data/svg/mixed-red.svg b/tests/data/svg/mixed-red.svg
index 5e3727abd46..37e786a23b5 100644
--- a/tests/data/svg/mixed-red.svg
+++ b/tests/data/svg/mixed-red.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg width="50mm" height="50mm" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,-247)"><rect x="3.3609" y="250.93" width="16.253" height="15.497" fill="#f00"/><ellipse cx="37.089" cy="257.97" rx="8.5517" ry="7.9375" fill="#f00"/><circle cx="12.19" cy="281.31" r="10" fill="#f00"/><rect x="29.293" y="272.81" width="16.253" height="15.497" fill="#f00"/></g></svg>
diff --git a/tests/data/svg/mixed-source.svg b/tests/data/svg/mixed-source.svg
index e4a94136c52..94449355a28 100644
--- a/tests/data/svg/mixed-source.svg
+++ b/tests/data/svg/mixed-source.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg width="50mm" height="50mm" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,-247)"><rect x="3.3609" y="250.93" width="16.253" height="15.497"/><ellipse cx="37.089" cy="257.97" rx="8.5517" ry="7.9375" fill="#123456"/><circle cx="12.19" cy="281.31" r="10"/><rect x="29.293" y="272.81" width="16.253" height="15.497" fill="#6474a5"/></g></svg>
diff --git a/tests/data/svg/rect-black.svg b/tests/data/svg/rect-black.svg
index 85ab8442c35..accedfff892 100644
--- a/tests/data/svg/rect-black.svg
+++ b/tests/data/svg/rect-black.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg width="50mm" height="50mm" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,-247)"><rect x="10" y="257" width="30" height="30"/></g></svg>
diff --git a/tests/data/svg/rect-red.svg b/tests/data/svg/rect-red.svg
index 8f0fae7f617..dbe93f8a423 100644
--- a/tests/data/svg/rect-red.svg
+++ b/tests/data/svg/rect-red.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg width="50mm" height="50mm" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0,-247)"><rect x="10" y="257" width="30" height="30" fill="#f00"/></g></svg>
diff --git a/tests/data/svg/settings-admin-red.svg b/tests/data/svg/settings-admin-red.svg
index 4f69e5a16ca..26a24cfde8a 100644
--- a/tests/data/svg/settings-admin-red.svg
+++ b/tests/data/svg/settings-admin-red.svg
@@ -1 +1,5 @@
+<!--
+ - SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+ - SPDX-License-Identifier: AGPL-3.0-or-later
+-->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" height="16" width="16" version="1.1"><path color="#000" d="m1 1v4h4v-4h-4zm5 1v2h8v-2h-8zm-5 4v4h4v-4h-4zm5 1v2h8v-2h-8zm-5 4v4h4v-4h-4zm1 1h2v2h-2v-2zm4 0v2h8v-2h-8z" fill="#f00"/></svg>
diff --git a/tests/data/testimage.webp b/tests/data/testimage.webp
index 4d882d047ba..d54cbfe8d27 100644
--- a/tests/data/testimage.webp
+++ b/tests/data/testimage.webp
Binary files differ