fix: update tests, some errors are now in warnings level

This commit is contained in:
egarette@silique.fr 2025-03-02 17:41:30 +01:00
parent cf2bb7500f
commit c6ab62eb78
58 changed files with 198 additions and 132 deletions
tests/results
test
04_1default_calculation_hidden/errors
04_1default_calculation_hidden_2/errors
04_5disabled_calculation_optional/errors
04_5disabled_calculation_variable/errors
04_5disabled_calculation_variable2/errors
04_5disabled_calculation_variable3/errors
04_5disabled_calculation_variable4/errors
04_5disabled_calculation_variable_multi/errors
24_0family_hidden_condition_variable_sub_family/errors
44_6leadership_follower_disabled_calculation/errors
60_5family_dynamic_hidden_suffix/errors
test_namespace
04_1auto_save_and_hidden/errors
04_1default_calculation_hidden/errors
04_1default_calculation_hidden_2/errors
04_5disabled_calculation_optional/errors
04_5disabled_calculation_variable/errors
04_5disabled_calculation_variable2/errors
04_5disabled_calculation_variable3/errors
04_5disabled_calculation_variable4/errors
04_5disabled_calculation_variable_multi/errors
04_5hidden_calculation2/errors
16_2family_redefine_calculation/errors
16_2family_redefine_disabled/errors
16_5exists_redefine/errors
16_5redefine_hidden/errors
17_5redefine_leadership/errors
20_0family_underscore/errors
24_0family_hidden_condition_variable_sub_family/errors
24_0family_hidden_condition_with_variable/errors
24_family_disabled_var_hidden/errors
44_0leadership_hidden/errors
44_0leadership_leader_hidden/errors
44_1leadership_append_hidden_follower/errors
44_6leadership_follower_disabled_calculation/errors
60_0family_hidden/errors
60_5family_dynamic_calc_suffix_disabled/errors
60_5family_dynamic_calc_suffix_empty_2
60_5family_dynamic_hidden_suffix/errors
60_5family_dynamic_unknown_suffix/errors
60_5family_dynamic_variable_outside_1_0

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"var1\" (a first variable) because has property \"hidden\" (unknown is undefined)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"family\" (possibly hidden family) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"leader.follower\" (a follower) because has property \"disabled\" (disabled)"
],
"warnings": []
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)",
"cannot access to optiondescription \"dynval2\" (a dynamic family) because has property \"hidden\" (disabled)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (condition is yes)",
"cannot access to option \"rougail.var2\" (a second variable) because has property \"hidden\" (condition is yes)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,11 +1,11 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\"",
"cannot access to optiondescription \"rougail.my_family\" (This is a great family) because has properties \"disabled\" and \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true)"
],
"warnings": []
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\"",
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled)"
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -1,6 +1,6 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\""
],
"warnings": []
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,3 @@
ROUGAIL.VAR1="val1"
ROUGAIL.DYNVAL1.VAR="string1"
ROUGAIL.VAR2="string1"

View file

@ -0,0 +1,2 @@
ROUGAIL.DYNVAL1.VAR="string1"
ROUGAIL.VAR2="string1"

View file

@ -0,0 +1 @@
ROUGAIL.VAR2="string1"

View file

@ -0,0 +1,7 @@
{
"rougail.var1": [
"val1"
],
"rougail.dynval1.var": "string1",
"rougail.var2": "string1"
}

View file

@ -0,0 +1,4 @@
{
"rougail.var1": [],
"rougail.var2": "string1"
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)",
"cannot access to optiondescription \"rougail.dynval2\" (a dynamic family) because has property \"hidden\" (disabled)"
],
"warnings": []
]
}

View file

@ -1,7 +1,7 @@
{
"errors": [
"errors": [],
"warnings": [
"cannot access to option \"rougail.val1_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)",
"cannot access to option \"rougail.val2_dyn.var4\" (a variable 4) because has property \"disabled\" (val4 is not a valid value)"
],
"warnings": []
]
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
{
"errors": [],
"warnings": []
}

View file

@ -0,0 +1,4 @@
ROUGAIL.VAR="val1,val2"
ROUGAIL.MY_DYN_FAMILY_VAL1.VAR="string1"
ROUGAIL.MY_DYN_FAMILY_VAL2.VAR="string1"
ROUGAIL.VAR2="string1,string2,string3"

View file

@ -0,0 +1,3 @@
ROUGAIL.MY_DYN_FAMILY_VAL1.VAR="string1"
ROUGAIL.MY_DYN_FAMILY_VAL2.VAR="string1"
ROUGAIL.VAR2="string1,string2,string3"

View file

@ -0,0 +1,13 @@
{
"rougail.var": [
"val1",
"val2"
],
"rougail.my_dyn_family_val1.var": "string1",
"rougail.my_dyn_family_val2.var": "string1",
"rougail.var2": [
"string1",
"string2",
"string3"
]
}

View file

@ -0,0 +1,12 @@
{
"rougail.var": [
"val1",
"val2"
],
"rougail.my_dyn_family_val1.var": "val1",
"rougail.my_dyn_family_val2.var": "val2",
"rougail.var2": [
"val1",
"val2"
]
}