Tests: Convert test headers to compilation files
• Excludes module tests, as they'd be a more involved process
This commit is contained in:
parent
ad4c2c3da8
commit
5482b9e89e
162 changed files with 1035 additions and 833 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue