virtualx-engine/modules/gdscript/tests
Jason Yundt 1cc7e7ec33 Improve autoload inheritance error message
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.

Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.

Fixes #59884.
2022-04-04 15:51:02 -04:00
..
scripts GDScript: Check if method signature matches the parent 2022-03-06 11:16:20 -03:00
gdscript_test_runner.cpp Improve autoload inheritance error message 2022-04-04 15:51:02 -04:00
gdscript_test_runner.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
gdscript_test_runner_suite.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
README.md Add a README to link to the GDScript integration tests documentation 2021-08-25 16:51:28 +02:00
test_gdscript.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
test_gdscript.h Update copyright statements to 2022 2022-01-03 21:27:34 +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.