[Bf-blender-cvs] [7ecc3f4] master: Add brief license headers to tests

Campbell Barton noreply at git.blender.org
Thu Jun 19 10:49:35 CEST 2014


Commit: 7ecc3f47342dafce3afa3cebbd08136b780fef0f
Author: Campbell Barton
Date:   Thu Jun 19 18:48:41 2014 +1000
https://developer.blender.org/rB7ecc3f47342dafce3afa3cebbd08136b780fef0f

Add brief license headers to tests

These are effectively public-domain, but use apache2.0 to avoid adding new licenses

===================================================================

M	tests/gtests/blenlib/BLI_math_color_test.cc
M	tests/gtests/blenlib/BLI_math_geom_test.cc
M	tests/gtests/blenlib/BLI_path_util_test.cc
M	tests/gtests/guardedalloc/guardedalloc_alignment_test.cc
M	tests/python/bl_pyapi_mathutils.py
M	tests/python/bl_pyapi_units.py
M	tests/python/rna_array.py

===================================================================

diff --git a/tests/gtests/blenlib/BLI_math_color_test.cc b/tests/gtests/blenlib/BLI_math_color_test.cc
index dd3b3f1..be6d7c6 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 36784f5..2f85e6b 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 20ca373..e3a3699 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 68b9be3..38305b3 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 20312ef..d204e58 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 a518b4e..478adef 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 a2241df..d301486 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




More information about the Bf-blender-cvs mailing list