Added tests for ClassDB

This commit is contained in:
Ignacio Etcheverry
2020-05-16 04:03:05 +02:00
parent 6815bf42b3
commit 9fa4b402a7
5 changed files with 1343 additions and 217 deletions

View File

@@ -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();