summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-01-12Merge pull request #44514 from madmiraal/split-os-executeRémi Verschelde
Split OS::execute into two methods
2021-01-11Add function `LocalVector::remove_unordered`AndreaCatania
Added LocalVector unit tests.
2021-01-09Split OS::execute into two methodsMarcel Admiraal
1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
2021-01-08Use comma over `<<` operator for all unit test loggingAndrii Doroshenko (Xrayez)
The comma operator should be preferred now according to doctest. Moved macro aliases from `ClassDB` tests to `test_macros.h`, because those are also used in `TextServer` tests.
2021-01-08doctest: Update to 2.4.4Rémi Verschelde
Make ClassDB test macros enforce their msg to be constructed as String, since doctest 2.4.2 changes the message passing to vararg.
2021-01-01Update copyright statements to 2021Rémi Verschelde
Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
2020-12-30Added Geometry2D unit testsMarcus Brummer
2020-12-30Increase number of sections in object files for tests with MSVCAndrii Doroshenko (Xrayez)
2020-12-28Merge pull request #44586 from madmiraal/rename-stepifyRémi Verschelde
Rename Math::stepify to snapped
2020-12-28Merge pull request #44751 from madmiraal/rename-rect-grow_marginRémi Verschelde
Rename Rect2 and Rect2i grow_margin() to grow_side()
2020-12-28Merge pull request #44593 from madmiraal/rename-mainloop-methodsRémi Verschelde
Rename MainLoop methods to match Node methods
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-28Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal
2020-12-28Merge pull request #44687 from Xrayez/tests-data-rel-pathRémi Verschelde
Use relative path to executable for loading test data
2020-12-28Rename empty() to is_empty()Marcel Admiraal
2020-12-25Use relative path to executable for loading test dataAndrii Doroshenko (Xrayez)
Fixes crash if tests are run outside the Godot root directory.
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-22Rename MainLoop methods to match Node methodsMarcel Admiraal
2020-12-21simplify randi_rangeMarco Cognetta
2020-12-21Add a paged array templatereduz
Used for reusable stacks, or filling arrays from multiple threads efficiently.
2020-12-21Add unit test for `RandomNumberGenerator`Andrii Doroshenko (Xrayez)
This covers RNG functionality completely. Co-authored-by: @vinayakmtiwari.
2020-12-20Merge pull request #42136 from Xrayez/test-list-apiRémi Verschelde
Add test cases for the `List` to cover public methods
2020-12-19Rename Rect2 and Rect2i clip() to intersection()Marcel Admiraal
2020-12-18Implement automatic LOD (Level of Detail)reduz
-Happens on import by default for all models -Just works (tm) -Biasing can be later adjusted per node or per viewport (as well as globally) -Disabled AABB.get_support test because its broken
2020-12-11Add test suite for `FileAccess`Andrii Doroshenko (Xrayez)
2020-12-07Add test suite for `RandomNumberGenerator`Andrii Doroshenko (Xrayez)
2020-12-03Merge pull request #43536 from jonbonazza/hmacFabio Alessandrelli
feat: HMAC support in Crypto APIs
2020-11-26feat: HMAC support in Crypto APIsJon Bonazza
2020-11-26[Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵bruvzg
TextServer.
2020-11-23Merge pull request #43781 from MaxMutantMayer/regex_unit_testsRémi Verschelde
Move and add new RegEx test cases
2020-11-23Merge pull request #43727 from Calinou/test-add-aabbRémi Verschelde
Add a test suite for AABB
2020-11-22Move and add new RegEx test casesMaximilian Mayer
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.
2020-11-20Add a test suite for AABBHugo Locurcio
2020-11-20Merge pull request #43583 from Calinou/test-add-objectRémi Verschelde
Add a test suite for Object
2020-11-20Merge pull request #43514 from Calinou/test-add-rect2-rect2iRémi Verschelde
Add a test suite for Rect2 and Rect2i
2020-11-20Add a test suite for ObjectHugo Locurcio
2020-11-20Add a test suite for Rect2 and Rect2iHugo Locurcio
2020-11-20Style fix after #43517Rémi Verschelde
2020-11-20Merge pull request #43517 from Calinou/test-add-jsonRémi Verschelde
Add a test suite for JSON
2020-11-20doctest: Do not override command-line optionsAndrii Doroshenko (Xrayez)
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.
2020-11-16Remove empty lines around braces with the formatting scriptAaron Franke
2020-11-16Add a test suite for ConfigFileHugo Locurcio
2020-11-16Merge pull request #43578 from Calinou/test-add-nodepathRémi Verschelde
Add a test suite for NodePath
2020-11-16Merge pull request #43572 from Calinou/test-add-pckpackerRémi Verschelde
Add a test suite for PCKPacker
2020-11-15Add a test suite for NodePathHugo Locurcio
2020-11-15Add a test suite for PCKPackerHugo Locurcio
2020-11-14Add a test suite for JSONHugo Locurcio
This test suite doesn't attempt to test error/invalid cases since the current JSON parser has a lot of false negatives.
2020-11-13Add a test suite for CurveHugo Locurcio
2020-11-09Variant: Rename Type::_RID to Type::RIDRémi Verschelde
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`.
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code