From 01a86922bd06927baeafe9964ede97df9572a28d Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 2 Mar 2025 17:45:56 +0100 Subject: [PATCH] fix: update tests, some errors are now in warnings level --- tests/results/00_0empty/file/all.yml | 1 + .../04_1auto_save_and_hidden/errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../04_5hidden_calculation2/errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../16_5exists_redefine/errors/all.json | 6 +++--- .../16_5redefine_hidden/errors/all.json | 6 +++--- .../17_5redefine_leadership/errors/all.json | 6 +++--- .../20_0family_underscore/errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../44_0leadership_hidden/errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../results/60_0family_hidden/errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/mandatories.json | 6 +++--- .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 11 +++++++++++ .../file/all_exclude.yml | 8 ++++++++ .../file/mandatories.yml | 5 +++++ .../makedict/all.json | 7 +++++++ .../makedict/mandatories.json | 4 ++++ .../errors/all.json | 6 +++--- .../errors/all.json | 6 +++--- .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 19 +++++++++++++++++++ .../file/all_exclude.yml | 15 +++++++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 13 +++++++++++++ .../makedict/mandatories.json | 12 ++++++++++++ 47 files changed, 208 insertions(+), 96 deletions(-) create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/errors/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/errors/mandatories.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/file/all.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/file/all_exclude.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/file/mandatories.yml create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/makedict/all.json create mode 100644 tests/results/60_5family_dynamic_variable_outside_1_0/makedict/mandatories.json diff --git a/tests/results/00_0empty/file/all.yml b/tests/results/00_0empty/file/all.yml index e69de29..9e26dfe 100644 --- a/tests/results/00_0empty/file/all.yml +++ b/tests/results/00_0empty/file/all.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/04_1auto_save_and_hidden/errors/all.json b/tests/results/04_1auto_save_and_hidden/errors/all.json index e9b3bc1..ac35c06 100644 --- a/tests/results/04_1auto_save_and_hidden/errors/all.json +++ b/tests/results/04_1auto_save_and_hidden/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.var\" (autosave variable) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_1default_calculation_hidden/errors/mandatories.json b/tests/results/04_1default_calculation_hidden/errors/mandatories.json index 52a26db..18ec1de 100644 --- a/tests/results/04_1default_calculation_hidden/errors/mandatories.json +++ b/tests/results/04_1default_calculation_hidden/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json b/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json index 52a26db..18ec1de 100644 --- a/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json +++ b/tests/results/04_1default_calculation_hidden_2/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.var2\" (a second variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional/errors/all.json b/tests/results/04_5disabled_calculation_optional/errors/all.json index 025f490..7d84b6a 100644 --- a/tests/results/04_5disabled_calculation_optional/errors/all.json +++ b/tests/results/04_5disabled_calculation_optional/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\" (unknown is undefined)" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable/errors/all.json b/tests/results/04_5disabled_calculation_variable/errors/all.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable/errors/all.json +++ b/tests/results/04_5disabled_calculation_variable/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable2/errors/all.json b/tests/results/04_5disabled_calculation_variable2/errors/all.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable2/errors/all.json +++ b/tests/results/04_5disabled_calculation_variable2/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable2/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable2/errors/mandatories.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable2/errors/mandatories.json +++ b/tests/results/04_5disabled_calculation_variable2/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable3/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable3/errors/mandatories.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable3/errors/mandatories.json +++ b/tests/results/04_5disabled_calculation_variable3/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable4/errors/all.json b/tests/results/04_5disabled_calculation_variable4/errors/all.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable4/errors/all.json +++ b/tests/results/04_5disabled_calculation_variable4/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_multi/errors/all.json b/tests/results/04_5disabled_calculation_variable_multi/errors/all.json index 0be009d..2794cdf 100644 --- a/tests/results/04_5disabled_calculation_variable_multi/errors/all.json +++ b/tests/results/04_5disabled_calculation_variable_multi/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/04_5hidden_calculation2/errors/all.json b/tests/results/04_5hidden_calculation2/errors/all.json index e94e555..60dc26f 100644 --- a/tests/results/04_5hidden_calculation2/errors/all.json +++ b/tests/results/04_5hidden_calculation2/errors/all.json @@ -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": [] + ] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_calculation/errors/all.json b/tests/results/16_2family_redefine_calculation/errors/all.json index 29738e7..8e0bee7 100644 --- a/tests/results/16_2family_redefine_calculation/errors/all.json +++ b/tests/results/16_2family_redefine_calculation/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_calculation/errors/mandatories.json b/tests/results/16_2family_redefine_calculation/errors/mandatories.json index 29738e7..8e0bee7 100644 --- a/tests/results/16_2family_redefine_calculation/errors/mandatories.json +++ b/tests/results/16_2family_redefine_calculation/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" because has property \"disabled\" (true)" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_disabled/errors/all.json b/tests/results/16_2family_redefine_disabled/errors/all.json index a5a58d4..81c952d 100644 --- a/tests/results/16_2family_redefine_disabled/errors/all.json +++ b/tests/results/16_2family_redefine_disabled/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_disabled/errors/mandatories.json b/tests/results/16_2family_redefine_disabled/errors/mandatories.json index a5a58d4..81c952d 100644 --- a/tests/results/16_2family_redefine_disabled/errors/mandatories.json +++ b/tests/results/16_2family_redefine_disabled/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/16_5exists_redefine/errors/all.json b/tests/results/16_5exists_redefine/errors/all.json index 16f7d91..29ad9cb 100644 --- a/tests/results/16_5exists_redefine/errors/all.json +++ b/tests/results/16_5exists_redefine/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.var1\" (a first variable) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/16_5redefine_hidden/errors/all.json b/tests/results/16_5redefine_hidden/errors/all.json index fffb6bb..c6e4368 100644 --- a/tests/results/16_5redefine_hidden/errors/all.json +++ b/tests/results/16_5redefine_hidden/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.variable\" (a variable) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/17_5redefine_leadership/errors/all.json b/tests/results/17_5redefine_leadership/errors/all.json index 337623b..5bcc277 100644 --- a/tests/results/17_5redefine_leadership/errors/all.json +++ b/tests/results/17_5redefine_leadership/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/20_0family_underscore/errors/all.json b/tests/results/20_0family_underscore/errors/all.json index 9e5b47f..647a966 100644 --- a/tests/results/20_0family_underscore/errors/all.json +++ b/tests/results/20_0family_underscore/errors/all.json @@ -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": [] + ] } \ No newline at end of file diff --git a/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json b/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json index f8237e6..8256a24 100644 --- a/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json +++ b/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" (possibly hidden family) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/24_0family_hidden_condition_with_variable/errors/all.json b/tests/results/24_0family_hidden_condition_with_variable/errors/all.json index d95d42d..fb3b8fb 100644 --- a/tests/results/24_0family_hidden_condition_with_variable/errors/all.json +++ b/tests/results/24_0family_hidden_condition_with_variable/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.family.variable\" (a variable) because has property \"hidden\" (condition2 is true)" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/24_family_disabled_var_hidden/errors/all.json b/tests/results/24_family_disabled_var_hidden/errors/all.json index ecf29c8..ab6030d 100644 --- a/tests/results/24_family_disabled_var_hidden/errors/all.json +++ b/tests/results/24_family_disabled_var_hidden/errors/all.json @@ -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": [] + ] } \ No newline at end of file diff --git a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json index a5a58d4..81c952d 100644 --- a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json +++ b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/44_0leadership_hidden/errors/all.json b/tests/results/44_0leadership_hidden/errors/all.json index 337623b..5bcc277 100644 --- a/tests/results/44_0leadership_hidden/errors/all.json +++ b/tests/results/44_0leadership_hidden/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/44_0leadership_leader_hidden/errors/all.json b/tests/results/44_0leadership_leader_hidden/errors/all.json index 337623b..5bcc277 100644 --- a/tests/results/44_0leadership_leader_hidden/errors/all.json +++ b/tests/results/44_0leadership_leader_hidden/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/44_1leadership_append_hidden_follower/errors/all.json b/tests/results/44_1leadership_append_hidden_follower/errors/all.json index 337623b..5bcc277 100644 --- a/tests/results/44_1leadership_append_hidden_follower/errors/all.json +++ b/tests/results/44_1leadership_append_hidden_follower/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.leader\" (a leadership) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/44_6leadership_follower_disabled_calculation/errors/mandatories.json b/tests/results/44_6leadership_follower_disabled_calculation/errors/mandatories.json index 2cf0dfb..9274a54 100644 --- a/tests/results/44_6leadership_follower_disabled_calculation/errors/mandatories.json +++ b/tests/results/44_6leadership_follower_disabled_calculation/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.leader.follower\" (a follower) because has property \"disabled\" (disabled)" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/60_0family_hidden/errors/all.json b/tests/results/60_0family_hidden/errors/all.json index a07347a..8c7886d 100644 --- a/tests/results/60_0family_hidden/errors/all.json +++ b/tests/results/60_0family_hidden/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to optiondescription \"rougail.family\" (a family) because has property \"hidden\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/all.json index ea36b24..ed5d5aa 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/all.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/all.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json index ea36b24..ed5d5aa 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled/errors/mandatories.json @@ -1,6 +1,6 @@ { - "errors": [ + "errors": [], + "warnings": [ "cannot access to option \"rougail.dynval1.var\" (A dynamic variable) because has property \"disabled\"" - ], - "warnings": [] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all.yml new file mode 100644 index 0000000..980ddc7 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all.yml @@ -0,0 +1,11 @@ +{ + "rougail": { + "var1": [ + "val1" + ], + "dynval1": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all_exclude.yml new file mode 100644 index 0000000..87939ad --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/all_exclude.yml @@ -0,0 +1,8 @@ +{ + "rougail": { + "dynval1": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/mandatories.yml new file mode 100644 index 0000000..4d51b74 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/all.json new file mode 100644 index 0000000..8503fee --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/all.json @@ -0,0 +1,7 @@ +{ + "rougail.var1": [ + "val1" + ], + "rougail.dynval1.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_empty_2/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json b/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json index 7cdbd30..bedd985 100644 --- a/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json +++ b/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json @@ -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": [] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_unknown_suffix/errors/all.json b/tests/results/60_5family_dynamic_unknown_suffix/errors/all.json index 91c95f0..25a4e68 100644 --- a/tests/results/60_5family_dynamic_unknown_suffix/errors/all.json +++ b/tests/results/60_5family_dynamic_unknown_suffix/errors/all.json @@ -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": [] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/errors/all.json b/tests/results/60_5family_dynamic_variable_outside_1_0/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/errors/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_1_0/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/file/all.yml b/tests/results/60_5family_dynamic_variable_outside_1_0/file/all.yml new file mode 100644 index 0000000..2ca5d77 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/file/all.yml @@ -0,0 +1,19 @@ +{ + "rougail": { + "var": [ + "val1", + "val2" + ], + "my_dyn_family_val1": { + "var": "string1" + }, + "my_dyn_family_val2": { + "var": "string1" + }, + "var2": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/file/all_exclude.yml b/tests/results/60_5family_dynamic_variable_outside_1_0/file/all_exclude.yml new file mode 100644 index 0000000..aa1cebb --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/file/all_exclude.yml @@ -0,0 +1,15 @@ +{ + "rougail": { + "my_dyn_family_val1": { + "var": "string1" + }, + "my_dyn_family_val2": { + "var": "string1" + }, + "var2": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/file/mandatories.yml b/tests/results/60_5family_dynamic_variable_outside_1_0/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/all.json b/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/all.json new file mode 100644 index 0000000..4aecf75 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/all.json @@ -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" + ] +} diff --git a/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/mandatories.json b/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/mandatories.json new file mode 100644 index 0000000..8bde920 --- /dev/null +++ b/tests/results/60_5family_dynamic_variable_outside_1_0/makedict/mandatories.json @@ -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" + ] +}