aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.reuse/dep570
-rw-r--r--COPYING-README2
-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
-rw-r--r--tests/lib/IntegrityCheck/Iterator/ExcludeFileByNameFilterIteratorTest.php3
-rw-r--r--tests/lib/TaskProcessing/TaskProcessingTest.php7
-rw-r--r--tests/lib/Template/data/combine.json.license2
-rwxr-xr-xtests/objectstore/start-swift-ceph.sh4
-rwxr-xr-xtests/objectstore/stop-swift-ceph.sh3
-rwxr-xr-xtests/objectstore/wait-for-connection5
-rw-r--r--tests/travis/before_install.sh3
-rwxr-xr-xtests/travis/changed_app.sh3
-rw-r--r--tests/travis/custom.ini2
-rwxr-xr-xtests/travis/install.sh4
34 files changed, 157 insertions, 21 deletions
diff --git a/.reuse/dep5 b/.reuse/dep5
index 6775da25365..0d41df49eca 100644
--- a/.reuse/dep5
+++ b/.reuse/dep5
@@ -7,7 +7,55 @@ Files: lib/l10n/*.js lib/l10n/*.json core/l10n/*.js core/l10n/*.json apps/admin_
Copyright: 2016 ownCloud, Inc., 2016-2024 Nextcloud translators
License: AGPL-3.0-only OR AGPL-3.0-or-later
-Files: core/img/favicon*.* core/img/logo/logo*.*
+Files: tests/data/block-aligned-plus-one.txt tests/data/block-aligned.txt tests/data/data.tar.gz tests/data/data.zip tests/data/desktopapp.png tests/data/desktopapp.svg tests/data/certificates/badCertificate.crt tests/data/certificates/expiredCertificate.crt tests/data/certificates/goodCertificate.crt tests/data/integritycheck/app/AnotherFile.txt tests/data/integritycheck/app/subfolder/file.txt tests/data/integritycheck/appWithInvalidData/AnotherFile.txt tests/data/integritycheck/appWithInvalidData/UnecessaryFile
+Copyright: 2015 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/integritycheck/htaccessUnmodified/.htaccess tests/data/integritycheck/htaccessUnmodified/subfolder/.htaccess tests/data/integritycheck/htaccessWithInvalidModifiedContent/.htaccess tests/data/integritycheck/htaccessWithValidModifiedContent/subfolder/.htaccess
+Copyright: 2016 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/l10n/cs.json tests/data/l10n/de.json tests/data/l10n/ru.json
+Copyright: 2015 ownCloud, Inc., 2021 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-only
+
+Files: tests/data/lorem.txt
+Copyright: 2012 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/testavatar.png tests/data/testimage.gif tests/data/testimage.jpg tests/data/testimage.png
+Copyright: 2013 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/lorem-big.txt tests/data/strängé*filename*(duplicate*#2).txt tests/data/strõngÚ*filename*(duplicate*#2).txt
+Copyright: 2014 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/testimagelarge.svg
+Copyright: 2015 ownCloud, Inc., 2016 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-only
+
+Files: tests/data/setUploadLimit/htaccess tests/data/setUploadLimit/user.ini
+Copyright: 2015 ownCloud, Inc., 2018 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-only
+
+Files: tests/data/testimage-wide.png tests/data/testimage.eps tests/data/testimage.mp3 tests/data/testimage.mp4 tests/data/testimage.odt
+Copyright: 2015 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/data/testapp.zip tests/data/testapp2.zip tests/docker/mariadb/oc.cnf
+Copyright: 2016 ownCloud, Inc.
+License: AGPL-3.0-only
+
+Files: tests/docker/mysqlmb4/mb4.cnf
+Copyright: 2016 ownCloud, Inc., 2017 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-only
+
+Files: tests/data/integritycheck/htaccessWithValidModifiedContent/.htaccess
+Copyright: 2016 ownCloud, Inc., 2019 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-only
+
+Files: core/img/favicon*.* core/img/logo/logo*.* tests/data/testimage.webp
Copyright: 2016-2024 Nextcloud GmbH
License: LicenseRef-NextcloudTrademarks
@@ -27,23 +75,31 @@ Files: core/js/mimetypelist.js core/js/core.json themes/example/core/img
Copyright: 2016 ownCloud, Inc., 2016-2024 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-only
-Files: core/js/merged-template-prepend.json
-Copyright: Inc., 2017 Nextcloud GmbH and Nextcloud contributors
+Files: tests/data/testapp.0.8.tar.gz tests/data/testapp.tar.gz tests/data/testapp1.tar.gz
+Copyright: 2016 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later
-Files: core/src/systemtags/templates/result.handlebars core/src/systemtags/templates/result_form.handlebars core/src/systemtags/templates/selection.handlebars
+Files: core/js/merged-template-prepend.json tests/data/certificates/goodCertificate.crt tests/data/emails/new-account-email-custom-text-alternative.txt tests/data/emails/new-account-email-custom.html tests/data/emails/new-account-email-custom.txt tests/data/emails/new-account-email-single-button.html tests/data/emails/new-account-email-single-button.txt tests/data/emails/new-account-email.html tests/data/emails/new-account-email.txt
+Copyright: 2017 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-or-later
+
+Files: core/src/systemtags/templates/result.handlebars core/src/systemtags/templates/result_form.handlebars core/src/systemtags/templates/selection.handlebars tests/data/testimage.heic
Copyright: 2018 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later
-Files: core/src/jquery/contactsmenu/jquery_entry.handlebars tests/data/integritycheck/mimetypeListModified/core/js/mimetypelist.js
+Files: core/src/jquery/contactsmenu/jquery_entry.handlebars tests/data/integritycheck/mimetypeListModified/core/js/mimetypelist.js tests/data/integritycheck/mimetypeListModified/core/signature.json tests/data/guest_avatar_einstein_32.png tests/data/guest_avatar_einstein_32.svg tests/data/test.pdf
Copyright: 2019 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later
-Files: build/stubs/ftp.php
+Files: tests/data/testimage-badheader.jpg
+Copyright: 2021 Nextcloud GmbH and Nextcloud contributors
+License: AGPL-3.0-or-later
+
+Files: build/stubs/ftp.php tests/data/integritycheck/mimetypeListModified/coresignature.json
Copyright: 2022 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later
-Files: build/stubs/app_api.php build/stubs/SensitiveParameter.phpstub build/stubs/psr_container.php
+Files: build/stubs/app_api.php build/stubs/SensitiveParameter.phpstub build/stubs/psr_container.php tests/data/testimage-large.jpg
Copyright: 2023 Nextcloud GmbH and Nextcloud contributors
License: AGPL-3.0-or-later
diff --git a/COPYING-README b/COPYING-README
index c1b616ddd67..5254ddaaa54 100644
--- a/COPYING-README
+++ b/COPYING-README
@@ -18,4 +18,4 @@ Licensing of components:
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.
-Attribution information for Nextcloud is contained in the `AUTHORS.md` file.
+Attribution information for Nextcloud is contained in the `AUTHORS` file.
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
diff --git a/tests/lib/IntegrityCheck/Iterator/ExcludeFileByNameFilterIteratorTest.php b/tests/lib/IntegrityCheck/Iterator/ExcludeFileByNameFilterIteratorTest.php
index aaedb54b62b..14cc8851178 100644
--- a/tests/lib/IntegrityCheck/Iterator/ExcludeFileByNameFilterIteratorTest.php
+++ b/tests/lib/IntegrityCheck/Iterator/ExcludeFileByNameFilterIteratorTest.php
@@ -1,8 +1,9 @@
<?php
/**
+ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-FileCopyrightText: 2015 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
-
namespace Test\IntegrityCheck\Iterator;
use OC\IntegrityCheck\Iterator\ExcludeFileByNameFilterIterator;
diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php
index 08be8771130..fe679ebbd2d 100644
--- a/tests/lib/TaskProcessing/TaskProcessingTest.php
+++ b/tests/lib/TaskProcessing/TaskProcessingTest.php
@@ -1,11 +1,8 @@
<?php
/**
- * Copyright (c) 2024 Marcel Klehr <mklehr@gmx.net>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
-
namespace Test\TextProcessing;
use OC\AppFramework\Bootstrap\Coordinator;
diff --git a/tests/lib/Template/data/combine.json.license b/tests/lib/Template/data/combine.json.license
new file mode 100644
index 00000000000..dddb428772d
--- /dev/null
+++ b/tests/lib/Template/data/combine.json.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+SPDX-License-Identifier: AGPL-3.0-or-later
diff --git a/tests/objectstore/start-swift-ceph.sh b/tests/objectstore/start-swift-ceph.sh
index 98c0e8b78b2..125d215c542 100755
--- a/tests/objectstore/start-swift-ceph.sh
+++ b/tests/objectstore/start-swift-ceph.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# This script start a docker container to test the files_external tests
# against. It will also change the files_external config to use the docker
@@ -10,7 +11,6 @@
#
# @author Morris Jobke
# @author Robin McCorkell
-# @copyright 2015 ownCloud
if ! command -v docker >/dev/null 2>&1; then
echo "No docker executable found - skipped docker setup"
diff --git a/tests/objectstore/stop-swift-ceph.sh b/tests/objectstore/stop-swift-ceph.sh
index afc5f712ab4..9673270f6d8 100755
--- a/tests/objectstore/stop-swift-ceph.sh
+++ b/tests/objectstore/stop-swift-ceph.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# This script stops the docker container the files_external tests were run
# against. It will also revert the config changes done in start step.
diff --git a/tests/objectstore/wait-for-connection b/tests/objectstore/wait-for-connection
index 2c480fb733e..c6a3ed270f1 100755
--- a/tests/objectstore/wait-for-connection
+++ b/tests/objectstore/wait-for-connection
@@ -1,6 +1,9 @@
#!/usr/bin/php
<?php
-
+/**
+ * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+ * SPDX-License-Identifier: AGPL-3.0-only
+ */
$timeout = 60;
switch ($argc) {
diff --git a/tests/travis/before_install.sh b/tests/travis/before_install.sh
index ee8c3a9862a..b05e93e856f 100644
--- a/tests/travis/before_install.sh
+++ b/tests/travis/before_install.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# @author Thomas Müller
# @copyright 2014 Thomas Müller thomas.mueller@tmit.eu
diff --git a/tests/travis/changed_app.sh b/tests/travis/changed_app.sh
index a4be0476573..59410788bd9 100755
--- a/tests/travis/changed_app.sh
+++ b/tests/travis/changed_app.sh
@@ -1,6 +1,7 @@
#!/bin/bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# @author Joas Schilling
# @author Thomas Müller
diff --git a/tests/travis/custom.ini b/tests/travis/custom.ini
index 7a2c0aab426..6eea6fb5cec 100644
--- a/tests/travis/custom.ini
+++ b/tests/travis/custom.ini
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
always_populate_raw_post_data = -1
mbstring.func_overload = 0
default_charset = 'UTF-8'
diff --git a/tests/travis/install.sh b/tests/travis/install.sh
index 180e0c634da..bfedb45caa3 100755
--- a/tests/travis/install.sh
+++ b/tests/travis/install.sh
@@ -1,6 +1,8 @@
#!/bin/bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
+# SPDX-FileCopyrightText: 2016 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# @author Thomas Müller
# @copyright 2014 Thomas Müller thomas.mueller@tmit.eu