Commit graph

283 commits

Author SHA1 Message Date
ea31c64674
Implement some tests for validation module/classes
This commit includes tests for these CoreValidationSingle methods:
- matches_type
- matches_class
- in_range_int
- in_range_float
- has_minimum_int
- has_minimum_float
- has_maximum_int
- has_maximum_float
2024-05-11 15:39:56 +02:00
d173030906
Increase timer duration 2024-05-11 15:32:42 +02:00
629c8601f9
Fix output overflow prevention 2024-05-11 15:17:53 +02:00
e3e40ae2f9
Speedup test execution 2024-05-11 14:03:10 +02:00
eaa5ce2a2d
The scheduler now uses an interted module list
This help with cleaning up unused logger instances.
2024-05-11 12:17:21 +02:00
5c94ec058d
Fix type detection 2024-05-11 12:03:36 +02:00
cdb2dfee19
Fix contains() function 2024-05-11 12:02:12 +02:00
6926fab873
Add path to failed.append() call 2024-05-11 11:56:14 +02:00
8974d190cd
_evaluate_recursive() now uses the correct vars 2024-05-11 11:55:04 +02:00
5b0713f1cf
Fix nested dictionaries 2024-05-11 11:52:37 +02:00
c7c564fac2
Rename all 'parent_dict' to 'schema_parent'
It's a much more fitting name
2024-05-11 11:51:15 +02:00
c375cd96d5
Fix error when checking data not of type String 2024-05-11 02:59:16 +02:00
4d7717b3bf
Fix and compact evaluate() 2024-05-11 02:56:51 +02:00
f45a83bf2c
Drop typed array requirement (2nd try) 2024-05-11 02:50:15 +02:00
1616c7b37d
Allow minimum_matches = -1 2024-05-11 02:48:12 +02:00
48380cd8c3
Add more compatibility to is_not_empty() 2024-05-11 02:40:08 +02:00
458b1fc6e0
Drop typed array requirement (more compat) 2024-05-11 02:39:41 +02:00
d384216b42
Fix shadowing warning 2024-05-11 02:02:49 +02:00
bcea9399bc
CoreValidationSchemas are now even cooler!
(they now support nested Dictionaries)
2024-05-11 02:01:46 +02:00
a081d71bed
Make CoreValidationSchema's 1000x better 2024-05-11 01:40:28 +02:00
cc75f108da
Core.new() now requires awaiting... hmm... 2024-05-10 21:21:20 +02:00
1926620e45
Replace queue_free() call with sth more robust 2024-05-10 21:19:27 +02:00
61da7fb367
Fix format_stringarray() 2024-05-10 21:02:43 +02:00
b78ae9dd30
Test.gd now frees 'config' 2024-05-10 19:16:45 +02:00
09dee490e5
Make reload_configuration() and cleanup() safer 2024-05-10 19:16:25 +02:00
fd4d7d2eb0
Fix logger _schedule() logic 2024-05-10 19:15:56 +02:00
d62467bd05
Replace index page with redirect 2024-05-10 15:33:29 +02:00
509667045d
Add fix for output overflows during testing 2024-05-09 15:21:12 +02:00
98d1e9d239
Add config updates in test_stringify_variables 2024-05-09 15:21:03 +02:00
17cecf5ef3
Fix multiple issues regarding validation cleanup
Good that I'm writing unit tests for this shit.
2024-05-09 15:20:22 +02:00
14b5989f26
Remove ' \' 2024-05-07 21:11:08 +02:00
37da7a8a41
Sync config documentation with config script 2024-05-07 20:25:55 +02:00
08bda06760
Update default value of 'misc_stringify_show_type'
It's now 'false' instead of 'true' because it isn't required most of the time.
2024-05-07 20:25:43 +02:00
9ab25940bc
Add missing stringify_variables() function in docs 2024-05-07 19:15:24 +02:00
cd711fe0bd
Fix custom modules 2024-05-07 17:02:41 +02:00
2b0de4a7b3
Fix broken links 2024-05-05 15:19:33 +02:00
5c2fe02c4e
Update bad practise section 2024-05-05 15:15:18 +02:00
36d4b9e555
Reorganize references 2024-05-05 15:13:00 +02:00
59d481696b
Update titles 2024-05-05 15:05:41 +02:00
206a6220cc
Add CoreValidationSchema online documentation
plus validation module docs
2024-05-05 15:02:59 +02:00
640b8ce6a2
Update docusaurus 2024-05-05 15:01:12 +02:00
307a4c7533
Update script documentation 2024-05-05 15:01:01 +02:00
3ee429c63b
Add CoreValidationSchema code 2024-05-05 14:53:35 +02:00
7d8c5f295a
Fix issues 2024-05-05 14:53:21 +02:00
4a291d7935
Fix heading 2024-05-04 12:58:17 +02:00
fdf09f8c8e
Update CoreTypes online documentation 2024-05-04 12:39:19 +02:00
dd0274ef0b
Update docusaurus config 2024-05-04 12:39:09 +02:00
4a57edff95
Fix typo 2024-05-04 12:38:49 +02:00
8dac1792a0
Add online documentation for CoreValidationSingle 2024-05-04 12:34:13 +02:00
35868ca52d
Update some method and variable descriptions 2024-05-04 12:33:56 +02:00