diff options
author | lawnjelly <lawnjelly@gmail.com> | 2022-05-20 13:28:44 +0100 |
---|---|---|
committer | lawnjelly <lawnjelly@gmail.com> | 2022-07-04 12:01:46 +0100 |
commit | b221eab4260c471c37ff2aae2546fcfa6dd7ac58 (patch) | |
tree | bdbf944f69d8a193c5a76160e314cf112ef310f2 /tests/test_validate_testing.h | |
parent | 1d06fec5354d45c21414bf4b00435868444636cb (diff) | |
download | redot-engine-b221eab4260c471c37ff2aae2546fcfa6dd7ac58.tar.gz |
Variant memory pools
Memory pools via PagedAllocator for Transform2D, Transform3D, Basis and AABB.
Diffstat (limited to 'tests/test_validate_testing.h')
-rw-r--r-- | tests/test_validate_testing.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_validate_testing.h b/tests/test_validate_testing.h index 413a7e351d..1471a952cd 100644 --- a/tests/test_validate_testing.h +++ b/tests/test_validate_testing.h @@ -31,6 +31,7 @@ #ifndef TEST_VALIDATE_TESTING_H #define TEST_VALIDATE_TESTING_H +#include "core/core_globals.h" #include "core/os/os.h" #include "tests/test_macros.h" @@ -49,10 +50,10 @@ TEST_SUITE("Validate tests") { } TEST_CASE("Muting Godot error messages") { ERR_PRINT_OFF; - CHECK_MESSAGE(!_print_error_enabled, "Error printing should be disabled."); + CHECK_MESSAGE(!CoreGlobals::print_error_enabled, "Error printing should be disabled."); ERR_PRINT("Still waiting for Godot!"); // This should never get printed! ERR_PRINT_ON; - CHECK_MESSAGE(_print_error_enabled, "Error printing should be re-enabled."); + CHECK_MESSAGE(CoreGlobals::print_error_enabled, "Error printing should be re-enabled."); } TEST_CASE("Stringify Variant types") { Variant var; |