summaryrefslogtreecommitdiffstats
path: root/main/tests
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-01-05 00:50:27 +0100
committerRémi Verschelde <rverschelde@gmail.com>2018-01-05 01:22:23 +0100
commite4213e66b2dd8f5a87d8cf5015ac83ba3143279d (patch)
tree884f562c3e39b501187ebbb2a202d9268e3428fb /main/tests
parenteb892cd0f123244446e14fe0c1f40981116c4d37 (diff)
downloadredot-engine-e4213e66b2dd8f5a87d8cf5015ac83ba3143279d.tar.gz
Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
Diffstat (limited to 'main/tests')
-rw-r--r--main/tests/test_gdscript.cpp1
-rw-r--r--main/tests/test_gdscript.h1
-rw-r--r--main/tests/test_gui.cpp1
-rw-r--r--main/tests/test_gui.h1
-rw-r--r--main/tests/test_image.cpp1
-rw-r--r--main/tests/test_image.h1
-rw-r--r--main/tests/test_io.cpp1
-rw-r--r--main/tests/test_io.h1
-rw-r--r--main/tests/test_main.cpp1
-rw-r--r--main/tests/test_main.h1
-rw-r--r--main/tests/test_math.cpp1
-rw-r--r--main/tests/test_math.h1
-rw-r--r--main/tests/test_oa_hash_map.cpp2
-rw-r--r--main/tests/test_oa_hash_map.h1
-rw-r--r--main/tests/test_ordered_hash_map.cpp2
-rw-r--r--main/tests/test_ordered_hash_map.h3
-rw-r--r--main/tests/test_physics.cpp1
-rw-r--r--main/tests/test_physics.h1
-rw-r--r--main/tests/test_physics_2d.cpp1
-rw-r--r--main/tests/test_physics_2d.h1
-rw-r--r--main/tests/test_render.cpp1
-rw-r--r--main/tests/test_render.h1
-rw-r--r--main/tests/test_shader_lang.cpp1
-rw-r--r--main/tests/test_shader_lang.h1
-rw-r--r--main/tests/test_string.cpp1
-rw-r--r--main/tests/test_string.h1
26 files changed, 27 insertions, 3 deletions
diff --git a/main/tests/test_gdscript.cpp b/main/tests/test_gdscript.cpp
index 1580a8e664..5c7633a0cf 100644
--- a/main/tests/test_gdscript.cpp
+++ b/main/tests/test_gdscript.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_gdscript.h"
#include "os/file_access.h"
diff --git a/main/tests/test_gdscript.h b/main/tests/test_gdscript.h
index 218f7a21a0..91e0be1238 100644
--- a/main/tests/test_gdscript.h
+++ b/main/tests/test_gdscript.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_GDSCRIPT_H
#define TEST_GDSCRIPT_H
diff --git a/main/tests/test_gui.cpp b/main/tests/test_gui.cpp
index e9bbd2489e..b7b6c21692 100644
--- a/main/tests/test_gui.cpp
+++ b/main/tests/test_gui.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef _3D_DISABLED
#include "test_gui.h"
diff --git a/main/tests/test_gui.h b/main/tests/test_gui.h
index 156b3ed182..3ed9dae522 100644
--- a/main/tests/test_gui.h
+++ b/main/tests/test_gui.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_GUI_H
#define TEST_GUI_H
diff --git a/main/tests/test_image.cpp b/main/tests/test_image.cpp
index eb7b4f8076..cb87458a93 100644
--- a/main/tests/test_image.cpp
+++ b/main/tests/test_image.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_image.h"
#include "io/image_loader.h"
diff --git a/main/tests/test_image.h b/main/tests/test_image.h
index ce1dabb433..d45b4e4e15 100644
--- a/main/tests/test_image.h
+++ b/main/tests/test_image.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_IMAGE_H
#define TEST_IMAGE_H
diff --git a/main/tests/test_io.cpp b/main/tests/test_io.cpp
index 42d79ba1f6..08dc374ed1 100644
--- a/main/tests/test_io.cpp
+++ b/main/tests/test_io.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_io.h"
#ifdef MINIZIP_ENABLED
diff --git a/main/tests/test_io.h b/main/tests/test_io.h
index 2cc1bfefaf..76567829e7 100644
--- a/main/tests/test_io.h
+++ b/main/tests/test_io.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_IO_H
#define TEST_IO_H
diff --git a/main/tests/test_main.cpp b/main/tests/test_main.cpp
index 41eae89c9e..c9431a1a09 100644
--- a/main/tests/test_main.cpp
+++ b/main/tests/test_main.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "list.h"
#include "os/main_loop.h"
diff --git a/main/tests/test_main.h b/main/tests/test_main.h
index 6f78127521..d319391070 100644
--- a/main/tests/test_main.h
+++ b/main/tests/test_main.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_MAIN_H
#define TEST_MAIN_H
diff --git a/main/tests/test_math.cpp b/main/tests/test_math.cpp
index 515b43a38a..8b71c5dc70 100644
--- a/main/tests/test_math.cpp
+++ b/main/tests/test_math.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_math.h"
#include "camera_matrix.h"
diff --git a/main/tests/test_math.h b/main/tests/test_math.h
index e3b74e94de..26a33aa164 100644
--- a/main/tests/test_math.h
+++ b/main/tests/test_math.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_MATH_H
#define TEST_MATH_H
diff --git a/main/tests/test_oa_hash_map.cpp b/main/tests/test_oa_hash_map.cpp
index 47ae8912b2..ac65fdf19c 100644
--- a/main/tests/test_oa_hash_map.cpp
+++ b/main/tests/test_oa_hash_map.cpp
@@ -1,5 +1,5 @@
/*************************************************************************/
-/* test_oa_hash_map.h */
+/* test_oa_hash_map.cpp */
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
diff --git a/main/tests/test_oa_hash_map.h b/main/tests/test_oa_hash_map.h
index c2812cebb7..a63da537d8 100644
--- a/main/tests/test_oa_hash_map.h
+++ b/main/tests/test_oa_hash_map.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_OA_HASH_MAP_H
#define TEST_OA_HASH_MAP_H
diff --git a/main/tests/test_ordered_hash_map.cpp b/main/tests/test_ordered_hash_map.cpp
index b57bc0bcc9..668a8788ff 100644
--- a/main/tests/test_ordered_hash_map.cpp
+++ b/main/tests/test_ordered_hash_map.cpp
@@ -3,7 +3,7 @@
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
-/* http://www.godotengine.org */
+/* https://godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
diff --git a/main/tests/test_ordered_hash_map.h b/main/tests/test_ordered_hash_map.h
index a327e4e18b..6723e70b79 100644
--- a/main/tests/test_ordered_hash_map.h
+++ b/main/tests/test_ordered_hash_map.h
@@ -3,7 +3,7 @@
/*************************************************************************/
/* This file is part of: */
/* GODOT ENGINE */
-/* http://www.godotengine.org */
+/* https://godotengine.org */
/*************************************************************************/
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_ORDERED_HASH_MAP_H
#define TEST_ORDERED_HASH_MAP_H
diff --git a/main/tests/test_physics.cpp b/main/tests/test_physics.cpp
index 275f67cd86..475663dabe 100644
--- a/main/tests/test_physics.cpp
+++ b/main/tests/test_physics.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_physics.h"
#include "map.h"
diff --git a/main/tests/test_physics.h b/main/tests/test_physics.h
index 2b51899394..4d62f3a0cf 100644
--- a/main/tests/test_physics.h
+++ b/main/tests/test_physics.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_PHYSICS_H
#define TEST_PHYSICS_H
diff --git a/main/tests/test_physics_2d.cpp b/main/tests/test_physics_2d.cpp
index 0af74a656e..482a858650 100644
--- a/main/tests/test_physics_2d.cpp
+++ b/main/tests/test_physics_2d.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_physics_2d.h"
#include "map.h"
diff --git a/main/tests/test_physics_2d.h b/main/tests/test_physics_2d.h
index e927a595ea..1031aa7f71 100644
--- a/main/tests/test_physics_2d.h
+++ b/main/tests/test_physics_2d.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_PHYSICS_2D_H
#define TEST_PHYSICS_2D_H
diff --git a/main/tests/test_render.cpp b/main/tests/test_render.cpp
index fa415e9bca..9340e69bc5 100644
--- a/main/tests/test_render.cpp
+++ b/main/tests/test_render.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_render.h"
#include "math_funcs.h"
diff --git a/main/tests/test_render.h b/main/tests/test_render.h
index c79d9edcc7..9084b57067 100644
--- a/main/tests/test_render.h
+++ b/main/tests/test_render.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_RENDER_H
#define TEST_RENDER_H
diff --git a/main/tests/test_shader_lang.cpp b/main/tests/test_shader_lang.cpp
index 1ca43686d4..63032597ed 100644
--- a/main/tests/test_shader_lang.cpp
+++ b/main/tests/test_shader_lang.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "test_shader_lang.h"
#include "os/file_access.h"
diff --git a/main/tests/test_shader_lang.h b/main/tests/test_shader_lang.h
index 9dd4958c55..235bf10463 100644
--- a/main/tests/test_shader_lang.h
+++ b/main/tests/test_shader_lang.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_SHADER_LANG_H
#define TEST_SHADER_LANG_H
diff --git a/main/tests/test_string.cpp b/main/tests/test_string.cpp
index 129adc5477..5179f6d6d1 100644
--- a/main/tests/test_string.cpp
+++ b/main/tests/test_string.cpp
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#include "ustring.h"
#include <wchar.h>
//#include "math_funcs.h"
diff --git a/main/tests/test_string.h b/main/tests/test_string.h
index 5e34929ff1..110e115309 100644
--- a/main/tests/test_string.h
+++ b/main/tests/test_string.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEST_STRING_H
#define TEST_STRING_H