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

This commit is contained in:
egarette@silique.fr 2025-03-02 17:45:56 +01:00
parent fa039c1743
commit 01a86922bd
47 changed files with 208 additions and 96 deletions

View file

@ -0,0 +1 @@
{}

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,11 @@
{
"rougail": {
"var1": [
"val1"
],
"dynval1": {
"var": "string1"
},
"var2": "string1"
}
}

View file

@ -0,0 +1,8 @@
{
"rougail": {
"dynval1": {
"var": "string1"
},
"var2": "string1"
}
}

View file

@ -0,0 +1,5 @@
{
"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,19 @@
{
"rougail": {
"var": [
"val1",
"val2"
],
"my_dyn_family_val1": {
"var": "string1"
},
"my_dyn_family_val2": {
"var": "string1"
},
"var2": [
"string1",
"string2",
"string3"
]
}
}

View file

@ -0,0 +1,15 @@
{
"rougail": {
"my_dyn_family_val1": {
"var": "string1"
},
"my_dyn_family_val2": {
"var": "string1"
},
"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"
]
}