summaryrefslogtreecommitdiff
path: root/tests/test_main.cpp
AgeCommit message (Collapse)Author
2021-02-24Merge pull request #45914 from HenryWConklin/45841-xml-entitiesRémi Verschelde
Add support for numeric XML entities to XMLParser
2021-02-20Add a test suite for ResourceHugo Locurcio
2021-02-19Add a test suite for ArraySarav Noor Singh
2021-02-14Add support for numeric XML entities to XMLParserHenry Conklin
* 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
2021-02-06Add a test suite for the Image classManolis Papadeas
2021-01-24Merge pull request #44797 from a-ivanov/marshall-core-unit-testsRémi Verschelde
Marshall core unit tests
2021-01-24Unit tests for encoding/decoding of base typesAnton Ivanov
2021-01-11Add function `LocalVector::remove_unordered`AndreaCatania
Added LocalVector unit tests.
2021-01-01Update copyright statements to 2021Rémi Verschelde
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 🎆
2020-12-30Added Geometry2D unit testsMarcus Brummer
2020-12-21Add a paged array templatereduz
Used for reusable stacks, or filling arrays from multiple threads efficiently.
2020-12-11Add test suite for `FileAccess`Andrii Doroshenko (Xrayez)
2020-12-07Add test suite for `RandomNumberGenerator`Andrii Doroshenko (Xrayez)
2020-12-03Merge pull request #43536 from jonbonazza/hmacFabio Alessandrelli
feat: HMAC support in Crypto APIs
2020-11-26feat: HMAC support in Crypto APIsJon Bonazza
2020-11-26[Complex Text Layouts] Implement TextServer interface. Implement Fallback ↵bruvzg
TextServer.
2020-11-23Merge pull request #43727 from Calinou/test-add-aabbRémi Verschelde
Add a test suite for AABB
2020-11-20Add a test suite for AABBHugo Locurcio
2020-11-20Merge pull request #43583 from Calinou/test-add-objectRémi Verschelde
Add a test suite for Object
2020-11-20Merge pull request #43514 from Calinou/test-add-rect2-rect2iRémi Verschelde
Add a test suite for Rect2 and Rect2i
2020-11-20Add a test suite for ObjectHugo Locurcio
2020-11-20Add a test suite for Rect2 and Rect2iHugo Locurcio
2020-11-20Merge pull request #43517 from Calinou/test-add-jsonRémi Verschelde
Add a test suite for JSON
2020-11-20doctest: Do not override command-line optionsAndrii Doroshenko (Xrayez)
Those options were likely copy-pasted from documentation examples. This change also allows to break in the debugger by default when assertions fail, and this can be configured via command-line interface.
2020-11-16Add a test suite for ConfigFileHugo Locurcio
2020-11-16Merge pull request #43578 from Calinou/test-add-nodepathRémi Verschelde
Add a test suite for NodePath
2020-11-16Merge pull request #43572 from Calinou/test-add-pckpackerRémi Verschelde
Add a test suite for PCKPacker
2020-11-15Add a test suite for NodePathHugo Locurcio
2020-11-15Add a test suite for PCKPackerHugo Locurcio
2020-11-14Add a test suite for JSONHugo Locurcio
This test suite doesn't attempt to test error/invalid cases since the current JSON parser has a lot of false negatives.
2020-11-13Add a test suite for CurveHugo Locurcio
2020-11-07Reorganized core/ directory, it was too fatty alreadyreduz
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code
2020-10-18Refactor MethodBind to use variadic templatesreduz
Removed make_binders and the old style generated binders.
2020-10-12core/command_queue_mt: Customizable size and testsLyuma
Adds unit tests for command_queue_mt.h/cpp In this revision, some unit tests will fail due to issue #42107.
2020-09-13Add a test suite for `List`Andrii Doroshenko (Xrayez)
Adds a number of test cases for `List::swap()`.
2020-09-11Move GDNative `String` tests to respective moduleAndrii Doroshenko (Xrayez)
GDNative-specific tests moved out of main `tests/` folder into `modules/gdnative/tests`. Include path for GDNative headers are still hardcoded in `tests/SCsub`, but made conditional now. Also fixed test case tag typos. Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2020-09-03[Complex Test Layouts] Change `String` to use UTF-32 encoding on all platforms.bruvzg
2020-09-02Fix doctest runner ignoring all arguments starting with --teststrank
Instead of just the one argument that is exactly --test. The long-form arguments --test-case and --test-suite were ignored.
2020-09-02Register GDScript test tools as test commands to run via command-lineAndrii Doroshenko (Xrayez)
2020-08-31Merge pull request #40955 from Calinou/test-add-expressionRémi Verschelde
Add a test suite for Expression
2020-08-27Add a test suite for ExpressionHugo Locurcio
This also makes the first parameter of `Expression::execute()` optional from C++. Previously, it was only optional in the scripting API.
2020-08-19Add a test suite for GradientHugo Locurcio
2020-07-31Fix memory leak in test argsAndrii Doroshenko (Xrayez)
2020-07-31Merge pull request #40928 from bruvzg/fix_test_heap_use_after_freeRémi Verschelde
Fix heap use after free in the doctest "main".
2020-07-31Add a test suite for ColorHugo Locurcio
2020-07-31Fix heap use after free in the doctest "main".bruvzg
2020-07-30Hide implementation details of doctest macrosAndrii Doroshenko (Xrayez)
`test_macros.h` is created to provide various macros acting as aliases for doctest macros to work better with Godot internals and conventions. This also makes it accessible for those who'd like to start writing tests in Godot, as most vital information can be put together and documented directly in `test_macros.h` header. Developers are encouraged to include the new `tests/test_macros.h` for writing new tests over `thirdparty/doctest/doctest.h`. Added `TEST_CASE_PENDING("name")` as an alias for `TEST_CASE("name", doctest::skip())` which could be used to mark failing tests for issues yet to be fixed, so as to not affect CI testing results. Added `ERR_PRINT_OFF` and `ERR_PRINT_ON` to control error printing for testing various **expected** failure paths within Godot without polluting the test summary with error messages.
2020-07-29Cleanup obsolete tests from displaying in helpAndrii Doroshenko (Xrayez)
2020-07-28Add test suite for `Variant`Andrii Doroshenko (Xrayez)
Added a test case for `VariantWriter` and `VariantParser` overflows.
2020-07-26Enable support for C++ modules testsAndrii Doroshenko (Xrayez)
Modules-specific tests can be written under respective module folders. Each module should have "tests" folder created with the tests implemented as `doctest` headers, so they can be collected by the buildsystem and included directly in `tests/test_main.cpp` to be compiled.