12 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
d996d631f0 fixes for catch2 v2 -> v3 upgrade 2024-10-22 23:42:32 +02:00
Reinder Feenstra
5b07d1d44f lua: moved enum's to single file for sandbox and testing 2022-04-23 19:14:09 +02:00
Reinder Feenstra
86f9956622 test: moved enum to test to single file 2022-01-09 12:53:15 +01:00
Reinder Feenstra
9fe67a6c37 lua: added pairs() support to readonly table 2022-01-09 00:07:49 +01:00
Reinder Feenstra
0546ef1c30 lua: added WorldScale enum to sandbox 2021-11-10 21:58:09 +01:00
Reinder Feenstra
d9b121948f Lua: fix: ReadOnlyTable, existing keys could be written 2021-04-22 23:28:41 +02:00
Reinder Feenstra
919e2e2787 test: lua: added check if writing to enum/set.type_name.* raises an error 2021-04-22 23:24:27 +02:00
Reinder Feenstra
7ab43c4598 test: added missing registation of Lua::ReadOnlyTable 2021-04-20 23:08:22 +02:00
Reinder Feenstra
08f78d1ab9 test: moved protect jmp_buf global to lua state
so every lua state has its own jmp_buf
2021-04-19 23:18:50 +02:00
Reinder Feenstra
f2b7d7bb52 test lua: replace panic-to-exception by longjmp
calls to Lua can now easily be protected using the protect<> template function, it will return false if a lua error occurs.
The exception method didn't work properly with catch2 on windows.
2021-04-14 00:04:03 +02:00
Reinder Feenstra
0ae199574e added license header to tests 2021-04-12 23:41:54 +02:00
Reinder Feenstra
ac1ade0a3d test: Added test for Lua::Enum<> 2021-04-12 23:31:41 +02:00