Tests: Convert test headers to compilation files

• Excludes module tests, as they'd be a more involved process
This commit is contained in:
Thaddeus Crews 2025-10-25 14:58:45 -05:00
parent ad4c2c3da8
commit 5482b9e89e
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
162 changed files with 1035 additions and 833 deletions

View file

@ -30,6 +30,7 @@
#include "tests/test_utils.h"
#include "core/config/project_settings.h"
#include "core/io/dir_access.h"
#include "core/os/os.h"
@ -47,3 +48,7 @@ String TestUtils::get_temp_path(const String &p_suffix) {
DirAccess::make_dir_absolute(temp_base); // Ensure the directory exists.
return temp_base.path_join(p_suffix);
}
String &TestProjectSettingsInternalsAccessor::resource_path() {
return ProjectSettings::get_singleton()->resource_path;
}