Age | Commit message (Collapse) | Author |
|
feat: HMAC support in Crypto APIs
|
|
|
|
TextServer.
|
|
Move and add new RegEx test cases
|
|
Add a test suite for AABB
|
|
Test cases for 'RegEx' are moved from 'test_string.h' to own test suite
in 'test_regex.h'. Additionally, new tests are introduced and '_init' is
removed as it isn't implemented/used anywhere.
|
|
|
|
Add a test suite for Object
|
|
Add a test suite for Rect2 and Rect2i
|
|
|
|
|
|
|
|
Add a test suite for JSON
|
|
Those options were likely copy-pasted from documentation examples.
This change also allows to break in the debugger by default when
assertions fail, and this can be configured via command-line interface.
|
|
|
|
|
|
Add a test suite for NodePath
|
|
Add a test suite for PCKPacker
|
|
|
|
|
|
This test suite doesn't attempt to test error/invalid cases since
the current JSON parser has a lot of false negatives.
|
|
|
|
The underscore prefix was used to avoid the conflict between the `RID` class
name and the matching enum value in `Variant::Type`.
This can be fixed differently by prefixing uses of the `RID` class in `Variant`
with the scope resolution operator, as done already for `AABB`.
|
|
-Removed FuncRef, since Callable makes it obsolete
-Removed int_types.h as its obsolete in c++11+
-Changed color names code
|
|
-Using classes to call and a table
-For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
|
|
Returning the most contrasting color isn't a trivial task, as there
are often many possible choices. It's usually best left for the user
to implement using a script.
|
|
Removed make_binders and the old style generated binders.
|
|
Adds unit tests for command_queue_mt.h/cpp
In this revision, some unit tests will fail due to issue #42107.
|
|
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Fix `List` swap behavior on front, back and adjacent elements
|
|
|
|
Adds a number of test cases for `List::swap()`.
|
|
GDNative-specific tests moved out of main `tests/` folder into
`modules/gdnative/tests`.
Include path for GDNative headers are still hardcoded in `tests/SCsub`,
but made conditional now.
Also fixed test case tag typos.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
|
|
|
|
Instead of just the one argument that is exactly --test.
The long-form arguments --test-case and --test-suite were ignored.
|
|
|
|
|
|
|
|
|
|
Add a test suite for Expression
|
|
This also makes the first parameter of `Expression::execute()` optional
from C++. Previously, it was only optional in the scripting API.
|
|
|
|
Extracted the most minimal core initialization functionality from
`setup()` and `setup2()` so that `ClassDB` could be tested properly
(input, audio, rendering, physics etc, are excluded).
Display and rendering servers/singletons are not initialized at all.
Due to the fact that most subsystems are disabled, fixed various crashes in the
process (in order):
- `AcceptDialog` OK/cancel swap behavior (used `DisplayServer` while
`register_scene_types()`);
- `make_default_theme` which depends on `RenderingServer`;
- `XRServer` singleton access while calling `register_modules_types()`;
- hidden bug in a way joypads are cleaned up (MacOS and Linux only).
Removed manual `ClassDB` init/cleanup calls from `test_validate_testing.h`.
ClassDB tests:
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
|
|
Port OrderedHashMap tests to doctest
|
|
Port Basis tests to use doctest.
|
|
|
|
|
|
|
|
|
|
Fix heap use after free in the doctest "main".
|