Commit graph

161 commits

Author SHA1 Message Date
0dc99ef496
Add erm module test 2024-04-06 14:47:53 +02:00
d4cce49882
Update unitbase.gd and Bessere Tests
unitbase.gd now sets 'config.logger_level = CoreTypes.LoggerLevel.DIAG' and checks in 'unload_framework()' if the test was skipped and if so it does not crash.
2024-04-06 14:47:52 +02:00
cab2e0e67c
Fix 'body_utf8' 2024-04-06 14:47:52 +02:00
2727eca37e
Make unitbase.gd more verbose 2024-04-06 14:47:52 +02:00
527d4d19ab
Add storage module test + update Bessere Tests 2024-04-06 14:47:52 +02:00
bff4e48d3b
Fix crashes 2024-04-06 14:47:52 +02:00
e07b36a367
Fix fuckup 2024-04-06 14:47:52 +02:00
81e6303fb6
Fix return value + add type checks 2024-04-06 14:47:52 +02:00
76ebbdb36e
Fix headings in sms reference 2024-04-06 14:47:52 +02:00
0faf1f21f0
Update README file structure 2024-04-06 14:47:51 +02:00
844e44bcde
Update "title" 2024-04-06 14:47:51 +02:00
9574e6b401
Adding a license to tests is probably a good idea 2024-04-06 14:47:51 +02:00
49c52fb31a
Update log calls 2024-04-06 14:47:51 +02:00
4e44373e9e
Update class descriptions 2024-04-06 14:47:51 +02:00
9bc11642dd
Rename edl -> erm 2024-04-06 14:47:51 +02:00
c64f40d0bf
Add tests for sms module + update Bessere Tests
Good that I decided to introduce unit tests to CORE because I found multiple issues in the Scene Manager which I was now able to fix. See 52c6d029d9, 25c4667a05 and 32b82c8f5b.
2024-04-06 14:47:51 +02:00
2e3c5bf53d
Remove stupid core_test variable and return value
I somehow fucked up and thought that the 'core' variable in unitbase.gd is used for some other stuff and therefore assigned it a new variable called 'core_test'. Seems like I was wrong however and slipped up the code I wrote just days before. Anyway, fixed this slip up, have a nice day :)
2024-04-06 14:47:51 +02:00
71b78da86a
Fix issue and code style 2024-04-06 14:47:50 +02:00
899bd338df
Call queue_free() on scenes during removal 2024-04-06 14:47:50 +02:00
96c17c7287
Update code style 2024-04-06 14:47:50 +02:00
8d6dec5319
Update unitbase.gd 2024-04-06 14:47:50 +02:00
301f896611
Add CoreLoggerInstance variable to CoreBaseModule 2024-04-06 14:47:50 +02:00
7bc282bccd
Switch arguments (sms module) 2024-04-06 14:47:50 +02:00
a09009ebe5
Remove cleanup test
A better version of the 'z_cleanup' test has been integrated into Bessere Tests in the latest commit (as of writing this commit message). Therefore this test is no longer required as Bessere Tests will warn us on shutdown for any leftover children or orphan nodes from now on.
2024-04-06 14:47:50 +02:00
174911cfc2
Rework README.md
This is the first signed commit from me btw., I'm still kinda testing this out
2024-04-06 14:47:50 +02:00
3f08bfbbd0
Migrate to functions for delivering test results 2024-04-06 14:47:49 +02:00
8d819c9ffa
Add cleanup check 2024-04-06 14:47:49 +02:00
4e6d7c31f3
Update testing
- Update besseretests to latest commit
- tests/utils.gd was nuked, all tests now extend tests/unitbase.gd
2024-04-06 14:47:49 +02:00
b8a43ce159
Framework rework
Changes in this commit include:
- Add Core.cleanup() and CoreBaseModule._cleanup() functions
- All builtin modules now clean and free any nodes
- Reduce code duplication in src/core.gd by not writing the same code for all builtin modules but instead iterating through a array
2024-04-06 14:47:49 +02:00
3bcc18df82
Add unit testing for misc.gd (partial #11) 2024-04-06 14:47:49 +02:00
5dfac5458a
Fix core.gd test 2024-04-06 14:47:49 +02:00
9608d6b0ab
Add unit testing for core.gd (partial #11) 2024-04-06 14:47:49 +02:00
fbbb889296
Make all scripts lowercase again
I am stupid.
I changed 'release_' to 'version_' in src/core.gd and Test.gd btw.
2024-04-06 14:47:49 +02:00
8e80f4e8be
Add Bessere Tests 2024-04-06 14:47:48 +02:00
905cb3aaad
aaaahhhhh 2024-04-06 14:47:48 +02:00
aecf2318dd Bump typerelease 3 -> 4 2024-03-27 15:15:46 +01:00
fa720dadfb Hide headers and body (fix #8)
The edl module will now only log the amount of headers (create_download() and start_download()) and it will no longer print the full request body into the console. It will now instead print the amount of characters in the request body (create_download()).
2024-03-27 15:11:16 +01:00
da44b1d116 Fix ternary conditional warning 2024-03-27 15:09:19 +01:00
2a2a7cd31d Add 'parse_utf8' argument (fix #5) 2024-03-27 15:03:32 +01:00
54d81da32f Update function name 2024-03-25 21:10:59 +01:00
c79ac9f430 Add center_object function 2024-03-25 17:43:13 +01:00
a8cfbe8d57 Fix misc.gd documentation 2024-03-25 17:42:59 +01:00
7e9574f10f Add stringarray_to_array function
Why did I not add this before...?
2024-03-24 22:59:57 +01:00
26af587ac1 Update documentation for edl module 2024-03-24 21:57:43 +01:00
2200de33fa Add online_awaited_request function 2024-03-24 21:57:32 +01:00
203018db6f Add array_to_stringarray function 2024-03-24 15:56:45 +01:00
35cdadf74d Make Test.gd more modern 2024-03-24 15:43:31 +01:00
3760f674cb Add format_stringarray function 2024-03-24 15:42:38 +01:00
0c9f600328 Fix documentation error 2024-03-23 12:08:54 +01:00
717ce7d9fc Update initialize-core.md 2024-03-22 22:31:12 +01:00