summaryrefslogtreecommitdiffstats
path: root/tests/test_main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-271-0/+1
|\
| * Add unit tests for UDPServerPablo Andres Fuente2024-11-221-0/+1
| | | | | | | | This PR aims to help "fix" #43440
* | Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-201-0/+1
|\|
| * Merge pull request #95303 from EIREXE/inverted_composerRémi Verschelde2024-11-201-0/+1
| |\ | | | | | | | | | Fix `Projection::invert` for orthographic projection
| | * Fix Projection::invert on orthogonal projections and others.Álex Román2024-11-181-0/+1
| | | | | | | | | | | | | | | | | | Fixes #68878, specially when using orthographic projection. Also adds some tests.
| * | Merge pull request #99131 from MarcusAahl/my-testing-branchThaddeus Crews2024-11-191-0/+1
| |\ \ | | | | | | | | | | | | Add basic tests for Fontfile
| | * | Basic Fontfile testsmarcus åhl2024-11-191-0/+1
| | | |
* | | | Merge commit godotengine/godot@fd4c29a189e53a1e085df5b9b9a05cac9351b3efSpartan3222024-11-191-0/+1
|\| | |
| * | | Improve set_radial_initial_angle by removing loopsarkology2024-11-141-0/+1
| |/ / | | | | | | | | | | | | | | | Replace two while loops with fposmodp. Document radial_initial_angle wrapping. Add testcases for set_radial_initial_angle()
* | | Merge commit godotengine/godot@0f5f3bc9546b46b2029fc8896dc859697f1eab97Spartan3222024-11-111-0/+1
|\| |
| * | Add fuzzy string matching to quick open searchAdam Johnston2024-10-281-0/+1
| | | | | | | | | | | | Co-authored-by: sam <samsface@gmail.com>
* | | Merge pull request #818 from Spartan322/fixup/copyright-headersGeorge L. Albany2024-10-271-2/+2
|\ \ \ | | | | | | | | Fix copyright headers referring to Godot
| * | | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| | | |
* | | | Merge commit godotengine/godot@61accf060515416da07d913580419fd8c8490f7bSpartan3222024-10-261-0/+1
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Implement array based hash mapnazarii2024-10-241-0/+1
| | |
* | | Fix `Projection::invert` on orthogonal projections and others.Álex Román2024-10-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303
* | | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | | Rebrand Godot to RedotRandolph W. Aarseth II2024-10-111-4/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Linux Editor tests workflow matrix Add Windows Editor w/ Mono workflow matrix Add Generate Glue Code job to Windows workflow Add Build GodotSharp job to Windows workflow Add godot compatibility version references Add Godot author info Add Godot version compatibility info Add Godot donor info Add Godot authors and donors to editor_about.cpp Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | 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`