summaryrefslogtreecommitdiff
path: root/installed-tests
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-09-13 19:10:44 -0700
committerPhilip Chimento <philip.chimento@gmail.com>2020-11-30 09:50:11 -0800
commit78bb511cc159ff2a0e32aafdcb305f4ab6b1a3ee (patch)
treeedcd92d5d45fabd6e9fe42c04b8261c723dd2202 /installed-tests
parent8880c98a5c8b963235019c18de36e3ad1cf9b2d8 (diff)
downloadgjs-78bb511cc159ff2a0e32aafdcb305f4ab6b1a3ee.tar.gz
maint: Add copyright notices based on major file contributors
Based on looking at the git logs, add copyright notices to files which were missing them, assuming the copyright belongs to people who made major contributions to each file. Some assumptions were made as to who to assign the copyright to, such as, what copyright assignment did the contributor make in other files added in the same commit? What email address did they use to make the commit? What copyright assignment did they make in other commits using the same email address?
Diffstat (limited to 'installed-tests')
-rwxr-xr-xinstalled-tests/debugger-test.sh1
-rw-r--r--installed-tests/debugger.test.in1
-rw-r--r--installed-tests/debugger/.eslintrc.yml1
-rw-r--r--installed-tests/extra/gjs.supp1
-rw-r--r--installed-tests/extra/lsan.supp1
-rw-r--r--installed-tests/js/.eslintrc.yml1
-rw-r--r--installed-tests/js/complex3.ui1
-rw-r--r--installed-tests/js/complex4.ui1
-rw-r--r--installed-tests/js/jsunit.gresources.xml1
-rw-r--r--installed-tests/js/meson.build2
-rw-r--r--installed-tests/js/minijasmine.js1
-rw-r--r--installed-tests/js/modules/alwaysThrows.js2
-rw-r--r--installed-tests/js/modules/badOverrides/.eslintrc.yml1
-rw-r--r--installed-tests/js/modules/badOverrides/GIMarshallingTests.js1
-rw-r--r--installed-tests/js/modules/badOverrides/Gio.js1
-rw-r--r--installed-tests/js/modules/badOverrides/Regress.js1
-rw-r--r--installed-tests/js/modules/badOverrides/WarnLib.js1
-rw-r--r--installed-tests/js/modules/foobar.js1
-rw-r--r--installed-tests/js/modules/lexicalScope.js1
-rw-r--r--installed-tests/js/modules/modunicode.js1
-rw-r--r--installed-tests/js/modules/mutualImport/a.js1
-rw-r--r--installed-tests/js/modules/mutualImport/b.js1
-rw-r--r--installed-tests/js/modules/overrides/.eslintrc.yml1
-rw-r--r--installed-tests/js/modules/overrides/GIMarshallingTests.js1
-rw-r--r--installed-tests/js/modules/subA/subB/__init__.js1
-rw-r--r--installed-tests/js/modules/subA/subB/foobar.js1
-rw-r--r--installed-tests/js/org.gnome.GjsTest.gschema.xml1
-rw-r--r--installed-tests/js/testByteArray.js2
-rw-r--r--installed-tests/js/testCairo.js1
-rw-r--r--installed-tests/js/testExceptions.js2
-rw-r--r--installed-tests/js/testFormat.js1
-rw-r--r--installed-tests/js/testFundamental.js1
-rw-r--r--installed-tests/js/testGDBus.js1
-rw-r--r--installed-tests/js/testGIMarshalling.js6
-rw-r--r--installed-tests/js/testGLib.js2
-rw-r--r--installed-tests/js/testGObject.js2
-rw-r--r--installed-tests/js/testGObjectClass.js1
-rw-r--r--installed-tests/js/testGObjectDestructionAccess.js1
-rw-r--r--installed-tests/js/testGObjectInterface.js1
-rw-r--r--installed-tests/js/testGTypeClass.js2
-rw-r--r--installed-tests/js/testGettext.js1
-rw-r--r--installed-tests/js/testGio.js2
-rw-r--r--installed-tests/js/testGtk3.js1
-rw-r--r--installed-tests/js/testGtk4.js1
-rw-r--r--installed-tests/js/testImporter.js1
-rw-r--r--installed-tests/js/testIntrospection.js3
-rw-r--r--installed-tests/js/testLang.js1
-rw-r--r--installed-tests/js/testLegacyByteArray.js1
-rw-r--r--installed-tests/js/testLegacyClass.js3
-rw-r--r--installed-tests/js/testLegacyGObject.js2
-rw-r--r--installed-tests/js/testLegacyGtk.js1
-rw-r--r--installed-tests/js/testMainloop.js1
-rw-r--r--installed-tests/js/testNamespace.js1
-rw-r--r--installed-tests/js/testPackage.js1
-rw-r--r--installed-tests/js/testParamSpec.js1
-rw-r--r--installed-tests/js/testPrint.js1
-rw-r--r--installed-tests/js/testRegress.js2
-rw-r--r--installed-tests/js/testSignals.js1
-rw-r--r--installed-tests/js/testSystem.js5
-rw-r--r--installed-tests/js/testTweener.js2
-rw-r--r--installed-tests/js/testWarnLib.js2
-rw-r--r--installed-tests/js/testself.js1
-rw-r--r--installed-tests/meson.build2
-rw-r--r--installed-tests/minijasmine.test.in1
-rw-r--r--installed-tests/script.test.in1
-rwxr-xr-xinstalled-tests/scripts/common.sh1
-rwxr-xr-xinstalled-tests/scripts/testCommandLine.sh2
-rwxr-xr-xinstalled-tests/scripts/testExamples.sh1
-rwxr-xr-xinstalled-tests/scripts/testWarnings.sh1
69 files changed, 95 insertions, 1 deletions
diff --git a/installed-tests/debugger-test.sh b/installed-tests/debugger-test.sh
index b5a0bee0..08b3661f 100755
--- a/installed-tests/debugger-test.sh
+++ b/installed-tests/debugger-test.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
if test "$GJS_USE_UNINSTALLED_FILES" = "1"; then
gjs="$TOP_BUILDDIR/gjs-console"
diff --git a/installed-tests/debugger.test.in b/installed-tests/debugger.test.in
index c6c51de8..5f45cf8e 100644
--- a/installed-tests/debugger.test.in
+++ b/installed-tests/debugger.test.in
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
[Test]
Type=session
diff --git a/installed-tests/debugger/.eslintrc.yml b/installed-tests/debugger/.eslintrc.yml
index 324367d4..5bd67acb 100644
--- a/installed-tests/debugger/.eslintrc.yml
+++ b/installed-tests/debugger/.eslintrc.yml
@@ -1,4 +1,5 @@
---
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
rules:
no-debugger: 'off'
diff --git a/installed-tests/extra/gjs.supp b/installed-tests/extra/gjs.supp
index fd74f546..76dfbdfb 100644
--- a/installed-tests/extra/gjs.supp
+++ b/installed-tests/extra/gjs.supp
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2008 litl, LLC
# Valgrind suppressions file for GJS
# This is intended to be used in addition to GLib's glib.supp file.
diff --git a/installed-tests/extra/lsan.supp b/installed-tests/extra/lsan.supp
index 52340674..91cadbb3 100644
--- a/installed-tests/extra/lsan.supp
+++ b/installed-tests/extra/lsan.supp
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Endless Mobile, Inc.
# SpiderMonkey leaks a mutex for each GC helper thread.
leak:js::HelperThread::threadLoop
diff --git a/installed-tests/js/.eslintrc.yml b/installed-tests/js/.eslintrc.yml
index d4ab1a80..a9c37e58 100644
--- a/installed-tests/js/.eslintrc.yml
+++ b/installed-tests/js/.eslintrc.yml
@@ -1,5 +1,6 @@
---
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
env:
jasmine: true
rules:
diff --git a/installed-tests/js/complex3.ui b/installed-tests/js/complex3.ui
index 9215a0c2..a9ed8527 100644
--- a/installed-tests/js/complex3.ui
+++ b/installed-tests/js/complex3.ui
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
+<!-- SPDX-FileCopyrightText: 2014 Jonas Danielsson <jonas@threetimestwo.org> -->
<interface>
<template class="Gjs_MyComplexGtkSubclassFromResource" parent="GtkGrid">
<property name="margin_top">10</property>
diff --git a/installed-tests/js/complex4.ui b/installed-tests/js/complex4.ui
index b3c9e0ed..77f43a65 100644
--- a/installed-tests/js/complex4.ui
+++ b/installed-tests/js/complex4.ui
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
+<!-- SPDX-FileCopyrightText: 2014 Jonas Danielsson <jonas@threetimestwo.org> -->
<interface>
<template class="Gjs_MyComplexGtkSubclassFromResource" parent="GtkGrid">
<property name="margin_top">10</property>
diff --git a/installed-tests/js/jsunit.gresources.xml b/installed-tests/js/jsunit.gresources.xml
index 4e6372cf..674e342f 100644
--- a/installed-tests/js/jsunit.gresources.xml
+++ b/installed-tests/js/jsunit.gresources.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
+<!-- SPDX-FileCopyrightText: 2014 Jonas Danielsson <jonas@threetimestwo.org> -->
<gresources>
<gresource prefix="/org/gjs/jsunit">
<file preprocess="xml-stripblanks">complex3.ui</file>
diff --git a/installed-tests/js/meson.build b/installed-tests/js/meson.build
index 3ea141e0..dae48e07 100644
--- a/installed-tests/js/meson.build
+++ b/installed-tests/js/meson.build
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
+# SPDX-FileCopyrightText: 2019 Chun-wei Fan <fanchunwei@src.gnome.org>
### Jasmine tests ##############################################################
diff --git a/installed-tests/js/minijasmine.js b/installed-tests/js/minijasmine.js
index cbf94860..43d7d242 100644
--- a/installed-tests/js/minijasmine.js
+++ b/installed-tests/js/minijasmine.js
@@ -1,5 +1,6 @@
#!/usr/bin/env gjs
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
const GLib = imports.gi.GLib;
diff --git a/installed-tests/js/modules/alwaysThrows.js b/installed-tests/js/modules/alwaysThrows.js
index ed118ce9..70500ee2 100644
--- a/installed-tests/js/modules/alwaysThrows.js
+++ b/installed-tests/js/modules/alwaysThrows.js
@@ -1,4 +1,4 @@
// line 0
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
-// line 2
+// SPDX-FileCopyrightText: 2008 litl, LLC
throw new Error('This is an error that always happens on line 3');
diff --git a/installed-tests/js/modules/badOverrides/.eslintrc.yml b/installed-tests/js/modules/badOverrides/.eslintrc.yml
index bef63f79..b1c10f5d 100644
--- a/installed-tests/js/modules/badOverrides/.eslintrc.yml
+++ b/installed-tests/js/modules/badOverrides/.eslintrc.yml
@@ -1,5 +1,6 @@
---
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
rules:
no-throw-literal: 'off' # these are intended to be bad code
no-unused-vars:
diff --git a/installed-tests/js/modules/badOverrides/GIMarshallingTests.js b/installed-tests/js/modules/badOverrides/GIMarshallingTests.js
index bd7adaef..e3f777a2 100644
--- a/installed-tests/js/modules/badOverrides/GIMarshallingTests.js
+++ b/installed-tests/js/modules/badOverrides/GIMarshallingTests.js
@@ -1,4 +1,5 @@
// Sabotage the import of imports.gi.GIMarshallingTests!
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
throw '💩';
diff --git a/installed-tests/js/modules/badOverrides/Gio.js b/installed-tests/js/modules/badOverrides/Gio.js
index 2313b23e..dcf0e34e 100644
--- a/installed-tests/js/modules/badOverrides/Gio.js
+++ b/installed-tests/js/modules/badOverrides/Gio.js
@@ -1,4 +1,5 @@
// Sabotage the import of imports.gi.Gio!
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
var _init = '💩';
diff --git a/installed-tests/js/modules/badOverrides/Regress.js b/installed-tests/js/modules/badOverrides/Regress.js
index c693206e..7ce4878b 100644
--- a/installed-tests/js/modules/badOverrides/Regress.js
+++ b/installed-tests/js/modules/badOverrides/Regress.js
@@ -1,5 +1,6 @@
// Sabotage the import of imports.gi.Regress!
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
function _init() {
throw '💩';
diff --git a/installed-tests/js/modules/badOverrides/WarnLib.js b/installed-tests/js/modules/badOverrides/WarnLib.js
index 74a2008e..8ab39deb 100644
--- a/installed-tests/js/modules/badOverrides/WarnLib.js
+++ b/installed-tests/js/modules/badOverrides/WarnLib.js
@@ -1,4 +1,5 @@
// Sabotage the import of imports.gi.WarnLib!
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
k$^s^%$#^*($%jdghdsfjkgd
diff --git a/installed-tests/js/modules/foobar.js b/installed-tests/js/modules/foobar.js
index 7e27c619..9f8fbae9 100644
--- a/installed-tests/js/modules/foobar.js
+++ b/installed-tests/js/modules/foobar.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
// simple test module (used by testImporter.js)
diff --git a/installed-tests/js/modules/lexicalScope.js b/installed-tests/js/modules/lexicalScope.js
index 2b359e50..d8112195 100644
--- a/installed-tests/js/modules/lexicalScope.js
+++ b/installed-tests/js/modules/lexicalScope.js
@@ -1,5 +1,6 @@
/* exported a, b, c */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2017 Philip Chimento <philip.chimento@gmail.com>
// Tests bindings in the global scope (var) and lexical environment (let, const)
diff --git a/installed-tests/js/modules/modunicode.js b/installed-tests/js/modules/modunicode.js
index 157d03ef..326139ab 100644
--- a/installed-tests/js/modules/modunicode.js
+++ b/installed-tests/js/modules/modunicode.js
@@ -1,5 +1,6 @@
/* exported uval */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2012 Red Hat, Inc.
// This file is written in UTF-8.
diff --git a/installed-tests/js/modules/mutualImport/a.js b/installed-tests/js/modules/mutualImport/a.js
index 3a60c0e3..f98f3325 100644
--- a/installed-tests/js/modules/mutualImport/a.js
+++ b/installed-tests/js/modules/mutualImport/a.js
@@ -1,5 +1,6 @@
/* exported getCount, getCountViaB, incrementCount */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 Red Hat, Inc.
const B = imports.mutualImport.b;
diff --git a/installed-tests/js/modules/mutualImport/b.js b/installed-tests/js/modules/mutualImport/b.js
index 082ec031..aabc1da8 100644
--- a/installed-tests/js/modules/mutualImport/b.js
+++ b/installed-tests/js/modules/mutualImport/b.js
@@ -1,5 +1,6 @@
/* exported getCount */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 Red Hat, Inc.
const A = imports.mutualImport.a;
diff --git a/installed-tests/js/modules/overrides/.eslintrc.yml b/installed-tests/js/modules/overrides/.eslintrc.yml
index c9faaeb6..8a5f8fd9 100644
--- a/installed-tests/js/modules/overrides/.eslintrc.yml
+++ b/installed-tests/js/modules/overrides/.eslintrc.yml
@@ -1,5 +1,6 @@
---
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Philip Chimento <philip.chimento@gmail.com>
rules:
no-unused-vars:
- error
diff --git a/installed-tests/js/modules/overrides/GIMarshallingTests.js b/installed-tests/js/modules/overrides/GIMarshallingTests.js
index fbbba3aa..684878b2 100644
--- a/installed-tests/js/modules/overrides/GIMarshallingTests.js
+++ b/installed-tests/js/modules/overrides/GIMarshallingTests.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
function _init() {
const GIMarshallingTests = this;
diff --git a/installed-tests/js/modules/subA/subB/__init__.js b/installed-tests/js/modules/subA/subB/__init__.js
index f14e5cac..2e9bd586 100644
--- a/installed-tests/js/modules/subA/subB/__init__.js
+++ b/installed-tests/js/modules/subA/subB/__init__.js
@@ -1,5 +1,6 @@
/* exported ImporterClass, testImporterFunction */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2009 litl, LLC
function testImporterFunction() {
return '__init__ function tested';
diff --git a/installed-tests/js/modules/subA/subB/foobar.js b/installed-tests/js/modules/subA/subB/foobar.js
index ebfb8c13..d442ec13 100644
--- a/installed-tests/js/modules/subA/subB/foobar.js
+++ b/installed-tests/js/modules/subA/subB/foobar.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
// simple test module (used by testImporter.js)
diff --git a/installed-tests/js/org.gnome.GjsTest.gschema.xml b/installed-tests/js/org.gnome.GjsTest.gschema.xml
index abe09625..07bcd487 100644
--- a/installed-tests/js/org.gnome.GjsTest.gschema.xml
+++ b/installed-tests/js/org.gnome.GjsTest.gschema.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: MIT OR LGPL-2.0-or-later -->
+<!-- SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com -->
<schemalist>
<schema id="org.gnome.GjsTest" path="/org/gnome/GjsTest/">
<key name="window-size" type="(ii)">
diff --git a/installed-tests/js/testByteArray.js b/installed-tests/js/testByteArray.js
index 001f0fbe..10fcdaa1 100644
--- a/installed-tests/js/testByteArray.js
+++ b/installed-tests/js/testByteArray.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2010 litl, LLC
+// SPDX-FileCopyrightText: 2017 Philip Chimento <philip.chimento@gmail.com>
const ByteArray = imports.byteArray;
const {GIMarshallingTests, GLib} = imports.gi;
diff --git a/installed-tests/js/testCairo.js b/installed-tests/js/testCairo.js
index d1a9903d..67a7dc43 100644
--- a/installed-tests/js/testCairo.js
+++ b/installed-tests/js/testCairo.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2010 litl, LLC
imports.gi.versions.Gdk = '3.0';
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testExceptions.js b/installed-tests/js/testExceptions.js
index 2b8c57fe..0262e43c 100644
--- a/installed-tests/js/testExceptions.js
+++ b/installed-tests/js/testExceptions.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Red Hat, Inc.
+// SPDX-FileCopyrightText: 2015 Endless Mobile, Inc.
const {GIMarshallingTests, Gio, GLib, GObject} = imports.gi;
diff --git a/installed-tests/js/testFormat.js b/installed-tests/js/testFormat.js
index c11c3549..6e46e420 100644
--- a/installed-tests/js/testFormat.js
+++ b/installed-tests/js/testFormat.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Red Hat, Inc.
const Format = imports.format;
String.prototype.format = Format.format;
diff --git a/installed-tests/js/testFundamental.js b/installed-tests/js/testFundamental.js
index 17fb2d27..8a61f5f7 100644
--- a/installed-tests/js/testFundamental.js
+++ b/installed-tests/js/testFundamental.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Lionel Landwerlin <llandwerlin@gmail.com>
const {GObject, Regress} = imports.gi;
diff --git a/installed-tests/js/testGDBus.js b/installed-tests/js/testGDBus.js
index 7317a665..6464d3d1 100644
--- a/installed-tests/js/testGDBus.js
+++ b/installed-tests/js/testGDBus.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
const ByteArray = imports.byteArray;
const {Gio, GjsPrivate, GLib} = imports.gi;
diff --git a/installed-tests/js/testGIMarshalling.js b/installed-tests/js/testGIMarshalling.js
index 48011544..dedea30a 100644
--- a/installed-tests/js/testGIMarshalling.js
+++ b/installed-tests/js/testGIMarshalling.js
@@ -1,4 +1,10 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2010 Collabora, Ltd.
+// SPDX-FileCopyrightText: 2010 litl, LLC
+// SPDX-FileCopyrightText: 2010 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2011 Red Hat, Inc.
+// SPDX-FileCopyrightText: 2016 Endless Mobile, Inc.
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
// Load overrides for GIMarshallingTests
imports.overrides.searchPath.unshift('resource:///org/gjs/jsunit/modules/overrides');
diff --git a/installed-tests/js/testGLib.js b/installed-tests/js/testGLib.js
index e090c2f7..bd114292 100644
--- a/installed-tests/js/testGLib.js
+++ b/installed-tests/js/testGLib.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
const ByteArray = imports.byteArray;
const GLib = imports.gi.GLib;
diff --git a/installed-tests/js/testGObject.js b/installed-tests/js/testGObject.js
index f71644cb..bbea88a0 100644
--- a/installed-tests/js/testGObject.js
+++ b/installed-tests/js/testGObject.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2018 Red Hat, Inc.
// This is where overrides in modules/core/overrides/GObject.js are tested,
// except for the class machinery, interface machinery, and GObject.ParamSpec,
diff --git a/installed-tests/js/testGObjectClass.js b/installed-tests/js/testGObjectClass.js
index c88c8c10..efd9bcfb 100644
--- a/installed-tests/js/testGObjectClass.js
+++ b/installed-tests/js/testGObjectClass.js
@@ -1,5 +1,6 @@
// -*- mode: js; indent-tabs-mode: nil -*-
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testGObjectDestructionAccess.js b/installed-tests/js/testGObjectDestructionAccess.js
index bf72d3e2..ed1d6bb6 100644
--- a/installed-tests/js/testGObjectDestructionAccess.js
+++ b/installed-tests/js/testGObjectDestructionAccess.js
@@ -1,5 +1,6 @@
// -*- mode: js; indent-tabs-mode: nil -*-
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2017 Canonical, Ltd.
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testGObjectInterface.js b/installed-tests/js/testGObjectInterface.js
index 0c98550d..6ae08e65 100644
--- a/installed-tests/js/testGObjectInterface.js
+++ b/installed-tests/js/testGObjectInterface.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2015 Endless Mobile, Inc.
const Gio = imports.gi.Gio;
const GLib = imports.gi.GLib;
diff --git a/installed-tests/js/testGTypeClass.js b/installed-tests/js/testGTypeClass.js
index fe73c4bb..804f05d9 100644
--- a/installed-tests/js/testGTypeClass.js
+++ b/installed-tests/js/testGTypeClass.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2012 Red Hat, Inc.
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
// We use Gio to have some objects that we know exist
const Gio = imports.gi.Gio;
diff --git a/installed-tests/js/testGettext.js b/installed-tests/js/testGettext.js
index ae129ff3..364652ff 100644
--- a/installed-tests/js/testGettext.js
+++ b/installed-tests/js/testGettext.js
@@ -1,5 +1,6 @@
// -*- mode: js; indent-tabs-mode: nil -*-
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2015 Endless Mobile, Inc.
const Gettext = imports.gettext;
diff --git a/installed-tests/js/testGio.js b/installed-tests/js/testGio.js
index 721d47f8..865b0b78 100644
--- a/installed-tests/js/testGio.js
+++ b/installed-tests/js/testGio.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2017 Patrick Griffis <tingping@tingping.se>
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
const {GLib, Gio, GObject} = imports.gi;
diff --git a/installed-tests/js/testGtk3.js b/installed-tests/js/testGtk3.js
index 009ee199..f3f6e724 100644
--- a/installed-tests/js/testGtk3.js
+++ b/installed-tests/js/testGtk3.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testGtk4.js b/installed-tests/js/testGtk4.js
index 364cc6cc..af3fb75d 100644
--- a/installed-tests/js/testGtk4.js
+++ b/installed-tests/js/testGtk4.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
imports.gi.versions.Gtk = '4.0';
diff --git a/installed-tests/js/testImporter.js b/installed-tests/js/testImporter.js
index 1c13c7d3..b4bad76b 100644
--- a/installed-tests/js/testImporter.js
+++ b/installed-tests/js/testImporter.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
describe('GI importer', function () {
it('can import GI modules', function () {
diff --git a/installed-tests/js/testIntrospection.js b/installed-tests/js/testIntrospection.js
index 83961d8a..d9f4843f 100644
--- a/installed-tests/js/testIntrospection.js
+++ b/installed-tests/js/testIntrospection.js
@@ -1,4 +1,7 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008, 2018 Red Hat, Inc.
+// SPDX-FileCopyrightText: 2017 Philip Chimento <philip.chimento@gmail.com>
+// SPDX-FileCopyrightText: 2020 Ole Jørgen Brønner <olejorgenb@yahoo.no>
// Various tests having to do with how introspection is implemented in GJS
diff --git a/installed-tests/js/testLang.js b/installed-tests/js/testLang.js
index 71ec1a85..9f007702 100644
--- a/installed-tests/js/testLang.js
+++ b/installed-tests/js/testLang.js
@@ -1,5 +1,6 @@
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
// tests for imports.lang module
// except for Lang.Class and Lang.Interface, which are tested in testLegacyClass
diff --git a/installed-tests/js/testLegacyByteArray.js b/installed-tests/js/testLegacyByteArray.js
index 25c1784e..e13ff368 100644
--- a/installed-tests/js/testLegacyByteArray.js
+++ b/installed-tests/js/testLegacyByteArray.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2010 litl, LLC
const ByteArray = imports.byteArray;
const GIMarshallingTests = imports.gi.GIMarshallingTests;
diff --git a/installed-tests/js/testLegacyClass.js b/installed-tests/js/testLegacyClass.js
index 54a40d63..4ca1c242 100644
--- a/installed-tests/js/testLegacyClass.js
+++ b/installed-tests/js/testLegacyClass.js
@@ -1,6 +1,9 @@
// -*- mode: js; indent-tabs-mode: nil -*-
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2011 Jasper St. Pierre <jstpierre@mecheye.net>
+// SPDX-FileCopyrightText: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2015 Endless Mobile, Inc.
const Lang = imports.lang;
diff --git a/installed-tests/js/testLegacyGObject.js b/installed-tests/js/testLegacyGObject.js
index cfae0b94..2f113cad 100644
--- a/installed-tests/js/testLegacyGObject.js
+++ b/installed-tests/js/testLegacyGObject.js
@@ -1,6 +1,8 @@
// -*- mode: js; indent-tabs-mode: nil -*-
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2015 Endless Mobile, Inc.
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testLegacyGtk.js b/installed-tests/js/testLegacyGtk.js
index 7766bedf..9e3827fb 100644
--- a/installed-tests/js/testLegacyGtk.js
+++ b/installed-tests/js/testLegacyGtk.js
@@ -1,6 +1,7 @@
// -*- mode: js; indent-tabs-mode: nil -*-
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
imports.gi.versions.Gtk = '3.0';
diff --git a/installed-tests/js/testMainloop.js b/installed-tests/js/testMainloop.js
index 21b1da3d..3ee10a71 100644
--- a/installed-tests/js/testMainloop.js
+++ b/installed-tests/js/testMainloop.js
@@ -1,5 +1,6 @@
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
const Mainloop = imports.mainloop;
diff --git a/installed-tests/js/testNamespace.js b/installed-tests/js/testNamespace.js
index 058aaba9..556623df 100644
--- a/installed-tests/js/testNamespace.js
+++ b/installed-tests/js/testNamespace.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2012 Red Hat, Inc.
const Regress = imports.gi.Regress;
diff --git a/installed-tests/js/testPackage.js b/installed-tests/js/testPackage.js
index 9f2a7a99..624e8521 100644
--- a/installed-tests/js/testPackage.js
+++ b/installed-tests/js/testPackage.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2017 Red Hat, Inc.
const Pkg = imports.package;
diff --git a/installed-tests/js/testParamSpec.js b/installed-tests/js/testParamSpec.js
index 4c25cf84..a3c45518 100644
--- a/installed-tests/js/testParamSpec.js
+++ b/installed-tests/js/testParamSpec.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2011 Red Hat, Inc.
const Regress = imports.gi.Regress;
const GObject = imports.gi.GObject;
diff --git a/installed-tests/js/testPrint.js b/installed-tests/js/testPrint.js
index b96ab7aa..e6554d55 100644
--- a/installed-tests/js/testPrint.js
+++ b/installed-tests/js/testPrint.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2020 Philip Chimento <philip.chimento@gmail.com>
describe('print', function () {
it('can be spied upon', function () {
diff --git a/installed-tests/js/testRegress.js b/installed-tests/js/testRegress.js
index 7985fb29..56296d94 100644
--- a/installed-tests/js/testRegress.js
+++ b/installed-tests/js/testRegress.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
+// SPDX-FileCopyrightText: 2008 Red Hat, Inc.
const Regress = imports.gi.Regress;
diff --git a/installed-tests/js/testSignals.js b/installed-tests/js/testSignals.js
index dda016c3..f10dcd6b 100644
--- a/installed-tests/js/testSignals.js
+++ b/installed-tests/js/testSignals.js
@@ -1,5 +1,6 @@
/* eslint-disable no-restricted-properties */
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
const GLib = imports.gi.GLib;
const Lang = imports.lang;
diff --git a/installed-tests/js/testSystem.js b/installed-tests/js/testSystem.js
index 4bfc0269..9cd5b8ef 100644
--- a/installed-tests/js/testSystem.js
+++ b/installed-tests/js/testSystem.js
@@ -1,4 +1,9 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2013 Pavel Vasin <rat4vier@gmail.com>
+// SPDX-FileCopyrightText: 2013 Giovanni Campagna <gcampagna@src.gnome.org>
+// SPDX-FileCopyrightText: 2017 Claudio André <claudioandre.br@gmail.com>
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
+// SPDX-FileCopyrightText: 2019 Canonical, Ltd.
const System = imports.system;
const GObject = imports.gi.GObject;
diff --git a/installed-tests/js/testTweener.js b/installed-tests/js/testTweener.js
index 76803dee..12f807da 100644
--- a/installed-tests/js/testTweener.js
+++ b/installed-tests/js/testTweener.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
+// SPDX-FileCopyrightText: 2009 Red Hat, Inc.
const Tweener = imports.tweener.tweener;
diff --git a/installed-tests/js/testWarnLib.js b/installed-tests/js/testWarnLib.js
index de130fb8..21d0c618 100644
--- a/installed-tests/js/testWarnLib.js
+++ b/installed-tests/js/testWarnLib.js
@@ -1,4 +1,6 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2012 Red Hat, Inc.
+// SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
// File with tests from the WarnLib-1.0.gir test suite from GI
diff --git a/installed-tests/js/testself.js b/installed-tests/js/testself.js
index d01b0b58..39d9c567 100644
--- a/installed-tests/js/testself.js
+++ b/installed-tests/js/testself.js
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+// SPDX-FileCopyrightText: 2008 litl, LLC
describe('Test harness internal consistency', function () {
it('', function () {
diff --git a/installed-tests/meson.build b/installed-tests/meson.build
index 3d328b53..d256f93a 100644
--- a/installed-tests/meson.build
+++ b/installed-tests/meson.build
@@ -1,4 +1,6 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2019 Philip Chimento <philip.chimento@gmail.com>
+# SPDX-FileCopyrightText: 2019 Chun-wei Fan <fanchunwei@src.gnome.org>
### Installed tests ############################################################
diff --git a/installed-tests/minijasmine.test.in b/installed-tests/minijasmine.test.in
index fe3531c9..317a7572 100644
--- a/installed-tests/minijasmine.test.in
+++ b/installed-tests/minijasmine.test.in
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
[Test]
Type=session
diff --git a/installed-tests/script.test.in b/installed-tests/script.test.in
index 3604ca0c..96a91b88 100644
--- a/installed-tests/script.test.in
+++ b/installed-tests/script.test.in
@@ -1,4 +1,5 @@
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2013 Red Hat, Inc.
[Test]
Type=session
diff --git a/installed-tests/scripts/common.sh b/installed-tests/scripts/common.sh
index d8b50017..b76140bd 100755
--- a/installed-tests/scripts/common.sh
+++ b/installed-tests/scripts/common.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
if test "$GJS_USE_UNINSTALLED_FILES" = "1"; then
gjs="$TOP_BUILDDIR/gjs-console"
diff --git a/installed-tests/scripts/testCommandLine.sh b/installed-tests/scripts/testCommandLine.sh
index 89a88595..2d679e72 100755
--- a/installed-tests/scripts/testCommandLine.sh
+++ b/installed-tests/scripts/testCommandLine.sh
@@ -1,5 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2016 Endless Mobile, Inc.
+# SPDX-FileCopyrightText: 2016 Philip Chimento <philip.chimento@gmail.com>
if test "$GJS_USE_UNINSTALLED_FILES" = "1"; then
gjs="$TOP_BUILDDIR/gjs-console"
diff --git a/installed-tests/scripts/testExamples.sh b/installed-tests/scripts/testExamples.sh
index ef22a98a..fb7ec9a7 100755
--- a/installed-tests/scripts/testExamples.sh
+++ b/installed-tests/scripts/testExamples.sh
@@ -1,5 +1,6 @@
#!/bin/bash
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2018 Claudio André <claudioandre.br@gmail.com>
DIR="$( cd "$( dirname "${0}" )" && pwd )"
source "${DIR}"/common.sh
diff --git a/installed-tests/scripts/testWarnings.sh b/installed-tests/scripts/testWarnings.sh
index ea820d97..621b19c2 100755
--- a/installed-tests/scripts/testWarnings.sh
+++ b/installed-tests/scripts/testWarnings.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
+# SPDX-FileCopyrightText: 2017 Philip Chimento <philip.chimento@gmail.com>
if test "$GJS_USE_UNINSTALLED_FILES" = "1"; then
gjs="$TOP_BUILDDIR/gjs-console"