summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #97255 from kitbdev/test-tabsRémi Verschelde2024-10-041-0/+2
|\ | | | | | | Fix TabBar initialization issue and add tests
| * Fix TabBar initialization issue and add testskit2024-09-201-0/+2
| |
* | Add unit tests for PhysicsMaterialjonas2024-10-041-0/+1
| |
* | Merge pull request #97512 from matthewestopinal/mestopinal-sky-testsRémi Verschelde2024-10-011-0/+1
|\ \ | | | | | | | | | Add Unit Test cases for `Sky`
| * | Add Unit Test cases for `Sky`MATTHEW ESTOPINAL2024-10-011-0/+1
| | |
* | | Merge pull request #95931 from pafuent/adding_packet_peer_testsRémi Verschelde2024-10-011-0/+1
|\ \ \ | | | | | | | | | | | | Add unit tests for `PacketPeer`
| * | | Add unit tests for PacketPeerPablo Andres Fuente2024-10-011-0/+1
| |/ / | | | | | | | | | Partially fixes #43440
* / / Add unit tests for StreamPeer and StreamPeerBufferPablo Andres Fuente2024-10-011-0/+2
|/ / | | | | | | Partially fixes #43440
* | Move Godot Physics 2D into a module; add dummy 2D physics serverRicardo Buring2024-09-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | If the module is enabled (default), 2D physics works as it did before. If the module is disabled and no other 2D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 2D physics functionality (and a warning is printed). The dummy 2D physics server can also be selected explicitly, in which case no warning is printed.
* | Move Godot Physics 3D into a module; add dummy 3D physics serverRicardo Buring2024-09-211-0/+4
|/ | | | | | | | | | | | If the module is enabled (default), 3D physics works as it did before. If the module is disabled and no other 3D physics server is registered (via a module or GDExtension), then we fall back to a dummy implementation which effectively disables 3D physics functionality (and a warning is printed). The dummy 3D physics server can also be selected explicitly, in which case no warning is printed.
* Add per-bone meta to Skeleton3Ddemolke2024-09-161-0/+1
| | | | | Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled. - Also adds support for GLTF import/export
* Add unit tests for Parallax2DLeon Stansfield2024-09-061-0/+1
| | | | | | | | | | - Added test cases for setting and getting key properties of Parallax2D, including: - Scroll scale - Repeat size and times - Autoscroll - Scroll and screen offset - Limit begin and end - Follow viewport and ignore camera scroll flags
* Add unit tests for HeightMapShape3DLeon Stansfield2024-09-061-0/+1
| | | | | | | Added test cases for constructor and property getters/setters: - Map width, depth, and data - Minimum and maximum height - Update map data from image
* [Tests] Make `[Audio]` tag consistent with other test environment tagsHendrik Brucker2024-09-041-1/+1
|
* Merge pull request #92656 from fire/vsk-json-to-native-4.3Rémi Verschelde2024-08-301-0/+1
|\ | | | | | | Ability to convert native engine types to JSON and back.
| * Ability to convert native engine types to JSON and back.K. S. Ernest (iFire) Lee2024-08-291-0/+1
| | | | | | | | | | | | Implements support for all engine types in JSON encoding/decoding Co-Authored-By: Juan <reduzio@gmail.com> Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
* | Merge pull request #93824 from wheatear-dev/test-option-buttonRémi Verschelde2024-08-281-0/+1
|\ \ | | | | | | | | | Add unit tests for `OptionButton`
| * | Add tests for OptionButtonEdward Moulsdale2024-07-181-0/+1
| | |
* | | Merge pull request #93381 from Luis-Wong/test-buttonRémi Verschelde2024-08-281-0/+1
|\ \ \ | | | | | | | | | | | | Add button unit test
| * | | Created button test for is_hovered() method.Luis-Wong2024-07-261-0/+1
| | |/ | |/|
* | | Merge pull request #90501 from Calinou/test-add-gradienttextureRémi Verschelde2024-08-281-0/+1
|\ \ \ | | | | | | | | | | | | Add unit tests for GradientTexture1D and GradientTexture2D
| * | | Add unit tests for GradientTexture1D and GradientTexture2DHugo Locurcio2024-04-101-0/+1
| | | | | | | | | | | | | | | | Co-authored-by: ArthyChaux <53626057+ArthyChaux@users.noreply.github.com>
* | | | Merge pull request #95218 from MylesScholz/unit-testsRémi Verschelde2024-08-271-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | Add unit tests for `StyleBoxTexture`
| * | | | StyleBoxTexture unit testsMylesScholz2024-08-081-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Capitalization fix in test_style_box_texture.h Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro> Newline fix in test_style_box_texture.h Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
* / | | Improve Tree performanceaaronp642024-07-261-0/+1
|/ / / | | | | | | | | | Added TreeItem::last_child to avoid needing to iterate through all children to get to the end. This mainly helps in cases where one TreeItem has many children (1000s), and new children are added to the end, as each add had to iterate through all previously added children.
* | / Fix PathFollow tests, Add forward vector test to PathFollow3DRaul Santos2024-07-201-0/+2
| |/ |/|
* | [Tests] Fix various unit tests on minimal buildsA Thousand Ships2024-07-181-7/+16
| |
* | Add unit test cases for ImageTexture3Dgaven2024-06-121-0/+1
| |
* | make InstancePlaceholder in charge of node reference resolutionAdriano Orioli2024-05-281-0/+1
| |
* | Properly set window class in WaylandPaulo Poiati2024-05-221-1/+1
| |
* | Replace `find` with `contains/has` where applicableA Thousand Ships2024-05-081-4/+4
| | | | | | | | | | | | | | * Replaces `find(...) != -1` with `contains` for `String` * Replaces `find(...) == -1` with `!contains` for `String` * Replaces `find(...) != -1` with `has` for containers * Replaces `find(...) == -1` with `!has` for containers
* | Merge pull request #90705 from AThousandShips/foreach_listRémi Verschelde2024-05-071-3/+3
|\ \ | | | | | | | | | Reduce and prevent unnecessary random-access to `List`
| * | 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
|