Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-19 12:48:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-19 12:48:41 +0400
commit7ecc3f47342dafce3afa3cebbd08136b780fef0f (patch)
tree2f9772c4c7333f21e6119d20ee301fa274185a50 /tests
parentce4256ce5e401c3a01aa5d1f22d1a82df0713d53 (diff)
Add brief license headers to tests
These are effectively public-domain, but use apache2.0 to avoid adding new licenses
Diffstat (limited to 'tests')
-rw-r--r--tests/gtests/blenlib/BLI_math_color_test.cc2
-rw-r--r--tests/gtests/blenlib/BLI_math_geom_test.cc2
-rw-r--r--tests/gtests/blenlib/BLI_path_util_test.cc2
-rw-r--r--tests/gtests/guardedalloc/guardedalloc_alignment_test.cc2
-rw-r--r--tests/python/bl_pyapi_mathutils.py2
-rw-r--r--tests/python/bl_pyapi_units.py2
-rw-r--r--tests/python/rna_array.py18
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