From 39bcd89306a72c04871433e9b4587b075ab4127a Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Thu, 16 Mar 2023 16:30:20 -0700 Subject: janitorial: add SPDX-License-Identifier: LGPL-2.1-or-later Just a nice thing to have in headers to make it clearer for people who casually find themselves reading, and perhaps copying, the code. --- tests/libpeas/engine.c | 2 + tests/libpeas/extension-c.c | 2 + tests/libpeas/extension-lua.c | 2 + tests/libpeas/extension-py.c | 2 + tests/libpeas/extension-set.c | 2 + .../libpeas/introspection/introspection-abstract.c | 2 + .../libpeas/introspection/introspection-abstract.h | 2 + tests/libpeas/introspection/introspection-base.c | 2 + tests/libpeas/introspection/introspection-base.h | 2 + .../libpeas/introspection/introspection-callable.c | 2 + .../libpeas/introspection/introspection-callable.h | 2 + .../introspection/introspection-has-prerequisite.c | 2 + .../introspection/introspection-has-prerequisite.h | 2 + .../introspection/introspection-prerequisite.c | 2 + .../introspection/introspection-prerequisite.h | 2 + .../introspection/introspection-unimplemented.c | 2 + .../introspection/introspection-unimplemented.h | 2 + tests/libpeas/plugin-info.c | 2 + tests/libpeas/plugins/embedded/embedded-plugin.c | 2 + tests/libpeas/plugins/embedded/embedded-plugin.h | 2 + .../plugins/extension-c/extension-c-abstract.c | 2 + .../plugins/extension-c/extension-c-abstract.h | 2 + .../extension-c-missing-symbol-plugin.c | 2 + .../plugins/extension-c/extension-c-plugin.c | 2 + .../plugins/extension-c/extension-c-plugin.h | 2 + tests/libpeas/testing/testing-extension.c | 2 + tests/libpeas/testing/testing-extension.h | 2 + tests/libpeas/testing/testing.c | 2 + tests/libpeas/testing/testing.h | 2 + tests/plugins/builtin/builtin-plugin.c | 2 + tests/plugins/builtin/builtin-plugin.h | 2 + tests/plugins/has-dep/has-dep-plugin.c | 2 + tests/plugins/has-dep/has-dep-plugin.h | 2 + tests/plugins/loadable/loadable-plugin.c | 2 + tests/plugins/loadable/loadable-plugin.h | 2 + tests/plugins/self-dep/self-dep-plugin.c | 2 + tests/plugins/self-dep/self-dep-plugin.h | 2 + tests/testing-util/peas-activatable.c | 2 + tests/testing-util/peas-activatable.h | 2 + tests/testing-util/peas-test-common.h | 52 +++++++++++----------- tests/testing-util/testing-util.c | 2 + tests/testing-util/testing-util.h | 2 + 42 files changed, 109 insertions(+), 25 deletions(-) (limited to 'tests') diff --git a/tests/libpeas/engine.c b/tests/libpeas/engine.c index d8fa47c..5a81d87 100644 --- a/tests/libpeas/engine.c +++ b/tests/libpeas/engine.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/extension-c.c b/tests/libpeas/extension-c.c index 0dca6f8..cdd7f76 100644 --- a/tests/libpeas/extension-c.c +++ b/tests/libpeas/extension-c.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/extension-lua.c b/tests/libpeas/extension-lua.c index 79f42a6..0a0b541 100644 --- a/tests/libpeas/extension-lua.c +++ b/tests/libpeas/extension-lua.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/extension-py.c b/tests/libpeas/extension-py.c index 8ec155d..f71c14a 100644 --- a/tests/libpeas/extension-py.c +++ b/tests/libpeas/extension-py.c @@ -18,6 +18,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/extension-set.c b/tests/libpeas/extension-set.c index c4a2af5..ba8942f 100644 --- a/tests/libpeas/extension-set.c +++ b/tests/libpeas/extension-set.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-abstract.c b/tests/libpeas/introspection/introspection-abstract.c index 0363d0a..a3754f8 100644 --- a/tests/libpeas/introspection/introspection-abstract.c +++ b/tests/libpeas/introspection/introspection-abstract.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-abstract.h b/tests/libpeas/introspection/introspection-abstract.h index 35025ec..1082d71 100644 --- a/tests/libpeas/introspection/introspection-abstract.h +++ b/tests/libpeas/introspection/introspection-abstract.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_ABSTRACT_H__ diff --git a/tests/libpeas/introspection/introspection-base.c b/tests/libpeas/introspection/introspection-base.c index 8169d06..f49a6b3 100644 --- a/tests/libpeas/introspection/introspection-base.c +++ b/tests/libpeas/introspection/introspection-base.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-base.h b/tests/libpeas/introspection/introspection-base.h index e3f7832..813fec6 100644 --- a/tests/libpeas/introspection/introspection-base.h +++ b/tests/libpeas/introspection/introspection-base.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_BASE_H__ diff --git a/tests/libpeas/introspection/introspection-callable.c b/tests/libpeas/introspection/introspection-callable.c index 53e6ccc..855a95e 100644 --- a/tests/libpeas/introspection/introspection-callable.c +++ b/tests/libpeas/introspection/introspection-callable.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-callable.h b/tests/libpeas/introspection/introspection-callable.h index 4f8f525..48dab7b 100644 --- a/tests/libpeas/introspection/introspection-callable.h +++ b/tests/libpeas/introspection/introspection-callable.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_CALLABLE_H__ diff --git a/tests/libpeas/introspection/introspection-has-prerequisite.c b/tests/libpeas/introspection/introspection-has-prerequisite.c index f836f52..fb53160 100644 --- a/tests/libpeas/introspection/introspection-has-prerequisite.c +++ b/tests/libpeas/introspection/introspection-has-prerequisite.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-has-prerequisite.h b/tests/libpeas/introspection/introspection-has-prerequisite.h index 29d25e4..a9c8c54 100644 --- a/tests/libpeas/introspection/introspection-has-prerequisite.h +++ b/tests/libpeas/introspection/introspection-has-prerequisite.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_HAS_PREREQUISITE_H__ diff --git a/tests/libpeas/introspection/introspection-prerequisite.c b/tests/libpeas/introspection/introspection-prerequisite.c index 1fed47e..8520d30 100644 --- a/tests/libpeas/introspection/introspection-prerequisite.c +++ b/tests/libpeas/introspection/introspection-prerequisite.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-prerequisite.h b/tests/libpeas/introspection/introspection-prerequisite.h index 52bab44..c0cf669 100644 --- a/tests/libpeas/introspection/introspection-prerequisite.h +++ b/tests/libpeas/introspection/introspection-prerequisite.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_PREREQUISITE_H__ diff --git a/tests/libpeas/introspection/introspection-unimplemented.c b/tests/libpeas/introspection/introspection-unimplemented.c index f6164bd..eafb007 100644 --- a/tests/libpeas/introspection/introspection-unimplemented.c +++ b/tests/libpeas/introspection/introspection-unimplemented.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/introspection/introspection-unimplemented.h b/tests/libpeas/introspection/introspection-unimplemented.h index f4c6dc8..65a157a 100644 --- a/tests/libpeas/introspection/introspection-unimplemented.h +++ b/tests/libpeas/introspection/introspection-unimplemented.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __INTROSPECTION_UNIMPLEMENTED_H__ diff --git a/tests/libpeas/plugin-info.c b/tests/libpeas/plugin-info.c index eb19012..369ec79 100644 --- a/tests/libpeas/plugin-info.c +++ b/tests/libpeas/plugin-info.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/plugins/embedded/embedded-plugin.c b/tests/libpeas/plugins/embedded/embedded-plugin.c index e5bc074..4fc876f 100644 --- a/tests/libpeas/plugins/embedded/embedded-plugin.c +++ b/tests/libpeas/plugins/embedded/embedded-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/plugins/embedded/embedded-plugin.h b/tests/libpeas/plugins/embedded/embedded-plugin.h index 78142d0..cb02f47 100644 --- a/tests/libpeas/plugins/embedded/embedded-plugin.h +++ b/tests/libpeas/plugins/embedded/embedded-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_EMBEDDED_PLUGIN_H__ diff --git a/tests/libpeas/plugins/extension-c/extension-c-abstract.c b/tests/libpeas/plugins/extension-c/extension-c-abstract.c index 7c0a008..1a64dc8 100644 --- a/tests/libpeas/plugins/extension-c/extension-c-abstract.c +++ b/tests/libpeas/plugins/extension-c/extension-c-abstract.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/plugins/extension-c/extension-c-abstract.h b/tests/libpeas/plugins/extension-c/extension-c-abstract.h index 57d35c3..71704bc 100644 --- a/tests/libpeas/plugins/extension-c/extension-c-abstract.h +++ b/tests/libpeas/plugins/extension-c/extension-c-abstract.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __EXTENSION_C_ABSTRACT_H__ diff --git a/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c b/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c index ea63b57..7404226 100644 --- a/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c +++ b/tests/libpeas/plugins/extension-c/extension-c-missing-symbol-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #if 0 diff --git a/tests/libpeas/plugins/extension-c/extension-c-plugin.c b/tests/libpeas/plugins/extension-c/extension-c-plugin.c index 417c8fe..b0225f1 100644 --- a/tests/libpeas/plugins/extension-c/extension-c-plugin.c +++ b/tests/libpeas/plugins/extension-c/extension-c-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/plugins/extension-c/extension-c-plugin.h b/tests/libpeas/plugins/extension-c/extension-c-plugin.h index 5454709..19c3b6b 100644 --- a/tests/libpeas/plugins/extension-c/extension-c-plugin.h +++ b/tests/libpeas/plugins/extension-c/extension-c-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __EXTENSION_C_PLUGIN_H__ diff --git a/tests/libpeas/testing/testing-extension.c b/tests/libpeas/testing/testing-extension.c index 907cdc5..59b736a 100644 --- a/tests/libpeas/testing/testing-extension.c +++ b/tests/libpeas/testing/testing-extension.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/testing/testing-extension.h b/tests/libpeas/testing/testing-extension.h index 03f5a84..513f1fe 100644 --- a/tests/libpeas/testing/testing-extension.h +++ b/tests/libpeas/testing/testing-extension.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_EXTENSION_H__ diff --git a/tests/libpeas/testing/testing.c b/tests/libpeas/testing/testing.c index 011c660..75748fe 100644 --- a/tests/libpeas/testing/testing.c +++ b/tests/libpeas/testing/testing.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/libpeas/testing/testing.h b/tests/libpeas/testing/testing.h index cdc9fdd..1b70cca 100644 --- a/tests/libpeas/testing/testing.h +++ b/tests/libpeas/testing/testing.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_H__ diff --git a/tests/plugins/builtin/builtin-plugin.c b/tests/plugins/builtin/builtin-plugin.c index bc25b86..3e66c86 100644 --- a/tests/plugins/builtin/builtin-plugin.c +++ b/tests/plugins/builtin/builtin-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/plugins/builtin/builtin-plugin.h b/tests/plugins/builtin/builtin-plugin.h index 8bfca23..65a0025 100644 --- a/tests/plugins/builtin/builtin-plugin.h +++ b/tests/plugins/builtin/builtin-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_BUILTIN_PLUGIN_H__ diff --git a/tests/plugins/has-dep/has-dep-plugin.c b/tests/plugins/has-dep/has-dep-plugin.c index b06e321..61829a7 100644 --- a/tests/plugins/has-dep/has-dep-plugin.c +++ b/tests/plugins/has-dep/has-dep-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/plugins/has-dep/has-dep-plugin.h b/tests/plugins/has-dep/has-dep-plugin.h index 0d1918f..67e295c 100644 --- a/tests/plugins/has-dep/has-dep-plugin.h +++ b/tests/plugins/has-dep/has-dep-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_HAS_DEP_PLUGIN_H__ diff --git a/tests/plugins/loadable/loadable-plugin.c b/tests/plugins/loadable/loadable-plugin.c index bc555ea..0ecc0bb 100644 --- a/tests/plugins/loadable/loadable-plugin.c +++ b/tests/plugins/loadable/loadable-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/plugins/loadable/loadable-plugin.h b/tests/plugins/loadable/loadable-plugin.h index 8470e73..ba7af25 100644 --- a/tests/plugins/loadable/loadable-plugin.h +++ b/tests/plugins/loadable/loadable-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_LOADABLE_PLUGIN_H__ diff --git a/tests/plugins/self-dep/self-dep-plugin.c b/tests/plugins/self-dep/self-dep-plugin.c index e921d1d..02f9b6a 100644 --- a/tests/plugins/self-dep/self-dep-plugin.c +++ b/tests/plugins/self-dep/self-dep-plugin.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifdef HAVE_CONFIG_H diff --git a/tests/plugins/self-dep/self-dep-plugin.h b/tests/plugins/self-dep/self-dep-plugin.h index 8b47b22..0d30d3e 100644 --- a/tests/plugins/self-dep/self-dep-plugin.h +++ b/tests/plugins/self-dep/self-dep-plugin.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_SELF_DEP_PLUGIN_H__ diff --git a/tests/testing-util/peas-activatable.c b/tests/testing-util/peas-activatable.c index 7714d1d..2d1c935 100644 --- a/tests/testing-util/peas-activatable.c +++ b/tests/testing-util/peas-activatable.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "config.h" diff --git a/tests/testing-util/peas-activatable.h b/tests/testing-util/peas-activatable.h index 8148de6..03f008c 100644 --- a/tests/testing-util/peas-activatable.h +++ b/tests/testing-util/peas-activatable.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __PEAS_ACTIVATABLE_H__ diff --git a/tests/testing-util/peas-test-common.h b/tests/testing-util/peas-test-common.h index 20281ee..e33ff0a 100644 --- a/tests/testing-util/peas-test-common.h +++ b/tests/testing-util/peas-test-common.h @@ -1,26 +1,28 @@ -/* - * peas-test-common.h - * This file is part of libpeas - * - * Copyright (C) 2019 - Chun-wei Fan - * - * libpeas is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * libpeas is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#ifdef _MSC_VER -# define PEAS_TEST_EXPORT __declspec (dllexport) -#else -# define PEAS_TEST_EXPORT +/* + * peas-test-common.h + * This file is part of libpeas + * + * Copyright (C) 2019 - Chun-wei Fan + * + * libpeas is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * libpeas is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later + */ + +#ifdef _MSC_VER +# define PEAS_TEST_EXPORT __declspec (dllexport) +#else +# define PEAS_TEST_EXPORT #endif \ No newline at end of file diff --git a/tests/testing-util/testing-util.c b/tests/testing-util/testing-util.c index 7e751c8..905b407 100644 --- a/tests/testing-util/testing-util.c +++ b/tests/testing-util/testing-util.c @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #include "config.h" diff --git a/tests/testing-util/testing-util.h b/tests/testing-util/testing-util.h index 27caf9d..e76bbb0 100644 --- a/tests/testing-util/testing-util.h +++ b/tests/testing-util/testing-util.h @@ -17,6 +17,8 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. + * + * SPDX-License-Identifier: LGPL-2.1-or-later */ #ifndef __TESTING_UTIL_H__ -- cgit v1.2.1