1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-05 19:31:35 +00:00

Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks

This commit is contained in:
Rémi Verschelde
2021-05-04 14:41:06 +02:00
parent 64a63e0861
commit b5e1e05ef2
1439 changed files with 1 additions and 34187 deletions

View File

@@ -48,7 +48,6 @@
#include "test_string.h"
const char **tests_get_names() {
static const char *test_names[] = {
"string",
"math",
@@ -72,81 +71,65 @@ const char **tests_get_names() {
}
MainLoop *test_main(String p_test, const List<String> &p_args) {
if (p_test == "string") {
return TestString::test();
}
if (p_test == "math") {
return TestMath::test();
}
if (p_test == "basis") {
return TestBasis::test();
}
if (p_test == "physics") {
return TestPhysics::test();
}
if (p_test == "physics_2d") {
return TestPhysics2D::test();
}
if (p_test == "render") {
return TestRender::test();
}
if (p_test == "oa_hash_map") {
return TestOAHashMap::test();
}
#ifndef _3D_DISABLED
if (p_test == "gui") {
return TestGUI::test();
}
#endif
if (p_test == "shaderlang") {
return TestShaderLang::test();
}
if (p_test == "gd_tokenizer") {
return TestGDScript::test(TestGDScript::TEST_TOKENIZER);
}
if (p_test == "gd_parser") {
return TestGDScript::test(TestGDScript::TEST_PARSER);
}
if (p_test == "gd_compiler") {
return TestGDScript::test(TestGDScript::TEST_COMPILER);
}
if (p_test == "gd_bytecode") {
return TestGDScript::test(TestGDScript::TEST_BYTECODE);
}
if (p_test == "ordered_hash_map") {
return TestOrderedHashMap::test();
}
if (p_test == "astar") {
return TestAStar::test();
}
@@ -157,7 +140,6 @@ MainLoop *test_main(String p_test, const List<String> &p_args) {
#else
const char **tests_get_names() {
static const char *test_names[] = {
NULL
};
@@ -166,7 +148,6 @@ const char **tests_get_names() {
}
MainLoop *test_main(String p_test, const List<String> &p_args) {
return NULL;
}