virtualx-engine/modules/gdscript/tests
ocean (they/them) 861743cd04 GDScript: add errors when calling unimplemented virtual functions
This PR does a small refactor of how method flags are handled in the GDScript analyzer.
This way, it adds support for the analyzer to use any of MethodInfo's flags, where previously
it could only use METHOD_FLAG_STATIC and METHOD_FLAG_VARARG.

As a side-effect, this also normalizes behavior between editor and release templates, which fixes #76938.

The tests added also brought a different issue to light, where using `super()` appears to generate a
return variable discarded on calling super's _init(), which doesn't have a return value. This should be
tackled in a different PR, which will have to change the output of this PR's tests.
2023-06-15 07:16:31 -04:00
..
scripts GDScript: add errors when calling unimplemented virtual functions 2023-06-15 07:16:31 -04:00
gdscript_test_runner.cpp GDScript: Further restrict test error output for C++ errors 2023-06-14 13:28:52 +02:00
gdscript_test_runner.h Add option to print filenames in GDScript unit testing 2023-01-30 22:20:45 -05:00
gdscript_test_runner_suite.h Add option to print filenames in GDScript unit testing 2023-01-30 22:20:45 -05:00
README.md Update all outdated online documentation links 2023-01-14 19:38:00 +03:00
test_gdscript.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_gdscript.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00

GDScript integration tests

The scripts/ folder contains integration tests in the form of GDScript files and output files.

See the Integration tests for GDScript documentation for information about creating and running GDScript integration tests.