Johan Aires Rastén
6e1f68109b
Support shader preprocessor concatenation symbol
2023-08-08 10:56:20 +02:00
Rémi Verschelde
3532661a66
Merge pull request #79440 from sepTN/test-packed-scene
...
Add unit tests for PackedScene
2023-08-07 14:46:38 +02:00
Rémi Verschelde
66e40e402a
Merge pull request #79331 from azuloo/translation-server-test-suite
...
Add a test suite for TranslationServer
2023-08-07 14:45:24 +02:00
Septian
cd94f9ad08
Add unit tests for PackedScene
2023-08-06 23:51:31 +07:00
Miguel Pereira
c2ad5ca435
Added tests to InputEvent
2023-07-17 17:48:34 +02:00
azuloo
dd0bd90865
Add a test suite for TranslationServer
2023-07-11 14:30:53 +03:00
angel-721 and Rémi Verschelde
ab4e89ecde
Add HTTPClient unit tests
2023-06-21 11:53:55 +02:00
Pawel Lampe
b54c3e7e5e
Add initial 'NavigationObstacle' and 'NavigationRegion' tests
2023-06-14 22:24:37 +02:00
Markus Sauermann
479f359ac4
Add unit test: mouse movement after slider release
2023-06-05 13:51:28 +02:00
myaaaaaaaaa
c996863464
Streamline WorkerThreadPool tests and make them more robust
2023-05-17 17:33:08 -04:00
Pedro J. Estébanez
9077bb9232
Fix multiple issues in WorkerThreadPool
...
- 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`.
2023-05-11 16:10:09 +02:00
Alex Drozd
cdf9c33c35
add unit tests for Curve3D
2023-05-10 19:12:06 +02:00
RedworkDE and bruvzg
8e7afec479
Fix various errors when running the unit tests
...
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com >
2023-05-09 18:40:56 +02:00
Pawel Lampe
e92adba19c
Add initial navigation tests
2023-02-13 21:39:09 +01:00
Markus Sauermann
ce6c290528
Add Unit Tests for Viewport InputEvent handling
2023-02-09 14:53:04 +01:00
Rémi Verschelde
cf2bf08b41
Merge pull request #71972 from Sauermann/fix-test-ds
...
[unittests] Send Mouse events via DisplayServer instead of push_input
2023-01-31 15:56:50 +01:00
Markus Sauermann
7de1b1a40d
[unittests] Send Mouse events via DisplayServer instead of push_input
...
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.
2023-01-29 21:29:39 +01:00
ARez
23827d4303
Add Unit test for InputEventMouse
2023-01-29 14:09:53 +01:00
Henrique Coura
d9ceddd86b
Add unit tests for Curve2D
2023-01-13 13:54:45 -03:00
bruvzg
2718a7b7d3
Add support for the custom initial screen for the main window, fix primary screen detection.
2023-01-07 11:14:35 +02:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
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".
2023-01-05 13:25:55 +01:00
Marius Hanl
eec42f1aab
Add initial tests for Node
...
- 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
2023-01-03 07:50:20 +01:00
Yuri Rubinsky and GitHub
b6e06038f8
Merge pull request #70396 from jainl28patel/VisualShader-unit-test
2022-12-26 15:13:56 +03:00
jainl28patel
e4f4fb580e
Add unit test for VisualShader
2022-12-26 16:52:07 +05:30
Marius Hanl and Yuri Sizov
5aa243f9da
Added the possibility to define a default value in ProjectSettings.get_setting(), which is used when no setting is set.
...
Also added tests for the project settings.
Co-authored-by: Yuri Sizov <11782833+YuriSizov@users.noreply.github.com >
2022-12-21 19:49:57 +01:00
kobewi
d9f066d5fa
Remove duplicate project settings definitions
2022-11-08 01:29:39 +01:00
Hendrik Brucker and Hugo Locurcio
e62955b45b
Add a test suite for Math:: namespace functions
...
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
2022-11-04 03:08:08 +01:00
Rémi Verschelde
18380817f2
Merge pull request #67274 from jbcolli2/Primitive_Tests
...
Unit Tests for all Primitive Meshes.
2022-11-02 22:37:06 +01:00
Rémi Verschelde
1bff95ad49
Merge pull request #66927 from jbcolli2/Path2d-Tests
...
Unit tests for Path2D class
2022-11-02 18:53:15 +01:00
Rémi Verschelde
1211f9d9b6
Merge pull request #67800 from jbcolli2/ArrayMesh-UnitTests
...
Unit Tests for ArrayMesh class for Issue #43440
2022-10-31 11:58:28 +01:00
jbcolli2
24a3556bea
ArrayMesh unit tests
2022-10-24 15:15:05 -04:00
Wei Guo and kiraweiguo
d7e39e313b
Make window creation with custom position do not flash
2022-10-24 13:50:25 +08:00
jbcolli2
ad16187a4a
PrimitiveMesh unit tests.
2022-10-14 12:23:36 -04:00
jbcolli2 and Matthew-Tave
92a466c162
Unit tests for Path2D module.
...
Co-authored-by: Matthew-Tave <tavematthew@gmail.com >
2022-10-12 22:00:34 -04:00
Ricardo Buring
532e378cd9
Expose registration of physics servers to GDExtension
...
This exposes PhysicsServer2DManager and PhysicsServer3DManager.
2022-09-07 15:05:46 +02:00
Rémi Verschelde
c82bbc38a5
Merge pull request #64952 from Chaosus/vs_rename_uniform_to_param
2022-09-02 13:49:53 +02:00
Hendrik Brucker and Resul Çelik
ea0472fecf
Refactor BitMap and add tests
...
Co-authored-by: Resul Çelik <resul_celik@hotmail.com >
2022-09-01 18:39:17 +02:00
Yuri Rubinsky
8191b3c110
Rename uniform to parameter across the engine
2022-09-01 11:42:57 +03:00
Yuri Sizov
6320a0fc18
Add ThemeDB, expose previously static Theme methods
2022-08-26 19:23:05 +03:00
Hendrik Brucker
36061c5dca
Vector4/Vector4i: Add missing methods, tests and fix change of sign operator
2022-08-07 12:25:05 +02:00
jtorre39 and Rémi Verschelde
667faa68e9
Add unit tests for all public methods in the SpriteFrames class
2022-08-04 14:27:14 +02:00
Rémi Verschelde and GitHub
426240f18a
Merge pull request #50907 from codepatzer/quaternion_ut
2022-08-04 14:26:46 +02:00
Rémi Verschelde and GitHub
29afda3fd5
Merge pull request #60736 from StrawbDev/audio-stream-sample-unit-test
2022-08-04 13:56:53 +02:00
codepatzer and Rémi Verschelde
d0cb0ff248
Add tests file for Quaternion unit tests, with initial UTs
...
- Test constructors and quaternion product.
- Add test case for Axis-Angle construction about Y-axis.
- Add test case for xform of i-, j-, & k-unit vectors.
- Add test case for construction from Basis.
- Add test case for xform of arbitrary vector.
- Add stress test case: many Quaternions xform many vectors.
- Make comments consistent with style guide.
2022-08-04 13:56:04 +02:00
StrawbDev and Rémi Verschelde
3c252d5c6d
Add test cases for AudioStreamWAV
2022-08-04 13:24:33 +02:00
Timon Bestebreur and Rémi Verschelde
997f18f686
Add Unit Tests for InputEventKey
2022-08-04 12:59:13 +02:00
Rémi Verschelde and GitHub
255e0770c4
Merge pull request #54325 from skimmedsquare/test-add-rid
2022-08-04 12:51:53 +02:00
Timon Bestebreur and Rémi Verschelde
92b392e3db
Add unit tests for Shortcut
...
Next to that, add entry for the test file in test_main.cpp.
These test cases test the basic functionality of the shortcut module.
2022-08-04 12:18:36 +02:00
Sean Kim and Rémi Verschelde
4706b975b6
Add unit tests for RID class.
2022-08-04 12:05:25 +02:00
Fabian Keller
f242f9c738
Fix consistency of translated/scaled/rotated in Transform2D and Transform3D
2022-08-02 23:38:14 +02:00