summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Reduce and prevent unnecessary random-access to `List`A Thousand Ships2024-05-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when accessing a single element) * Removed subscript operator, in favor of a more explicit `get` * Added conversion from `Iterator` to `ConstIterator` * Remade existing operations into other solutions when applicable
* | | add timer node testsShashank C2024-05-061-0/+1
|/ /
* / Fix some build errors with `disable_3d=yes`A Thousand Ships2024-04-161-1/+1
|/
* Merge pull request #90313 from Nazarwadim/unit_tests_oa_hash_mapRémi Verschelde2024-04-101-0/+1
|\ | | | | | | Add unit tests for `OAHashMap`
| * Add unit tests for OAHashMapnazarii2024-04-101-0/+1
| |
* | Merge pull request #88614 from ramadm/test-camera-2dRémi Verschelde2024-04-101-0/+1
|\ \ | | | | | | | | | Add unit tests for Camera2D
| * | Add unit tests for Camera2DRama Del Maestro2024-02-211-0/+1
| | |
* | | Add unit test for resolve_hostnameRevoluPowered2024-04-101-0/+1
| |/ |/|
* | Add methods to get argument count of methodsA Thousand Ships2024-03-101-0/+1
| | | | | | | | | | | | | | | | Added to: * `Callable`s * `Object`s * `ClassDB` * `Script(Instance)`s
* | Fixed MERGE_ALL commit from repeating actionsSofox2024-03-051-0/+1
| |
* | Fix some additional errors with 3D disabledA Thousand Ships2024-02-231-7/+15
| | | | | | | | | | | | | | | | | | * Disabled 2D navigation tests as they do not work * Disabled tests for primitive meshes * Unbound some `Mesh` methods that rely on 3D resources * Unexposed `World3D` as it depends on physics (and isn't useful) * Unexposed some `Viewport` vrs related properties that had unexposed methods
* | [Physics] Fix export with 3D disabledA Thousand Ships2024-02-221-0/+8
|/
* Added ImageTexture unit testsb2024-02-191-0/+1
|
* [Tests] Fix test regression without editorA Thousand Ships2024-02-171-0/+7
|
* Merge pull request #86874 from AThousandShips/no_3d_fixRémi Verschelde2024-01-081-6/+9
|\ | | | | | | Fix some build errors with `disable_3d=yes`
| * Fix some build errors with `disable_3d=Yes`A Thousand Ships2024-01-071-6/+9
| | | | | | | | | | | | * Some tests were incorrectly included * SCU builds with animation * Animation `switch`
* | Add unit test runner for autocompletionHolonProduction2024-01-051-1/+16
|/
* Add tests for Camera3DCHM2023-11-131-0/+1
|
* Add 2D navigation mesh bakingsmix82023-09-251-2/+2
| | | | Adds 2D navigation mesh baking.
* Add unit tests for type_convert Variant utility functionAaron Franke2023-09-081-0/+1
|
* Introduce the concept of global theme contextsYuri Sizov2023-09-061-1/+3
| | | | | | | | | | | | | | | | | This commit adds the default theme context, which replaces the need to manually check the project and the default theme all the time; simplifies related code. It also adds framework for custom theme contexts, to be used by the editor. Custom contexts can be attached to any node, and not necessarily a GUI/Window node. Contexts do no break theme inheritance and only define which global themes a node uses as a fallback. Contexts propagate NOTIFICATION_THEME_CHANGED when one of their global themes changes. This ensures that global themes act just like themes assigned to individual nodes and can be previewed live in the editor.
* Fix ThemeDB initialization in testsYuri Sizov2023-09-041-9/+8
| | | | Also fixes class name shadowing in Viewport/Window tests.
* Merge pull request #80105 from Sauermann/fix-global-transformRémi Verschelde2023-08-281-0/+2
|\ | | | | | | Fix global transform validity for `Node2D` and `Control`
| * Fix global transform validity for `Node2D` and `Control`Markus Sauermann2023-08-081-0/+2
| | | | | | | | Set global transform to invalid when changing transform
* | Suppress expected errors in navi-related unit tests, #80616Pawel Lampe2023-08-221-0/+4
| |
* | Fix nodes receiving mouse events in black bars of `Window`Markus Sauermann2023-08-091-0/+1
| | | | | | | | | | | | | | | | Previously for InputEvents there was no distinction between Window-area and Viewport-area. This was problematic in cases where stretching was used and the Window contained black bars at the sides of the Viewport. This PR separates the area of Window and Viewport regarding InputEvents.
* | Support shader preprocessor concatenation symbolJohan Aires Rastén2023-08-081-0/+1
|/
* Merge pull request #79440 from sepTN/test-packed-sceneRémi Verschelde2023-08-071-0/+1
|\ | | | | | | Add unit tests for PackedScene
| * Add unit tests for PackedSceneSeptian2023-08-061-0/+1
| |
* | Merge pull request #79331 from azuloo/translation-server-test-suiteRémi Verschelde2023-08-071-0/+1
|\ \ | | | | | | | | | Add a test suite for TranslationServer
| * | Add a test suite for TranslationServerazuloo2023-07-111-0/+1
| |/
* / Added tests to InputEventMiguel Pereira2023-07-171-0/+1
|/
* Add HTTPClient unit testsangel-7212023-06-211-0/+1
|
* Add initial 'NavigationObstacle' and 'NavigationRegion' testsPawel Lampe2023-06-141-0/+4
|
* Add unit test: mouse movement after slider releaseMarkus Sauermann2023-06-051-0/+1
|
* Streamline WorkerThreadPool tests and make them more robustmyaaaaaaaaa2023-05-171-3/+9
|
* Fix multiple issues in WorkerThreadPoolPedro J. Estébanez2023-05-111-0/+2
| | | | | | | - Fix project settings being ignored. - Made usages of `native_thread_allocator` thread-safe. - Remove redundant thread-safety from `low_priority_threads_used`, `exit_threads`. - Fix deadlock due to unintended extra lock of `task_mutex`.
* add unit tests for Curve3DAlex Drozd2023-05-101-0/+1
|
* Fix various errors when running the unit testsRedworkDE2023-05-091-1/+1
| | | | Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
* Add initial navigation testsPawel Lampe2023-02-131-0/+11
|
* Add Unit Tests for Viewport InputEvent handlingMarkus Sauermann2023-02-091-0/+4
|
* Merge pull request #71972 from Sauermann/fix-test-dsRémi Verschelde2023-01-311-1/+4
|\ | | | | | | [unittests] Send Mouse events via DisplayServer instead of push_input
| * [unittests] Send Mouse events via DisplayServer instead of push_inputMarkus Sauermann2023-01-291-1/+4
| | | | | | | | | | | | | | | | | | | | Currently Unittests simplify mouse-events by just pushing them to Viewports. For dealing with mouse-screen-coordinates (caused by the introduction of multiple native Windows) it becomes necessary to extend the DisplayServer functionality for unittests. This PR introduces DisplayServerMock based on DisplayServerHeadless, which additionally supports basic Mouse-Input handling.
* | Add Unit test for InputEventMouseARez2023-01-291-0/+1
|/
* Add unit tests for Curve2DHenrique Coura2023-01-131-0/+1
|
* Add support for the custom initial screen for the main window, fix primary ↵bruvzg2023-01-071-1/+1
| | | | screen detection.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Add initial tests for NodeMarius Hanl2023-01-031-0/+1
| | | | | | | | - Test simple and complex cases for: -> add, remove, move, get, find, count, is_inside_tree -> name, nodepath -> verify the scene tree - Simple tests for the processing setup
* Merge pull request #70396 from jainl28patel/VisualShader-unit-testYuri Rubinsky2022-12-261-0/+1
|\
| * Add unit test for VisualShaderjainl28patel2022-12-261-0/+1
| |