summaryrefslogtreecommitdiffstats
path: root/testfiles/src
diff options
context:
space:
mode:
authorMax Gaukler <development@maxgaukler.de>2018-09-11 14:05:17 +0000
committerMax Gaukler <development@maxgaukler.de>2018-11-08 17:18:20 +0000
commit79d82382b3ea1b7d77e3a47a96a786557588787a (patch)
treee2729fa6bb00d24ac6140cafabb9cf9b94ffa01b /testfiles/src
parentImplement the remaining vector effects properties. (diff)
downloadinkscape-79d82382b3ea1b7d77e3a47a96a786557588787a.tar.gz
inkscape-79d82382b3ea1b7d77e3a47a96a786557588787a.zip
Clarify licenses
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
Diffstat (limited to 'testfiles/src')
-rw-r--r--testfiles/src/attributes-test.cpp3
-rw-r--r--testfiles/src/color-profile-test.cpp3
-rw-r--r--testfiles/src/cxxtests-to-migrate/extract-uri-test.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/marker-test.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/mod360-test.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/preferences-test.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/sp-style-elem-test.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/test-helpers.h9
-rw-r--r--testfiles/src/cxxtests-to-migrate/uri-test.h17
-rw-r--r--testfiles/src/cxxtests-to-migrate/verbs-test.h9
-rw-r--r--testfiles/src/dir-util-test.cpp3
-rw-r--r--testfiles/src/object-set-test.cpp3
-rw-r--r--testfiles/src/object-style-test.cpp6
-rw-r--r--testfiles/src/object-test.cpp3
-rw-r--r--testfiles/src/sp-gradient-test.cpp3
-rw-r--r--testfiles/src/sp-object-test.cpp3
-rw-r--r--testfiles/src/style-test.cpp3
-rw-r--r--testfiles/src/uri-test.cpp12
18 files changed, 98 insertions, 24 deletions
diff --git a/testfiles/src/attributes-test.cpp b/testfiles/src/attributes-test.cpp
index c211fadb5..808760e1e 100644
--- a/testfiles/src/attributes-test.cpp
+++ b/testfiles/src/attributes-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit tests for attributes.
@@ -7,7 +8,7 @@
*
* Copyright (C) 2015 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <string>
diff --git a/testfiles/src/color-profile-test.cpp b/testfiles/src/color-profile-test.cpp
index 17b74bba1..dcee8427a 100644
--- a/testfiles/src/color-profile-test.cpp
+++ b/testfiles/src/color-profile-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit tests for color profile.
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2015 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include "gtest/gtest.h"
diff --git a/testfiles/src/cxxtests-to-migrate/extract-uri-test.h b/testfiles/src/cxxtests-to-migrate/extract-uri-test.h
index e795960a9..189318cef 100644
--- a/testfiles/src/cxxtests-to-migrate/extract-uri-test.h
+++ b/testfiles/src/cxxtests-to-migrate/extract-uri-test.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef SEEN_EXTRACT_URI_TEST_H
#define SEEN_EXTRACT_URI_TEST_H
diff --git a/testfiles/src/cxxtests-to-migrate/marker-test.h b/testfiles/src/cxxtests-to-migrate/marker-test.h
index bf7e1040a..1a77aff1d 100644
--- a/testfiles/src/cxxtests-to-migrate/marker-test.h
+++ b/testfiles/src/cxxtests-to-migrate/marker-test.h
@@ -1,10 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
* @brief Unit tests for SVG marker handling
- */
-/* Authors:
+ *//*
+ * Authors:
+ * see git history
* Johan Engelen <goejendaagh@zonnet.nl>
*
- * This file is released into the public domain.
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <cxxtest/TestSuite.h>
diff --git a/testfiles/src/cxxtests-to-migrate/mod360-test.h b/testfiles/src/cxxtests-to-migrate/mod360-test.h
index 932361eb3..12ee994ff 100644
--- a/testfiles/src/cxxtests-to-migrate/mod360-test.h
+++ b/testfiles/src/cxxtests-to-migrate/mod360-test.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef SEEN_MOD_360_TEST_H
#define SEEN_MOD_360_TEST_H
diff --git a/testfiles/src/cxxtests-to-migrate/preferences-test.h b/testfiles/src/cxxtests-to-migrate/preferences-test.h
index 92cb14247..0dc04b8ec 100644
--- a/testfiles/src/cxxtests-to-migrate/preferences-test.h
+++ b/testfiles/src/cxxtests-to-migrate/preferences-test.h
@@ -1,10 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
* @brief Unit tests for the Preferences object
- */
-/* Authors:
+ *//*
+ * Authors:
+ * see git history
* Krzysztof KosiƄski <tweenk.pl@gmail.com>
*
- * This file is released into the public domain.
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <cxxtest/TestSuite.h>
diff --git a/testfiles/src/cxxtests-to-migrate/sp-style-elem-test.h b/testfiles/src/cxxtests-to-migrate/sp-style-elem-test.h
index 6f65a48ea..271f319a0 100644
--- a/testfiles/src/cxxtests-to-migrate/sp-style-elem-test.h
+++ b/testfiles/src/cxxtests-to-migrate/sp-style-elem-test.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef SEEN_SP_STYLE_ELEM_TEST_H
#define SEEN_SP_STYLE_ELEM_TEST_H
diff --git a/testfiles/src/cxxtests-to-migrate/test-helpers.h b/testfiles/src/cxxtests-to-migrate/test-helpers.h
index d30449ebb..bae8ab34f 100644
--- a/testfiles/src/cxxtests-to-migrate/test-helpers.h
+++ b/testfiles/src/cxxtests-to-migrate/test-helpers.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#ifndef SEEN_TEST_HELPERS_H
#define SEEN_TEST_HELPERS_H
diff --git a/testfiles/src/cxxtests-to-migrate/uri-test.h b/testfiles/src/cxxtests-to-migrate/uri-test.h
index 2a4cdab46..118546b51 100644
--- a/testfiles/src/cxxtests-to-migrate/uri-test.h
+++ b/testfiles/src/cxxtests-to-migrate/uri-test.h
@@ -1,15 +1,20 @@
-
-#ifndef SEEN_URI_TEST_H
-#define SEEN_URI_TEST_H
-/*
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
* Test uri.h
*
* Written to aid with refactoring the uri handling to support fullPath
* and data URIs and also cover code which wasn't before tested.
+ *//*
+ * Authors:
+ * 2014 BasisTech Boston
*
- * Copyright 2014 (c) BasisTech Boston
- *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
+
+#ifndef SEEN_URI_TEST_H
+#define SEEN_URI_TEST_H
+
#include <cxxtest/TestSuite.h>
#include "uri.h"
diff --git a/testfiles/src/cxxtests-to-migrate/verbs-test.h b/testfiles/src/cxxtests-to-migrate/verbs-test.h
index 04a0b80c0..b8fd29936 100644
--- a/testfiles/src/cxxtests-to-migrate/verbs-test.h
+++ b/testfiles/src/cxxtests-to-migrate/verbs-test.h
@@ -1,3 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
+ * TODO: insert short description here
+ *//*
+ * Authors: see git history
+ *
+ * Copyright (C) 2016 Authors
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
+ */
#include <cxxtest/TestSuite.h>
diff --git a/testfiles/src/dir-util-test.cpp b/testfiles/src/dir-util-test.cpp
index d2e888e7d..25081771a 100644
--- a/testfiles/src/dir-util-test.cpp
+++ b/testfiles/src/dir-util-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit tests for dir utils.
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2015 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include "gtest/gtest.h"
diff --git a/testfiles/src/object-set-test.cpp b/testfiles/src/object-set-test.cpp
index 848a599c0..91c1dc5f7 100644
--- a/testfiles/src/object-set-test.cpp
+++ b/testfiles/src/object-set-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Multiindex container for selection
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2016 Adrian Boguszewski
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <gtest/gtest.h>
#include <doc-per-case-test.h>
diff --git a/testfiles/src/object-style-test.cpp b/testfiles/src/object-style-test.cpp
index 391c5874a..7b73b43c2 100644
--- a/testfiles/src/object-style-test.cpp
+++ b/testfiles/src/object-style-test.cpp
@@ -1,12 +1,14 @@
-/*
+// SPDX-License-Identifier: GPL-2.0-or-later
+/** @file
* Combination style and object testing for cascading and flags.
+ *//*
*
* Authors:
* Martin Owens
*
* Copyright (C) 2018 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL version 2 or later, read the file 'COPYING' for more information
*/
#include <gtest/gtest.h>
diff --git a/testfiles/src/object-test.cpp b/testfiles/src/object-test.cpp
index 565fc1b12..56e067ab2 100644
--- a/testfiles/src/object-test.cpp
+++ b/testfiles/src/object-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit tests migrated from cxxtest
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2018 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <gtest/gtest.h>
diff --git a/testfiles/src/sp-gradient-test.cpp b/testfiles/src/sp-gradient-test.cpp
index 96da055cb..b3347b576 100644
--- a/testfiles/src/sp-gradient-test.cpp
+++ b/testfiles/src/sp-gradient-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit tests migrated from cxxtest
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2018 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <gtest/gtest.h>
diff --git a/testfiles/src/sp-object-test.cpp b/testfiles/src/sp-object-test.cpp
index fdd541d1a..a00cdaf24 100644
--- a/testfiles/src/sp-object-test.cpp
+++ b/testfiles/src/sp-object-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Multiindex container for selection
*
@@ -6,7 +7,7 @@
*
* Copyright (C) 2016 Adrian Boguszewski
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <gtest/gtest.h>
#include <src/object/sp-object.h>
diff --git a/testfiles/src/style-test.cpp b/testfiles/src/style-test.cpp
index d7246132c..1d34e7bef 100644
--- a/testfiles/src/style-test.cpp
+++ b/testfiles/src/style-test.cpp
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Unit test for style properties.
@@ -7,7 +8,7 @@
*
* Copyright (C) 2017 Authors
*
- * Released under GNU GPL, read the file 'COPYING' for more information
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
#include <string>
diff --git a/testfiles/src/uri-test.cpp b/testfiles/src/uri-test.cpp
index c10012d49..847bc4953 100644
--- a/testfiles/src/uri-test.cpp
+++ b/testfiles/src/uri-test.cpp
@@ -1,9 +1,17 @@
-/*
+// SPDX-License-Identifier: GPL-2.0-or-later
+/**
+ * @file
* Test Inkscape::URI
+ */
+/*
+ * Authors:
+ * Thomas Holder
*
- * Copyright 2018 (c) Thomas Holder
+ * Copyright (C) 2018 Authors
*
+ * Released under GNU GPL v2+, read the file 'COPYING' for more information.
*/
+
#include "object/uri.h"
#include "gtest/gtest.h"