Commit graph

160 commits

Author SHA1 Message Date
ccec39d85a
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 13:58:37 +02:00
1febf32f73
Fix 'body_utf8' 2024-04-06 13:58:18 +02:00
0ee7198845
Make unitbase.gd more verbose 2024-04-06 13:13:27 +02:00
baf98e0329
Add storage module test + update Bessere Tests 2024-04-06 13:13:12 +02:00
18e66e9af1
Fix crashes 2024-04-06 13:12:49 +02:00
8aa67a4444
Fix fuckup 2024-04-03 20:08:26 +02:00
517e36e95d
Fix return value + add type checks 2024-04-03 20:04:11 +02:00
1bd0f1ca44
Fix headings in sms reference 2024-04-03 19:59:56 +02:00
3a65e7bac0
Update README file structure 2024-04-03 19:51:44 +02:00
5f2f599a99
Update "title" 2024-03-31 18:04:30 +02:00
a302304c8a
Adding a license to tests is probably a good idea 2024-03-31 18:03:57 +02:00
a4e658072f
Update log calls 2024-03-31 18:01:57 +02:00
6c8fc29c28
Update class descriptions 2024-03-31 17:59:11 +02:00
5e9ef226d6
Rename edl -> erm 2024-03-31 17:35:09 +02:00
0dac9b66c5
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-03-31 17:08:55 +02:00
32b82c8f5b 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-03-31 16:20:34 +02:00
25c4667a05 Fix issue and code style 2024-03-31 16:20:08 +02:00
52c6d029d9 Call queue_free() on scenes during removal 2024-03-31 16:19:22 +02:00
5ab659c9f7 Update code style 2024-03-31 16:18:08 +02:00
9607c34ecf
Update unitbase.gd 2024-03-31 11:23:36 +02:00
f97fddcb97
Add CoreLoggerInstance variable to CoreBaseModule 2024-03-31 11:22:57 +02:00
e2da829970
Switch arguments (sms module) 2024-03-31 11:21:37 +02:00
5d3634bfb2
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-03-31 03:14:03 +02:00
a9e4aa8082
Rework README.md
This is the first signed commit from me btw., I'm still kinda testing this out
2024-03-29 17:42:21 +01:00
71d77398c8 Migrate to functions for delivering test results 2024-03-29 02:53:16 +01:00
51c1259eb3 Add cleanup check 2024-03-29 02:48:06 +01:00
a74ebecf6b Update testing
- Update besseretests to latest commit
- tests/utils.gd was nuked, all tests now extend tests/unitbase.gd
2024-03-29 02:41:36 +01:00
32e09ea296 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-03-29 02:40:56 +01:00
e9eb2d4fb8 Add unit testing for misc.gd (partial #11) 2024-03-28 15:18:34 +01:00
8d21356686 Fix core.gd test 2024-03-28 15:00:11 +01:00
da8ad13923 Add unit testing for core.gd (partial #11) 2024-03-28 14:48:50 +01:00
2485edfd87 Make all scripts lowercase again
I am stupid.
I changed 'release_' to 'version_' in src/core.gd and Test.gd btw.
2024-03-28 12:54:12 +01:00
8167c3161f Add Bessere Tests 2024-03-28 12:52:42 +01:00
50a8c7beaa aaaahhhhh 2024-03-28 02:21:31 +01: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
439556ff4b Fix custom module support loading code 2024-03-22 21:41:27 +01:00