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

View file

@ -1,6 +1,6 @@
{ {
"errors": [ "errors": [],
"warnings": [
"cannot access to option \"var2\" (a second variable) because has property \"disabled\"" "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\"" "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)" "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\"" "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\"" "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\"" "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\"" "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\"" "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\"" "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\"" "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)" "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)",
"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\"" "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\"" "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\"" "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)" "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\"" "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\"" "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\"" "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\"" "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\"" "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\"" "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.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)" "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)" "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)" "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\"" "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\"" "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\"" "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\"" "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\"" "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\"",
"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\"" "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)" "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\"",
"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\"" "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\"" "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\"" "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\"" "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)" "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\"" "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\"" "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\"" "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)",
"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.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)" "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"
]
}