summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-01-31Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde
Modernize Thread
2021-01-29Merge pull request #45519 from aaronfranke/physics-real_tRémi Verschelde
Use real_t in physics code
2021-01-29Modernize ThreadPedro J. Estébanez
- Based on C++11's `thread` and `thread_local` - No more need to allocate-deallocate or check for null - No pointer anymore, just a member variable - Platform-specific implementations no longer needed (except for the few cases of non-portable functions) - Simpler for `NO_THREADS` - Thread ids are now the same across platforms (main is 1; others follow)
2021-01-29Merge pull request #45411 from a-ivanov/more-object-testsRémi Verschelde
Unit tests for Object creation and property getter/setter
2021-01-28Use real_t in physics codeAaron Franke
2021-01-29Unit tests for Object creation and property getter/setterAnton Ivanov
2021-01-28Unify URI encoding/decoding and add to C#Aaron Franke
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
2021-01-28Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke
Also add BinToInt to C#
2021-01-26Renamed String.ord_at to unicode_atYuri Roubinsky
2021-01-24Merge pull request #44797 from a-ivanov/marshall-core-unit-testsRémi Verschelde
Marshall core unit tests
2021-01-24Unit tests for encoding/decoding VariantAnton Ivanov
2021-01-24Unit tests for encoding/decoding of base typesAnton Ivanov
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