From aa144c1e7cbda0bc6c0daa4fca798a68f2f549ef Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Sun, 28 Sep 2025 15:44:19 +0200 Subject: [PATCH] feat: default value for a calculated variable with an unknown optional variable --- .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 12 ++++++++++++ .../file/all_exclude.yml | 12 ++++++++++++ .../file/mandatories.yml | 8 ++++++++ .../makedict/all.json | 10 ++++++++++ .../makedict/mandatories.json | 10 ++++++++++ tests/results/00_6ip/errors/all.json | 4 ++++ tests/results/00_6ip/errors/mandatories.json | 4 ++++ tests/results/00_6ip/file/all.yml | 7 +++++++ tests/results/00_6ip/file/all_exclude.yml | 7 +++++++ tests/results/00_6ip/file/mandatories.yml | 1 + tests/results/00_6ip/makedict/all.json | 5 +++++ tests/results/00_6ip/makedict/mandatories.json | 5 +++++ tests/results/00_6network/errors/all.json | 4 ++++ .../00_6network/errors/mandatories.json | 4 ++++ tests/results/00_6network/file/all.yml | 7 +++++++ tests/results/00_6network/file/all_exclude.yml | 7 +++++++ tests/results/00_6network/file/mandatories.yml | 1 + tests/results/00_6network/makedict/all.json | 5 +++++ .../00_6network/makedict/mandatories.json | 5 +++++ .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 10 ++++++++++ .../file/all_exclude.yml | 10 ++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 8 ++++++++ .../makedict/mandatories.json | 7 +++++++ .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../01_9choice_variable_optional/file/all.yml | 5 +++++ .../file/all_exclude.yml | 5 +++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 3 +++ .../makedict/mandatories.json | 3 +++ .../errors/all.json | 8 ++++++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 8 ++++++++ .../file/all_exclude.yml | 8 ++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 7 +++++++ .../makedict/mandatories.json | 7 +++++++ .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 18 ++++++++++++++++++ .../file/all_exclude.yml | 18 ++++++++++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 16 ++++++++++++++++ .../makedict/mandatories.json | 16 ++++++++++++++++ .../errors/all.json | 4 ++++ .../errors/mandatories.json | 4 ++++ .../file/all.yml | 10 ++++++++++ .../file/all_exclude.yml | 10 ++++++++++ .../file/mandatories.yml | 1 + .../makedict/all.json | 4 ++++ .../makedict/mandatories.json | 4 ++++ 56 files changed, 352 insertions(+) create mode 100644 tests/results/00_2default_calculated_variable/errors/all.json create mode 100644 tests/results/00_2default_calculated_variable/errors/mandatories.json create mode 100644 tests/results/00_2default_calculated_variable/file/all.yml create mode 100644 tests/results/00_2default_calculated_variable/file/all_exclude.yml create mode 100644 tests/results/00_2default_calculated_variable/file/mandatories.yml create mode 100644 tests/results/00_2default_calculated_variable/makedict/all.json create mode 100644 tests/results/00_2default_calculated_variable/makedict/mandatories.json create mode 100644 tests/results/00_6ip/errors/all.json create mode 100644 tests/results/00_6ip/errors/mandatories.json create mode 100644 tests/results/00_6ip/file/all.yml create mode 100644 tests/results/00_6ip/file/all_exclude.yml create mode 100644 tests/results/00_6ip/file/mandatories.yml create mode 100644 tests/results/00_6ip/makedict/all.json create mode 100644 tests/results/00_6ip/makedict/mandatories.json create mode 100644 tests/results/00_6network/errors/all.json create mode 100644 tests/results/00_6network/errors/mandatories.json create mode 100644 tests/results/00_6network/file/all.yml create mode 100644 tests/results/00_6network/file/all_exclude.yml create mode 100644 tests/results/00_6network/file/mandatories.yml create mode 100644 tests/results/00_6network/makedict/all.json create mode 100644 tests/results/00_6network/makedict/mandatories.json create mode 100644 tests/results/00_9default_calculation_multi_optional_default/errors/all.json create mode 100644 tests/results/00_9default_calculation_multi_optional_default/errors/mandatories.json create mode 100644 tests/results/00_9default_calculation_multi_optional_default/file/all.yml create mode 100644 tests/results/00_9default_calculation_multi_optional_default/file/all_exclude.yml create mode 100644 tests/results/00_9default_calculation_multi_optional_default/file/mandatories.yml create mode 100644 tests/results/00_9default_calculation_multi_optional_default/makedict/all.json create mode 100644 tests/results/00_9default_calculation_multi_optional_default/makedict/mandatories.json create mode 100644 tests/results/01_9choice_variable_optional/errors/all.json create mode 100644 tests/results/01_9choice_variable_optional/errors/mandatories.json create mode 100644 tests/results/01_9choice_variable_optional/file/all.yml create mode 100644 tests/results/01_9choice_variable_optional/file/all_exclude.yml create mode 100644 tests/results/01_9choice_variable_optional/file/mandatories.yml create mode 100644 tests/results/01_9choice_variable_optional/makedict/all.json create mode 100644 tests/results/01_9choice_variable_optional/makedict/mandatories.json create mode 100644 tests/results/04_5disabled_calculation_optional_default/errors/all.json create mode 100644 tests/results/04_5disabled_calculation_optional_default/errors/mandatories.json create mode 100644 tests/results/04_5disabled_calculation_optional_default/file/all.yml create mode 100644 tests/results/04_5disabled_calculation_optional_default/file/all_exclude.yml create mode 100644 tests/results/04_5disabled_calculation_optional_default/file/mandatories.yml create mode 100644 tests/results/04_5disabled_calculation_optional_default/makedict/all.json create mode 100644 tests/results/04_5disabled_calculation_optional_default/makedict/mandatories.json create mode 100644 tests/results/40_2leadership_calculation_index_2/errors/all.json create mode 100644 tests/results/40_2leadership_calculation_index_2/errors/mandatories.json create mode 100644 tests/results/40_2leadership_calculation_index_2/file/all.yml create mode 100644 tests/results/40_2leadership_calculation_index_2/file/all_exclude.yml create mode 100644 tests/results/40_2leadership_calculation_index_2/file/mandatories.yml create mode 100644 tests/results/40_2leadership_calculation_index_2/makedict/all.json create mode 100644 tests/results/40_2leadership_calculation_index_2/makedict/mandatories.json create mode 100644 tests/results/60_0family_dynamic_variable_optional/errors/all.json create mode 100644 tests/results/60_0family_dynamic_variable_optional/errors/mandatories.json create mode 100644 tests/results/60_0family_dynamic_variable_optional/file/all.yml create mode 100644 tests/results/60_0family_dynamic_variable_optional/file/all_exclude.yml create mode 100644 tests/results/60_0family_dynamic_variable_optional/file/mandatories.yml create mode 100644 tests/results/60_0family_dynamic_variable_optional/makedict/all.json create mode 100644 tests/results/60_0family_dynamic_variable_optional/makedict/mandatories.json diff --git a/tests/results/00_2default_calculated_variable/errors/all.json b/tests/results/00_2default_calculated_variable/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_2default_calculated_variable/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_variable/errors/mandatories.json b/tests/results/00_2default_calculated_variable/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_2default_calculated_variable/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_variable/file/all.yml b/tests/results/00_2default_calculated_variable/file/all.yml new file mode 100644 index 0000000..c845d6e --- /dev/null +++ b/tests/results/00_2default_calculated_variable/file/all.yml @@ -0,0 +1,12 @@ +{ + "rougail": { + "var1": [ + "domain1.lan", + "domain2.lan" + ], + "var2": [ + "domain1.lan", + "domain2.lan" + ] + } +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_variable/file/all_exclude.yml b/tests/results/00_2default_calculated_variable/file/all_exclude.yml new file mode 100644 index 0000000..c845d6e --- /dev/null +++ b/tests/results/00_2default_calculated_variable/file/all_exclude.yml @@ -0,0 +1,12 @@ +{ + "rougail": { + "var1": [ + "domain1.lan", + "domain2.lan" + ], + "var2": [ + "domain1.lan", + "domain2.lan" + ] + } +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_variable/file/mandatories.yml b/tests/results/00_2default_calculated_variable/file/mandatories.yml new file mode 100644 index 0000000..d0a88f7 --- /dev/null +++ b/tests/results/00_2default_calculated_variable/file/mandatories.yml @@ -0,0 +1,8 @@ +{ + "rougail": { + "var1": [ + "domain1.lan", + "domain2.lan" + ] + } +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_variable/makedict/all.json b/tests/results/00_2default_calculated_variable/makedict/all.json new file mode 100644 index 0000000..243ff25 --- /dev/null +++ b/tests/results/00_2default_calculated_variable/makedict/all.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "domain1.lan", + "domain2.lan" + ], + "rougail.var2": [ + "domain1.lan", + "domain2.lan" + ] +} diff --git a/tests/results/00_2default_calculated_variable/makedict/mandatories.json b/tests/results/00_2default_calculated_variable/makedict/mandatories.json new file mode 100644 index 0000000..243ff25 --- /dev/null +++ b/tests/results/00_2default_calculated_variable/makedict/mandatories.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "domain1.lan", + "domain2.lan" + ], + "rougail.var2": [ + "domain1.lan", + "domain2.lan" + ] +} diff --git a/tests/results/00_6ip/errors/all.json b/tests/results/00_6ip/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_6ip/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_6ip/errors/mandatories.json b/tests/results/00_6ip/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_6ip/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_6ip/file/all.yml b/tests/results/00_6ip/file/all.yml new file mode 100644 index 0000000..88192d8 --- /dev/null +++ b/tests/results/00_6ip/file/all.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "var1": "192.168.1.6", + "var2": "192.168.1.6/24", + "var3": "192.168.1.6/24" + } +} \ No newline at end of file diff --git a/tests/results/00_6ip/file/all_exclude.yml b/tests/results/00_6ip/file/all_exclude.yml new file mode 100644 index 0000000..88192d8 --- /dev/null +++ b/tests/results/00_6ip/file/all_exclude.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "var1": "192.168.1.6", + "var2": "192.168.1.6/24", + "var3": "192.168.1.6/24" + } +} \ No newline at end of file diff --git a/tests/results/00_6ip/file/mandatories.yml b/tests/results/00_6ip/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/00_6ip/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/00_6ip/makedict/all.json b/tests/results/00_6ip/makedict/all.json new file mode 100644 index 0000000..562578b --- /dev/null +++ b/tests/results/00_6ip/makedict/all.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "192.168.1.6", + "rougail.var2": "192.168.1.6/24", + "rougail.var3": "192.168.1.6/24" +} diff --git a/tests/results/00_6ip/makedict/mandatories.json b/tests/results/00_6ip/makedict/mandatories.json new file mode 100644 index 0000000..7a572ad --- /dev/null +++ b/tests/results/00_6ip/makedict/mandatories.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "1.1.1.1", + "rougail.var2": "1.1.1.1/24", + "rougail.var3": "1.1.1.1/24" +} diff --git a/tests/results/00_6network/errors/all.json b/tests/results/00_6network/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_6network/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_6network/errors/mandatories.json b/tests/results/00_6network/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_6network/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_6network/file/all.yml b/tests/results/00_6network/file/all.yml new file mode 100644 index 0000000..1e81d9e --- /dev/null +++ b/tests/results/00_6network/file/all.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "var1": "192.168.1.0", + "var2": "192.168.1.6/32", + "var3": "192.168.1.6/32" + } +} \ No newline at end of file diff --git a/tests/results/00_6network/file/all_exclude.yml b/tests/results/00_6network/file/all_exclude.yml new file mode 100644 index 0000000..1e81d9e --- /dev/null +++ b/tests/results/00_6network/file/all_exclude.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "var1": "192.168.1.0", + "var2": "192.168.1.6/32", + "var3": "192.168.1.6/32" + } +} \ No newline at end of file diff --git a/tests/results/00_6network/file/mandatories.yml b/tests/results/00_6network/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/00_6network/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/00_6network/makedict/all.json b/tests/results/00_6network/makedict/all.json new file mode 100644 index 0000000..8e48ffa --- /dev/null +++ b/tests/results/00_6network/makedict/all.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "192.168.1.0", + "rougail.var2": "192.168.1.6/32", + "rougail.var3": "192.168.1.6/32" +} diff --git a/tests/results/00_6network/makedict/mandatories.json b/tests/results/00_6network/makedict/mandatories.json new file mode 100644 index 0000000..891a6f9 --- /dev/null +++ b/tests/results/00_6network/makedict/mandatories.json @@ -0,0 +1,5 @@ +{ + "rougail.var1": "1.1.1.0", + "rougail.var2": "1.1.1.0/24", + "rougail.var3": "1.1.1.0/24" +} diff --git a/tests/results/00_9default_calculation_multi_optional_default/errors/all.json b/tests/results/00_9default_calculation_multi_optional_default/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_9default_calculation_multi_optional_default/errors/mandatories.json b/tests/results/00_9default_calculation_multi_optional_default/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/00_9default_calculation_multi_optional_default/file/all.yml b/tests/results/00_9default_calculation_multi_optional_default/file/all.yml new file mode 100644 index 0000000..8bd67a4 --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/file/all.yml @@ -0,0 +1,10 @@ +{ + "rougail": { + "my_variable": "string1", + "my_calculated_variable": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/00_9default_calculation_multi_optional_default/file/all_exclude.yml b/tests/results/00_9default_calculation_multi_optional_default/file/all_exclude.yml new file mode 100644 index 0000000..8bd67a4 --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/file/all_exclude.yml @@ -0,0 +1,10 @@ +{ + "rougail": { + "my_variable": "string1", + "my_calculated_variable": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/00_9default_calculation_multi_optional_default/file/mandatories.yml b/tests/results/00_9default_calculation_multi_optional_default/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/00_9default_calculation_multi_optional_default/makedict/all.json b/tests/results/00_9default_calculation_multi_optional_default/makedict/all.json new file mode 100644 index 0000000..18bba3c --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/makedict/all.json @@ -0,0 +1,8 @@ +{ + "rougail.my_variable": "string1", + "rougail.my_calculated_variable": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/00_9default_calculation_multi_optional_default/makedict/mandatories.json b/tests/results/00_9default_calculation_multi_optional_default/makedict/mandatories.json new file mode 100644 index 0000000..d22eb01 --- /dev/null +++ b/tests/results/00_9default_calculation_multi_optional_default/makedict/mandatories.json @@ -0,0 +1,7 @@ +{ + "rougail.my_variable": "val1", + "rougail.my_calculated_variable": [ + "val1", + "value" + ] +} diff --git a/tests/results/01_9choice_variable_optional/errors/all.json b/tests/results/01_9choice_variable_optional/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/01_9choice_variable_optional/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/01_9choice_variable_optional/errors/mandatories.json b/tests/results/01_9choice_variable_optional/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/01_9choice_variable_optional/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/01_9choice_variable_optional/file/all.yml b/tests/results/01_9choice_variable_optional/file/all.yml new file mode 100644 index 0000000..2d05cc9 --- /dev/null +++ b/tests/results/01_9choice_variable_optional/file/all.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "variable": "a" + } +} \ No newline at end of file diff --git a/tests/results/01_9choice_variable_optional/file/all_exclude.yml b/tests/results/01_9choice_variable_optional/file/all_exclude.yml new file mode 100644 index 0000000..2d05cc9 --- /dev/null +++ b/tests/results/01_9choice_variable_optional/file/all_exclude.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "variable": "a" + } +} \ No newline at end of file diff --git a/tests/results/01_9choice_variable_optional/file/mandatories.yml b/tests/results/01_9choice_variable_optional/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/01_9choice_variable_optional/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/01_9choice_variable_optional/makedict/all.json b/tests/results/01_9choice_variable_optional/makedict/all.json new file mode 100644 index 0000000..d9da1ce --- /dev/null +++ b/tests/results/01_9choice_variable_optional/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.variable": "a" +} diff --git a/tests/results/01_9choice_variable_optional/makedict/mandatories.json b/tests/results/01_9choice_variable_optional/makedict/mandatories.json new file mode 100644 index 0000000..6f3783e --- /dev/null +++ b/tests/results/01_9choice_variable_optional/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.variable": "c" +} diff --git a/tests/results/04_5disabled_calculation_optional_default/errors/all.json b/tests/results/04_5disabled_calculation_optional_default/errors/all.json new file mode 100644 index 0000000..306fbc3 --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/errors/all.json @@ -0,0 +1,8 @@ +{ + "errors": [], + "warnings": [ + "variable \"rougail.var1\" (a first variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"", + "variable \"rougail.var2\" (a first variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"", + "variable \"rougail.var3\" (a second variable) is hidden, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_optional_default/file/all.yml\"" + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional_default/errors/mandatories.json b/tests/results/04_5disabled_calculation_optional_default/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional_default/file/all.yml b/tests/results/04_5disabled_calculation_optional_default/file/all.yml new file mode 100644 index 0000000..4415f2a --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/file/all.yml @@ -0,0 +1,8 @@ +{ + "rougail": { + "condition": true, + "var1": "string1", + "var2": "string1", + "var3": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional_default/file/all_exclude.yml b/tests/results/04_5disabled_calculation_optional_default/file/all_exclude.yml new file mode 100644 index 0000000..4415f2a --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/file/all_exclude.yml @@ -0,0 +1,8 @@ +{ + "rougail": { + "condition": true, + "var1": "string1", + "var2": "string1", + "var3": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional_default/file/mandatories.yml b/tests/results/04_5disabled_calculation_optional_default/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_optional_default/makedict/all.json b/tests/results/04_5disabled_calculation_optional_default/makedict/all.json new file mode 100644 index 0000000..7986869 --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/makedict/all.json @@ -0,0 +1,7 @@ +{ + "rougail.condition": true, + "rougail.var1": null, + "rougail.var2": null, + "rougail.var3": null, + "rougail.var4": null +} diff --git a/tests/results/04_5disabled_calculation_optional_default/makedict/mandatories.json b/tests/results/04_5disabled_calculation_optional_default/makedict/mandatories.json new file mode 100644 index 0000000..b24f695 --- /dev/null +++ b/tests/results/04_5disabled_calculation_optional_default/makedict/mandatories.json @@ -0,0 +1,7 @@ +{ + "rougail.condition": false, + "rougail.var1": null, + "rougail.var2": null, + "rougail.var3": null, + "rougail.var4": null +} diff --git a/tests/results/40_2leadership_calculation_index_2/errors/all.json b/tests/results/40_2leadership_calculation_index_2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/40_2leadership_calculation_index_2/errors/mandatories.json b/tests/results/40_2leadership_calculation_index_2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/40_2leadership_calculation_index_2/file/all.yml b/tests/results/40_2leadership_calculation_index_2/file/all.yml new file mode 100644 index 0000000..8387a73 --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/file/all.yml @@ -0,0 +1,18 @@ +{ + "rougail": { + "leader": [ + { + "leader": "string1", + "follower1": 1 + }, + { + "leader": "string2", + "follower1": 2 + }, + { + "leader": "string3", + "follower1": 3 + } + ] + } +} \ No newline at end of file diff --git a/tests/results/40_2leadership_calculation_index_2/file/all_exclude.yml b/tests/results/40_2leadership_calculation_index_2/file/all_exclude.yml new file mode 100644 index 0000000..8387a73 --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/file/all_exclude.yml @@ -0,0 +1,18 @@ +{ + "rougail": { + "leader": [ + { + "leader": "string1", + "follower1": 1 + }, + { + "leader": "string2", + "follower1": 2 + }, + { + "leader": "string3", + "follower1": 3 + } + ] + } +} \ No newline at end of file diff --git a/tests/results/40_2leadership_calculation_index_2/file/mandatories.yml b/tests/results/40_2leadership_calculation_index_2/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/40_2leadership_calculation_index_2/makedict/all.json b/tests/results/40_2leadership_calculation_index_2/makedict/all.json new file mode 100644 index 0000000..3da001d --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/makedict/all.json @@ -0,0 +1,16 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "string1", + "rougail.leader.follower1": 1 + }, + { + "rougail.leader.leader": "string2", + "rougail.leader.follower1": 2 + }, + { + "rougail.leader.leader": "string3", + "rougail.leader.follower1": 3 + } + ] +} diff --git a/tests/results/40_2leadership_calculation_index_2/makedict/mandatories.json b/tests/results/40_2leadership_calculation_index_2/makedict/mandatories.json new file mode 100644 index 0000000..33b6cf4 --- /dev/null +++ b/tests/results/40_2leadership_calculation_index_2/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "rougail.leader.leader": [ + { + "rougail.leader.leader": "a", + "rougail.leader.follower1": 0 + }, + { + "rougail.leader.leader": "b", + "rougail.leader.follower1": 1 + }, + { + "rougail.leader.leader": "c", + "rougail.leader.follower1": 2 + } + ] +} diff --git a/tests/results/60_0family_dynamic_variable_optional/errors/all.json b/tests/results/60_0family_dynamic_variable_optional/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_optional/errors/mandatories.json b/tests/results/60_0family_dynamic_variable_optional/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_optional/file/all.yml b/tests/results/60_0family_dynamic_variable_optional/file/all.yml new file mode 100644 index 0000000..2dc021b --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/file/all.yml @@ -0,0 +1,10 @@ +{ + "rougail": { + "dyna": { + "var": "string1" + }, + "dynb": { + "var": "string1" + } + } +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_optional/file/all_exclude.yml b/tests/results/60_0family_dynamic_variable_optional/file/all_exclude.yml new file mode 100644 index 0000000..2dc021b --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/file/all_exclude.yml @@ -0,0 +1,10 @@ +{ + "rougail": { + "dyna": { + "var": "string1" + }, + "dynb": { + "var": "string1" + } + } +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_optional/file/mandatories.yml b/tests/results/60_0family_dynamic_variable_optional/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_variable_optional/makedict/all.json b/tests/results/60_0family_dynamic_variable_optional/makedict/all.json new file mode 100644 index 0000000..ec48f3a --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/makedict/all.json @@ -0,0 +1,4 @@ +{ + "rougail.dyna.var": "string1", + "rougail.dynb.var": "string1" +} diff --git a/tests/results/60_0family_dynamic_variable_optional/makedict/mandatories.json b/tests/results/60_0family_dynamic_variable_optional/makedict/mandatories.json new file mode 100644 index 0000000..4a69e98 --- /dev/null +++ b/tests/results/60_0family_dynamic_variable_optional/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.dyna.var": "val", + "rougail.dynb.var": "val" +}