summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Unexpose _direct_state_changed in PhysicsBodyrafallus2021-04-222-11/+3
| | | | | | | Removed _direct_state_changed bindings Affects 2D and 3D nodes Callbacks now use Callable Tests were changed accordingly
* Refactor GLSL shader compilationreduz2021-04-141-1/+1
| | | | | | | | -Used a more consistent set of keywords for the shader -Remove all harcoded entry points -Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization. -Entry point for sky shaders is now sky(). -Entry point for particle shaders is now process().
* Merge pull request #47774 from DanielKriz/bugfix/CommandQueueRémi Verschelde2021-04-111-2/+2
|\ | | | | Fix includes in test_command_queue.h
| * Fix includes in test_command_queue.hDaniel Kříž2021-04-101-2/+2
| |
* | Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde2021-04-012-2/+2
|\ \ | | | | | | Rename Array.invert() to Array.reverse()
| * | Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-212-2/+2
| | | | | | | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* | | Add a test suite for DictionaryHugo Locurcio2021-03-312-0/+160
| | | | | | | | | | | | Co-authored-by: Sarav Noor Singh <saravnoorsingh@Saravs-MBP.T-mobile.com>
* | | add tests for path3dDaniel Kříž2021-03-292-0/+86
| |/ |/|
* | Rename ButtonList enum and members to MouseButtonAaron Franke2021-03-231-2/+2
| |
* | Merge pull request #44398 from RevoluPowered/unit-tests-for-export-templatesRémi Verschelde2021-03-231-0/+3
|\ \ | |/ |/| Add unit tests for export templates
| * Add unit tests for export templatesGordon MacPherson2021-03-221-0/+3
| |
* | Disable backface collision with ConcavePolygonShape by defaultPouleyKetchoupp2021-03-181-2/+4
| | | | | | | | | | | | | | | | 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.
* | Merge pull request #45545 from abaire/relaxes_gltf_name_sanitizationRémi Verschelde2021-03-091-0/+14
|\ \ | | | | | | Relaxes node name sanitization in gltf documents.
| * | Relaxes Node naming constraints in glTF documents to match the Editor.abaire2021-02-241-0/+14
| | |
* | | Add unit tests for HashingContextMaximilian Mayer2021-03-072-0/+166
| | |
* | | Merge pull request #46473 from angad-k/PathFollow2D-unit-testRémi Verschelde2021-02-271-12/+24
|\ \ \ | | | | | | | | Fix some initializations in PathFollow2D's unit test
| * | | fix initializations of node Path2D unit testsAngad Kambli2021-02-271-12/+24
| | | |
* | | | Added test file and test casesJames Gordon2021-02-272-0/+418
| | | |
* | | | Merge pull request #45914 from HenryWConklin/45841-xml-entitiesRémi Verschelde2021-02-243-0/+121
|\ \ \ \ | | | | | | | | | | Add support for numeric XML entities to XMLParser
| * | | | Add support for numeric XML entities to XMLParserHenry Conklin2021-02-143-0/+121
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | * 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
* | | | Merge pull request #46341 from angad-k/PathFollow3D-unit-testRémi Verschelde2021-02-241-0/+220
|\ \ \ \ | | | | | | | | | | add PathFollow3D unit test
| * | | | add PathFollow3D unit testAngad Kambli2021-02-231-0/+220
| | | | |
* | | | | Merge pull request #46277 from angad-k/PathFollow2D-unit-testRémi Verschelde2021-02-211-0/+229
|\ \ \ \ \ | | |_|/ / | |/| | | PathFollow2D unit test
| * | | | set up PathFollow2D unit testAngad Kambli2021-02-211-0/+229
| |/ / /
* / / / Add a test suite for ResourceHugo Locurcio2021-02-202-0/+115
|/ / /
* | | Add a test suite for ArraySarav Noor Singh2021-02-192-0/+187
| | |
* | | Merge pull request #45032 from neikeq/classdb-tests-for-44856Rémi Verschelde2021-02-181-5/+38
|\ \ \ | | | | | | | | Add ClassDB tests to look for core API deps on editor API
| * | | Add ClassDB tests to look for core API deps on editor APIIgnacio Etcheverry2021-01-091-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Use Vector3.UP as a default value for look_at's up vectorAaron Franke2021-02-161-2/+2
| |/ / |/| |
* | | Add Unit Tests for Variant Assignmentsps11122021-02-111-0/+594
| | |
* | | Make Servers truly Thread Safereduz2021-02-101-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | -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).
* | | Add a test suite for the Image classManolis Papadeas2021-02-067-0/+260
| | |
* | | Merge pull request #45315 from RandomShaper/modernize_threadRémi Verschelde2021-01-311-10/+6
|\ \ \ | | | | | | | | Modernize Thread
| * | | Modernize ThreadPedro J. Estébanez2021-01-291-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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)
* | | | Merge pull request #45519 from aaronfranke/physics-real_tRémi Verschelde2021-01-291-7/+7
|\ \ \ \ | | | | | | | | | | Use real_t in physics code
| * | | | Use real_t in physics codeAaron Franke2021-01-281-7/+7
| | | | |
* | | | | Merge pull request #45411 from a-ivanov/more-object-testsRémi Verschelde2021-01-291-0/+213
|\ \ \ \ \ | |/ / / / |/| | | | Unit tests for Object creation and property getter/setter
| * | | | Unit tests for Object creation and property getter/setterAnton Ivanov2021-01-291-0/+213
| | | | |
* | | | | Unify URI encoding/decoding and add to C#Aaron Franke2021-01-281-11/+3
| | | | | | | | | | | | | | | | | | | | http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
* | | | | Make hex_to_int and bin_to_int handle the prefix automaticallyAaron Franke2021-01-281-4/+1
| | | | | | | | | | | | | | | Also add BinToInt to C#
* | | | | Renamed String.ord_at to unicode_atYuri Roubinsky2021-01-261-1/+1
| |/ / / |/| | |
* | | | Merge pull request #44797 from a-ivanov/marshall-core-unit-testsRémi Verschelde2021-01-242-0/+330
|\ \ \ \ | | | | | | | | | | Marshall core unit tests
| * | | | Unit tests for encoding/decoding VariantAnton Ivanov2021-01-241-0/+171
| | | | |
| * | | | Unit tests for encoding/decoding of base typesAnton Ivanov2021-01-242-0/+159
| | |/ / | |/| |
* | | | Merge pull request #44514 from madmiraal/split-os-executeRémi Verschelde2021-01-121-1/+1
|\ \ \ \ | | | | | | | | | | Split OS::execute into two methods
| * | | | Split OS::execute into two methodsMarcel Admiraal2021-01-091-1/+1
| |/ / / | | | | | | | | | | | | | | | | 1. execute(): Executes a command and returns the results. 2. create_process(): Creates a new process and returns the new process' id.
* / / / Add function `LocalVector::remove_unordered`AndreaCatania2021-01-112-0/+230
|/ / / | | | | | | | | | Added LocalVector unit tests.
* | | Use comma over `<<` operator for all unit test loggingAndrii Doroshenko (Xrayez)2021-01-085-55/+53
| | | | | | | | | | | | | | | | | | | | | 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.
* | | doctest: Update to 2.4.4Rémi Verschelde2021-01-081-4/+4
| |/ |/| | | | | | | Make ClassDB test macros enforce their msg to be constructed as String, since doctest 2.4.2 changes the message passing to vararg.
* | Update copyright statements to 2021Rémi Verschelde2021-01-0148-96/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 🎆