Tests: Tidy up compiled tests

This commit is contained in:
Thaddeus Crews
2026-02-19 16:28:12 -06:00
parent aa094e93e3
commit a7b74be08c
54 changed files with 471 additions and 378 deletions
-4
View File
@@ -78,11 +78,9 @@ public:
~GDScriptParserRef();
};
#ifdef TESTS_ENABLED
namespace GDScriptTests {
class TestGDScriptCacheAccessor;
}
#endif // TESTS_ENABLED
class GDScriptCache {
// String key is full path.
@@ -97,9 +95,7 @@ class GDScriptCache {
friend class GDScript;
friend class GDScriptParserRef;
friend class GDScriptInstance;
#ifdef TESTS_ENABLED
friend class GDScriptTests::TestGDScriptCacheAccessor;
#endif // TESTS_ENABLED
static GDScriptCache *singleton;