aboutsummaryrefslogtreecommitdiff
path: root/unit_tests/UnitTests.vcxproj.filters (follow)
Commit message (Collapse)AuthorAgeFilesLines
* verbose_errors improvementBenoit Germain2025-10-271-0/+3
| | | | | * Use std::format instead of sprintf for verbose errors when decoding table keys * Add a unit test for the different table key types
* Lift restriction on tables as table keysBenoit Germain2025-09-291-0/+3
| | | | As demonstrated by the unit tests, there is no problem with using a table as a table key
* Improve table and userdata conversionsBenoit Germain2025-09-201-0/+1
| | | | | | | | * add convert_fallback and convert_max_attempts to global settings * if no __lanesconvert is available, use convert_fallback (can be useful for externally provided full userdata with fixed metatables) * only try conversion on non-deep and non-clonable userdata * conversion can be applied recursively, up to convert_max_attempts times * plus all the relevant unit tests of course
* Copy deep_userdata_example test script in the test frameworkBenoit Germain2025-07-311-0/+6
| | | | | * I need to keep deep_userdata_example hackishly built-in inside the unit tests executable, because using the external module cause a crash in Lua51 tests (module is unloaded before some deep objects are GCed...) * copy the test script in the proper location and invoke it as part of the tests
* Rework function bytecode dumping to be Lua5.5-readyBenoit Germain2025-07-241-0/+3
| | | | * prepare the luaL_Buffer in the destination state instead of the source state to prevent stack issues when everything happens in the same state
* Split coro tests in several scriptsBenoit Germain2025-07-041-1/+19
|
* Preparation for lane:close() and correct to-be-closed variablesBenoit Germain2025-06-261-1/+7
| | | | | | | | * lane:join() can no longer be used to read yielded values * same with lane indexing * stub for lane:close(), similar to coroutine.close() (not implemented yet) * preparing tests for to-be-closed variables in yielded coroutine lanes * yielded lanes unlock and terminate properly at Lanes shutdown
* Move some tests to a separate scriptBenoit Germain2025-06-241-0/+3
|
* A unit test for linda wake_periodBenoit Germain2025-04-181-0/+3
|
* Fix some tests (kinda)Benoit Germain2025-04-151-0/+3
| | | | | * split tasking_cancelling in two * add a timer in basic and tasking_cancelling as a temporary workaround for a deadlock in mingw ucrt64 builds
* Adjusting MSVC files to ease unit testingBenoit Germain2025-03-211-3/+3
| | | | | * Everything assumes there is a _LuaVersions folder containing all supported Lua versions (binaries, libs and headers) alongside the Lanes.sln location * After that the solutions to build the Lua binaries themselves will appear too for reference (mainly because their output folders will be configured accordingly)
* More work on MakefilesBenoit Germain2025-03-131-1/+1
| | | | | | | | | | | * renamed makefiles: - Shared.mk → Shared.makefile - src/Makefile → src/Lanes.makefile - unit_tests/Makefile → unit_tests/UnitTests.makefile - deep_userdata_example/Makefile → deep_userdata_example/DUE.makefile * Add a makefile for deep_userdata_example * added a target 'unit_tests' to build them (not running them yet) * plus some minor internal improvements
* Makefile and code fixes to build the unit testsBenoit Germain2025-03-061-0/+6
|
* Migrated unit tests to Catch2 v3.7.1Benoit Germain2024-12-201-0/+12
|
* Append all unit tests to depotBenoit Germain2024-12-131-0/+99