summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-03-18Disable backface collision with ConcavePolygonShape by defaultPouleyKetchoupp
Helps a lot with soft bodies and generally useful to avoid shapes to go through the ground in certain cases. Added an option in ConcavePolygonShape to re-enable backface collision on specific bodies if needed.
2021-03-09Merge pull request #45545 from abaire/relaxes_gltf_name_sanitizationRémi Verschelde
Relaxes node name sanitization in gltf documents.
2021-03-07Add unit tests for HashingContextMaximilian Mayer
2021-02-27Merge pull request #46473 from angad-k/PathFollow2D-unit-testRémi Verschelde
Fix some initializations in PathFollow2D's unit test
2021-02-27fix initializations of node Path2D unit testsAngad Kambli
2021-02-27Added test file and test casesJames Gordon
2021-02-24Relaxes Node naming constraints in glTF documents to match the Editor.abaire
2021-02-24Merge pull request #45914 from HenryWConklin/45841-xml-entitiesRémi Verschelde
Add support for numeric XML entities to XMLParser
2021-02-24Merge pull request #46341 from angad-k/PathFollow3D-unit-testRémi Verschelde
add PathFollow3D unit test
2021-02-23add PathFollow3D unit testAngad Kambli
2021-02-21Merge pull request #46277 from angad-k/PathFollow2D-unit-testRémi Verschelde
PathFollow2D unit test
2021-02-21set up PathFollow2D unit testAngad Kambli
2021-02-20Add a test suite for ResourceHugo Locurcio
2021-02-19Add a test suite for ArraySarav Noor Singh
2021-02-18Merge pull request #45032 from neikeq/classdb-tests-for-44856Rémi Verschelde
Add ClassDB tests to look for core API deps on editor API
2021-02-16Use Vector3.UP as a default value for look_at's up vectorAaron Franke
2021-02-14Add support for numeric XML entities to XMLParserHenry Conklin
* Add support for decimal numeric entities to String::xml_unescape * Add more error checks to String::xml_unescape * Refactor XMLParser to use String::xml_unescape instead of an internal implementation
2021-02-11Add Unit Tests for Variant Assignmentsps1112
2021-02-10Make Servers truly Thread Safereduz
-Rendering server now uses a split RID allocate/initialize internally, this allows generating RIDs immediately but initialization to happen later on the proper thread (as rendering APIs generally requiere to call on the right thread). -RenderingServerWrapMT is no more, multithreading is done in RenderingServerDefault. -Some functions like texture or mesh creation, when renderer supports it, can register and return immediately (so no waiting for server API to flush, and saving staging and command buffer memory). -3D physics server changed to be made multithread friendly. -Added PhysicsServer3DWrapMT to use 3D physics server from multiple threads. -Disablet Bullet (too much effort to make multithread friendly, this needs to be fixed eventually).
2021-02-06Add a test suite for the Image classManolis Papadeas
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-09Add ClassDB tests to look for core API deps on editor APIIgnacio Etcheverry
The ClassDB tests will detect when the core API has dependencies on the editor API, which is not allowed. This should prevent or warn early about issues like #44856
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