diff options
Diffstat (limited to 'tests')
141 files changed, 671 insertions, 372 deletions
diff --git a/tests/core/config/test_project_settings.h b/tests/core/config/test_project_settings.h index 5a000b19a0..884a24b9ae 100644 --- a/tests/core/config/test_project_settings.h +++ b/tests/core/config/test_project_settings.h @@ -2,9 +2,11 @@ /* test_project_settings.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/input/test_input_event.h b/tests/core/input/test_input_event.h index c6a287e47b..62f9469227 100644 --- a/tests/core/input/test_input_event.h +++ b/tests/core/input/test_input_event.h @@ -2,9 +2,11 @@ /* test_input_event.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/input/test_input_event_key.h b/tests/core/input/test_input_event_key.h index 80918542ce..baeae5dcb5 100644 --- a/tests/core/input/test_input_event_key.h +++ b/tests/core/input/test_input_event_key.h @@ -2,9 +2,11 @@ /* test_input_event_key.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/input/test_input_event_mouse.h b/tests/core/input/test_input_event_mouse.h index 0da4f14160..43db7f35f9 100644 --- a/tests/core/input/test_input_event_mouse.h +++ b/tests/core/input/test_input_event_mouse.h @@ -2,9 +2,11 @@ /* test_input_event_mouse.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/input/test_shortcut.h b/tests/core/input/test_shortcut.h index eaa4400bd4..99c4a9956f 100644 --- a/tests/core/input/test_shortcut.h +++ b/tests/core/input/test_shortcut.h @@ -2,9 +2,11 @@ /* test_shortcut.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_config_file.h b/tests/core/io/test_config_file.h index a669906bdb..36bfeeacf9 100644 --- a/tests/core/io/test_config_file.h +++ b/tests/core/io/test_config_file.h @@ -2,9 +2,11 @@ /* test_config_file.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -47,7 +49,7 @@ TEST_CASE("[ConfigFile] Parsing well-formatted files") { name = "Unnamed Player" tagline="Waiting for -Godot" +Redot" color =Color( 0, 0.5,1, 1) ; Inline comment position= Vector2( @@ -68,7 +70,7 @@ antiAliasing = false String(config_file.get_value("player", "name")) == "Unnamed Player", "Reading `player/name` should return the expected value."); CHECK_MESSAGE( - String(config_file.get_value("player", "tagline")) == "Waiting\nfor\nGodot", + String(config_file.get_value("player", "tagline")) == "Waiting\nfor\nRedot", "Reading `player/tagline` should return the expected value."); CHECK_MESSAGE( Color(config_file.get_value("player", "color")).is_equal_approx(Color(0, 0.5, 1)), @@ -96,7 +98,7 @@ TEST_CASE("[ConfigFile] Parsing malformatted file") { [player] name = "Unnamed Player"" ; Extraneous closing quote. -tagline = "Waiting\nfor\nGodot" +tagline = "Waiting\nfor\nRedot" color = Color(0, 0.5, 1) ; Missing 4th parameter. position = Vector2( @@ -118,7 +120,7 @@ antialiasing = false ; Duplicate key. TEST_CASE("[ConfigFile] Saving file") { ConfigFile config_file; config_file.set_value("player", "name", "Unnamed Player"); - config_file.set_value("player", "tagline", "Waiting\nfor\nGodot"); + config_file.set_value("player", "tagline", "Waiting\nfor\nRedot"); config_file.set_value("player", "color", Color(0, 0.5, 1)); config_file.set_value("player", "position", Vector2(3, 4)); config_file.set_value("graphics", "antialiasing", true); @@ -140,7 +142,7 @@ TEST_CASE("[ConfigFile] Saving file") { name="Unnamed Player" tagline="Waiting for -Godot" +Redot" color=Color(0, 0.5, 1, 1) position=Vector2(3, 4) diff --git a/tests/core/io/test_file_access.h b/tests/core/io/test_file_access.h index 00d33eaf30..0d71f8dc3d 100644 --- a/tests/core/io/test_file_access.h +++ b/tests/core/io/test_file_access.h @@ -2,9 +2,11 @@ /* test_file_access.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_http_client.h b/tests/core/io/test_http_client.h index 114ce3b4ed..b869eadeeb 100644 --- a/tests/core/io/test_http_client.h +++ b/tests/core/io/test_http_client.h @@ -2,9 +2,11 @@ /* test_http_client.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_image.h b/tests/core/io/test_image.h index 0698c60f2a..f5afda0bb5 100644 --- a/tests/core/io/test_image.h +++ b/tests/core/io/test_image.h @@ -2,9 +2,11 @@ /* test_image.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_ip.h b/tests/core/io/test_ip.h index 7b5583faa0..4e3ef5778b 100644 --- a/tests/core/io/test_ip.h +++ b/tests/core/io/test_ip.h @@ -2,9 +2,11 @@ /* test_ip.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_json.h b/tests/core/io/test_json.h index bf2ed42740..6934e4d211 100644 --- a/tests/core/io/test_json.h +++ b/tests/core/io/test_json.h @@ -2,9 +2,11 @@ /* test_json.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -127,11 +129,11 @@ TEST_CASE("[JSON] Parsing arrays") { TEST_CASE("[JSON] Parsing objects (dictionaries)") { JSON json; - json.parse(R"({"name": "Godot Engine", "is_free": true, "bugs": null, "apples": {"red": 500, "green": 0, "blue": -20}, "empty_object": {}})"); + json.parse(R"({"name": "Redot Engine", "is_free": true, "bugs": null, "apples": {"red": 500, "green": 0, "blue": -20}, "empty_object": {}})"); const Dictionary dictionary = json.get_data(); CHECK_MESSAGE( - dictionary["name"] == "Godot Engine", + dictionary["name"] == "Redot Engine", "The parsed JSON should contain the expected values."); CHECK_MESSAGE( dictionary["is_free"], diff --git a/tests/core/io/test_json_native.h b/tests/core/io/test_json_native.h index 819078ac57..6bb205ec31 100644 --- a/tests/core/io/test_json_native.h +++ b/tests/core/io/test_json_native.h @@ -2,9 +2,11 @@ /* test_json_native.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_marshalls.h b/tests/core/io/test_marshalls.h index eb92c3f752..b506d283a5 100644 --- a/tests/core/io/test_marshalls.h +++ b/tests/core/io/test_marshalls.h @@ -2,9 +2,11 @@ /* test_marshalls.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -162,13 +164,13 @@ TEST_CASE("[Marshalls] Floating point double precision decoding") { } TEST_CASE("[Marshalls] C string encoding") { - char cstring[] = "Godot"; // 5 characters + char cstring[] = "Redot"; // 5 characters uint8_t data[6]; int actual_size = encode_cstring(cstring, data); CHECK(actual_size == 6); - CHECK(data[0] == 'G'); - CHECK(data[1] == 'o'); + CHECK(data[0] == 'R'); + CHECK(data[1] == 'e'); CHECK(data[2] == 'd'); CHECK(data[3] == 'o'); CHECK(data[4] == 't'); diff --git a/tests/core/io/test_packet_peer.h b/tests/core/io/test_packet_peer.h index 59c8dadad8..e0ea570684 100644 --- a/tests/core/io/test_packet_peer.h +++ b/tests/core/io/test_packet_peer.h @@ -2,9 +2,11 @@ /* test_packet_peer.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -68,7 +70,7 @@ TEST_CASE("[PacketPeer][PacketPeerStream] Encode buffer max size") { } TEST_CASE("[PacketPeer][PacketPeerStream] Read a variant from peer") { - String godot_rules = "Godot Rules!!!"; + String godot_rules = "Redot Rules!!!"; Ref<StreamPeerBuffer> spb; spb.instantiate(); @@ -95,7 +97,7 @@ TEST_CASE("[PacketPeer][PacketPeerStream] Read a variant from peer fails") { } TEST_CASE("[PacketPeer][PacketPeerStream] Put a variant to peer") { - String godot_rules = "Godot Rules!!!"; + String godot_rules = "Redot Rules!!!"; Ref<StreamPeerBuffer> spb; spb.instantiate(); @@ -127,7 +129,7 @@ TEST_CASE("[PacketPeer][PacketPeerStream] Put a variant to peer out of memory fa } TEST_CASE("[PacketPeer][PacketPeerStream] Get packet buffer") { - String godot_rules = "Godot Rules!!!"; + String godot_rules = "Redot Rules!!!"; Ref<StreamPeerBuffer> spb; spb.instantiate(); @@ -164,7 +166,7 @@ TEST_CASE("[PacketPeer][PacketPeerStream] Get packet buffer from an empty peer") } TEST_CASE("[PacketPeer][PacketPeerStream] Put packet buffer") { - String godot_rules = "Godot Rules!!!"; + String godot_rules = "Redot Rules!!!"; Ref<StreamPeerBuffer> spb; spb.instantiate(); diff --git a/tests/core/io/test_pck_packer.h b/tests/core/io/test_pck_packer.h index 7ef9451963..1891398327 100644 --- a/tests/core/io/test_pck_packer.h +++ b/tests/core/io/test_pck_packer.h @@ -2,9 +2,11 @@ /* test_pck_packer.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -111,7 +113,7 @@ TEST_CASE("[PCKPacker] Pack a PCK file with some files and directories") { err == OK, "The generated non-empty PCK file should be opened successfully."); CHECK_MESSAGE( - f->get_length() >= 18000, + f->get_length() >= 12000, "The generated non-empty PCK file should be large enough to actually hold the contents specified above."); CHECK_MESSAGE( f->get_length() <= 27000, diff --git a/tests/core/io/test_resource.h b/tests/core/io/test_resource.h index cb1fa290b3..21cb6cc83f 100644 --- a/tests/core/io/test_resource.h +++ b/tests/core/io/test_resource.h @@ -2,9 +2,11 @@ /* test_resource.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_stream_peer.h b/tests/core/io/test_stream_peer.h index 961b4ac070..bc807fd79c 100644 --- a/tests/core/io/test_stream_peer.h +++ b/tests/core/io/test_stream_peer.h @@ -2,9 +2,11 @@ /* test_stream_peer.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_stream_peer_buffer.h b/tests/core/io/test_stream_peer_buffer.h index 8ba9c0a72c..6fcece3025 100644 --- a/tests/core/io/test_stream_peer_buffer.h +++ b/tests/core/io/test_stream_peer_buffer.h @@ -2,9 +2,11 @@ /* test_stream_peer_buffer.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/io/test_xml_parser.h b/tests/core/io/test_xml_parser.h index 40cbea2dab..84158de61a 100644 --- a/tests/core/io/test_xml_parser.h +++ b/tests/core/io/test_xml_parser.h @@ -2,9 +2,11 @@ /* test_xml_parser.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_aabb.h b/tests/core/math/test_aabb.h index eb6977fd69..5ce77c7fe7 100644 --- a/tests/core/math/test_aabb.h +++ b/tests/core/math/test_aabb.h @@ -2,9 +2,11 @@ /* test_aabb.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_astar.h b/tests/core/math/test_astar.h index 3b12dcee6c..13399c2476 100644 --- a/tests/core/math/test_astar.h +++ b/tests/core/math/test_astar.h @@ -2,9 +2,11 @@ /* test_astar.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_basis.h b/tests/core/math/test_basis.h index f8c5ef279d..594dd2623d 100644 --- a/tests/core/math/test_basis.h +++ b/tests/core/math/test_basis.h @@ -2,9 +2,11 @@ /* test_basis.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_color.h b/tests/core/math/test_color.h index 3d36079102..591f6baac1 100644 --- a/tests/core/math/test_color.h +++ b/tests/core/math/test_color.h @@ -2,9 +2,11 @@ /* test_color.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_expression.h b/tests/core/math/test_expression.h index c3e4280491..4266b65bb1 100644 --- a/tests/core/math/test_expression.h +++ b/tests/core/math/test_expression.h @@ -2,9 +2,11 @@ /* test_expression.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_geometry_2d.h b/tests/core/math/test_geometry_2d.h index a4bb6dfca0..877b625623 100644 --- a/tests/core/math/test_geometry_2d.h +++ b/tests/core/math/test_geometry_2d.h @@ -2,9 +2,11 @@ /* test_geometry_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_geometry_3d.h b/tests/core/math/test_geometry_3d.h index aaa02cb6a8..a30405cb5e 100644 --- a/tests/core/math/test_geometry_3d.h +++ b/tests/core/math/test_geometry_3d.h @@ -2,9 +2,11 @@ /* test_geometry_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_math_funcs.h b/tests/core/math/test_math_funcs.h index 68540e4d61..1a692e7eff 100644 --- a/tests/core/math/test_math_funcs.h +++ b/tests/core/math/test_math_funcs.h @@ -2,9 +2,11 @@ /* test_math_funcs.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_plane.h b/tests/core/math/test_plane.h index f784a29a17..e759da8f74 100644 --- a/tests/core/math/test_plane.h +++ b/tests/core/math/test_plane.h @@ -2,9 +2,11 @@ /* test_plane.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_projection.h b/tests/core/math/test_projection.h index 7f41aaee3e..b2ef620565 100644 --- a/tests/core/math/test_projection.h +++ b/tests/core/math/test_projection.h @@ -2,9 +2,11 @@ /* test_projection.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_quaternion.h b/tests/core/math/test_quaternion.h index 40db43b88b..d78a7e55d0 100644 --- a/tests/core/math/test_quaternion.h +++ b/tests/core/math/test_quaternion.h @@ -2,9 +2,11 @@ /* test_quaternion.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -292,7 +294,7 @@ TEST_CASE("[Quaternion] Product") { // Test ZYX dynamic-axes since test data is available online. // Rotate first about X axis, then new Y axis, then new Z axis. - // (Godot uses YXZ Yaw-Pitch-Roll order). + // (Redot uses YXZ Yaw-Pitch-Roll order). Quaternion q_yp = q_y * q_p; CHECK(q_yp[0] == doctest::Approx(0.239118)); CHECK(q_yp[1] == doctest::Approx(0.369644)); diff --git a/tests/core/math/test_random_number_generator.h b/tests/core/math/test_random_number_generator.h index d88c0f6752..5123756ca1 100644 --- a/tests/core/math/test_random_number_generator.h +++ b/tests/core/math/test_random_number_generator.h @@ -2,9 +2,11 @@ /* test_random_number_generator.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_rect2.h b/tests/core/math/test_rect2.h index a93bfeb71b..1c3c28fc80 100644 --- a/tests/core/math/test_rect2.h +++ b/tests/core/math/test_rect2.h @@ -2,9 +2,11 @@ /* test_rect2.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_rect2i.h b/tests/core/math/test_rect2i.h index 2c09348c83..4ae50ab5e3 100644 --- a/tests/core/math/test_rect2i.h +++ b/tests/core/math/test_rect2i.h @@ -2,9 +2,11 @@ /* test_rect2i.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_transform_2d.h b/tests/core/math/test_transform_2d.h index 6d3c80e5ca..da472de504 100644 --- a/tests/core/math/test_transform_2d.h +++ b/tests/core/math/test_transform_2d.h @@ -2,9 +2,11 @@ /* test_transform_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_transform_3d.h b/tests/core/math/test_transform_3d.h index fba0fcb280..4ef8358304 100644 --- a/tests/core/math/test_transform_3d.h +++ b/tests/core/math/test_transform_3d.h @@ -2,9 +2,11 @@ /* test_transform_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector2.h b/tests/core/math/test_vector2.h index 7bd494ec80..3ca329a312 100644 --- a/tests/core/math/test_vector2.h +++ b/tests/core/math/test_vector2.h @@ -2,9 +2,11 @@ /* test_vector2.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector2i.h b/tests/core/math/test_vector2i.h index 0f33400f7f..c4b26f4db6 100644 --- a/tests/core/math/test_vector2i.h +++ b/tests/core/math/test_vector2i.h @@ -2,9 +2,11 @@ /* test_vector2i.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector3.h b/tests/core/math/test_vector3.h index 4cab753d6f..f6b61c2cdf 100644 --- a/tests/core/math/test_vector3.h +++ b/tests/core/math/test_vector3.h @@ -2,9 +2,11 @@ /* test_vector3.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector3i.h b/tests/core/math/test_vector3i.h index 3914b85a75..38b93bf571 100644 --- a/tests/core/math/test_vector3i.h +++ b/tests/core/math/test_vector3i.h @@ -2,9 +2,11 @@ /* test_vector3i.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector4.h b/tests/core/math/test_vector4.h index 331e0fcfd5..1cdac02156 100644 --- a/tests/core/math/test_vector4.h +++ b/tests/core/math/test_vector4.h @@ -2,9 +2,11 @@ /* test_vector4.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/math/test_vector4i.h b/tests/core/math/test_vector4i.h index 31f68696c0..f3f9778bd6 100644 --- a/tests/core/math/test_vector4i.h +++ b/tests/core/math/test_vector4i.h @@ -2,9 +2,11 @@ /* test_vector4i.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/object/test_class_db.h b/tests/core/object/test_class_db.h index b38d3d3e61..d6684f2deb 100644 --- a/tests/core/object/test_class_db.h +++ b/tests/core/object/test_class_db.h @@ -2,9 +2,11 @@ /* test_class_db.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/object/test_method_bind.h b/tests/core/object/test_method_bind.h index e31e4dcb0f..c7fce1a19c 100644 --- a/tests/core/object/test_method_bind.h +++ b/tests/core/object/test_method_bind.h @@ -2,9 +2,11 @@ /* test_method_bind.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/object/test_object.h b/tests/core/object/test_object.h index 55c53e2d03..0776d07740 100644 --- a/tests/core/object/test_object.h +++ b/tests/core/object/test_object.h @@ -2,9 +2,11 @@ /* test_object.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/object/test_undo_redo.h b/tests/core/object/test_undo_redo.h index ad3554b58c..1f99483b57 100644 --- a/tests/core/object/test_undo_redo.h +++ b/tests/core/object/test_undo_redo.h @@ -2,9 +2,11 @@ /* test_undo_redo.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/os/test_os.h b/tests/core/os/test_os.h index 1e2f5e222b..a37902bb76 100644 --- a/tests/core/os/test_os.h +++ b/tests/core/os/test_os.h @@ -2,9 +2,11 @@ /* test_os.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -182,7 +184,7 @@ TEST_CASE("[OS] Execute") { const Error err = OS::get_singleton()->execute("cmd", arguments, nullptr, &exit_code); CHECK_MESSAGE( err == OK, - "(Running the command `cmd /C \"dir > NUL\"` returns the expected Godot error code (OK)."); + "(Running the command `cmd /C \"dir > NUL\"` returns the expected Redot error code (OK)."); CHECK_MESSAGE( exit_code == 0, "Running the command `cmd /C \"dir > NUL\"` returns a zero (successful) exit code."); @@ -194,7 +196,7 @@ TEST_CASE("[OS] Execute") { const Error err = OS::get_singleton()->execute("sh", arguments, nullptr, &exit_code); CHECK_MESSAGE( err == OK, - "(Running the command `sh -c \"ls > /dev/null\"` returns the expected Godot error code (OK)."); + "(Running the command `sh -c \"ls > /dev/null\"` returns the expected Redot error code (OK)."); CHECK_MESSAGE( exit_code == 0, "Running the command `sh -c \"ls > /dev/null\"` returns a zero (successful) exit code."); diff --git a/tests/core/string/test_fuzzy_search.h b/tests/core/string/test_fuzzy_search.h index d647ebdd1a..bf131e6e4a 100644 --- a/tests/core/string/test_fuzzy_search.h +++ b/tests/core/string/test_fuzzy_search.h @@ -2,9 +2,11 @@ /* test_fuzzy_search.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/string/test_node_path.h b/tests/core/string/test_node_path.h index bdbc578e85..1ee2d3ab97 100644 --- a/tests/core/string/test_node_path.h +++ b/tests/core/string/test_node_path.h @@ -2,9 +2,11 @@ /* test_node_path.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/string/test_string.h b/tests/core/string/test_string.h index 9adc97e845..fd9b43a677 100644 --- a/tests/core/string/test_string.h +++ b/tests/core/string/test_string.h @@ -2,9 +2,11 @@ /* test_string.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -285,9 +287,9 @@ TEST_CASE("[String] Testing for empty string") { } TEST_CASE("[String] Contains") { - String s = "C:\\Godot\\project\\string_test.tscn"; + String s = "C:\\Redot\\project\\string_test.tscn"; CHECK(s.contains(":\\")); - CHECK(s.contains("Godot")); + CHECK(s.contains("Redot")); CHECK(s.contains(String("project\\string_test"))); CHECK(s.contains(String("\\string_test.tscn"))); @@ -298,9 +300,9 @@ TEST_CASE("[String] Contains") { } TEST_CASE("[String] Contains case insensitive") { - String s = "C:\\Godot\\project\\string_test.tscn"; - CHECK(s.containsn("Godot")); - CHECK(s.containsn("godot")); + String s = "C:\\Redot\\project\\string_test.tscn"; + CHECK(s.containsn("Redot")); + CHECK(s.containsn("Redot")); CHECK(s.containsn(String("Project\\string_test"))); CHECK(s.containsn(String("\\string_Test.tscn"))); @@ -1457,7 +1459,7 @@ TEST_CASE("[String] Checking string is empty when it should be") { if (!success) { state = false; } - String b = "Godot"; + String b = "Redot"; success = b[b.size()] == 0; if (!success) { state = false; @@ -1468,7 +1470,7 @@ TEST_CASE("[String] Checking string is empty when it should be") { state = false; } - const String d = "Godot"; + const String d = "Redot"; success = d[d.size()] == 0; if (!success) { state = false; @@ -1594,7 +1596,7 @@ TEST_CASE("[String] Count and countn functionality") { s = "TestTestTest"; MULTICHECK_STRING_EQ(s, count, "TestTest", 1); - s = "TestGodotTestGodotTestGodot"; + s = "TestRedotTestRedotTestRedot"; MULTICHECK_STRING_EQ(s, count, "Test", 3); s = "TestTestTestTest"; @@ -1663,12 +1665,12 @@ TEST_CASE("[String] dedent") { } TEST_CASE("[String] Path functions") { - static const char *path[8] = { "C:\\Godot\\project\\test.tscn", "/Godot/project/test.xscn", "../Godot/project/test.scn", "Godot\\test.doc", "C:\\test.", "res://test", "user://test", "/.test" }; - static const char *base_dir[8] = { "C:\\Godot\\project", "/Godot/project", "../Godot/project", "Godot", "C:\\", "res://", "user://", "/" }; - static const char *base_name[8] = { "C:\\Godot\\project\\test", "/Godot/project/test", "../Godot/project/test", "Godot\\test", "C:\\test", "res://test", "user://test", "/" }; + static const char *path[8] = { "C:\\Redot\\project\\test.tscn", "/Redot/project/test.xscn", "../Redot/project/test.scn", "Redot\\test.doc", "C:\\test.", "res://test", "user://test", "/.test" }; + static const char *base_dir[8] = { "C:\\Redot\\project", "/Redot/project", "../Redot/project", "Redot", "C:\\", "res://", "user://", "/" }; + static const char *base_name[8] = { "C:\\Redot\\project\\test", "/Redot/project/test", "../Redot/project/test", "Redot\\test", "C:\\test", "res://test", "user://test", "/" }; static const char *ext[8] = { "tscn", "xscn", "scn", "doc", "", "", "", "test" }; static const char *file[8] = { "test.tscn", "test.xscn", "test.scn", "test.doc", "test.", "test", "test", ".test" }; - static const char *simplified[8] = { "C:/Godot/project/test.tscn", "/Godot/project/test.xscn", "../Godot/project/test.scn", "Godot/test.doc", "C:/test.", "res://test", "user://test", "/.test" }; + static const char *simplified[8] = { "C:/Redot/project/test.tscn", "/Redot/project/test.xscn", "../Redot/project/test.scn", "Redot/test.doc", "C:/test.", "res://test", "user://test", "/.test" }; static const bool abs[8] = { true, true, false, false, true, true, true, true }; for (int i = 0; i < 8; i++) { @@ -1701,8 +1703,8 @@ TEST_CASE("[String] hash") { } TEST_CASE("[String] uri_encode/unescape") { - String s = "Godot Engine:'docs'"; - String t = "Godot%20Engine%3A%27docs%27"; + String s = "Redot Engine:'docs'"; + String t = "Redot%20Engine%3A%27docs%27"; String x1 = "T%C4%93%C5%A1t"; static const uint8_t u8str[] = { 0x54, 0xC4, 0x93, 0xC5, 0xA1, 0x74, 0x00 }; @@ -1829,20 +1831,32 @@ TEST_CASE("[String] Reverse") { } TEST_CASE("[String] SHA1/SHA256/MD5") { - String s = "Godot"; - String sha1 = "a1e91f39b9fce6a9998b14bdbe2aa2b39dc2d201"; + String s = "Redot"; + String sha1 = "fa4e7bc6eda6baf3600e392f46be46f699bd5a8a"; static uint8_t sha1_buf[20] = { - 0xA1, 0xE9, 0x1F, 0x39, 0xB9, 0xFC, 0xE6, 0xA9, 0x99, 0x8B, 0x14, 0xBD, 0xBE, 0x2A, 0xA2, 0xB3, - 0x9D, 0xC2, 0xD2, 0x01 + 0xFA, 0x4E, 0x7B, 0xC6, + 0xED, 0xA6, 0xBA, 0xF3, + 0x60, 0x0E, 0x39, 0x2F, + 0x46, 0xBE, 0x46, 0xF6, + 0x99, 0xBD, 0x5A, 0x8A }; - String sha256 = "2a02b2443f7985d89d09001086ae3dcfa6eb0f55c6ef170715d42328e16e6cb8"; + String sha256 = "5b33770f1e60d19c83ba6be484306fa1fcf5266e6ee8de2f4456483e92327c1a"; static uint8_t sha256_buf[32] = { - 0x2A, 0x02, 0xB2, 0x44, 0x3F, 0x79, 0x85, 0xD8, 0x9D, 0x09, 0x00, 0x10, 0x86, 0xAE, 0x3D, 0xCF, - 0xA6, 0xEB, 0x0F, 0x55, 0xC6, 0xEF, 0x17, 0x07, 0x15, 0xD4, 0x23, 0x28, 0xE1, 0x6E, 0x6C, 0xB8 + 0x5B, 0x33, 0x77, 0x0F, + 0x1E, 0x60, 0xD1, 0x9C, + 0x83, 0xBA, 0x6B, 0xE4, + 0x84, 0x30, 0x6F, 0xA1, + 0xFC, 0xF5, 0x26, 0x6E, + 0x6E, 0xE8, 0xDE, 0x2F, + 0x44, 0x56, 0x48, 0x3E, + 0x92, 0x32, 0x7C, 0x1A }; - String md5 = "4a336d087aeb0390da10ee2ea7cb87f8"; + String md5 = "a417866a47d1710210ed143c47ad5e4d"; static uint8_t md5_buf[16] = { - 0x4A, 0x33, 0x6D, 0x08, 0x7A, 0xEB, 0x03, 0x90, 0xDA, 0x10, 0xEE, 0x2E, 0xA7, 0xCB, 0x87, 0xF8 + 0xA4, 0x17, 0x86, 0x6A, + 0x47, 0xD1, 0x71, 0x02, + 0x10, 0xED, 0x14, 0x3C, + 0x47, 0xAD, 0x5E, 0x4D }; PackedByteArray buf = s.sha1_buffer(); @@ -2042,18 +2056,19 @@ TEST_CASE("[String][URL] Parse URL") { CHECK_URL("https://www.example.com:8080/path/to/file.html#fragment", "https://", "www.example.com", 8080, "/path/to/file.html", "fragment", Error::OK); // Valid URLs. - CHECK_URL("https://godotengine.org", "https://", "godotengine.org", 0, "", "", Error::OK); - CHECK_URL("https://godotengine.org/", "https://", "godotengine.org", 0, "/", "", Error::OK); - CHECK_URL("godotengine.org/", "", "godotengine.org", 0, "/", "", Error::OK); - CHECK_URL("HTTPS://godotengine.org/", "https://", "godotengine.org", 0, "/", "", Error::OK); - CHECK_URL("https://GODOTENGINE.ORG/", "https://", "godotengine.org", 0, "/", "", Error::OK); - CHECK_URL("http://godotengine.org", "http://", "godotengine.org", 0, "", "", Error::OK); - CHECK_URL("https://godotengine.org:8080", "https://", "godotengine.org", 8080, "", "", Error::OK); - CHECK_URL("https://godotengine.org/blog", "https://", "godotengine.org", 0, "/blog", "", Error::OK); - CHECK_URL("https://godotengine.org/blog/", "https://", "godotengine.org", 0, "/blog/", "", Error::OK); - CHECK_URL("https://docs.godotengine.org/en/stable", "https://", "docs.godotengine.org", 0, "/en/stable", "", Error::OK); - CHECK_URL("https://docs.godotengine.org/en/stable/", "https://", "docs.godotengine.org", 0, "/en/stable/", "", Error::OK); - CHECK_URL("https://me:secret@godotengine.org", "https://", "godotengine.org", 0, "", "", Error::OK); + CHECK_URL("https://redotengine.org", "https://", "redotengine.org", 0, "", "", Error::OK); + CHECK_URL("https://redotengine.org/", "https://", "redotengine.org", 0, "/", "", Error::OK); + CHECK_URL("redotengine.org/", "", "redotengine.org", 0, "/", "", Error::OK); + CHECK_URL("HTTPS://redotengine.org/", "https://", "redotengine.org", 0, "/", "", Error::OK); + CHECK_URL("https://REDOTENGINE.ORG/", "https://", "redotengine.org", 0, "/", "", Error::OK); + CHECK_URL("http://redotengine.org", "http://", "redotengine.org", 0, "", "", Error::OK); + CHECK_URL("https://redotengine.org:8080", "https://", "redotengine.org", 8080, "", "", Error::OK); + CHECK_URL("https://redotengine.org/blog", "https://", "redotengine.org", 0, "/blog", "", Error::OK); + CHECK_URL("https://redotengine.org/blog/", "https://", "redotengine.org", 0, "/blog/", "", Error::OK); + CHECK_URL("https://docs.redotengine.org/en/stable", "https://", "docs.redotengine.org", 0, "/en/stable", "", Error::OK); + CHECK_URL("https://docs.redotengine.org/en/stable/", "https://", "docs.redotengine.org", 0, "/en/stable/", "", Error::OK); + CHECK_URL("https://me:secret@redotengine.org", "https://", "redotengine.org", 0, "", "", Error::OK); + // TODO: ADD redotengine.org ipv6" CHECK_URL("https://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]/ipv6", "https://", "fedc:ba98:7654:3210:fedc:ba98:7654:3210", 0, "/ipv6", "", Error::OK); // Scheme vs Fragment. @@ -2062,18 +2077,18 @@ TEST_CASE("[String][URL] Parse URL") { // Invalid URLs. // Invalid Scheme. - CHECK_URL("https_://godotengine.org", "", "https_", 0, "//godotengine.org", "", Error::ERR_INVALID_PARAMETER); + CHECK_URL("https_://redotengine.org", "", "https_", 0, "//redotengine.org", "", Error::ERR_INVALID_PARAMETER); // Multiple ports. - CHECK_URL("https://godotengine.org:8080:433", "https://", "", 0, "", "", Error::ERR_INVALID_PARAMETER); + CHECK_URL("https://redotengine.org:8080:433", "https://", "", 0, "", "", Error::ERR_INVALID_PARAMETER); // Missing ] on literal IPv6. CHECK_URL("https://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210/ipv6", "https://", "", 0, "/ipv6", "", Error::ERR_INVALID_PARAMETER); // Missing host. CHECK_URL("https:///blog", "https://", "", 0, "/blog", "", Error::ERR_INVALID_PARAMETER); // Invalid ports. - CHECK_URL("https://godotengine.org:notaport", "https://", "godotengine.org", 0, "", "", Error::ERR_INVALID_PARAMETER); - CHECK_URL("https://godotengine.org:-8080", "https://", "godotengine.org", -8080, "", "", Error::ERR_INVALID_PARAMETER); - CHECK_URL("https://godotengine.org:88888", "https://", "godotengine.org", 88888, "", "", Error::ERR_INVALID_PARAMETER); + CHECK_URL("https://redotengine.org:notaport", "https://", "redotengine.org", 0, "", "", Error::ERR_INVALID_PARAMETER); + CHECK_URL("https://redotengine.org:-8080", "https://", "redotengine.org", -8080, "", "", Error::ERR_INVALID_PARAMETER); + CHECK_URL("https://redotengine.org:88888", "https://", "redotengine.org", 88888, "", "", Error::ERR_INVALID_PARAMETER); #undef CHECK_URL } diff --git a/tests/core/string/test_translation.h b/tests/core/string/test_translation.h index 2b1069d40c..cf96c356bc 100644 --- a/tests/core/string/test_translation.h +++ b/tests/core/string/test_translation.h @@ -2,9 +2,11 @@ /* test_translation.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/string/test_translation_server.h b/tests/core/string/test_translation_server.h index 1274d8810e..6d35fef550 100644 --- a/tests/core/string/test_translation_server.h +++ b/tests/core/string/test_translation_server.h @@ -2,9 +2,11 @@ /* test_translation_server.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_a_hash_map.h b/tests/core/templates/test_a_hash_map.h index e67ee7b441..112d11cf87 100644 --- a/tests/core/templates/test_a_hash_map.h +++ b/tests/core/templates/test_a_hash_map.h @@ -2,9 +2,11 @@ /* test_a_hash_map.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_command_queue.h b/tests/core/templates/test_command_queue.h index d2957b5c40..ad3c10fb2d 100644 --- a/tests/core/templates/test_command_queue.h +++ b/tests/core/templates/test_command_queue.h @@ -2,9 +2,11 @@ /* test_command_queue.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_hash_map.h b/tests/core/templates/test_hash_map.h index 6636afe9c6..7da884ce29 100644 --- a/tests/core/templates/test_hash_map.h +++ b/tests/core/templates/test_hash_map.h @@ -2,9 +2,11 @@ /* test_hash_map.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_hash_set.h b/tests/core/templates/test_hash_set.h index 7a618a1fe8..315a6acaeb 100644 --- a/tests/core/templates/test_hash_set.h +++ b/tests/core/templates/test_hash_set.h @@ -2,9 +2,11 @@ /* test_hash_set.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_list.h b/tests/core/templates/test_list.h index 6d95cca150..6b50ddecaa 100644 --- a/tests/core/templates/test_list.h +++ b/tests/core/templates/test_list.h @@ -2,9 +2,11 @@ /* test_list.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -441,15 +443,15 @@ TEST_CASE("[List] Swap middle (values check)") { List<String>::Element *n_str1 = list.push_back("Still"); List<String>::Element *n_str2 = list.push_back("waiting"); List<String>::Element *n_str3 = list.push_back("for"); - List<String>::Element *n_str4 = list.push_back("Godot."); + List<String>::Element *n_str4 = list.push_back("Redot."); CHECK(n_str1->get() == "Still"); - CHECK(n_str4->get() == "Godot."); + CHECK(n_str4->get() == "Redot."); CHECK(list.front()->get() == "Still"); CHECK(list.front()->next()->get() == "waiting"); CHECK(list.back()->prev()->get() == "for"); - CHECK(list.back()->get() == "Godot."); + CHECK(list.back()->get() == "Redot."); list.swap(n_str2, n_str3); @@ -459,18 +461,18 @@ TEST_CASE("[List] Swap middle (values check)") { TEST_CASE("[List] Swap front and back (values check)") { List<Variant> list; - Variant str = "Godot"; + Variant str = "Redot"; List<Variant>::Element *n_str = list.push_back(str); Variant color = Color(0, 0, 1); List<Variant>::Element *n_color = list.push_back(color); - CHECK(list.front()->get() == "Godot"); + CHECK(list.front()->get() == "Redot"); CHECK(list.back()->get() == Color(0, 0, 1)); list.swap(n_str, n_color); CHECK(list.front()->get() == Color(0, 0, 1)); - CHECK(list.back()->get() == "Godot"); + CHECK(list.back()->get() == "Redot"); } TEST_CASE("[List] Swap adjacent back and front (reverse order of elements)") { diff --git a/tests/core/templates/test_local_vector.h b/tests/core/templates/test_local_vector.h index c9544c625b..a02f123562 100644 --- a/tests/core/templates/test_local_vector.h +++ b/tests/core/templates/test_local_vector.h @@ -2,9 +2,11 @@ /* test_local_vector.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_lru.h b/tests/core/templates/test_lru.h index 29e89b4c99..a6b872e46f 100644 --- a/tests/core/templates/test_lru.h +++ b/tests/core/templates/test_lru.h @@ -2,9 +2,11 @@ /* test_lru.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_oa_hash_map.h b/tests/core/templates/test_oa_hash_map.h index 9359efa964..3ffb8335d8 100644 --- a/tests/core/templates/test_oa_hash_map.h +++ b/tests/core/templates/test_oa_hash_map.h @@ -2,9 +2,11 @@ /* test_oa_hash_map.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_paged_array.h b/tests/core/templates/test_paged_array.h index 10dc4473ca..5c3b2acc04 100644 --- a/tests/core/templates/test_paged_array.h +++ b/tests/core/templates/test_paged_array.h @@ -2,9 +2,11 @@ /* test_paged_array.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_rid.h b/tests/core/templates/test_rid.h index ba9a2bb5e2..cbb88910a3 100644 --- a/tests/core/templates/test_rid.h +++ b/tests/core/templates/test_rid.h @@ -2,9 +2,11 @@ /* test_rid.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/templates/test_vector.h b/tests/core/templates/test_vector.h index 4152a8258c..e46e1aef81 100644 --- a/tests/core/templates/test_vector.h +++ b/tests/core/templates/test_vector.h @@ -2,9 +2,11 @@ /* test_vector.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/test_crypto.h b/tests/core/test_crypto.h index a7c2fce589..c7e444326f 100644 --- a/tests/core/test_crypto.h +++ b/tests/core/test_crypto.h @@ -2,9 +2,11 @@ /* test_crypto.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/test_hashing_context.h b/tests/core/test_hashing_context.h index 854273f462..a3e7b62881 100644 --- a/tests/core/test_hashing_context.h +++ b/tests/core/test_hashing_context.h @@ -2,9 +2,11 @@ /* test_hashing_context.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/test_time.h b/tests/core/test_time.h index 6e31324359..5f010c9138 100644 --- a/tests/core/test_time.h +++ b/tests/core/test_time.h @@ -2,9 +2,11 @@ /* test_time.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -58,10 +60,10 @@ TEST_CASE("[Time] Unix time conversion to/from datetime string") { CHECK_MESSAGE(time->get_unix_time_from_datetime_string("1234-05-06 07:08:09") == -23215049511, "Time get_unix_time_from_datetime_string: The timestamp for an arbitrary datetime with space is as expected."); CHECK_MESSAGE(time->get_unix_time_from_datetime_string("1234-05-06") == -23215075200, "Time get_unix_time_from_datetime_string: The timestamp for an arbitrary date without time is as expected."); CHECK_MESSAGE(time->get_unix_time_from_datetime_string("07:08:09") == 25689, "Time get_unix_time_from_datetime_string: The timestamp for an arbitrary time without date is as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09T22:10:30") == 1391983830, "Time get_unix_time_from_datetime_string: The timestamp for GODOT IS OPEN SOURCE is as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09 22:10:30") == 1391983830, "Time get_unix_time_from_datetime_string: The timestamp for GODOT IS OPEN SOURCE with space is as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09") == 1391904000, "Time get_unix_time_from_datetime_string: The date for GODOT IS OPEN SOURCE without time is as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_string("22:10:30") == 79830, "Time get_unix_time_from_datetime_string: The time for GODOT IS OPEN SOURCE without date is as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09T22:10:30") == 1391983830, "Time get_unix_time_from_datetime_string: The timestamp for REDOT IS OPEN SOURCE is as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09 22:10:30") == 1391983830, "Time get_unix_time_from_datetime_string: The timestamp for REDOT IS OPEN SOURCE with space is as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_string("2014-02-09") == 1391904000, "Time get_unix_time_from_datetime_string: The date for REDOT IS OPEN SOURCE without time is as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_string("22:10:30") == 79830, "Time get_unix_time_from_datetime_string: The time for REDOT IS OPEN SOURCE without date is as expected."); CHECK_MESSAGE(time->get_unix_time_from_datetime_string("-1000000000-01-01T00:00:00") == -31557014167219200, "Time get_unix_time_from_datetime_string: In the year negative a billion, Japan might not have been here."); CHECK_MESSAGE(time->get_unix_time_from_datetime_string("1000000-01-01T00:00:00") == 31494784780800, "Time get_unix_time_from_datetime_string: The timestamp for the year a million is as expected."); @@ -74,10 +76,10 @@ TEST_CASE("[Time] Unix time conversion to/from datetime string") { CHECK_MESSAGE(time->get_datetime_string_from_unix_time(-23215049511, true) == "1234-05-06 07:08:09", "Time get_datetime_string_from_unix_time: The timestamp for an arbitrary datetime with space is as expected."); CHECK_MESSAGE(time->get_date_string_from_unix_time(-23215075200) == "1234-05-06", "Time get_date_string_from_unix_time: The timestamp for an arbitrary date without time is as expected."); CHECK_MESSAGE(time->get_time_string_from_unix_time(25689) == "07:08:09", "Time get_time_string_from_unix_time: The timestamp for an arbitrary time without date is as expected."); - CHECK_MESSAGE(time->get_datetime_string_from_unix_time(1391983830) == "2014-02-09T22:10:30", "Time get_datetime_string_from_unix_time: The timestamp for GODOT IS OPEN SOURCE is as expected."); - CHECK_MESSAGE(time->get_datetime_string_from_unix_time(1391983830, true) == "2014-02-09 22:10:30", "Time get_datetime_string_from_unix_time: The timestamp for GODOT IS OPEN SOURCE with space is as expected."); - CHECK_MESSAGE(time->get_date_string_from_unix_time(1391904000) == "2014-02-09", "Time get_date_string_from_unix_time: The date for GODOT IS OPEN SOURCE without time is as expected."); - CHECK_MESSAGE(time->get_time_string_from_unix_time(79830) == "22:10:30", "Time get_time_string_from_unix_time: The time for GODOT IS OPEN SOURCE without date is as expected."); + CHECK_MESSAGE(time->get_datetime_string_from_unix_time(1391983830) == "2014-02-09T22:10:30", "Time get_datetime_string_from_unix_time: The timestamp for REDOT IS OPEN SOURCE is as expected."); + CHECK_MESSAGE(time->get_datetime_string_from_unix_time(1391983830, true) == "2014-02-09 22:10:30", "Time get_datetime_string_from_unix_time: The timestamp for REDOT IS OPEN SOURCE with space is as expected."); + CHECK_MESSAGE(time->get_date_string_from_unix_time(1391904000) == "2014-02-09", "Time get_date_string_from_unix_time: The date for REDOT IS OPEN SOURCE without time is as expected."); + CHECK_MESSAGE(time->get_time_string_from_unix_time(79830) == "22:10:30", "Time get_time_string_from_unix_time: The time for REDOT IS OPEN SOURCE without date is as expected."); CHECK_MESSAGE(time->get_datetime_string_from_unix_time(31494784780800) == "1000000-01-01T00:00:00", "Time get_datetime_string_from_unix_time: The timestamp for the year a million is as expected."); CHECK_MESSAGE(time->get_offset_string_from_offset_minutes(0) == "+00:00", "Time get_offset_string_from_offset_minutes: The offset string is as expected."); CHECK_MESSAGE(time->get_offset_string_from_offset_minutes(-600) == "-10:00", "Time get_offset_string_from_offset_minutes: The offset string is as expected."); @@ -107,22 +109,22 @@ TEST_CASE("[Time] Datetime dictionary conversion methods") { time_only[MINUTE_KEY] = 10; time_only[SECOND_KEY] = 30; - CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(datetime) == 1391983830, "Time get_unix_time_from_datetime_dict: The datetime dictionary for GODOT IS OPEN SOURCE is converted to a timestamp as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(date_only) == 1391904000, "Time get_unix_time_from_datetime_dict: The date dictionary for GODOT IS OPEN SOURCE is converted to a timestamp as expected."); - CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(time_only) == 79830, "Time get_unix_time_from_datetime_dict: The time dictionary for GODOT IS OPEN SOURCE is converted to a timestamp as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(datetime) == 1391983830, "Time get_unix_time_from_datetime_dict: The datetime dictionary for REDOT IS OPEN SOURCE is converted to a timestamp as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(date_only) == 1391904000, "Time get_unix_time_from_datetime_dict: The date dictionary for REDOT IS OPEN SOURCE is converted to a timestamp as expected."); + CHECK_MESSAGE(time->get_unix_time_from_datetime_dict(time_only) == 79830, "Time get_unix_time_from_datetime_dict: The time dictionary for REDOT IS OPEN SOURCE is converted to a timestamp as expected."); - CHECK_MESSAGE(time->get_datetime_dict_from_unix_time(1391983830).hash() == datetime.hash(), "Time get_datetime_dict_from_unix_time: The datetime timestamp for GODOT IS OPEN SOURCE is converted to a dictionary as expected."); - CHECK_MESSAGE(time->get_date_dict_from_unix_time(1391904000).hash() == date_only.hash(), "Time get_date_dict_from_unix_time: The date timestamp for GODOT IS OPEN SOURCE is converted to a dictionary as expected."); - CHECK_MESSAGE(time->get_time_dict_from_unix_time(79830).hash() == time_only.hash(), "Time get_time_dict_from_unix_time: The time timestamp for GODOT IS OPEN SOURCE is converted to a dictionary as expected."); + CHECK_MESSAGE(time->get_datetime_dict_from_unix_time(1391983830).hash() == datetime.hash(), "Time get_datetime_dict_from_unix_time: The datetime timestamp for REDOT IS OPEN SOURCE is converted to a dictionary as expected."); + CHECK_MESSAGE(time->get_date_dict_from_unix_time(1391904000).hash() == date_only.hash(), "Time get_date_dict_from_unix_time: The date timestamp for REDOT IS OPEN SOURCE is converted to a dictionary as expected."); + CHECK_MESSAGE(time->get_time_dict_from_unix_time(79830).hash() == time_only.hash(), "Time get_time_dict_from_unix_time: The time timestamp for REDOT IS OPEN SOURCE is converted to a dictionary as expected."); CHECK_MESSAGE((Weekday)(int)time->get_datetime_dict_from_unix_time(0)[WEEKDAY_KEY] == Weekday::WEEKDAY_THURSDAY, "Time get_datetime_dict_from_unix_time: The weekday for the Unix epoch is a Thursday as expected."); - CHECK_MESSAGE((Weekday)(int)time->get_datetime_dict_from_unix_time(1391983830)[WEEKDAY_KEY] == Weekday::WEEKDAY_SUNDAY, "Time get_datetime_dict_from_unix_time: The weekday for GODOT IS OPEN SOURCE is a Sunday as expected."); + CHECK_MESSAGE((Weekday)(int)time->get_datetime_dict_from_unix_time(1391983830)[WEEKDAY_KEY] == Weekday::WEEKDAY_SUNDAY, "Time get_datetime_dict_from_unix_time: The weekday for REDOT IS OPEN SOURCE is a Sunday as expected."); - CHECK_MESSAGE(time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30").hash() == datetime.hash(), "Time get_datetime_dict_from_string: The dictionary from string for GODOT IS OPEN SOURCE works as expected."); - CHECK_MESSAGE(!time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30", false).has(WEEKDAY_KEY), "Time get_datetime_dict_from_string: The dictionary from string for GODOT IS OPEN SOURCE without weekday doesn't contain the weekday key as expected."); - CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(datetime) == "2014-02-09T22:10:30", "Time get_datetime_string_from_dict: The string from dictionary for GODOT IS OPEN SOURCE works as expected."); - CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30")) == "2014-02-09T22:10:30", "Time get_datetime_string_from_dict: The round-trip string to dict to string GODOT IS OPEN SOURCE works as expected."); - CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(time->get_datetime_dict_from_datetime_string("2014-02-09 22:10:30"), true) == "2014-02-09 22:10:30", "Time get_datetime_string_from_dict: The round-trip string to dict to string GODOT IS OPEN SOURCE with spaces works as expected."); + CHECK_MESSAGE(time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30").hash() == datetime.hash(), "Time get_datetime_dict_from_string: The dictionary from string for REDOT IS OPEN SOURCE works as expected."); + CHECK_MESSAGE(!time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30", false).has(WEEKDAY_KEY), "Time get_datetime_dict_from_string: The dictionary from string for REDOT IS OPEN SOURCE without weekday doesn't contain the weekday key as expected."); + CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(datetime) == "2014-02-09T22:10:30", "Time get_datetime_string_from_dict: The string from dictionary for REDOT IS OPEN SOURCE works as expected."); + CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(time->get_datetime_dict_from_datetime_string("2014-02-09T22:10:30")) == "2014-02-09T22:10:30", "Time get_datetime_string_from_dict: The round-trip string to dict to string REDOT IS OPEN SOURCE works as expected."); + CHECK_MESSAGE(time->get_datetime_string_from_datetime_dict(time->get_datetime_dict_from_datetime_string("2014-02-09 22:10:30"), true) == "2014-02-09 22:10:30", "Time get_datetime_string_from_dict: The round-trip string to dict to string REDOT IS OPEN SOURCE with spaces works as expected."); } TEST_CASE("[Time] System time methods") { diff --git a/tests/core/threads/test_worker_thread_pool.h b/tests/core/threads/test_worker_thread_pool.h index 0a0291d11b..388140a534 100644 --- a/tests/core/threads/test_worker_thread_pool.h +++ b/tests/core/threads/test_worker_thread_pool.h @@ -2,9 +2,11 @@ /* test_worker_thread_pool.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/variant/test_array.h b/tests/core/variant/test_array.h index 15e2cebe09..4c16a53169 100644 --- a/tests/core/variant/test_array.h +++ b/tests/core/variant/test_array.h @@ -2,9 +2,11 @@ /* test_array.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/variant/test_callable.h b/tests/core/variant/test_callable.h index 34ea8fad5c..97558331e2 100644 --- a/tests/core/variant/test_callable.h +++ b/tests/core/variant/test_callable.h @@ -2,9 +2,11 @@ /* test_callable.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/variant/test_dictionary.h b/tests/core/variant/test_dictionary.h index 48a48f6ca6..65f5dbb979 100644 --- a/tests/core/variant/test_dictionary.h +++ b/tests/core/variant/test_dictionary.h @@ -2,9 +2,11 @@ /* test_dictionary.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/variant/test_variant.h b/tests/core/variant/test_variant.h index 599a282b20..e3322a1326 100644 --- a/tests/core/variant/test_variant.h +++ b/tests/core/variant/test_variant.h @@ -2,9 +2,11 @@ /* test_variant.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/core/variant/test_variant_utility.h b/tests/core/variant/test_variant_utility.h index 34b4880d51..5566380e75 100644 --- a/tests/core/variant/test_variant_utility.h +++ b/tests/core/variant/test_variant_utility.h @@ -2,9 +2,11 @@ /* test_variant_utility.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/create_test.py b/tests/create_test.py index ad6d6b882f..4b79ab983a 100755 --- a/tests/create_test.py +++ b/tests/create_test.py @@ -49,9 +49,11 @@ def main(): /* test_{name_snake_case}.h {padding} */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/data/images/icon.bmp b/tests/data/images/icon.bmp Binary files differindex e006f7ebdd..652f28e5ad 100644 --- a/tests/data/images/icon.bmp +++ b/tests/data/images/icon.bmp diff --git a/tests/data/images/icon.jpg b/tests/data/images/icon.jpg Binary files differindex b45bfa8d9b..d333861687 100644 --- a/tests/data/images/icon.jpg +++ b/tests/data/images/icon.jpg diff --git a/tests/data/images/icon.png b/tests/data/images/icon.png Binary files differindex 45aaaf584f..d04e8d8574 100644 --- a/tests/data/images/icon.png +++ b/tests/data/images/icon.png diff --git a/tests/data/images/icon.webp b/tests/data/images/icon.webp Binary files differindex 6c4707e858..f84b1cc766 100644 --- a/tests/data/images/icon.webp +++ b/tests/data/images/icon.webp diff --git a/tests/display_server_mock.h b/tests/display_server_mock.h index b44ff06b35..c690208d8f 100644 --- a/tests/display_server_mock.h +++ b/tests/display_server_mock.h @@ -2,9 +2,11 @@ /* display_server_mock.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -101,7 +103,7 @@ public: String get_name() const override { return "mock"; } // You can simulate DisplayServer-events by calling this function. - // The events will be deliverd to Godot's Input-system. + // The events will be deliverd to Redot's Input-system. // Mouse-events (Button & Motion) will additionally update the DisplayServer's mouse position. // For Mouse motion events, the `relative`-property is set based on the distance to the previous mouse position. void simulate_event(Ref<InputEvent> p_event) { diff --git a/tests/scene/test_animation.h b/tests/scene/test_animation.h index 6c89592e0d..b7b61de0b6 100644 --- a/tests/scene/test_animation.h +++ b/tests/scene/test_animation.h @@ -2,9 +2,11 @@ /* test_animation.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_arraymesh.h b/tests/scene/test_arraymesh.h index 67aa19c5d3..5395e088a1 100644 --- a/tests/scene/test_arraymesh.h +++ b/tests/scene/test_arraymesh.h @@ -2,9 +2,11 @@ /* test_arraymesh.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_audio_stream_wav.h b/tests/scene/test_audio_stream_wav.h index 7276dd0878..35bb4cf16f 100644 --- a/tests/scene/test_audio_stream_wav.h +++ b/tests/scene/test_audio_stream_wav.h @@ -2,9 +2,11 @@ /* test_audio_stream_wav.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_bit_map.h b/tests/scene/test_bit_map.h index 3c372b2ac3..1a216671fc 100644 --- a/tests/scene/test_bit_map.h +++ b/tests/scene/test_bit_map.h @@ -2,9 +2,11 @@ /* test_bit_map.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_button.h b/tests/scene/test_button.h index 55097edc95..528dc6d420 100644 --- a/tests/scene/test_button.h +++ b/tests/scene/test_button.h @@ -2,9 +2,11 @@ /* test_button.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_camera_2d.h b/tests/scene/test_camera_2d.h index f03a4aed53..e29ef9330f 100644 --- a/tests/scene/test_camera_2d.h +++ b/tests/scene/test_camera_2d.h @@ -2,9 +2,11 @@ /* test_camera_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_camera_3d.h b/tests/scene/test_camera_3d.h index 830c667257..549383b17f 100644 --- a/tests/scene/test_camera_3d.h +++ b/tests/scene/test_camera_3d.h @@ -2,9 +2,11 @@ /* test_camera_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_code_edit.h b/tests/scene/test_code_edit.h index ef630ad4f7..7018dcd746 100644 --- a/tests/scene/test_code_edit.h +++ b/tests/scene/test_code_edit.h @@ -2,9 +2,11 @@ /* test_code_edit.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_color_picker.h b/tests/scene/test_color_picker.h index 0c657a0167..920a12839b 100644 --- a/tests/scene/test_color_picker.h +++ b/tests/scene/test_color_picker.h @@ -2,9 +2,11 @@ /* test_color_picker.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_control.h b/tests/scene/test_control.h index 3d7e389e0a..9072ca0e40 100644 --- a/tests/scene/test_control.h +++ b/tests/scene/test_control.h @@ -2,9 +2,11 @@ /* test_control.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_curve.h b/tests/scene/test_curve.h index d67550f9f7..454f05673d 100644 --- a/tests/scene/test_curve.h +++ b/tests/scene/test_curve.h @@ -2,9 +2,11 @@ /* test_curve.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_curve_2d.h b/tests/scene/test_curve_2d.h index 1248632630..1f1d19dd02 100644 --- a/tests/scene/test_curve_2d.h +++ b/tests/scene/test_curve_2d.h @@ -2,9 +2,11 @@ /* test_curve_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_curve_3d.h b/tests/scene/test_curve_3d.h index 2e60a9c6e6..b303b21eee 100644 --- a/tests/scene/test_curve_3d.h +++ b/tests/scene/test_curve_3d.h @@ -2,9 +2,11 @@ /* test_curve_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_fontfile.h b/tests/scene/test_fontfile.h index 8c9ba6d6ff..ecdcd71d47 100644 --- a/tests/scene/test_fontfile.h +++ b/tests/scene/test_fontfile.h @@ -2,9 +2,11 @@ /* test_fontfile.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_gradient.h b/tests/scene/test_gradient.h index 4fbdaa8125..a0e3aae31a 100644 --- a/tests/scene/test_gradient.h +++ b/tests/scene/test_gradient.h @@ -2,9 +2,11 @@ /* test_gradient.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_gradient_texture.h b/tests/scene/test_gradient_texture.h index 16a92fbe4a..f4815c19f1 100644 --- a/tests/scene/test_gradient_texture.h +++ b/tests/scene/test_gradient_texture.h @@ -2,9 +2,11 @@ /* test_gradient_texture.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_graph_node.h b/tests/scene/test_graph_node.h index 7973ac1444..ed3c327fcc 100644 --- a/tests/scene/test_graph_node.h +++ b/tests/scene/test_graph_node.h @@ -2,9 +2,11 @@ /* test_graph_node.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_height_map_shape_3d.h b/tests/scene/test_height_map_shape_3d.h index 60a8db4e58..540c5b5d4f 100644 --- a/tests/scene/test_height_map_shape_3d.h +++ b/tests/scene/test_height_map_shape_3d.h @@ -2,9 +2,11 @@ /* test_height_map_shape_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_image_texture.h b/tests/scene/test_image_texture.h index c9282165a6..fb1eec3227 100644 --- a/tests/scene/test_image_texture.h +++ b/tests/scene/test_image_texture.h @@ -2,9 +2,11 @@ /* test_image_texture.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_image_texture_3d.h b/tests/scene/test_image_texture_3d.h index f2a7abcf69..00334d0356 100644 --- a/tests/scene/test_image_texture_3d.h +++ b/tests/scene/test_image_texture_3d.h @@ -2,9 +2,11 @@ /* test_image_texture_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_instance_placeholder.h b/tests/scene/test_instance_placeholder.h index 17f2151d54..0c4c5c419e 100644 --- a/tests/scene/test_instance_placeholder.h +++ b/tests/scene/test_instance_placeholder.h @@ -2,9 +2,11 @@ /* test_instance_placeholder.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_agent_2d.h b/tests/scene/test_navigation_agent_2d.h index e20435d401..1c418397c7 100644 --- a/tests/scene/test_navigation_agent_2d.h +++ b/tests/scene/test_navigation_agent_2d.h @@ -2,9 +2,11 @@ /* test_navigation_agent_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_agent_3d.h b/tests/scene/test_navigation_agent_3d.h index f240279b9f..a6fd322bc8 100644 --- a/tests/scene/test_navigation_agent_3d.h +++ b/tests/scene/test_navigation_agent_3d.h @@ -2,9 +2,11 @@ /* test_navigation_agent_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_obstacle_2d.h b/tests/scene/test_navigation_obstacle_2d.h index 97d28e0a48..892c1ab6de 100644 --- a/tests/scene/test_navigation_obstacle_2d.h +++ b/tests/scene/test_navigation_obstacle_2d.h @@ -2,9 +2,11 @@ /* test_navigation_obstacle_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_obstacle_3d.h b/tests/scene/test_navigation_obstacle_3d.h index 8769f4fb64..ab94d91554 100644 --- a/tests/scene/test_navigation_obstacle_3d.h +++ b/tests/scene/test_navigation_obstacle_3d.h @@ -2,9 +2,11 @@ /* test_navigation_obstacle_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_region_2d.h b/tests/scene/test_navigation_region_2d.h index fcb5aeacbe..713f4780b4 100644 --- a/tests/scene/test_navigation_region_2d.h +++ b/tests/scene/test_navigation_region_2d.h @@ -2,9 +2,11 @@ /* test_navigation_region_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_navigation_region_3d.h b/tests/scene/test_navigation_region_3d.h index f3d7f27361..e46ed7e66d 100644 --- a/tests/scene/test_navigation_region_3d.h +++ b/tests/scene/test_navigation_region_3d.h @@ -2,9 +2,11 @@ /* test_navigation_region_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_node.h b/tests/scene/test_node.h index e387c73f9f..1d505f977f 100644 --- a/tests/scene/test_node.h +++ b/tests/scene/test_node.h @@ -2,9 +2,11 @@ /* test_node.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -671,6 +673,18 @@ TEST_CASE("[Node] Processing checks") { CHECK_FALSE(node->is_processing_unhandled_key_input()); } + SUBCASE("Unhandled picking input processing") { + CHECK_FALSE(node->is_processing_unhandled_picking_input()); + + node->set_process_unhandled_picking_input(true); + + CHECK(node->is_processing_unhandled_picking_input()); + + node->set_process_unhandled_picking_input(false); + + CHECK_FALSE(node->is_processing_unhandled_picking_input()); + } + SUBCASE("Shortcut input processing") { CHECK_FALSE(node->is_processing_shortcut_input()); diff --git a/tests/scene/test_node_2d.h b/tests/scene/test_node_2d.h index e8e7b2880d..ec8f1b5fee 100644 --- a/tests/scene/test_node_2d.h +++ b/tests/scene/test_node_2d.h @@ -2,9 +2,11 @@ /* test_node_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_option_button.h b/tests/scene/test_option_button.h index 56c1c7d611..c2c49f28db 100644 --- a/tests/scene/test_option_button.h +++ b/tests/scene/test_option_button.h @@ -2,9 +2,11 @@ /* test_option_button.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_packed_scene.h b/tests/scene/test_packed_scene.h index 1e784c199d..2ac10c5d53 100644 --- a/tests/scene/test_packed_scene.h +++ b/tests/scene/test_packed_scene.h @@ -2,9 +2,11 @@ /* test_packed_scene.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_parallax_2d.h b/tests/scene/test_parallax_2d.h index 2fdbf09e09..febda40bd0 100644 --- a/tests/scene/test_parallax_2d.h +++ b/tests/scene/test_parallax_2d.h @@ -2,9 +2,11 @@ /* test_parallax_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_path_2d.h b/tests/scene/test_path_2d.h index 4703bfa3bb..e68dbceb2f 100644 --- a/tests/scene/test_path_2d.h +++ b/tests/scene/test_path_2d.h @@ -2,9 +2,11 @@ /* test_path_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_path_3d.h b/tests/scene/test_path_3d.h index 70c7099d48..d236b507a0 100644 --- a/tests/scene/test_path_3d.h +++ b/tests/scene/test_path_3d.h @@ -2,9 +2,11 @@ /* test_path_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_path_follow_2d.h b/tests/scene/test_path_follow_2d.h index 45ae0dff5d..b734a51c25 100644 --- a/tests/scene/test_path_follow_2d.h +++ b/tests/scene/test_path_follow_2d.h @@ -2,9 +2,11 @@ /* test_path_follow_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_path_follow_3d.h b/tests/scene/test_path_follow_3d.h index 6a384bec2b..db10334fac 100644 --- a/tests/scene/test_path_follow_3d.h +++ b/tests/scene/test_path_follow_3d.h @@ -2,9 +2,11 @@ /* test_path_follow_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_physics_material.h b/tests/scene/test_physics_material.h index a078166f42..885e96a1b8 100644 --- a/tests/scene/test_physics_material.h +++ b/tests/scene/test_physics_material.h @@ -2,9 +2,11 @@ /* test_physics_material.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_primitives.h b/tests/scene/test_primitives.h index 7426a9ce29..ad1a8e8440 100644 --- a/tests/scene/test_primitives.h +++ b/tests/scene/test_primitives.h @@ -2,9 +2,11 @@ /* test_primitives.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_skeleton_3d.h b/tests/scene/test_skeleton_3d.h index b5cf49c4eb..8c3200021a 100644 --- a/tests/scene/test_skeleton_3d.h +++ b/tests/scene/test_skeleton_3d.h @@ -2,9 +2,11 @@ /* test_skeleton_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_sky.h b/tests/scene/test_sky.h index 812ea9b5ad..7e507d26d0 100644 --- a/tests/scene/test_sky.h +++ b/tests/scene/test_sky.h @@ -2,9 +2,11 @@ /* test_sky.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_sprite_frames.h b/tests/scene/test_sprite_frames.h index 55854b90e4..b8e10b754b 100644 --- a/tests/scene/test_sprite_frames.h +++ b/tests/scene/test_sprite_frames.h @@ -2,9 +2,11 @@ /* test_sprite_frames.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -36,7 +38,7 @@ #include "tests/test_macros.h" namespace TestSpriteFrames { -const String test_animation_name = "GodotTest"; +const String test_animation_name = "RedotTest"; TEST_CASE("[SpriteFrames] Constructor methods") { const SpriteFrames frames; diff --git a/tests/scene/test_style_box_texture.h b/tests/scene/test_style_box_texture.h index cc5be4b2d4..681862c93c 100644 --- a/tests/scene/test_style_box_texture.h +++ b/tests/scene/test_style_box_texture.h @@ -2,9 +2,11 @@ /* test_style_box_texture.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_tab_bar.h b/tests/scene/test_tab_bar.h index 147513bb69..1b634d4296 100644 --- a/tests/scene/test_tab_bar.h +++ b/tests/scene/test_tab_bar.h @@ -2,9 +2,11 @@ /* test_tab_bar.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_tab_container.h b/tests/scene/test_tab_container.h index 2a211a2c09..75666fa3d8 100644 --- a/tests/scene/test_tab_container.h +++ b/tests/scene/test_tab_container.h @@ -2,9 +2,11 @@ /* test_tab_container.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_text_edit.h b/tests/scene/test_text_edit.h index c41eebdf3a..ebab13feb6 100644 --- a/tests/scene/test_text_edit.h +++ b/tests/scene/test_text_edit.h @@ -2,9 +2,11 @@ /* test_text_edit.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -6436,7 +6438,7 @@ TEST_CASE("[SceneTree][TextEdit] versioning") { CHECK(text_edit->get_saved_version() == 0); SUBCASE("[TextEdit] versioning selection") { - text_edit->set_text("Godot Engine\nWaiting for Godot\nTest Text for multi carat\nLine 4 Text"); + text_edit->set_text("Redot Engine\nWaiting for Redot\nTest Text for multi carat\nLine 4 Text"); text_edit->set_multiple_carets_enabled(true); text_edit->remove_secondary_carets(); diff --git a/tests/scene/test_texture_progress_bar.h b/tests/scene/test_texture_progress_bar.h index 5eb7495a29..329978fcb1 100644 --- a/tests/scene/test_texture_progress_bar.h +++ b/tests/scene/test_texture_progress_bar.h @@ -2,9 +2,11 @@ /* test_texture_progress_bar.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_theme.h b/tests/scene/test_theme.h index ad1ce1fd50..46145c9f11 100644 --- a/tests/scene/test_theme.h +++ b/tests/scene/test_theme.h @@ -2,9 +2,11 @@ /* test_theme.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_timer.h b/tests/scene/test_timer.h index 913ed92de5..f88e18e6b5 100644 --- a/tests/scene/test_timer.h +++ b/tests/scene/test_timer.h @@ -2,9 +2,11 @@ /* test_timer.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_tree.h b/tests/scene/test_tree.h index a74158d328..e8ba8eef71 100644 --- a/tests/scene/test_tree.h +++ b/tests/scene/test_tree.h @@ -2,9 +2,11 @@ /* test_tree.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_viewport.h b/tests/scene/test_viewport.h index 06a38f234b..b6caef46b4 100644 --- a/tests/scene/test_viewport.h +++ b/tests/scene/test_viewport.h @@ -2,9 +2,11 @@ /* test_viewport.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_visual_shader.h b/tests/scene/test_visual_shader.h index e54971768c..99189b0938 100644 --- a/tests/scene/test_visual_shader.h +++ b/tests/scene/test_visual_shader.h @@ -2,9 +2,11 @@ /* test_visual_shader.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/scene/test_window.h b/tests/scene/test_window.h index 592cccfd7e..3b12328ce3 100644 --- a/tests/scene/test_window.h +++ b/tests/scene/test_window.h @@ -2,9 +2,11 @@ /* test_window.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/servers/rendering/test_shader_preprocessor.h b/tests/servers/rendering/test_shader_preprocessor.h index e12da8a2db..00cba03a92 100644 --- a/tests/servers/rendering/test_shader_preprocessor.h +++ b/tests/servers/rendering/test_shader_preprocessor.h @@ -2,9 +2,11 @@ /* test_shader_preprocessor.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -229,7 +231,7 @@ TEST_CASE("[ShaderPreprocessor] Concatenation") { TEST_CASE("[ShaderPreprocessor] Nested concatenation") { // Concatenation ## should not expand adjacent tokens if they are macros, - // but this is currently not implemented in Godot's shader preprocessor. + // but this is currently not implemented in Redot's shader preprocessor. // To force expanding, an extra macro should be required (B in this case). String code( diff --git a/tests/servers/test_navigation_server_2d.h b/tests/servers/test_navigation_server_2d.h index ff9bb620be..7c82619358 100644 --- a/tests/servers/test_navigation_server_2d.h +++ b/tests/servers/test_navigation_server_2d.h @@ -2,9 +2,11 @@ /* test_navigation_server_2d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/servers/test_navigation_server_3d.h b/tests/servers/test_navigation_server_3d.h index 1b2a5e0db2..f622aac6ad 100644 --- a/tests/servers/test_navigation_server_3d.h +++ b/tests/servers/test_navigation_server_3d.h @@ -2,9 +2,11 @@ /* test_navigation_server_3d.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/servers/test_text_server.h b/tests/servers/test_text_server.h index d982102a03..73536f7599 100644 --- a/tests/servers/test_text_server.h +++ b/tests/servers/test_text_server.h @@ -2,9 +2,11 @@ /* test_text_server.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_macros.cpp b/tests/test_macros.cpp index 1a6e89ebdc..0025ccafd8 100644 --- a/tests/test_macros.cpp +++ b/tests/test_macros.cpp @@ -2,9 +2,11 @@ /* test_macros.cpp */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_macros.h b/tests/test_macros.h index 9cc075b6d3..3cfe8dac37 100644 --- a/tests/test_macros.h +++ b/tests/test_macros.h @@ -2,9 +2,11 @@ /* test_macros.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -48,7 +50,7 @@ // The test case is marked as failed, but does not fail the entire test run. #define TEST_CASE_MAY_FAIL(name) TEST_CASE(name *doctest::may_fail()) -// Provide aliases to conform with Godot naming conventions (see error macros). +// Provide aliases to conform with Redot naming conventions (see error macros). #define TEST_COND(cond, ...) DOCTEST_CHECK_FALSE_MESSAGE(cond, __VA_ARGS__) #define TEST_FAIL(cond, ...) DOCTEST_FAIL(cond, __VA_ARGS__) #define TEST_FAIL_COND(cond, ...) DOCTEST_REQUIRE_FALSE_MESSAGE(cond, __VA_ARGS__) @@ -123,7 +125,7 @@ DOCTEST_STRINGIFY_VARIANT(PackedVector4Array); // Register test commands to be launched from the command-line. // For instance: REGISTER_TEST_COMMAND("gdscript-parser" &test_parser_func). -// Example usage: `godot --test gdscript-parser`. +// Example usage: `redot --test gdscript-parser`. typedef void (*TestFunc)(); extern HashMap<String, TestFunc> *test_commands; diff --git a/tests/test_main.cpp b/tests/test_main.cpp index 9acdc98b1d..e86f17cef5 100644 --- a/tests/test_main.cpp +++ b/tests/test_main.cpp @@ -2,9 +2,11 @@ /* test_main.cpp */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -196,7 +198,7 @@ int test_main(int argc, char *argv[]) { bool run_tests = true; - // Convert arguments to Godot's command-line. + // Convert arguments to Redot's command-line. List<String> args; for (int i = 0; i < argc; i++) { @@ -235,10 +237,10 @@ int test_main(int argc, char *argv[]) { } if (test_args.size() > 0) { - // Convert Godot command line arguments back to standard arguments. + // Convert Redot command line arguments back to standard arguments. char **doctest_args = new char *[test_args.size()]; for (uint32_t x = 0; x < test_args.size(); x++) { - // Operation to convert Godot string to non wchar string. + // Operation to convert Redot string to non wchar string. CharString cs = test_args[x].utf8(); const char *str = cs.get_data(); // Allocate the string copy. @@ -475,4 +477,4 @@ private: } }; -REGISTER_LISTENER("GodotTestCaseListener", 1, GodotTestCaseListener); +REGISTER_LISTENER("RedotTestCaseListener", 1, GodotTestCaseListener); diff --git a/tests/test_main.h b/tests/test_main.h index b5500e962b..d53a52c119 100644 --- a/tests/test_main.h +++ b/tests/test_main.h @@ -2,9 +2,11 @@ /* test_main.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_tools.h b/tests/test_tools.h index d0626b5ea6..9a42d4ab1b 100644 --- a/tests/test_tools.h +++ b/tests/test_tools.h @@ -2,9 +2,11 @@ /* test_tools.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_utils.cpp b/tests/test_utils.cpp index 9d41e74020..837eb72300 100644 --- a/tests/test_utils.cpp +++ b/tests/test_utils.cpp @@ -2,9 +2,11 @@ /* test_utils.cpp */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_utils.h b/tests/test_utils.h index 876a59ee7b..3296b3a72e 100644 --- a/tests/test_utils.h +++ b/tests/test_utils.h @@ -2,9 +2,11 @@ /* test_utils.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ diff --git a/tests/test_validate_testing.h b/tests/test_validate_testing.h index f2e3bf3bb4..550de1568e 100644 --- a/tests/test_validate_testing.h +++ b/tests/test_validate_testing.h @@ -2,9 +2,11 @@ /* test_validate_testing.h */ /**************************************************************************/ /* This file is part of: */ -/* GODOT ENGINE */ -/* https://godotengine.org */ +/* REDOT ENGINE */ +/* https://redotengine.org */ /**************************************************************************/ +/* Copyright (c) 2024-present Redot Engine contributors */ +/* (see REDOT_AUTHORS.md) */ /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ /* */ @@ -48,10 +50,10 @@ TEST_SUITE("Validate tests") { CHECK_MESSAGE(true, "Pending test is run with `--no-skip`"); } } - TEST_CASE("Muting Godot error messages") { + TEST_CASE("Muting Redot error messages") { ERR_PRINT_OFF; CHECK_MESSAGE(!CoreGlobals::print_error_enabled, "Error printing should be disabled."); - ERR_PRINT("Still waiting for Godot!"); // This should never get printed! + ERR_PRINT("Still waiting for Redot!"); // This should never get printed! ERR_PRINT_ON; CHECK_MESSAGE(CoreGlobals::print_error_enabled, "Error printing should be re-enabled."); } @@ -59,7 +61,7 @@ TEST_SUITE("Validate tests") { Variant var; INFO(var); - String string("Godot is finally here!"); + String string("Redot is finally here!"); INFO(string); Vector2 vec2(0.5, 1.0); @@ -197,7 +199,7 @@ TEST_SUITE("Validate tests") { REQUIRE_FALSE(ed.has_error); ERR_PRINT_OFF; - ERR_PRINT("Still waiting for Godot!"); + ERR_PRINT("Still waiting for Redot!"); ERR_PRINT_ON; REQUIRE(ed.has_error); |