summaryrefslogtreecommitdiff
path: root/main/tests/test_main.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-16 04:03:05 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-16 17:32:58 +0200
commit9fa4b402a7956ff38d4db7c2af1d4055cd8fe487 (patch)
treeb5ca1a5cef838af01fb0ad233b908c721b2fb4b9 /main/tests/test_main.cpp
parent6815bf42b38c7c3dfde419d86dbc1bf012b035b2 (diff)
Added tests for ClassDB
Diffstat (limited to 'main/tests/test_main.cpp')
-rw-r--r--main/tests/test_main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/tests/test_main.cpp b/main/tests/test_main.cpp
index eb60372e6c..0bb8367240 100644
--- a/main/tests/test_main.cpp
+++ b/main/tests/test_main.cpp
@@ -35,6 +35,7 @@
#ifdef DEBUG_ENABLED
#include "test_astar.h"
+#include "test_class_db.h"
#include "test_gdscript.h"
#include "test_gui.h"
#include "test_math.h"
@@ -54,6 +55,7 @@ const char **tests_get_names() {
"physics_3d",
"render",
"oa_hash_map",
+ "class_db",
"gui",
"shaderlang",
"gd_tokenizer",
@@ -93,6 +95,10 @@ MainLoop *test_main(String p_test, const List<String> &p_args) {
return TestOAHashMap::test();
}
+ if (p_test == "class_db") {
+ return TestClassDB::test();
+ }
+
#ifndef _3D_DISABLED
if (p_test == "gui") {
return TestGUI::test();