From 7ecc3f47342dafce3afa3cebbd08136b780fef0f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Jun 2014 18:48:41 +1000 Subject: [PATCH] Add brief license headers to tests These are effectively public-domain, but use apache2.0 to avoid adding new licenses --- tests/gtests/blenlib/BLI_math_color_test.cc | 2 ++ tests/gtests/blenlib/BLI_math_geom_test.cc | 2 ++ tests/gtests/blenlib/BLI_path_util_test.cc | 2 ++ .../guardedalloc_alignment_test.cc | 2 ++ tests/python/bl_pyapi_mathutils.py | 2 ++ tests/python/bl_pyapi_units.py | 2 ++ tests/python/rna_array.py | 18 +----------------- 7 files changed, 13 insertions(+), 17 deletions(-) diff --git a/tests/gtests/blenlib/BLI_math_color_test.cc b/tests/gtests/blenlib/BLI_math_color_test.cc index dd3b3f1add1..be6d7c6a55f 100644 --- a/tests/gtests/blenlib/BLI_math_color_test.cc +++ b/tests/gtests/blenlib/BLI_math_color_test.cc @@ -1,3 +1,5 @@ +/* Apache License, Version 2.0 */ + #include "testing/testing.h" #include "BLI_math.h" diff --git a/tests/gtests/blenlib/BLI_math_geom_test.cc b/tests/gtests/blenlib/BLI_math_geom_test.cc index 36784f50dd1..2f85e6b4d7d 100644 --- a/tests/gtests/blenlib/BLI_math_geom_test.cc +++ b/tests/gtests/blenlib/BLI_math_geom_test.cc @@ -1,3 +1,5 @@ +/* Apache License, Version 2.0 */ + #include "testing/testing.h" #include "BLI_math.h" diff --git a/tests/gtests/blenlib/BLI_path_util_test.cc b/tests/gtests/blenlib/BLI_path_util_test.cc index 20ca3731b8f..e3a3699e5c1 100644 --- a/tests/gtests/blenlib/BLI_path_util_test.cc +++ b/tests/gtests/blenlib/BLI_path_util_test.cc @@ -1,3 +1,5 @@ +/* Apache License, Version 2.0 */ + #include "testing/testing.h" extern "C" { diff --git a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc index 68b9be3b462..38305b388e0 100644 --- a/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc +++ b/tests/gtests/guardedalloc/guardedalloc_alignment_test.cc @@ -1,3 +1,5 @@ +/* Apache License, Version 2.0 */ + #include "testing/testing.h" #include "MEM_guardedalloc.h" diff --git a/tests/python/bl_pyapi_mathutils.py b/tests/python/bl_pyapi_mathutils.py index 20312efcc02..d204e58dbd4 100644 --- a/tests/python/bl_pyapi_mathutils.py +++ b/tests/python/bl_pyapi_mathutils.py @@ -1,3 +1,5 @@ +# Apache License, Version 2.0 + # ./blender.bin --background -noaudio --python tests/python/bl_pyapi_mathutils.py import unittest from test import support diff --git a/tests/python/bl_pyapi_units.py b/tests/python/bl_pyapi_units.py index a518b4e0caf..478adef51b2 100644 --- a/tests/python/bl_pyapi_units.py +++ b/tests/python/bl_pyapi_units.py @@ -1,3 +1,5 @@ +# Apache License, Version 2.0 + # ./blender.bin --background -noaudio --python tests/python/bl_pyapi_units.py import unittest from test import support diff --git a/tests/python/rna_array.py b/tests/python/rna_array.py index a2241dff108..d3014868bcb 100644 --- a/tests/python/rna_array.py +++ b/tests/python/rna_array.py @@ -1,20 +1,4 @@ -# ##### BEGIN GPL LICENSE BLOCK ##### -# -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program 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 General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software Foundation, -# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# ##### END GPL LICENSE BLOCK ##### +# Apache License, Version 2.0 import unittest import random