From 64f448c1410f2b6c03d050dc5d51db901f984787 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Wed, 5 Nov 2025 21:43:10 +0100 Subject: [PATCH] feat: delete/underline is inside tag for some format --- src/rougail/output_doc/changelog.py | 2 + src/rougail/output_doc/doc.py | 1 - src/rougail/output_doc/output/asciidoc.py | 9 +++ src/rougail/output_doc/output/console.py | 11 +++- src/rougail/output_doc/output/github.py | 10 +++- src/rougail/output_doc/output/gitlab.py | 2 +- src/rougail/output_doc/output/html.py | 9 ++- src/rougail/output_doc/utils.py | 28 +++++---- .../before/rougail/00-base.yml | 2 +- .../10mod_variable_description/result.adoc | 1 - .../result.gitlab.md | 6 +- .../10mod_variable_description/result.html | 4 +- .../10mod_variable_description/result.md | 2 +- .../10mod_variable_description/result.sh | 4 +- .../after/rougail/00-base.yml | 6 ++ .../before/rougail/00-base.yml | 6 ++ .../10mod_variable_description2/result.adoc | 13 +++++ .../result.gitlab.md | 8 +++ .../10mod_variable_description2/result.html | 11 ++++ .../10mod_variable_description2/result.md | 6 ++ .../10mod_variable_description2/result.sh | 12 ++++ .../11mod_variable_choices2/result.gitlab.md | 2 +- .../11mod_variable_choices2/result.md | 2 +- .../11mod_variable_choices3/result.gitlab.md | 2 +- .../11mod_variable_choices3/result.md | 2 +- .../12mod_default_value2/result.gitlab.md | 4 +- .../changelog/12mod_default_value2/result.md | 4 +- .../12mod_default_value3/result.gitlab.md | 4 +- .../changelog/12mod_default_value3/result.md | 4 +- .../12mod_default_value5/result.gitlab.md | 2 +- .../changelog/12mod_default_value5/result.md | 2 +- .../30_mod_prop_calculation2/result.sh | 2 +- .../30_mod_prop_calculation3/result.gitlab.md | 2 +- .../30_mod_prop_calculation3/result.md | 2 +- .../30_mod_prop_calculation4/result.adoc | 2 +- .../30_mod_prop_calculation4/result.gitlab.md | 2 +- .../30_mod_prop_calculation4/result.html | 2 +- .../30_mod_prop_calculation4/result.md | 2 +- .../30_mod_prop_calculation4/result.sh | 4 +- .../04_1auto_save_and_calculated_hidden.sh | 2 +- .../test/04_1default_calculation_hidden.sh | 4 +- .../test/04_1default_calculation_hidden_2.sh | 4 +- .../test/04_1default_calculation_hidden_5.sh | 4 +- .../test/04_1default_calculation_hidden_6.sh | 4 +- .../test/04_5disabled_calculation_boolean.sh | 8 +-- .../test/04_5disabled_calculation_optional.sh | 4 +- ..._5disabled_calculation_optional_default.sh | 4 +- .../test/04_5disabled_calculation_variable.sh | 4 +- .../04_5disabled_calculation_variable10.sh | 4 +- .../04_5disabled_calculation_variable2.sh | 4 +- .../04_5disabled_calculation_variable3.sh | 4 +- .../04_5disabled_calculation_variable4.sh | 4 +- .../04_5disabled_calculation_variable7.sh | 4 +- ...04_5disabled_calculation_variable_multi.sh | 4 +- .../results/test/04_5validators_warnings.adoc | 12 ++++ .../test/04_5validators_warnings.gitlab.md | 4 ++ .../results/test/04_5validators_warnings.html | 9 +++ .../results/test/04_5validators_warnings.json | 36 ++++++++++++ tests/results/test/04_5validators_warnings.md | 4 ++ tests/results/test/04_5validators_warnings.sh | 7 +++ .../test/04_5validators_warnings_all.adoc | 16 ++++++ .../04_5validators_warnings_all.gitlab.md | 4 ++ .../test/04_5validators_warnings_all.html | 10 ++++ .../test/04_5validators_warnings_all.json | 39 +++++++++++++ .../test/04_5validators_warnings_all.md | 4 ++ .../test/04_5validators_warnings_all.sh | 9 +++ .../test/16_2family_redefine_calculation.sh | 2 +- .../24_0family_hidden_condition_sub_family.sh | 2 +- ...ly_hidden_condition_variable_sub_family.sh | 2 +- ...amily_hidden_param_condition_sub_family.sh | 2 +- .../test/24_0family_mandatory_condition.sh | 2 +- ...24_0family_mandatory_condition_variable.sh | 2 +- .../44_4disabled_calcultion_follower_index.sh | 4 +- ...4_5leadership_leader_hidden_calculation.sh | 2 +- ...eadership_follower_disabled_calculation.sh | 4 +- ...60_5family_dynamic_calc_suffix_disabled.sh | 4 +- ..._5family_dynamic_calc_variable_disabled.sh | 4 +- ..._dynamic_calc_variable_disabled_outside.sh | 4 +- .../test/60_5family_dynamic_hidden_suffix.sh | 2 +- .../test/warnings_04_5validators_warnings | 1 + .../test/warnings_04_5validators_warnings_all | 1 + .../04_5validators_warnings.adoc | 7 +++ .../04_5validators_warnings.gitlab.md | 8 +++ .../04_5validators_warnings.html | 3 + .../test_examples/04_5validators_warnings.md | 6 ++ .../test_examples/04_5validators_warnings.sh | 8 +++ .../04_5validators_warnings_all.adoc | 7 +++ .../04_5validators_warnings_all.gitlab.md | 8 +++ .../04_5validators_warnings_all.html | 3 + .../04_5validators_warnings_all.md | 6 ++ .../04_5validators_warnings_all.sh | 8 +++ .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + .../04_5validators_warnings.adoc | 7 +++ .../04_5validators_warnings.gitlab.md | 8 +++ .../04_5validators_warnings.html | 3 + .../04_5validators_warnings.md | 6 ++ .../04_5validators_warnings.sh | 8 +++ .../04_5validators_warnings_all.adoc | 7 +++ .../04_5validators_warnings_all.gitlab.md | 8 +++ .../04_5validators_warnings_all.html | 3 + .../04_5validators_warnings_all.md | 6 ++ .../04_5validators_warnings_all.sh | 8 +++ .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + .../04_1auto_save_and_calculated_hidden.sh | 2 +- .../04_1default_calculation_hidden.sh | 4 +- .../04_1default_calculation_hidden_2.sh | 4 +- .../04_1default_calculation_hidden_5.sh | 4 +- .../04_1default_calculation_hidden_6.sh | 4 +- .../04_5disabled_calculation.sh | 8 +-- .../04_5disabled_calculation_boolean.sh | 8 +-- .../04_5disabled_calculation_default.sh | 8 +-- .../04_5disabled_calculation_multi.sh | 8 +-- .../04_5disabled_calculation_optional.sh | 4 +- ..._5disabled_calculation_optional_default.sh | 4 +- .../04_5disabled_calculation_variable.sh | 4 +- .../04_5disabled_calculation_variable10.sh | 4 +- .../04_5disabled_calculation_variable2.sh | 4 +- .../04_5disabled_calculation_variable3.sh | 4 +- .../04_5disabled_calculation_variable4.sh | 4 +- .../04_5disabled_calculation_variable7.sh | 4 +- ...04_5disabled_calculation_variable_multi.sh | 4 +- .../test_namespace/04_5hidden_calculation.sh | 8 +-- .../test_namespace/04_5hidden_calculation2.sh | 8 +-- ...5hidden_calculation_default_calculation.sh | 8 +-- .../04_5validators_warnings.adoc | 18 ++++++ .../04_5validators_warnings.gitlab.md | 13 +++++ .../04_5validators_warnings.html | 15 +++++ .../04_5validators_warnings.json | 54 ++++++++++++++++++ .../test_namespace/04_5validators_warnings.md | 10 ++++ .../test_namespace/04_5validators_warnings.sh | 22 +++++++ .../04_5validators_warnings_all.adoc | 22 +++++++ .../04_5validators_warnings_all.gitlab.md | 13 +++++ .../04_5validators_warnings_all.html | 16 ++++++ .../04_5validators_warnings_all.json | 57 +++++++++++++++++++ .../04_5validators_warnings_all.md | 10 ++++ .../04_5validators_warnings_all.sh | 24 ++++++++ .../16_2family_redefine_calculation.sh | 2 +- .../24_0family_hidden_condition.sh | 2 +- .../24_0family_hidden_condition_boolean.sh | 2 +- .../24_0family_hidden_condition_sub_family.sh | 2 +- ...ly_hidden_condition_variable_sub_family.sh | 2 +- ..._0family_hidden_condition_with_variable.sh | 4 +- ...amily_hidden_param_condition_sub_family.sh | 2 +- .../24_0family_mandatory_condition.sh | 2 +- ...24_0family_mandatory_condition_variable.sh | 2 +- .../44_4disabled_calcultion_follower.sh | 4 +- .../44_4disabled_calcultion_follower_index.sh | 4 +- ...4_5leadership_leader_hidden_calculation.sh | 2 +- ...eadership_follower_disabled_calculation.sh | 4 +- ...4_9calculated_default_leadership_leader.sh | 4 +- .../60_5family_dynamic_calc2.sh | 2 +- .../60_5family_dynamic_calc2_empty.sh | 2 +- ...60_5family_dynamic_calc_suffix_disabled.sh | 4 +- ..._5family_dynamic_calc_variable_disabled.sh | 4 +- ..._dynamic_calc_variable_disabled_outside.sh | 4 +- .../60_5family_dynamic_hidden_suffix.sh | 2 +- ...60_5family_dynamic_unknown_suffix_empty.sh | 4 +- .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + .../04_5validators_warnings.adoc | 8 +++ .../04_5validators_warnings.gitlab.md | 9 +++ .../04_5validators_warnings.html | 4 ++ .../04_5validators_warnings.md | 7 +++ .../04_5validators_warnings.sh | 9 +++ .../04_5validators_warnings_all.adoc | 8 +++ .../04_5validators_warnings_all.gitlab.md | 9 +++ .../04_5validators_warnings_all.html | 4 ++ .../04_5validators_warnings_all.md | 7 +++ .../04_5validators_warnings_all.sh | 9 +++ .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + .../04_5validators_warnings.adoc | 8 +++ .../04_5validators_warnings.gitlab.md | 9 +++ .../04_5validators_warnings.html | 4 ++ .../04_5validators_warnings.md | 7 +++ .../04_5validators_warnings.sh | 9 +++ .../04_5validators_warnings_all.adoc | 8 +++ .../04_5validators_warnings_all.gitlab.md | 9 +++ .../04_5validators_warnings_all.html | 4 ++ .../04_5validators_warnings_all.md | 7 +++ .../04_5validators_warnings_all.sh | 9 +++ .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + ...to_save_and_calculated_hidden.changelog.sh | 2 +- .../04_1auto_save_and_calculated_hidden.sh | 2 +- ...4_1default_calculation_hidden.changelog.sh | 4 +- .../04_1default_calculation_hidden.sh | 4 +- ...1default_calculation_hidden_2.changelog.sh | 4 +- .../04_1default_calculation_hidden_2.sh | 4 +- ...1default_calculation_hidden_5.changelog.sh | 4 +- .../04_1default_calculation_hidden_5.sh | 4 +- ...1default_calculation_hidden_6.changelog.sh | 4 +- .../04_1default_calculation_hidden_6.sh | 4 +- .../04_5disabled_calculation.changelog.sh | 8 +-- .../04_5disabled_calculation.sh | 8 +-- ...5disabled_calculation_boolean.changelog.sh | 8 +-- .../04_5disabled_calculation_boolean.sh | 8 +-- ...5disabled_calculation_default.changelog.sh | 8 +-- .../04_5disabled_calculation_default.sh | 8 +-- ...4_5disabled_calculation_multi.changelog.sh | 8 +-- .../04_5disabled_calculation_multi.sh | 8 +-- ...disabled_calculation_optional.changelog.sh | 4 +- .../04_5disabled_calculation_optional.sh | 4 +- ..._calculation_optional_default.changelog.sh | 4 +- ..._5disabled_calculation_optional_default.sh | 4 +- ...disabled_calculation_variable.changelog.sh | 4 +- .../04_5disabled_calculation_variable.sh | 4 +- ...sabled_calculation_variable10.changelog.sh | 4 +- .../04_5disabled_calculation_variable10.sh | 4 +- ...isabled_calculation_variable2.changelog.sh | 4 +- .../04_5disabled_calculation_variable2.sh | 4 +- ...isabled_calculation_variable3.changelog.sh | 4 +- .../04_5disabled_calculation_variable3.sh | 4 +- ...isabled_calculation_variable4.changelog.sh | 4 +- .../04_5disabled_calculation_variable4.sh | 4 +- ...isabled_calculation_variable7.changelog.sh | 4 +- .../04_5disabled_calculation_variable7.sh | 4 +- ...ed_calculation_variable_multi.changelog.sh | 4 +- ...04_5disabled_calculation_variable_multi.sh | 4 +- .../04_5hidden_calculation.changelog.sh | 8 +-- .../04_5hidden_calculation.sh | 8 +-- .../04_5hidden_calculation2.changelog.sh | 8 +-- .../04_5hidden_calculation2.sh | 8 +-- ...lculation_default_calculation.changelog.sh | 8 +-- ...5hidden_calculation_default_calculation.sh | 8 +-- .../04_5validators_warnings.adoc | 12 ++++ .../04_5validators_warnings.changelog.adoc | 14 +++++ ...4_5validators_warnings.changelog.gitlab.md | 8 +++ .../04_5validators_warnings.changelog.html | 11 ++++ .../04_5validators_warnings.changelog.md | 6 ++ .../04_5validators_warnings.changelog.sh | 13 +++++ .../04_5validators_warnings.gitlab.md | 4 ++ .../04_5validators_warnings.html | 9 +++ .../04_5validators_warnings.json | 54 ++++++++++++++++++ .../04_5validators_warnings.md | 4 ++ .../04_5validators_warnings.sh | 7 +++ .../04_5validators_warnings_all.adoc | 16 ++++++ ...04_5validators_warnings_all.changelog.adoc | 18 ++++++ ...alidators_warnings_all.changelog.gitlab.md | 8 +++ ...04_5validators_warnings_all.changelog.html | 12 ++++ .../04_5validators_warnings_all.changelog.md | 6 ++ .../04_5validators_warnings_all.changelog.sh | 15 +++++ .../04_5validators_warnings_all.gitlab.md | 4 ++ .../04_5validators_warnings_all.html | 10 ++++ .../04_5validators_warnings_all.json | 57 +++++++++++++++++++ .../04_5validators_warnings_all.md | 4 ++ .../04_5validators_warnings_all.sh | 9 +++ ...idden_condition_with_variable.changelog.sh | 2 +- ..._0family_hidden_condition_with_variable.sh | 2 +- ...4_0family_mandatory_condition.changelog.sh | 2 +- .../24_0family_mandatory_condition.sh | 2 +- ..._mandatory_condition_variable.changelog.sh | 2 +- ...24_0family_mandatory_condition_variable.sh | 2 +- ...4disabled_calcultion_follower.changelog.sh | 4 +- .../44_4disabled_calcultion_follower.sh | 4 +- ...led_calcultion_follower_index.changelog.sh | 4 +- .../44_4disabled_calcultion_follower_index.sh | 4 +- ...follower_disabled_calculation.changelog.sh | 4 +- ...eadership_follower_disabled_calculation.sh | 4 +- ...ted_default_leadership_leader.changelog.sh | 4 +- ...4_9calculated_default_leadership_leader.sh | 4 +- ..._dynamic_calc_suffix_disabled.changelog.sh | 4 +- ...60_5family_dynamic_calc_suffix_disabled.sh | 4 +- ...ynamic_calc_variable_disabled.changelog.sh | 4 +- ..._5family_dynamic_calc_variable_disabled.sh | 4 +- ...alc_variable_disabled_outside.changelog.sh | 4 +- ..._dynamic_calc_variable_disabled_outside.sh | 4 +- ..._dynamic_unknown_suffix_empty.changelog.sh | 4 +- ...60_5family_dynamic_unknown_suffix_empty.sh | 4 +- .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + ...to_save_and_calculated_hidden.changelog.sh | 2 +- .../04_1auto_save_and_calculated_hidden.sh | 2 +- ...4_1default_calculation_hidden.changelog.sh | 4 +- .../04_1default_calculation_hidden.sh | 4 +- ...1default_calculation_hidden_2.changelog.sh | 4 +- .../04_1default_calculation_hidden_2.sh | 4 +- ...1default_calculation_hidden_5.changelog.sh | 4 +- .../04_1default_calculation_hidden_5.sh | 4 +- ...1default_calculation_hidden_6.changelog.sh | 4 +- .../04_1default_calculation_hidden_6.sh | 4 +- ...5disabled_calculation_boolean.changelog.sh | 8 +-- .../04_5disabled_calculation_boolean.sh | 8 +-- ...disabled_calculation_optional.changelog.sh | 4 +- .../04_5disabled_calculation_optional.sh | 4 +- ..._calculation_optional_default.changelog.sh | 4 +- ..._5disabled_calculation_optional_default.sh | 4 +- ...disabled_calculation_variable.changelog.sh | 4 +- .../04_5disabled_calculation_variable.sh | 4 +- ...sabled_calculation_variable10.changelog.sh | 4 +- .../04_5disabled_calculation_variable10.sh | 4 +- ...isabled_calculation_variable2.changelog.sh | 4 +- .../04_5disabled_calculation_variable2.sh | 4 +- ...isabled_calculation_variable3.changelog.sh | 4 +- .../04_5disabled_calculation_variable3.sh | 4 +- ...isabled_calculation_variable4.changelog.sh | 4 +- .../04_5disabled_calculation_variable4.sh | 4 +- ...isabled_calculation_variable7.changelog.sh | 4 +- .../04_5disabled_calculation_variable7.sh | 4 +- ...ed_calculation_variable_multi.changelog.sh | 4 +- ...04_5disabled_calculation_variable_multi.sh | 4 +- .../04_5validators_warnings.adoc | 12 ++++ .../04_5validators_warnings.changelog.adoc | 14 +++++ ...4_5validators_warnings.changelog.gitlab.md | 8 +++ .../04_5validators_warnings.changelog.html | 11 ++++ .../04_5validators_warnings.changelog.md | 6 ++ .../04_5validators_warnings.changelog.sh | 13 +++++ .../04_5validators_warnings.gitlab.md | 4 ++ .../04_5validators_warnings.html | 9 +++ .../04_5validators_warnings.json | 36 ++++++++++++ .../04_5validators_warnings.md | 4 ++ .../04_5validators_warnings.sh | 7 +++ .../04_5validators_warnings_all.adoc | 16 ++++++ ...04_5validators_warnings_all.changelog.adoc | 18 ++++++ ...alidators_warnings_all.changelog.gitlab.md | 8 +++ ...04_5validators_warnings_all.changelog.html | 12 ++++ .../04_5validators_warnings_all.changelog.md | 6 ++ .../04_5validators_warnings_all.changelog.sh | 15 +++++ .../04_5validators_warnings_all.gitlab.md | 4 ++ .../04_5validators_warnings_all.html | 10 ++++ .../04_5validators_warnings_all.json | 39 +++++++++++++ .../04_5validators_warnings_all.md | 4 ++ .../04_5validators_warnings_all.sh | 9 +++ ...4_0family_mandatory_condition.changelog.sh | 2 +- .../24_0family_mandatory_condition.sh | 2 +- ..._mandatory_condition_variable.changelog.sh | 2 +- ...24_0family_mandatory_condition_variable.sh | 2 +- ...led_calcultion_follower_index.changelog.sh | 4 +- .../44_4disabled_calcultion_follower_index.sh | 4 +- ...follower_disabled_calculation.changelog.sh | 4 +- ...eadership_follower_disabled_calculation.sh | 4 +- ..._dynamic_calc_suffix_disabled.changelog.sh | 4 +- ...60_5family_dynamic_calc_suffix_disabled.sh | 4 +- ...ynamic_calc_variable_disabled.changelog.sh | 4 +- ..._5family_dynamic_calc_variable_disabled.sh | 4 +- ...alc_variable_disabled_outside.changelog.sh | 4 +- ..._dynamic_calc_variable_disabled_outside.sh | 4 +- .../warnings_04_5validators_warnings | 1 + .../warnings_04_5validators_warnings_all | 1 + tests/root_a_family.sh | 2 +- tests/test_changelog.py | 2 +- 343 files changed, 1806 insertions(+), 419 deletions(-) create mode 100644 tests/changelog/10mod_variable_description2/after/rougail/00-base.yml create mode 100644 tests/changelog/10mod_variable_description2/before/rougail/00-base.yml create mode 100644 tests/changelog/10mod_variable_description2/result.adoc create mode 100644 tests/changelog/10mod_variable_description2/result.gitlab.md create mode 100644 tests/changelog/10mod_variable_description2/result.html create mode 100644 tests/changelog/10mod_variable_description2/result.md create mode 100644 tests/changelog/10mod_variable_description2/result.sh create mode 100644 tests/results/test/04_5validators_warnings.adoc create mode 100644 tests/results/test/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test/04_5validators_warnings.html create mode 100644 tests/results/test/04_5validators_warnings.json create mode 100644 tests/results/test/04_5validators_warnings.md create mode 100644 tests/results/test/04_5validators_warnings.sh create mode 100644 tests/results/test/04_5validators_warnings_all.adoc create mode 100644 tests/results/test/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test/04_5validators_warnings_all.html create mode 100644 tests/results/test/04_5validators_warnings_all.json create mode 100644 tests/results/test/04_5validators_warnings_all.md create mode 100644 tests/results/test/04_5validators_warnings_all.sh create mode 100644 tests/results/test/warnings_04_5validators_warnings create mode 100644 tests/results/test/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_examples/04_5validators_warnings.adoc create mode 100644 tests/results/test_examples/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_examples/04_5validators_warnings.html create mode 100644 tests/results/test_examples/04_5validators_warnings.md create mode 100644 tests/results/test_examples/04_5validators_warnings.sh create mode 100644 tests/results/test_examples/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_examples/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_examples/04_5validators_warnings_all.html create mode 100644 tests/results/test_examples/04_5validators_warnings_all.md create mode 100644 tests/results/test_examples/04_5validators_warnings_all.sh create mode 100644 tests/results/test_examples/warnings_04_5validators_warnings create mode 100644 tests/results/test_examples/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_examples_comment/04_5validators_warnings.adoc create mode 100644 tests/results/test_examples_comment/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_examples_comment/04_5validators_warnings.html create mode 100644 tests/results/test_examples_comment/04_5validators_warnings.md create mode 100644 tests/results/test_examples_comment/04_5validators_warnings.sh create mode 100644 tests/results/test_examples_comment/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_examples_comment/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_examples_comment/04_5validators_warnings_all.html create mode 100644 tests/results/test_examples_comment/04_5validators_warnings_all.md create mode 100644 tests/results/test_examples_comment/04_5validators_warnings_all.sh create mode 100644 tests/results/test_examples_comment/warnings_04_5validators_warnings create mode 100644 tests/results/test_examples_comment/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_namespace/04_5validators_warnings.adoc create mode 100644 tests/results/test_namespace/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_namespace/04_5validators_warnings.html create mode 100644 tests/results/test_namespace/04_5validators_warnings.json create mode 100644 tests/results/test_namespace/04_5validators_warnings.md create mode 100644 tests/results/test_namespace/04_5validators_warnings.sh create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.html create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.json create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.md create mode 100644 tests/results/test_namespace/04_5validators_warnings_all.sh create mode 100644 tests/results/test_namespace/warnings_04_5validators_warnings create mode 100644 tests/results/test_namespace/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings.adoc create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings.html create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings.md create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings.sh create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings_all.html create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings_all.md create mode 100644 tests/results/test_namespace_examples/04_5validators_warnings_all.sh create mode 100644 tests/results/test_namespace_examples/warnings_04_5validators_warnings create mode 100644 tests/results/test_namespace_examples/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings.adoc create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings.html create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings.md create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings.sh create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings_all.html create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings_all.md create mode 100644 tests/results/test_namespace_examples_comment/04_5validators_warnings_all.sh create mode 100644 tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings create mode 100644 tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.adoc create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.changelog.adoc create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.changelog.gitlab.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.changelog.html create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.changelog.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.changelog.sh create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.html create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.json create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings.sh create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.adoc create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.gitlab.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.html create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.sh create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.html create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.json create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.md create mode 100644 tests/results/test_namespace_without_family/04_5validators_warnings_all.sh create mode 100644 tests/results/test_namespace_without_family/warnings_04_5validators_warnings create mode 100644 tests/results/test_namespace_without_family/warnings_04_5validators_warnings_all create mode 100644 tests/results/test_without_family/04_5validators_warnings.adoc create mode 100644 tests/results/test_without_family/04_5validators_warnings.changelog.adoc create mode 100644 tests/results/test_without_family/04_5validators_warnings.changelog.gitlab.md create mode 100644 tests/results/test_without_family/04_5validators_warnings.changelog.html create mode 100644 tests/results/test_without_family/04_5validators_warnings.changelog.md create mode 100644 tests/results/test_without_family/04_5validators_warnings.changelog.sh create mode 100644 tests/results/test_without_family/04_5validators_warnings.gitlab.md create mode 100644 tests/results/test_without_family/04_5validators_warnings.html create mode 100644 tests/results/test_without_family/04_5validators_warnings.json create mode 100644 tests/results/test_without_family/04_5validators_warnings.md create mode 100644 tests/results/test_without_family/04_5validators_warnings.sh create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.adoc create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.changelog.adoc create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.changelog.gitlab.md create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.changelog.html create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.changelog.md create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.changelog.sh create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.gitlab.md create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.html create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.json create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.md create mode 100644 tests/results/test_without_family/04_5validators_warnings_all.sh create mode 100644 tests/results/test_without_family/warnings_04_5validators_warnings create mode 100644 tests/results/test_without_family/warnings_04_5validators_warnings_all diff --git a/src/rougail/output_doc/changelog.py b/src/rougail/output_doc/changelog.py index 3a881cbcd..ce6b9b546 100644 --- a/src/rougail/output_doc/changelog.py +++ b/src/rougail/output_doc/changelog.py @@ -134,6 +134,8 @@ class Changelog: # pylint: disable=no-member,too-few-public-methods elif prop_previous in prop_new: prop_new.remove(prop_previous) prop_previous = [] + else: + prop_previous = [prop_previous] prop_new = [p for p in prop_new if p not in local_prop_previous] if prop_previous not in [None, []] or prop_new not in [ None, diff --git a/src/rougail/output_doc/doc.py b/src/rougail/output_doc/doc.py index f84646b99..468b0f9fe 100644 --- a/src/rougail/output_doc/doc.py +++ b/src/rougail/output_doc/doc.py @@ -95,7 +95,6 @@ class RougailOutputDoc(Examples, Changelog): return_string = "" contents = self.rougailconfig["doc.contents"] if "variables" in contents: - # print(self.informations) return_string += self.formatter.run(self.informations) if "example" in contents: return_string += self.gen_doc_examples() diff --git a/src/rougail/output_doc/output/asciidoc.py b/src/rougail/output_doc/output/asciidoc.py index 9fc19b89a..e352bee5a 100644 --- a/src/rougail/output_doc/output/asciidoc.py +++ b/src/rougail/output_doc/output/asciidoc.py @@ -103,10 +103,16 @@ class Formatter(CommonFormatter): self, prop: str, italic: bool, + delete: bool, + underline: bool, ) -> str: """Display property""" if italic: prop = self.italic(prop) + if delete: + prop = self.delete(prop) + if underline: + prop = self.underline(prop) return f"`{prop}`" def yaml(self, _dump: dict) -> str: @@ -125,8 +131,11 @@ class Formatter(CommonFormatter): self, comment: str, link: str, + underline: bool, ) -> str: """Add a link""" + if underline: + link = self.underline(link) return f"`{link}[{comment}]`" def is_list( diff --git a/src/rougail/output_doc/output/console.py b/src/rougail/output_doc/output/console.py index b6201e248..a9c5bce73 100644 --- a/src/rougail/output_doc/output/console.py +++ b/src/rougail/output_doc/output/console.py @@ -134,11 +134,17 @@ class Formatter(CommonFormatter): self, prop: str, italic: bool, + delete: bool, + underline: bool, ) -> str: """Display property""" - prop = f"[reverse][bold] {prop} [/bold][/reverse]" if italic: prop = self.italic(prop) + if delete: + prop = self.delete(prop) + if underline: + prop = self.underline(prop) + prop = f"[reverse][bold] {prop} [/bold][/reverse]" return prop def yaml(self, _dump): @@ -149,9 +155,10 @@ class Formatter(CommonFormatter): self, comment: str, link: str, + underline: bool, ) -> str: """Add a link""" - return self.prop(comment, False) + return self.prop(comment, False, False, underline) # return f"{comment} ({link})" def columns( diff --git a/src/rougail/output_doc/output/github.py b/src/rougail/output_doc/output/github.py index 8a67ac406..e7e4e9c5e 100644 --- a/src/rougail/output_doc/output/github.py +++ b/src/rougail/output_doc/output/github.py @@ -107,11 +107,17 @@ class Formatter(CommonFormatter): self, prop: str, italic: bool, + delete: bool, + underline: bool, ) -> str: """Display property""" prop = f"`{prop}`" if italic: prop = self.italic(prop) + if delete: + prop = self.delete(prop) + if underline: + prop = self.underline(prop) return prop def table_header(self, lst): @@ -128,9 +134,11 @@ class Formatter(CommonFormatter): self, comment: str, link: str, + underline: bool, ) -> str: """Add a link""" - return f"[`{comment}`]({link})" + comment = self.prop(comment, False, False, underline) + return f"[{comment}]({link})" def columns( self, diff --git a/src/rougail/output_doc/output/gitlab.py b/src/rougail/output_doc/output/gitlab.py index 81f9ace14..0359384eb 100644 --- a/src/rougail/output_doc/output/gitlab.py +++ b/src/rougail/output_doc/output/gitlab.py @@ -56,7 +56,7 @@ class Formatter(GithubFormatter): link = f'{filename}#{path}' else: link = f'#{path}' - return self.link(description, link) + return self.link(description, link, False) def columns( self, diff --git a/src/rougail/output_doc/output/html.py b/src/rougail/output_doc/output/html.py index 96ce5d775..53bc1c975 100644 --- a/src/rougail/output_doc/output/html.py +++ b/src/rougail/output_doc/output/html.py @@ -107,10 +107,16 @@ class Formatter(CommonFormatter): self, prop: str, italic: bool, + delete: bool, + underline: bool, ) -> str: """Display property""" if italic: prop = self.italic(prop) + if delete: + prop = self.delete(prop) + if underline: + prop = self.underline(prop) return f"{prop}" def yaml(self, _dump: dict) -> str: @@ -121,9 +127,10 @@ class Formatter(CommonFormatter): self, comment: str, link: str, + underline: bool, ) -> str: """Add a link""" - return self.prop(f"{comment}", False) + return self.prop(f"{comment}", False, False, underline) def is_list( self, diff --git a/src/rougail/output_doc/utils.py b/src/rougail/output_doc/utils.py index 478e61060..dc2609d70 100644 --- a/src/rougail/output_doc/utils.py +++ b/src/rougail/output_doc/utils.py @@ -253,6 +253,8 @@ class CommonFormatter: self, prop: str, italic: bool, + delete: bool, + underline: bool, ) -> str: """Display property""" raise NotImplementedError() @@ -261,6 +263,7 @@ class CommonFormatter: self, comment: str, link: str, + underline: bool, ) -> str: """Add a link""" raise NotImplementedError() @@ -449,7 +452,7 @@ class CommonFormatter: self, type_: str, informations: dict, modified_attributes: dict, force_identifiers: Optional[str] ) -> str(): def _get_description(description, identifiers, delete=False, new=[]): - if "{{ identifier }}" in description: + if identifiers and "{{ identifier }}" in description: if type_ == "variable": identifiers_text = display_list( [self.italic(i[-1]) for i in identifiers if not force_identifiers or i == force_identifiers], separator="or" @@ -478,9 +481,12 @@ class CommonFormatter: if "description" in modified_attributes: name, previous, new = modified_attributes["description"] - modified_description = _get_description( - previous, modified_attributes.get("identifiers", []), delete=True - ) + if previous: + modified_description = _get_description( + previous[0], modified_attributes.get("identifiers", []), delete=True + ) + else: + modified_description = None else: modified_description = None new = [] @@ -773,19 +779,23 @@ class CommonFormatter: ) for p, annotation in previous.items(): if p not in new: - properties.append(self.prop(self.delete(p), italic=False)) + properties.append(self.prop(p, italic=False, delete=True, underline=False)) if annotation is not None: local_calculated_properties[p] = [self.delete(annotation)] else: previous = new = [] for prop in informations.get("properties", []): + prop_name = prop["name"] + if prop_name not in previous and prop_name in new: + underline = True + else: + underline = False if prop["type"] == "type": - properties.append(self.link(prop["name"], ROUGAIL_VARIABLE_TYPE)) + properties.append(self.link(prop_name, ROUGAIL_VARIABLE_TYPE, underline)) else: if prop["type"] == "multiple": multi = True - prop_name = prop["name"] if "annotation" in prop: italic = True prop_annotation = prop["annotation"] @@ -799,9 +809,7 @@ class CommonFormatter: ) else: italic = False - if prop_name not in previous and prop_name in new: - prop_name = self.underline(prop_name) - properties.append(self.prop(prop_name, italic=italic)) + properties.append(self.prop(prop_name, italic=italic, delete=False, underline=underline)) if local_calculated_properties: for ( calculated_property_name, diff --git a/tests/changelog/10mod_variable_description/before/rougail/00-base.yml b/tests/changelog/10mod_variable_description/before/rougail/00-base.yml index e31a88495..9329d93c2 100644 --- a/tests/changelog/10mod_variable_description/before/rougail/00-base.yml +++ b/tests/changelog/10mod_variable_description/before/rougail/00-base.yml @@ -2,5 +2,5 @@ --- version: 1.1 -var1: # first variable +var1: ... diff --git a/tests/changelog/10mod_variable_description/result.adoc b/tests/changelog/10mod_variable_description/result.adoc index 135d40976..3c38304b5 100644 --- a/tests/changelog/10mod_variable_description/result.adoc +++ b/tests/changelog/10mod_variable_description/result.adoc @@ -7,7 +7,6 @@ **var1** + `https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` | -+++First variable.+++ + #New description.# |==== diff --git a/tests/changelog/10mod_variable_description/result.gitlab.md b/tests/changelog/10mod_variable_description/result.gitlab.md index ebe66f987..00d541cbd 100644 --- a/tests/changelog/10mod_variable_description/result.gitlab.md +++ b/tests/changelog/10mod_variable_description/result.gitlab.md @@ -1,8 +1,8 @@
Modified variable -| Variable | Description | -|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| -| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~
New description. | +| Variable | Description | +|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------| +| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | New description. |
diff --git a/tests/changelog/10mod_variable_description/result.html b/tests/changelog/10mod_variable_description/result.html index 99445da1b..64e6a3fae 100644 --- a/tests/changelog/10mod_variable_description/result.html +++ b/tests/changelog/10mod_variable_description/result.html @@ -2,10 +2,10 @@ - + - +
Variable Description
Variable Description
var1
string basic mandatory
First variable.
New description.
var1
string basic mandatory
New description.
diff --git a/tests/changelog/10mod_variable_description/result.md b/tests/changelog/10mod_variable_description/result.md index b3b65538d..cc8d5de37 100644 --- a/tests/changelog/10mod_variable_description/result.md +++ b/tests/changelog/10mod_variable_description/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                | Description                                                                                             | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~
New description. | +| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | New description. | diff --git a/tests/changelog/10mod_variable_description/result.sh b/tests/changelog/10mod_variable_description/result.sh index cbdf3f2cc..79b83a77e 100644 --- a/tests/changelog/10mod_variable_description/result.sh +++ b/tests/changelog/10mod_variable_description/result.sh @@ -6,7 +6,7 @@ ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ -│ var1 │ First variable. │ -│  string   basic   mandatory  │ New description. │ +│ var1 │ New description. │ +│  string   basic   mandatory  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/changelog/10mod_variable_description2/after/rougail/00-base.yml b/tests/changelog/10mod_variable_description2/after/rougail/00-base.yml new file mode 100644 index 000000000..cbf56b961 --- /dev/null +++ b/tests/changelog/10mod_variable_description2/after/rougail/00-base.yml @@ -0,0 +1,6 @@ +%YAML 1.2 +--- +version: 1.1 + +var1: # new description +... diff --git a/tests/changelog/10mod_variable_description2/before/rougail/00-base.yml b/tests/changelog/10mod_variable_description2/before/rougail/00-base.yml new file mode 100644 index 000000000..e31a88495 --- /dev/null +++ b/tests/changelog/10mod_variable_description2/before/rougail/00-base.yml @@ -0,0 +1,6 @@ +%YAML 1.2 +--- +version: 1.1 + +var1: # first variable +... diff --git a/tests/changelog/10mod_variable_description2/result.adoc b/tests/changelog/10mod_variable_description2/result.adoc new file mode 100644 index 000000000..135d40976 --- /dev/null +++ b/tests/changelog/10mod_variable_description2/result.adoc @@ -0,0 +1,13 @@ +== Modified variable + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**var1** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `basic` `mandatory` | ++++First variable.+++ + +#New description.# +|==== + diff --git a/tests/changelog/10mod_variable_description2/result.gitlab.md b/tests/changelog/10mod_variable_description2/result.gitlab.md new file mode 100644 index 000000000..ebe66f987 --- /dev/null +++ b/tests/changelog/10mod_variable_description2/result.gitlab.md @@ -0,0 +1,8 @@ +
Modified variable + +| Variable | Description | +|--------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------| +| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~
New description. | + +
+ diff --git a/tests/changelog/10mod_variable_description2/result.html b/tests/changelog/10mod_variable_description2/result.html new file mode 100644 index 000000000..99445da1b --- /dev/null +++ b/tests/changelog/10mod_variable_description2/result.html @@ -0,0 +1,11 @@ +

Modified variable

+ + + + + + + + +
Variable Description
var1
string basic mandatory
First variable.
New description.
+ diff --git a/tests/changelog/10mod_variable_description2/result.md b/tests/changelog/10mod_variable_description2/result.md new file mode 100644 index 000000000..b3b65538d --- /dev/null +++ b/tests/changelog/10mod_variable_description2/result.md @@ -0,0 +1,6 @@ +# Modified variable + +| Variable                                                                                                | Description                                                                                             | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **var1**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `basic` `mandatory` | ~~First variable.~~
New description. | + diff --git a/tests/changelog/10mod_variable_description2/result.sh b/tests/changelog/10mod_variable_description2/result.sh new file mode 100644 index 000000000..cbdf3f2cc --- /dev/null +++ b/tests/changelog/10mod_variable_description2/result.sh @@ -0,0 +1,12 @@ + + +Modified variable + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ var1 │ First variable. │ +│  string   basic   mandatory  │ New description. │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/changelog/11mod_variable_choices2/result.gitlab.md b/tests/changelog/11mod_variable_choices2/result.gitlab.md index e4c266ee8..7b02778db 100644 --- a/tests/changelog/11mod_variable_choices2/result.gitlab.md +++ b/tests/changelog/11mod_variable_choices2/result.gitlab.md @@ -2,7 +2,7 @@ | Variable | Description | |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------| -| **var1**
`~~basic~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.
**Choices**:
- val1
- val2 **← (default)** | +| **var1**
~~`basic`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.
**Choices**:
- val1
- val2 **← (default)** | diff --git a/tests/changelog/11mod_variable_choices2/result.md b/tests/changelog/11mod_variable_choices2/result.md index 56e238ea7..fbbb0f7a6 100644 --- a/tests/changelog/11mod_variable_choices2/result.md +++ b/tests/changelog/11mod_variable_choices2/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                                          | Description                                                                                                                       | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var1**
`~~basic~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.
**Choices**:
- val1
- val2 **← (default)** | +| **var1**
~~`basic`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | First variable.
**Choices**:
- val1
- val2 **← (default)** | diff --git a/tests/changelog/11mod_variable_choices3/result.gitlab.md b/tests/changelog/11mod_variable_choices3/result.gitlab.md index 0f368b99c..0aab504a6 100644 --- a/tests/changelog/11mod_variable_choices3/result.gitlab.md +++ b/tests/changelog/11mod_variable_choices3/result.gitlab.md @@ -2,7 +2,7 @@ | Variable | Description | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------| -| **var1**
`~~basic~~` `~~mandatory~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.
**Choices**:
- null ~~← (default)~~
- val1
- val2 **← (default)** | +| **var1**
~~`basic`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.
**Choices**:
- null ~~← (default)~~
- val1
- val2 **← (default)** | diff --git a/tests/changelog/11mod_variable_choices3/result.md b/tests/changelog/11mod_variable_choices3/result.md index 6b6b49079..f216e076b 100644 --- a/tests/changelog/11mod_variable_choices3/result.md +++ b/tests/changelog/11mod_variable_choices3/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                                              | Description                                                                                                                           | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var1**
`~~basic~~` `~~mandatory~~` [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.
**Choices**:
- null ~~← (default)~~
- val1
- val2 **← (default)** | +| **var1**
~~`basic`~~ ~~`mandatory`~~ [`choice`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` | First variable.
**Choices**:
- null ~~← (default)~~
- val1
- val2 **← (default)** | diff --git a/tests/changelog/12mod_default_value2/result.gitlab.md b/tests/changelog/12mod_default_value2/result.gitlab.md index 26262354c..57f51ae5f 100644 --- a/tests/changelog/12mod_default_value2/result.gitlab.md +++ b/tests/changelog/12mod_default_value2/result.gitlab.md @@ -2,8 +2,8 @@ | Variable | Description | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------| -| **variable_1**
`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: val1 | -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1 | +| **variable_1**
~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: val1 | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1 | diff --git a/tests/changelog/12mod_default_value2/result.md b/tests/changelog/12mod_default_value2/result.md index ec5b037d4..4e7a23423 100644 --- a/tests/changelog/12mod_default_value2/result.md +++ b/tests/changelog/12mod_default_value2/result.md @@ -2,6 +2,6 @@ | Variable                                                                                                                                             | Description                                                                                                                                          | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **variable_1**
`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: val1 | -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1 | +| **variable_1**
~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: val1 | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1 | diff --git a/tests/changelog/12mod_default_value3/result.gitlab.md b/tests/changelog/12mod_default_value3/result.gitlab.md index 7f3c542f7..b09c753a4 100644 --- a/tests/changelog/12mod_default_value3/result.gitlab.md +++ b/tests/changelog/12mod_default_value3/result.gitlab.md @@ -2,8 +2,8 @@ | Variable | Description | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------| -| **variable_1**
`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: ~~val2~~
val1 | -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1
- val2 | +| **variable_1**
~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: ~~val2~~
val1 | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1
- val2 | diff --git a/tests/changelog/12mod_default_value3/result.md b/tests/changelog/12mod_default_value3/result.md index 11eff4fa4..465d6c663 100644 --- a/tests/changelog/12mod_default_value3/result.md +++ b/tests/changelog/12mod_default_value3/result.md @@ -2,6 +2,6 @@ | Variable                                                                                                                                             | Description                                                                                                                                          | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **variable_1**
`~~unique~~` `~~multiple~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: ~~val2~~
val1 | -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1
- val2 | +| **variable_1**
~~`unique`~~ ~~`multiple`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | The first variable.
**Default**: ~~val2~~
val1 | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- val1
- val2 | diff --git a/tests/changelog/12mod_default_value5/result.gitlab.md b/tests/changelog/12mod_default_value5/result.gitlab.md index 5c8283c44..33e988087 100644 --- a/tests/changelog/12mod_default_value5/result.gitlab.md +++ b/tests/changelog/12mod_default_value5/result.gitlab.md @@ -2,7 +2,7 @@ | Variable | Description | |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------| -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- ~~val1~~
- the value of the variable "[`The first variable`](#variable_1)" | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- ~~val1~~
- the value of the variable "[`The first variable`](#variable_1)" | diff --git a/tests/changelog/12mod_default_value5/result.md b/tests/changelog/12mod_default_value5/result.md index 79400a9bd..8e46f7c17 100644 --- a/tests/changelog/12mod_default_value5/result.md +++ b/tests/changelog/12mod_default_value5/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                                                             | Description                                                                                                                                          | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- ~~val1~~
- the value of the variable "variable_1" | +| **variable_2**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` `unique` `multiple` | The second variable.
**Default**:
- ~~val1~~
- the value of the variable "variable_1" | diff --git a/tests/changelog/30_mod_prop_calculation2/result.sh b/tests/changelog/30_mod_prop_calculation2/result.sh index bf15f4e1b..ab3bdd89c 100644 --- a/tests/changelog/30_mod_prop_calculation2/result.sh +++ b/tests/changelog/30_mod_prop_calculation2/result.sh @@ -7,7 +7,7 @@ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ var │ A first variable. │ -│  string   standard   mandatory  │ Default: no │ +│  string   standard   mandatory  │ Default: no │ │ │ Mandatory: if condition is yes │ │ │ if condition is not no │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/changelog/30_mod_prop_calculation3/result.gitlab.md b/tests/changelog/30_mod_prop_calculation3/result.gitlab.md index 360c3653a..fa76f000e 100644 --- a/tests/changelog/30_mod_prop_calculation3/result.gitlab.md +++ b/tests/changelog/30_mod_prop_calculation3/result.gitlab.md @@ -2,7 +2,7 @@ | Variable | Description | |---------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------| -| **var**
`~~hidden~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.
**Default**: no
**Hidden**: ~~if condition is yes~~ | +| **var**
~~`hidden`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.
**Default**: no
**Hidden**: ~~if condition is yes~~ | diff --git a/tests/changelog/30_mod_prop_calculation3/result.md b/tests/changelog/30_mod_prop_calculation3/result.md index 14620aaad..c9be8ce5d 100644 --- a/tests/changelog/30_mod_prop_calculation3/result.md +++ b/tests/changelog/30_mod_prop_calculation3/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                                | Description                                                                                                             | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var**
`~~hidden~~` [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.
**Default**: no
**Hidden**: ~~if condition is yes~~ | +| **var**
~~`hidden`~~ [`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | A first variable.
**Default**: no
**Hidden**: ~~if condition is yes~~ | diff --git a/tests/changelog/30_mod_prop_calculation4/result.adoc b/tests/changelog/30_mod_prop_calculation4/result.adoc index e945591c8..d3251c831 100644 --- a/tests/changelog/30_mod_prop_calculation4/result.adoc +++ b/tests/changelog/30_mod_prop_calculation4/result.adoc @@ -6,7 +6,7 @@ | **var** + -`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `__#hidden#__` | +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[string]` `standard` `mandatory` `#__hidden__#` | A first variable. + **Default**: no + **Hidden**: #if condition is yes# diff --git a/tests/changelog/30_mod_prop_calculation4/result.gitlab.md b/tests/changelog/30_mod_prop_calculation4/result.gitlab.md index 30e2f6134..0d943c48f 100644 --- a/tests/changelog/30_mod_prop_calculation4/result.gitlab.md +++ b/tests/changelog/30_mod_prop_calculation4/result.gitlab.md @@ -2,7 +2,7 @@ | Variable | Description | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------| -| **var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.
**Default**: no
**Hidden**: if condition is yes | +| **var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.
**Default**: no
**Hidden**: if condition is yes | diff --git a/tests/changelog/30_mod_prop_calculation4/result.html b/tests/changelog/30_mod_prop_calculation4/result.html index fed22bea9..487073e96 100644 --- a/tests/changelog/30_mod_prop_calculation4/result.html +++ b/tests/changelog/30_mod_prop_calculation4/result.html @@ -5,7 +5,7 @@ Variable Description -var
string standard mandatory hiddenA first variable.
Default: no
Hidden: if condition is yes +var
string standard mandatory hiddenA first variable.
Default: no
Hidden: if condition is yes diff --git a/tests/changelog/30_mod_prop_calculation4/result.md b/tests/changelog/30_mod_prop_calculation4/result.md index 3be76a759..3aab48614 100644 --- a/tests/changelog/30_mod_prop_calculation4/result.md +++ b/tests/changelog/30_mod_prop_calculation4/result.md @@ -2,5 +2,5 @@ | Variable                                                                                                                         | Description                                                                                                                      | |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| **var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.
**Default**: no
**Hidden**: if condition is yes | +| **var**
[`string`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` *`hidden`* | A first variable.
**Default**: no
**Hidden**: if condition is yes | diff --git a/tests/changelog/30_mod_prop_calculation4/result.sh b/tests/changelog/30_mod_prop_calculation4/result.sh index 1c8e9ea6e..13d3483d1 100644 --- a/tests/changelog/30_mod_prop_calculation4/result.sh +++ b/tests/changelog/30_mod_prop_calculation4/result.sh @@ -7,7 +7,7 @@ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ var │ A first variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_1auto_save_and_calculated_hidden.sh b/tests/results/test/04_1auto_save_and_calculated_hidden.sh index f14b81d6c..57fec9be8 100644 --- a/tests/results/test/04_1auto_save_and_calculated_hidden.sh +++ b/tests/results/test/04_1auto_save_and_calculated_hidden.sh @@ -5,7 +5,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_1default_calculation_hidden.sh b/tests/results/test/04_1default_calculation_hidden.sh index cb425cdb1..cef41c444 100644 --- a/tests/results/test/04_1default_calculation_hidden.sh +++ b/tests/results/test/04_1default_calculation_hidden.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test/04_1default_calculation_hidden_2.sh b/tests/results/test/04_1default_calculation_hidden_2.sh index cb425cdb1..cef41c444 100644 --- a/tests/results/test/04_1default_calculation_hidden_2.sh +++ b/tests/results/test/04_1default_calculation_hidden_2.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test/04_1default_calculation_hidden_5.sh b/tests/results/test/04_1default_calculation_hidden_5.sh index 928f95a5e..521c50236 100644 --- a/tests/results/test/04_1default_calculation_hidden_5.sh +++ b/tests/results/test/04_1default_calculation_hidden_5.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_1default_calculation_hidden_6.sh b/tests/results/test/04_1default_calculation_hidden_6.sh index 928f95a5e..521c50236 100644 --- a/tests/results/test/04_1default_calculation_hidden_6.sh +++ b/tests/results/test/04_1default_calculation_hidden_6.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_boolean.sh b/tests/results/test/04_5disabled_calculation_boolean.sh index 755e0770a..32b1ac3a8 100644 --- a/tests/results/test/04_5disabled_calculation_boolean.sh +++ b/tests/results/test/04_5disabled_calculation_boolean.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_optional.sh b/tests/results/test/04_5disabled_calculation_optional.sh index 2bf9b98e3..55e68422c 100644 --- a/tests/results/test/04_5disabled_calculation_optional.sh +++ b/tests/results/test/04_5disabled_calculation_optional.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_optional_default.sh b/tests/results/test/04_5disabled_calculation_optional_default.sh index 686884e8b..a7939cf34 100644 --- a/tests/results/test/04_5disabled_calculation_optional_default.sh +++ b/tests/results/test/04_5disabled_calculation_optional_default.sh @@ -8,12 +8,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable.sh b/tests/results/test/04_5disabled_calculation_variable.sh index d108cae1d..6d4d499ab 100644 --- a/tests/results/test/04_5disabled_calculation_variable.sh +++ b/tests/results/test/04_5disabled_calculation_variable.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable10.sh b/tests/results/test/04_5disabled_calculation_variable10.sh index 1039cb3cd..7e6e77717 100644 --- a/tests/results/test/04_5disabled_calculation_variable10.sh +++ b/tests/results/test/04_5disabled_calculation_variable10.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable2.sh b/tests/results/test/04_5disabled_calculation_variable2.sh index 1039cb3cd..7e6e77717 100644 --- a/tests/results/test/04_5disabled_calculation_variable2.sh +++ b/tests/results/test/04_5disabled_calculation_variable2.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable3.sh b/tests/results/test/04_5disabled_calculation_variable3.sh index 68f6cd7a0..9a881d701 100644 --- a/tests/results/test/04_5disabled_calculation_variable3.sh +++ b/tests/results/test/04_5disabled_calculation_variable3.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable4.sh b/tests/results/test/04_5disabled_calculation_variable4.sh index cbaa20b95..ba7fda843 100644 --- a/tests/results/test/04_5disabled_calculation_variable4.sh +++ b/tests/results/test/04_5disabled_calculation_variable4.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" hasn't the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" hasn't the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable7.sh b/tests/results/test/04_5disabled_calculation_variable7.sh index d108cae1d..6d4d499ab 100644 --- a/tests/results/test/04_5disabled_calculation_variable7.sh +++ b/tests/results/test/04_5disabled_calculation_variable7.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5disabled_calculation_variable_multi.sh b/tests/results/test/04_5disabled_calculation_variable_multi.sh index 921fbfa27..711b8cc3c 100644 --- a/tests/results/test/04_5disabled_calculation_variable_multi.sh +++ b/tests/results/test/04_5disabled_calculation_variable_multi.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5validators_warnings.adoc b/tests/results/test/04_5validators_warnings.adoc new file mode 100644 index 000000000..3661c9a03 --- /dev/null +++ b/tests/results/test/04_5validators_warnings.adoc @@ -0,0 +1,12 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test/04_5validators_warnings.gitlab.md b/tests/results/test/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..733820840 --- /dev/null +++ b/tests/results/test/04_5validators_warnings.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test/04_5validators_warnings.html b/tests/results/test/04_5validators_warnings.html new file mode 100644 index 000000000..5476a24ce --- /dev/null +++ b/tests/results/test/04_5validators_warnings.html @@ -0,0 +1,9 @@ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test/04_5validators_warnings.json b/tests/results/test/04_5validators_warnings.json new file mode 100644 index 000000000..d7e1d1188 --- /dev/null +++ b/tests/results/test/04_5validators_warnings.json @@ -0,0 +1,36 @@ +{ + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validator", + "values": "the max value is 100" + }, + "path": "int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } +} \ No newline at end of file diff --git a/tests/results/test/04_5validators_warnings.md b/tests/results/test/04_5validators_warnings.md new file mode 100644 index 000000000..cc97a2e41 --- /dev/null +++ b/tests/results/test/04_5validators_warnings.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test/04_5validators_warnings.sh b/tests/results/test/04_5validators_warnings.sh new file mode 100644 index 000000000..ed7c97aaa --- /dev/null +++ b/tests/results/test/04_5validators_warnings.sh @@ -0,0 +1,7 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/04_5validators_warnings_all.adoc b/tests/results/test/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..b64d060c2 --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.adoc @@ -0,0 +1,16 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test/04_5validators_warnings_all.gitlab.md b/tests/results/test/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..59b9cbfc7 --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test/04_5validators_warnings_all.html b/tests/results/test/04_5validators_warnings_all.html new file mode 100644 index 000000000..39460ca18 --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.html @@ -0,0 +1,10 @@ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test/04_5validators_warnings_all.json b/tests/results/test/04_5validators_warnings_all.json new file mode 100644 index 000000000..bac5c09b0 --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.json @@ -0,0 +1,39 @@ +{ + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validators", + "values": [ + "the minimum value is 10", + "the maximum value is 100" + ] + }, + "path": "int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } +} \ No newline at end of file diff --git a/tests/results/test/04_5validators_warnings_all.md b/tests/results/test/04_5validators_warnings_all.md new file mode 100644 index 000000000..dd346283f --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test/04_5validators_warnings_all.sh b/tests/results/test/04_5validators_warnings_all.sh new file mode 100644 index 000000000..26d0e096c --- /dev/null +++ b/tests/results/test/04_5validators_warnings_all.sh @@ -0,0 +1,9 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/16_2family_redefine_calculation.sh b/tests/results/test/16_2family_redefine_calculation.sh index aaae1a9e9..21d14f097 100644 --- a/tests/results/test/16_2family_redefine_calculation.sh +++ b/tests/results/test/16_2family_redefine_calculation.sh @@ -7,7 +7,7 @@ family - basic   disabled  + basic   disabled  Disabled: depends on a calculation diff --git a/tests/results/test/24_0family_hidden_condition_sub_family.sh b/tests/results/test/24_0family_hidden_condition_sub_family.sh index b774983ce..fee08add9 100644 --- a/tests/results/test/24_0family_hidden_condition_sub_family.sh +++ b/tests/results/test/24_0family_hidden_condition_sub_family.sh @@ -13,7 +13,7 @@ family - basic   hidden  + basic   hidden  Hidden: if condition is yes diff --git a/tests/results/test/24_0family_hidden_condition_variable_sub_family.sh b/tests/results/test/24_0family_hidden_condition_variable_sub_family.sh index 0c89f12a9..f228b4af4 100644 --- a/tests/results/test/24_0family_hidden_condition_variable_sub_family.sh +++ b/tests/results/test/24_0family_hidden_condition_variable_sub_family.sh @@ -13,7 +13,7 @@ family - standard   hidden  + standard   hidden  Hidden: when the variable "condition" has the value "true" diff --git a/tests/results/test/24_0family_hidden_param_condition_sub_family.sh b/tests/results/test/24_0family_hidden_param_condition_sub_family.sh index 36bebcf92..a61a479b5 100644 --- a/tests/results/test/24_0family_hidden_param_condition_sub_family.sh +++ b/tests/results/test/24_0family_hidden_param_condition_sub_family.sh @@ -13,7 +13,7 @@ family - basic   hidden  + basic   hidden  Hidden: if condition is yes diff --git a/tests/results/test/24_0family_mandatory_condition.sh b/tests/results/test/24_0family_mandatory_condition.sh index 3286b1ae4..3a3b26573 100644 --- a/tests/results/test/24_0family_mandatory_condition.sh +++ b/tests/results/test/24_0family_mandatory_condition.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/24_0family_mandatory_condition_variable.sh b/tests/results/test/24_0family_mandatory_condition_variable.sh index cb4a4d29b..3f6cd5fca 100644 --- a/tests/results/test/24_0family_mandatory_condition_variable.sh +++ b/tests/results/test/24_0family_mandatory_condition_variable.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/44_4disabled_calcultion_follower_index.sh b/tests/results/test/44_4disabled_calcultion_follower_index.sh index 58e862d51..c0f884702 100644 --- a/tests/results/test/44_4disabled_calcultion_follower_index.sh +++ b/tests/results/test/44_4disabled_calcultion_follower_index.sh @@ -23,7 +23,7 @@ This family contains lists of variable blocks │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/44_5leadership_leader_hidden_calculation.sh b/tests/results/test/44_5leadership_leader_hidden_calculation.sh index 6d611a325..da57794f4 100644 --- a/tests/results/test/44_5leadership_leader_hidden_calculation.sh +++ b/tests/results/test/44_5leadership_leader_hidden_calculation.sh @@ -16,7 +16,7 @@ This family contains lists of variable blocks leader - basic   hidden  + basic   hidden  Hidden: if condition is no diff --git a/tests/results/test/44_6leadership_follower_disabled_calculation.sh b/tests/results/test/44_6leadership_follower_disabled_calculation.sh index ce80ccfeb..fdab02bbc 100644 --- a/tests/results/test/44_6leadership_follower_disabled_calculation.sh +++ b/tests/results/test/44_6leadership_follower_disabled_calculation.sh @@ -28,7 +28,7 @@ This family contains lists of variable blocks │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/60_5family_dynamic_calc_suffix_disabled.sh b/tests/results/test/60_5family_dynamic_calc_suffix_disabled.sh index 9fb0c4547..0364b1cdf 100644 --- a/tests/results/test/60_5family_dynamic_calc_suffix_disabled.sh +++ b/tests/results/test/60_5family_dynamic_calc_suffix_disabled.sh @@ -25,7 +25,7 @@ This family builds families dynamically ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/60_5family_dynamic_calc_variable_disabled.sh b/tests/results/test/60_5family_dynamic_calc_variable_disabled.sh index 7c324b4ae..4d3c22fba 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_disabled.sh +++ b/tests/results/test/60_5family_dynamic_calc_variable_disabled.sh @@ -29,8 +29,8 @@ This family builds families dynamically ├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var2 │ A new variable. │ │ dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ -│ disabled  │ has the value "val1" │ +│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ +│ disabled  │ has the value "val1" │ │ │ - when the variable "dynval2.var1" │ │ │ has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/60_5family_dynamic_calc_variable_disabled_outside.sh b/tests/results/test/60_5family_dynamic_calc_variable_disabled_outside.sh index a9db567ed..65751201a 100644 --- a/tests/results/test/60_5family_dynamic_calc_variable_disabled_outside.sh +++ b/tests/results/test/60_5family_dynamic_calc_variable_disabled_outside.sh @@ -32,6 +32,6 @@ This family builds families dynamically ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "dynval1.var1" has the value "val1" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "dynval1.var1" has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test/60_5family_dynamic_hidden_suffix.sh b/tests/results/test/60_5family_dynamic_hidden_suffix.sh index 9e992a22d..107e68ae6 100644 --- a/tests/results/test/60_5family_dynamic_hidden_suffix.sh +++ b/tests/results/test/60_5family_dynamic_hidden_suffix.sh @@ -11,7 +11,7 @@ This family builds families dynamically dynval2 - standard   hidden  + standard   hidden  Hidden: if suffix == 'val2' diff --git a/tests/results/test/warnings_04_5validators_warnings b/tests/results/test/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test/warnings_04_5validators_warnings_all b/tests/results/test/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_examples/04_5validators_warnings.adoc b/tests/results/test_examples/04_5validators_warnings.adoc new file mode 100644 index 000000000..e3640e059 --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings.adoc @@ -0,0 +1,7 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +int: 1000 # An integer +---- diff --git a/tests/results/test_examples/04_5validators_warnings.gitlab.md b/tests/results/test_examples/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..84a2a1eba --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings.gitlab.md @@ -0,0 +1,8 @@ +
Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_examples/04_5validators_warnings.html b/tests/results/test_examples/04_5validators_warnings.html new file mode 100644 index 000000000..4a5d2bdad --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings.html @@ -0,0 +1,3 @@ +

Example with all variables modifiable

+ +
int: 1000                     # An integer
\ No newline at end of file diff --git a/tests/results/test_examples/04_5validators_warnings.md b/tests/results/test_examples/04_5validators_warnings.md new file mode 100644 index 000000000..459e0b952 --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings.md @@ -0,0 +1,6 @@ +# Example with all variables modifiable + +```yaml +--- +int: 1000 +``` diff --git a/tests/results/test_examples/04_5validators_warnings.sh b/tests/results/test_examples/04_5validators_warnings.sh new file mode 100644 index 000000000..155d1c25f --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings.sh @@ -0,0 +1,8 @@ + + +Example with all variables modifiable + + +---  +int: 1000 # An integer  + diff --git a/tests/results/test_examples/04_5validators_warnings_all.adoc b/tests/results/test_examples/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..e3640e059 --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings_all.adoc @@ -0,0 +1,7 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +int: 1000 # An integer +---- diff --git a/tests/results/test_examples/04_5validators_warnings_all.gitlab.md b/tests/results/test_examples/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..84a2a1eba --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,8 @@ +
Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_examples/04_5validators_warnings_all.html b/tests/results/test_examples/04_5validators_warnings_all.html new file mode 100644 index 000000000..4a5d2bdad --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings_all.html @@ -0,0 +1,3 @@ +

Example with all variables modifiable

+ +
int: 1000                     # An integer
\ No newline at end of file diff --git a/tests/results/test_examples/04_5validators_warnings_all.md b/tests/results/test_examples/04_5validators_warnings_all.md new file mode 100644 index 000000000..459e0b952 --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings_all.md @@ -0,0 +1,6 @@ +# Example with all variables modifiable + +```yaml +--- +int: 1000 +``` diff --git a/tests/results/test_examples/04_5validators_warnings_all.sh b/tests/results/test_examples/04_5validators_warnings_all.sh new file mode 100644 index 000000000..155d1c25f --- /dev/null +++ b/tests/results/test_examples/04_5validators_warnings_all.sh @@ -0,0 +1,8 @@ + + +Example with all variables modifiable + + +---  +int: 1000 # An integer  + diff --git a/tests/results/test_examples/warnings_04_5validators_warnings b/tests/results/test_examples/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_examples/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_examples/warnings_04_5validators_warnings_all b/tests/results/test_examples/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_examples/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_examples_comment/04_5validators_warnings.adoc b/tests/results/test_examples_comment/04_5validators_warnings.adoc new file mode 100644 index 000000000..e3640e059 --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings.adoc @@ -0,0 +1,7 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +int: 1000 # An integer +---- diff --git a/tests/results/test_examples_comment/04_5validators_warnings.gitlab.md b/tests/results/test_examples_comment/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..84a2a1eba --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings.gitlab.md @@ -0,0 +1,8 @@ +
Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_examples_comment/04_5validators_warnings.html b/tests/results/test_examples_comment/04_5validators_warnings.html new file mode 100644 index 000000000..4a5d2bdad --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings.html @@ -0,0 +1,3 @@ +

Example with all variables modifiable

+ +
int: 1000                     # An integer
\ No newline at end of file diff --git a/tests/results/test_examples_comment/04_5validators_warnings.md b/tests/results/test_examples_comment/04_5validators_warnings.md new file mode 100644 index 000000000..526ad25b0 --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings.md @@ -0,0 +1,6 @@ +# Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` diff --git a/tests/results/test_examples_comment/04_5validators_warnings.sh b/tests/results/test_examples_comment/04_5validators_warnings.sh new file mode 100644 index 000000000..155d1c25f --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings.sh @@ -0,0 +1,8 @@ + + +Example with all variables modifiable + + +---  +int: 1000 # An integer  + diff --git a/tests/results/test_examples_comment/04_5validators_warnings_all.adoc b/tests/results/test_examples_comment/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..e3640e059 --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings_all.adoc @@ -0,0 +1,7 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +int: 1000 # An integer +---- diff --git a/tests/results/test_examples_comment/04_5validators_warnings_all.gitlab.md b/tests/results/test_examples_comment/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..84a2a1eba --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,8 @@ +
Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_examples_comment/04_5validators_warnings_all.html b/tests/results/test_examples_comment/04_5validators_warnings_all.html new file mode 100644 index 000000000..4a5d2bdad --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings_all.html @@ -0,0 +1,3 @@ +

Example with all variables modifiable

+ +
int: 1000                     # An integer
\ No newline at end of file diff --git a/tests/results/test_examples_comment/04_5validators_warnings_all.md b/tests/results/test_examples_comment/04_5validators_warnings_all.md new file mode 100644 index 000000000..526ad25b0 --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings_all.md @@ -0,0 +1,6 @@ +# Example with all variables modifiable + +```yaml +--- +int: 1000 # An integer +``` diff --git a/tests/results/test_examples_comment/04_5validators_warnings_all.sh b/tests/results/test_examples_comment/04_5validators_warnings_all.sh new file mode 100644 index 000000000..155d1c25f --- /dev/null +++ b/tests/results/test_examples_comment/04_5validators_warnings_all.sh @@ -0,0 +1,8 @@ + + +Example with all variables modifiable + + +---  +int: 1000 # An integer  + diff --git a/tests/results/test_examples_comment/warnings_04_5validators_warnings b/tests/results/test_examples_comment/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_examples_comment/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_examples_comment/warnings_04_5validators_warnings_all b/tests/results/test_examples_comment/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_examples_comment/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_namespace/04_1auto_save_and_calculated_hidden.sh b/tests/results/test_namespace/04_1auto_save_and_calculated_hidden.sh index cfa6e769b..f954a34c8 100644 --- a/tests/results/test_namespace/04_1auto_save_and_calculated_hidden.sh +++ b/tests/results/test_namespace/04_1auto_save_and_calculated_hidden.sh @@ -19,7 +19,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_1default_calculation_hidden.sh b/tests/results/test_namespace/04_1default_calculation_hidden.sh index 1c29e3d77..940715583 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden.sh +++ b/tests/results/test_namespace/04_1default_calculation_hidden.sh @@ -19,8 +19,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace/04_1default_calculation_hidden_2.sh b/tests/results/test_namespace/04_1default_calculation_hidden_2.sh index 1c29e3d77..940715583 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden_2.sh +++ b/tests/results/test_namespace/04_1default_calculation_hidden_2.sh @@ -19,8 +19,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace/04_1default_calculation_hidden_5.sh b/tests/results/test_namespace/04_1default_calculation_hidden_5.sh index c3717deb7..82aa98679 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden_5.sh +++ b/tests/results/test_namespace/04_1default_calculation_hidden_5.sh @@ -19,7 +19,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_1default_calculation_hidden_6.sh b/tests/results/test_namespace/04_1default_calculation_hidden_6.sh index c3717deb7..82aa98679 100644 --- a/tests/results/test_namespace/04_1default_calculation_hidden_6.sh +++ b/tests/results/test_namespace/04_1default_calculation_hidden_6.sh @@ -19,7 +19,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation.sh b/tests/results/test_namespace/04_5disabled_calculation.sh index 5077994a0..4f94aa5b2 100644 --- a/tests/results/test_namespace/04_5disabled_calculation.sh +++ b/tests/results/test_namespace/04_5disabled_calculation.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace/04_5disabled_calculation_boolean.sh index bb16382db..8d4d34185 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_boolean.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_boolean.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_default.sh b/tests/results/test_namespace/04_5disabled_calculation_default.sh index 0d9f2f95a..02445797e 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_default.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_default.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_multi.sh b/tests/results/test_namespace/04_5disabled_calculation_multi.sh index 19a1663bb..4486146df 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_multi.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_multi.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional.sh b/tests/results/test_namespace/04_5disabled_calculation_optional.sh index b58e10331..d4de8888b 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_optional.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_optional_default.sh b/tests/results/test_namespace/04_5disabled_calculation_optional_default.sh index a4ec4eeb6..776329d32 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_optional_default.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_optional_default.sh @@ -22,12 +22,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable.sh b/tests/results/test_namespace/04_5disabled_calculation_variable.sh index 58deda2ff..5766af364 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable.sh @@ -19,8 +19,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable10.sh b/tests/results/test_namespace/04_5disabled_calculation_variable10.sh index 5950cb09f..101e6add8 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable10.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable10.sh @@ -19,8 +19,8 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable2.sh b/tests/results/test_namespace/04_5disabled_calculation_variable2.sh index 5950cb09f..101e6add8 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable2.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable2.sh @@ -19,8 +19,8 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable3.sh b/tests/results/test_namespace/04_5disabled_calculation_variable3.sh index 286a2dd7b..b39c7e098 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable3.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable3.sh @@ -19,8 +19,8 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable4.sh b/tests/results/test_namespace/04_5disabled_calculation_variable4.sh index 65a58553e..51310afb1 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable4.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable4.sh @@ -19,8 +19,8 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" hasn't the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" hasn't the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable7.sh b/tests/results/test_namespace/04_5disabled_calculation_variable7.sh index 58deda2ff..5766af364 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable7.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable7.sh @@ -19,8 +19,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5disabled_calculation_variable_multi.sh b/tests/results/test_namespace/04_5disabled_calculation_variable_multi.sh index 389eab016..d5f7e8451 100644 --- a/tests/results/test_namespace/04_5disabled_calculation_variable_multi.sh +++ b/tests/results/test_namespace/04_5disabled_calculation_variable_multi.sh @@ -19,8 +19,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5hidden_calculation.sh b/tests/results/test_namespace/04_5hidden_calculation.sh index ba2944448..00deeafd6 100644 --- a/tests/results/test_namespace/04_5hidden_calculation.sh +++ b/tests/results/test_namespace/04_5hidden_calculation.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5hidden_calculation2.sh b/tests/results/test_namespace/04_5hidden_calculation2.sh index 9bb99e41d..51875be8e 100644 --- a/tests/results/test_namespace/04_5hidden_calculation2.sh +++ b/tests/results/test_namespace/04_5hidden_calculation2.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5hidden_calculation_default_calculation.sh b/tests/results/test_namespace/04_5hidden_calculation_default_calculation.sh index f1fb3b8ad..8cc6bba39 100644 --- a/tests/results/test_namespace/04_5hidden_calculation_default_calculation.sh +++ b/tests/results/test_namespace/04_5hidden_calculation_default_calculation.sh @@ -19,11 +19,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/04_5validators_warnings.adoc b/tests/results/test_namespace/04_5validators_warnings.adoc new file mode 100644 index 000000000..6d45672e5 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.adoc @@ -0,0 +1,18 @@ +== Variables for "Rougail" + +**rougail** + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace/04_5validators_warnings.gitlab.md b/tests/results/test_namespace/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..6e06d7f97 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.gitlab.md @@ -0,0 +1,13 @@ +
Rougail + +>>> [!note] Informations +**rougail**
`standard` + + +>>> +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_namespace/04_5validators_warnings.html b/tests/results/test_namespace/04_5validators_warnings.html new file mode 100644 index 000000000..77cf14294 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.html @@ -0,0 +1,15 @@ +

Variables for "Rougail"

+ +rougail + +standard + + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test_namespace/04_5validators_warnings.json b/tests/results/test_namespace/04_5validators_warnings.json new file mode 100644 index 000000000..bc922da03 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.json @@ -0,0 +1,54 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validator", + "values": "the max value is 100" + }, + "path": "rougail.int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5validators_warnings.md b/tests/results/test_namespace/04_5validators_warnings.md new file mode 100644 index 000000000..98e2c47d3 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.md @@ -0,0 +1,10 @@ +# Variables for "Rougail" + +**rougail** + +`standard` + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace/04_5validators_warnings.sh b/tests/results/test_namespace/04_5validators_warnings.sh new file mode 100644 index 000000000..6ceb9e1f2 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings.sh @@ -0,0 +1,22 @@ + + +Variables for "Rougail" + + + +rougail + + + + standard  + + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace/04_5validators_warnings_all.adoc b/tests/results/test_namespace/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..13089ede9 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.adoc @@ -0,0 +1,22 @@ +== Variables for "Rougail" + +**rougail** + +`standard` + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace/04_5validators_warnings_all.gitlab.md b/tests/results/test_namespace/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..fa57a6f87 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,13 @@ +
Rougail + +>>> [!note] Informations +**rougail**
`standard` + + +>>> +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_namespace/04_5validators_warnings_all.html b/tests/results/test_namespace/04_5validators_warnings_all.html new file mode 100644 index 000000000..eee023013 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.html @@ -0,0 +1,16 @@ +

Variables for "Rougail"

+ +rougail + +standard + + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test_namespace/04_5validators_warnings_all.json b/tests/results/test_namespace/04_5validators_warnings_all.json new file mode 100644 index 000000000..7ebe93c0d --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.json @@ -0,0 +1,57 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validators", + "values": [ + "the minimum value is 10", + "the maximum value is 100" + ] + }, + "path": "rougail.int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace/04_5validators_warnings_all.md b/tests/results/test_namespace/04_5validators_warnings_all.md new file mode 100644 index 000000000..02b59c9c2 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.md @@ -0,0 +1,10 @@ +# Variables for "Rougail" + +**rougail** + +`standard` + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace/04_5validators_warnings_all.sh b/tests/results/test_namespace/04_5validators_warnings_all.sh new file mode 100644 index 000000000..3ceed91e1 --- /dev/null +++ b/tests/results/test_namespace/04_5validators_warnings_all.sh @@ -0,0 +1,24 @@ + + +Variables for "Rougail" + + + +rougail + + + + standard  + + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace/16_2family_redefine_calculation.sh b/tests/results/test_namespace/16_2family_redefine_calculation.sh index f16a2f519..6c77ed590 100644 --- a/tests/results/test_namespace/16_2family_redefine_calculation.sh +++ b/tests/results/test_namespace/16_2family_redefine_calculation.sh @@ -21,7 +21,7 @@ rougail.family - basic   disabled  + basic   disabled  Disabled: depends on a calculation diff --git a/tests/results/test_namespace/24_0family_hidden_condition.sh b/tests/results/test_namespace/24_0family_hidden_condition.sh index f1d4ebdfe..3a6f316c3 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition.sh +++ b/tests/results/test_namespace/24_0family_hidden_condition.sh @@ -27,7 +27,7 @@ rougail.family - basic   hidden  + basic   hidden  Hidden: if condition is yes diff --git a/tests/results/test_namespace/24_0family_hidden_condition_boolean.sh b/tests/results/test_namespace/24_0family_hidden_condition_boolean.sh index 49830fa8e..3b1d4214d 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_boolean.sh +++ b/tests/results/test_namespace/24_0family_hidden_condition_boolean.sh @@ -27,7 +27,7 @@ rougail.family - standard   hidden  + standard   hidden  Hidden: if not condition diff --git a/tests/results/test_namespace/24_0family_hidden_condition_sub_family.sh b/tests/results/test_namespace/24_0family_hidden_condition_sub_family.sh index 347fb9ebb..620146925 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_sub_family.sh +++ b/tests/results/test_namespace/24_0family_hidden_condition_sub_family.sh @@ -27,7 +27,7 @@ rougail.family - basic   hidden  + basic   hidden  Hidden: if condition is yes diff --git a/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family.sh b/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family.sh index ea3b3cf5e..32fab0df6 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family.sh +++ b/tests/results/test_namespace/24_0family_hidden_condition_variable_sub_family.sh @@ -27,7 +27,7 @@ rougail.family - standard   hidden  + standard   hidden  Hidden: when the variable "rougail.condition" has the value "true" diff --git a/tests/results/test_namespace/24_0family_hidden_condition_with_variable.sh b/tests/results/test_namespace/24_0family_hidden_condition_with_variable.sh index 72db69134..a10df3124 100644 --- a/tests/results/test_namespace/24_0family_hidden_condition_with_variable.sh +++ b/tests/results/test_namespace/24_0family_hidden_condition_with_variable.sh @@ -30,7 +30,7 @@ rougail.family - standard   hidden  + standard   hidden  Hidden: if condition1 is false @@ -41,7 +41,7 @@ ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ rougail.family.variable │ A variable. │ -│  string   standard   hidden  │ Hidden: if condition2 is false │ +│  string   standard   hidden  │ Hidden: if condition2 is false │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/24_0family_hidden_param_condition_sub_family.sh b/tests/results/test_namespace/24_0family_hidden_param_condition_sub_family.sh index f82866543..34d2da6c3 100644 --- a/tests/results/test_namespace/24_0family_hidden_param_condition_sub_family.sh +++ b/tests/results/test_namespace/24_0family_hidden_param_condition_sub_family.sh @@ -27,7 +27,7 @@ rougail.family - basic   hidden  + basic   hidden  Hidden: if condition is yes diff --git a/tests/results/test_namespace/24_0family_mandatory_condition.sh b/tests/results/test_namespace/24_0family_mandatory_condition.sh index 64584c5a9..51e7284f0 100644 --- a/tests/results/test_namespace/24_0family_mandatory_condition.sh +++ b/tests/results/test_namespace/24_0family_mandatory_condition.sh @@ -19,7 +19,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/24_0family_mandatory_condition_variable.sh b/tests/results/test_namespace/24_0family_mandatory_condition_variable.sh index 9daa964ad..8cc12ee25 100644 --- a/tests/results/test_namespace/24_0family_mandatory_condition_variable.sh +++ b/tests/results/test_namespace/24_0family_mandatory_condition_variable.sh @@ -19,7 +19,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/44_4disabled_calcultion_follower.sh b/tests/results/test_namespace/44_4disabled_calcultion_follower.sh index e50a2a8b3..920159716 100644 --- a/tests/results/test_namespace/44_4disabled_calcultion_follower.sh +++ b/tests/results/test_namespace/44_4disabled_calcultion_follower.sh @@ -42,8 +42,8 @@ This family contains lists of variable blocks │ unique   multiple  │ - a │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/44_4disabled_calcultion_follower_index.sh b/tests/results/test_namespace/44_4disabled_calcultion_follower_index.sh index 49717ba46..eba9ce8a8 100644 --- a/tests/results/test_namespace/44_4disabled_calcultion_follower_index.sh +++ b/tests/results/test_namespace/44_4disabled_calcultion_follower_index.sh @@ -37,8 +37,8 @@ This family contains lists of variable blocks │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/44_5leadership_leader_hidden_calculation.sh b/tests/results/test_namespace/44_5leadership_leader_hidden_calculation.sh index af72ea7e2..492589acb 100644 --- a/tests/results/test_namespace/44_5leadership_leader_hidden_calculation.sh +++ b/tests/results/test_namespace/44_5leadership_leader_hidden_calculation.sh @@ -30,7 +30,7 @@ This family contains lists of variable blocks rougail.leader - basic   hidden  + basic   hidden  Hidden: if condition is no diff --git a/tests/results/test_namespace/44_6leadership_follower_disabled_calculation.sh b/tests/results/test_namespace/44_6leadership_follower_disabled_calculation.sh index 0faa6349c..29888b963 100644 --- a/tests/results/test_namespace/44_6leadership_follower_disabled_calculation.sh +++ b/tests/results/test_namespace/44_6leadership_follower_disabled_calculation.sh @@ -42,8 +42,8 @@ This family contains lists of variable blocks │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/44_9calculated_default_leadership_leader.sh b/tests/results/test_namespace/44_9calculated_default_leadership_leader.sh index daac89958..d284e682f 100644 --- a/tests/results/test_namespace/44_9calculated_default_leadership_leader.sh +++ b/tests/results/test_namespace/44_9calculated_default_leadership_leader.sh @@ -37,8 +37,8 @@ This family contains lists of variable blocks │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   standard   mandatory    │ Default: the value of the variable │ -│ disabled  │ "rougail.leader.leader" │ +│  string   standard   mandatory    │ Default: the value of the variable │ +│ disabled  │ "rougail.leader.leader" │ │ │ Disabled: if the value of "leader" │ │ │ is "a" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/60_5family_dynamic_calc2.sh b/tests/results/test_namespace/60_5family_dynamic_calc2.sh index bd74b0266..181ea8a12 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc2.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc2.sh @@ -36,7 +36,7 @@ This family builds families dynamically rougail.dynval2 - standard   hidden  + standard   hidden  Hidden: if var2 is no diff --git a/tests/results/test_namespace/60_5family_dynamic_calc2_empty.sh b/tests/results/test_namespace/60_5family_dynamic_calc2_empty.sh index caca1c565..c582a99b0 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc2_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc2_empty.sh @@ -36,7 +36,7 @@ This family builds families dynamically rougail.dynval2 - standard   hidden  + standard   hidden  Hidden: if var2 is no diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled.sh b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled.sh index 28097351b..95118be64 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_suffix_disabled.sh @@ -39,8 +39,8 @@ This family builds families dynamically ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled.sh b/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled.sh index b30142028..0ac044ebe 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled.sh @@ -43,8 +43,8 @@ This family builds families dynamically ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var2 │ A new variable. │ │ rougail.dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ - when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ │ │ - when the variable │ │ │ "rougail.dynval2.var1" has the value │ diff --git a/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled_outside.sh b/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled_outside.sh index f7ff4d31c..87cd70126 100644 --- a/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled_outside.sh +++ b/tests/results/test_namespace/60_5family_dynamic_calc_variable_disabled_outside.sh @@ -46,8 +46,8 @@ This family builds families dynamically ┃ Variable  ┃ Description  ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ rougail.var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/60_5family_dynamic_hidden_suffix.sh b/tests/results/test_namespace/60_5family_dynamic_hidden_suffix.sh index 26a158c72..eb755d578 100644 --- a/tests/results/test_namespace/60_5family_dynamic_hidden_suffix.sh +++ b/tests/results/test_namespace/60_5family_dynamic_hidden_suffix.sh @@ -25,7 +25,7 @@ This family builds families dynamically rougail.dynval2 - standard   hidden  + standard   hidden  Hidden: if suffix == 'val2' diff --git a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh index 43446051a..a8de19ff9 100644 --- a/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh +++ b/tests/results/test_namespace/60_5family_dynamic_unknown_suffix_empty.sh @@ -77,8 +77,8 @@ This family builds families dynamically │ rougail.val2_dyn.var4 │ Default: the value of the variable │ │ rougail.val3_dyn.var4 │ "rougail.val4_dyn.var1" │ │ rougail.val4_dyn.var4 │ Disabled: depends on a calculation │ -│  string   standard   mandatory    │ │ -│ disabled  │ │ +│  string   standard   mandatory    │ │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace/warnings_04_5validators_warnings b/tests/results/test_namespace/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_namespace/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_namespace/warnings_04_5validators_warnings_all b/tests/results/test_namespace/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_namespace/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples/04_5validators_warnings.adoc b/tests/results/test_namespace_examples/04_5validators_warnings.adoc new file mode 100644 index 000000000..c1949e56f --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings.adoc @@ -0,0 +1,8 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + int: 1000 # An integer +---- diff --git a/tests/results/test_namespace_examples/04_5validators_warnings.gitlab.md b/tests/results/test_namespace_examples/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..2b4c56c14 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings.gitlab.md @@ -0,0 +1,9 @@ +
Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_namespace_examples/04_5validators_warnings.html b/tests/results/test_namespace_examples/04_5validators_warnings.html new file mode 100644 index 000000000..87ef5e91b --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings.html @@ -0,0 +1,4 @@ +

Example with all variables modifiable

+ +
rougail:                      # Rougail
+  int: 1000                   # An integer
\ No newline at end of file diff --git a/tests/results/test_namespace_examples/04_5validators_warnings.md b/tests/results/test_namespace_examples/04_5validators_warnings.md new file mode 100644 index 000000000..6fd051259 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings.md @@ -0,0 +1,7 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + int: 1000 +``` diff --git a/tests/results/test_namespace_examples/04_5validators_warnings.sh b/tests/results/test_namespace_examples/04_5validators_warnings.sh new file mode 100644 index 000000000..b48730f29 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings.sh @@ -0,0 +1,9 @@ + + +Example with all variables modifiable + + +---  +rougail: # Rougail  + int: 1000 # An integer  + diff --git a/tests/results/test_namespace_examples/04_5validators_warnings_all.adoc b/tests/results/test_namespace_examples/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..c1949e56f --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings_all.adoc @@ -0,0 +1,8 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + int: 1000 # An integer +---- diff --git a/tests/results/test_namespace_examples/04_5validators_warnings_all.gitlab.md b/tests/results/test_namespace_examples/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..2b4c56c14 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,9 @@ +
Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_namespace_examples/04_5validators_warnings_all.html b/tests/results/test_namespace_examples/04_5validators_warnings_all.html new file mode 100644 index 000000000..87ef5e91b --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings_all.html @@ -0,0 +1,4 @@ +

Example with all variables modifiable

+ +
rougail:                      # Rougail
+  int: 1000                   # An integer
\ No newline at end of file diff --git a/tests/results/test_namespace_examples/04_5validators_warnings_all.md b/tests/results/test_namespace_examples/04_5validators_warnings_all.md new file mode 100644 index 000000000..6fd051259 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings_all.md @@ -0,0 +1,7 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: + int: 1000 +``` diff --git a/tests/results/test_namespace_examples/04_5validators_warnings_all.sh b/tests/results/test_namespace_examples/04_5validators_warnings_all.sh new file mode 100644 index 000000000..b48730f29 --- /dev/null +++ b/tests/results/test_namespace_examples/04_5validators_warnings_all.sh @@ -0,0 +1,9 @@ + + +Example with all variables modifiable + + +---  +rougail: # Rougail  + int: 1000 # An integer  + diff --git a/tests/results/test_namespace_examples/warnings_04_5validators_warnings b/tests/results/test_namespace_examples/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_namespace_examples/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_namespace_examples/warnings_04_5validators_warnings_all b/tests/results/test_namespace_examples/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_namespace_examples/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings.adoc b/tests/results/test_namespace_examples_comment/04_5validators_warnings.adoc new file mode 100644 index 000000000..c1949e56f --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings.adoc @@ -0,0 +1,8 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + int: 1000 # An integer +---- diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings.gitlab.md b/tests/results/test_namespace_examples_comment/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..2b4c56c14 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings.gitlab.md @@ -0,0 +1,9 @@ +
Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings.html b/tests/results/test_namespace_examples_comment/04_5validators_warnings.html new file mode 100644 index 000000000..87ef5e91b --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings.html @@ -0,0 +1,4 @@ +

Example with all variables modifiable

+ +
rougail:                      # Rougail
+  int: 1000                   # An integer
\ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings.md b/tests/results/test_namespace_examples_comment/04_5validators_warnings.md new file mode 100644 index 000000000..900dd2e31 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings.md @@ -0,0 +1,7 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings.sh b/tests/results/test_namespace_examples_comment/04_5validators_warnings.sh new file mode 100644 index 000000000..b48730f29 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings.sh @@ -0,0 +1,9 @@ + + +Example with all variables modifiable + + +---  +rougail: # Rougail  + int: 1000 # An integer  + diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.adoc b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..c1949e56f --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.adoc @@ -0,0 +1,8 @@ +== Example with all variables modifiable + +[,yaml] +---- +--- +rougail: # Rougail + int: 1000 # An integer +---- diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.gitlab.md b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..2b4c56c14 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,9 @@ +
Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` +
+ diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.html b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.html new file mode 100644 index 000000000..87ef5e91b --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.html @@ -0,0 +1,4 @@ +

Example with all variables modifiable

+ +
rougail:                      # Rougail
+  int: 1000                   # An integer
\ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.md b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.md new file mode 100644 index 000000000..900dd2e31 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.md @@ -0,0 +1,7 @@ +# Example with all variables modifiable + +```yaml +--- +rougail: # Rougail + int: 1000 # An integer +``` diff --git a/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.sh b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.sh new file mode 100644 index 000000000..b48730f29 --- /dev/null +++ b/tests/results/test_namespace_examples_comment/04_5validators_warnings_all.sh @@ -0,0 +1,9 @@ + + +Example with all variables modifiable + + +---  +rougail: # Rougail  + int: 1000 # An integer  + diff --git a/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings b/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings_all b/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_namespace_examples_comment/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.changelog.sh b/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.changelog.sh index 7ff96e76d..319e1b4b9 100644 --- a/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.changelog.sh +++ b/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.sh b/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.sh index 30e4a5517..44d262c68 100644 --- a/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.sh +++ b/tests/results/test_namespace_without_family/04_1auto_save_and_calculated_hidden.sh @@ -5,7 +5,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden.changelog.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden.changelog.sh index 214072eee..35f3a7fe2 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden.changelog.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden.sh index f1c1a48fd..a4766d665 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.changelog.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.changelog.sh index 214072eee..35f3a7fe2 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.changelog.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.sh index f1c1a48fd..a4766d665 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_2.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.var1" has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.var1" has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.changelog.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.changelog.sh index b25392850..96cd3268d 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.changelog.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.sh index 2c0c85729..f638ebff0 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_5.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.changelog.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.changelog.sh index b25392850..96cd3268d 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.changelog.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.sh b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.sh index 2c0c85729..f638ebff0 100644 --- a/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.sh +++ b/tests/results/test_namespace_without_family/04_1default_calculation_hidden_6.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation.changelog.sh index d0efa6fea..564a07953 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation.sh index f4ac96f27..990b8d79b 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.changelog.sh index ca762e4d3..cefa3776c 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.sh index f9e4c6281..eebd197bf 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_boolean.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_default.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_default.changelog.sh index 5a216ddf8..7d5b0de76 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_default.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_default.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_default.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_default.sh index 3e7eb1706..db335d699 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_default.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_default.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ disabled  │ Disabled: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ disabled  │ Disabled: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.changelog.sh index 2ae2cce9b..0be6146b0 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.sh index 7e2be0aaf..1c3b61ee4 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_multi.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled   unique   multiple  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled   unique   multiple  │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.changelog.sh index 5e88394b4..b0cb29a6b 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.sh index a9c772d5a..3528bc314 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.changelog.sh index 585a95762..bf583e290 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.changelog.sh @@ -13,12 +13,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.sh index f43e8209d..3b8541c09 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_optional_default.sh @@ -8,12 +8,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "rougail.condition" is defined and │ │ │ has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.changelog.sh index 03872f735..17500a8d2 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.changelog.sh @@ -10,8 +10,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.sh index be859d5c6..1d98a8146 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.changelog.sh index fabc85b1c..073112428 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.changelog.sh @@ -10,8 +10,8 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.sh index a8f139cc9..708918006 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable10.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.changelog.sh index fabc85b1c..073112428 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.changelog.sh @@ -10,8 +10,8 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.sh index a8f139cc9..708918006 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable2.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.changelog.sh index e71503350..9213581e0 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.sh index 45d3f4a03..dee445807 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable3.sh @@ -5,7 +5,7 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.changelog.sh index de4060733..c913c850a 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" hasn't the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" hasn't the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.sh index eaf058341..55335e656 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable4.sh @@ -5,7 +5,7 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" hasn't the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" hasn't the value │ │ │ "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.changelog.sh index 03872f735..17500a8d2 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.changelog.sh @@ -10,8 +10,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.sh index be859d5c6..1d98a8146 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable7.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.changelog.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.changelog.sh index e391c4f99..2ea411867 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.changelog.sh @@ -10,8 +10,8 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.sh b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.sh index 246f8e615..402e78d07 100644 --- a/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.sh +++ b/tests/results/test_namespace_without_family/04_5disabled_calculation_variable_multi.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "rougail.condition" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation.changelog.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation.changelog.sh index d485720c1..d6bd00eed 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation.sh index 07b0dbafa..2c3fb218b 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: no │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: no │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation2.changelog.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation2.changelog.sh index 69bdd3fa6..fbbb86159 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation2.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation2.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation2.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation2.sh index 78010aba6..9934707bd 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation2.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation2.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: the value of condition │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: the value of condition │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.changelog.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.changelog.sh index 610fb4d8d..1151d481a 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.changelog.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.sh b/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.sh index 3d6e3ac39..4fe7079f8 100644 --- a/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.sh +++ b/tests/results/test_namespace_without_family/04_5hidden_calculation_default_calculation.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var1 │ A first variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A second variable. │ -│  string   standard   mandatory    │ Default: returns the condition value │ -│ hidden  │ Hidden: if condition is yes │ +│  string   standard   mandatory    │ Default: returns the condition value │ +│ hidden  │ Hidden: if condition is yes │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.adoc b/tests/results/test_namespace_without_family/04_5validators_warnings.adoc new file mode 100644 index 000000000..339728ae8 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.adoc @@ -0,0 +1,12 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.adoc b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.adoc new file mode 100644 index 000000000..610d7249a --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.adoc @@ -0,0 +1,14 @@ +== New variable + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.gitlab.md b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.gitlab.md new file mode 100644 index 000000000..ed7016303 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.gitlab.md @@ -0,0 +1,8 @@ +
New variable + +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.html b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.html new file mode 100644 index 000000000..13db23a80 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.html @@ -0,0 +1,11 @@ +

New variable

+ + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.md b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.md new file mode 100644 index 000000000..bcc8d6ff0 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.md @@ -0,0 +1,6 @@ +# New variable + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.sh b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.sh new file mode 100644 index 000000000..6cc3164d4 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.changelog.sh @@ -0,0 +1,13 @@ + + +New variable + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.gitlab.md b/tests/results/test_namespace_without_family/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..d1798abc3 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.html b/tests/results/test_namespace_without_family/04_5validators_warnings.html new file mode 100644 index 000000000..27933e00d --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.html @@ -0,0 +1,9 @@ + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.json b/tests/results/test_namespace_without_family/04_5validators_warnings.json new file mode 100644 index 000000000..bc922da03 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.json @@ -0,0 +1,54 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validator", + "values": "the max value is 100" + }, + "path": "rougail.int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.md b/tests/results/test_namespace_without_family/04_5validators_warnings.md new file mode 100644 index 000000000..5c4565c67 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings.sh b/tests/results/test_namespace_without_family/04_5validators_warnings.sh new file mode 100644 index 000000000..7e9869b07 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings.sh @@ -0,0 +1,7 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.adoc b/tests/results/test_namespace_without_family/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..6c83ac305 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.adoc @@ -0,0 +1,16 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.adoc b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.adoc new file mode 100644 index 000000000..369da85ec --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.adoc @@ -0,0 +1,18 @@ +== New variable + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**rougail.int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.gitlab.md b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.gitlab.md new file mode 100644 index 000000000..b72df30c6 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.gitlab.md @@ -0,0 +1,8 @@ +
New variable + +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.html b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.html new file mode 100644 index 000000000..44ef6e045 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.html @@ -0,0 +1,12 @@ +

New variable

+ + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.md b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.md new file mode 100644 index 000000000..d5eee173a --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.md @@ -0,0 +1,6 @@ +# New variable + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.sh b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.sh new file mode 100644 index 000000000..c1b29f35a --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.changelog.sh @@ -0,0 +1,15 @@ + + +New variable + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.gitlab.md b/tests/results/test_namespace_without_family/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..dc39fce19 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.html b/tests/results/test_namespace_without_family/04_5validators_warnings_all.html new file mode 100644 index 000000000..42997b62a --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.html @@ -0,0 +1,10 @@ + + + + + + + +
Variable Description
rougail.int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.json b/tests/results/test_namespace_without_family/04_5validators_warnings_all.json new file mode 100644 index 000000000..7ebe93c0d --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.json @@ -0,0 +1,57 @@ +{ + "rougail": { + "type": "namespace", + "informations": { + "path": "rougail", + "names": [ + "rougail" + ], + "description": "Rougail", + "properties": [ + { + "type": "mode", + "name": "standard" + } + ] + }, + "children": { + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validators", + "values": [ + "the minimum value is 10", + "the maximum value is 100" + ] + }, + "path": "rougail.int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } + } + } +} \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.md b/tests/results/test_namespace_without_family/04_5validators_warnings_all.md new file mode 100644 index 000000000..a8bef51f1 --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **rougail.int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_namespace_without_family/04_5validators_warnings_all.sh b/tests/results/test_namespace_without_family/04_5validators_warnings_all.sh new file mode 100644 index 000000000..bfd5f461f --- /dev/null +++ b/tests/results/test_namespace_without_family/04_5validators_warnings_all.sh @@ -0,0 +1,9 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ rougail.int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.changelog.sh b/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.changelog.sh index f8ba75306..23feb0e2a 100644 --- a/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.changelog.sh +++ b/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.changelog.sh @@ -13,6 +13,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.family.variable │ A variable. │ -│  string   standard   hidden  │ Hidden: if condition2 is false │ +│  string   standard   hidden  │ Hidden: if condition2 is false │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.sh b/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.sh index 3f56f8081..9cb11c9b1 100644 --- a/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.sh +++ b/tests/results/test_namespace_without_family/24_0family_hidden_condition_with_variable.sh @@ -8,5 +8,5 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.family.variable │ A variable. │ -│  string   standard   hidden  │ Hidden: if condition2 is false │ +│  string   standard   hidden  │ Hidden: if condition2 is false │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_mandatory_condition.changelog.sh b/tests/results/test_namespace_without_family/24_0family_mandatory_condition.changelog.sh index b0894e8d1..dbc6ef5f4 100644 --- a/tests/results/test_namespace_without_family/24_0family_mandatory_condition.changelog.sh +++ b/tests/results/test_namespace_without_family/24_0family_mandatory_condition.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_mandatory_condition.sh b/tests/results/test_namespace_without_family/24_0family_mandatory_condition.sh index ba88f4c77..a6181d8a8 100644 --- a/tests/results/test_namespace_without_family/24_0family_mandatory_condition.sh +++ b/tests/results/test_namespace_without_family/24_0family_mandatory_condition.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.changelog.sh b/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.changelog.sh index cdf5602fa..4e816bf42 100644 --- a/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.changelog.sh +++ b/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.sh b/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.sh index 350474552..98531bd2b 100644 --- a/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.sh +++ b/tests/results/test_namespace_without_family/24_0family_mandatory_condition_variable.sh @@ -5,7 +5,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "rougail.condition" has the value │ │ │ "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.changelog.sh b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.changelog.sh index e03aa99d7..19b0cb54a 100644 --- a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.changelog.sh +++ b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.changelog.sh @@ -14,7 +14,7 @@ │ unique   multiple  │ - a │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.sh b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.sh index 254009125..754d93194 100644 --- a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.sh +++ b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower.sh @@ -9,6 +9,6 @@ │ unique   multiple  │ - a │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.changelog.sh b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.changelog.sh index af861363d..6280ebb40 100644 --- a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.changelog.sh +++ b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.changelog.sh @@ -12,7 +12,7 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.sh b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.sh index 1d4590af6..654e3ab4b 100644 --- a/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.sh +++ b/tests/results/test_namespace_without_family/44_4disabled_calcultion_follower_index.sh @@ -7,6 +7,6 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.changelog.sh b/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.changelog.sh index 88bb1b5e3..f6dfd215b 100644 --- a/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.changelog.sh +++ b/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.changelog.sh @@ -14,7 +14,7 @@ │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.sh b/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.sh index e4c1082e4..282d52120 100644 --- a/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.sh +++ b/tests/results/test_namespace_without_family/44_6leadership_follower_disabled_calculation.sh @@ -9,6 +9,6 @@ │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.changelog.sh b/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.changelog.sh index 433575e9f..8505e3b02 100644 --- a/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.changelog.sh +++ b/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.changelog.sh @@ -12,8 +12,8 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   standard   mandatory    │ Default: the value of the variable │ -│ disabled  │ "rougail.leader.leader" │ +│  string   standard   mandatory    │ Default: the value of the variable │ +│ disabled  │ "rougail.leader.leader" │ │ │ Disabled: if the value of "leader" │ │ │ is "a" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.sh b/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.sh index 8650c4f3c..6962f2bed 100644 --- a/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.sh +++ b/tests/results/test_namespace_without_family/44_9calculated_default_leadership_leader.sh @@ -7,8 +7,8 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.leader.follower │ A follower. │ -│  string   standard   mandatory    │ Default: the value of the variable │ -│ disabled  │ "rougail.leader.leader" │ +│  string   standard   mandatory    │ Default: the value of the variable │ +│ disabled  │ "rougail.leader.leader" │ │ │ Disabled: if the value of "leader" │ │ │ is "a" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh index df3d8555a..e64157fad 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh @@ -8,7 +8,7 @@ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.sh index 241075e20..156a142d7 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_suffix_disabled.sh @@ -3,6 +3,6 @@ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ rougail.dynval1.var │ A dynamic variable. │ │ rougail.dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh index 7450d0f93..b90b2dfaa 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh @@ -12,8 +12,8 @@ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var2 │ A new variable. │ │ rougail.dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ - when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ │ │ - when the variable │ │ │ "rougail.dynval2.var1" has the value │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.sh index f868ddd99..0c87afb92 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled.sh @@ -7,8 +7,8 @@ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.dynval1.var2 │ A new variable. │ │ rougail.dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ - when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ │ │ - when the variable │ │ │ "rougail.dynval2.var1" has the value │ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh index 192772a04..b470a8a38 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh @@ -11,8 +11,8 @@ │  string   basic   mandatory  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh index a79759c70..af13e9698 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh @@ -6,7 +6,7 @@ │  string   basic   mandatory  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ rougail.var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "rougail.dynval1.var1" has the value │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "rougail.dynval1.var1" has the value │ │ │ "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.changelog.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.changelog.sh index 08d3ff5ea..ca2ca37b9 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.changelog.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.changelog.sh @@ -43,7 +43,7 @@ │ rougail.val2_dyn.var4 │ Default: the value of the variable │ │ rougail.val3_dyn.var4 │ "rougail.val4_dyn.var1" │ │ rougail.val4_dyn.var4 │ Disabled: depends on a calculation │ -│  string   standard   mandatory    │ │ -│ disabled  │ │ +│  string   standard   mandatory    │ │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.sh b/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.sh index cbdaa555f..2261784d8 100644 --- a/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.sh +++ b/tests/results/test_namespace_without_family/60_5family_dynamic_unknown_suffix_empty.sh @@ -38,6 +38,6 @@ │ rougail.val2_dyn.var4 │ Default: the value of the variable │ │ rougail.val3_dyn.var4 │ "rougail.val4_dyn.var1" │ │ rougail.val4_dyn.var4 │ Disabled: depends on a calculation │ -│  string   standard   mandatory    │ │ -│ disabled  │ │ +│  string   standard   mandatory    │ │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_namespace_without_family/warnings_04_5validators_warnings b/tests/results/test_namespace_without_family/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_namespace_without_family/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_namespace_without_family/warnings_04_5validators_warnings_all b/tests/results/test_namespace_without_family/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_namespace_without_family/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.changelog.sh b/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.changelog.sh index 1624b4cfe..3077ff358 100644 --- a/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.changelog.sh +++ b/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.sh b/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.sh index f14b81d6c..57fec9be8 100644 --- a/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.sh +++ b/tests/results/test_without_family/04_1auto_save_and_calculated_hidden.sh @@ -5,7 +5,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory   hidden  │ Default: the value is always yes │ +│  string   basic   mandatory   hidden  │ Default: the value is always yes │ │ auto modified  │ Hidden: only if the variable var1 │ │ │ has value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden.changelog.sh b/tests/results/test_without_family/04_1default_calculation_hidden.changelog.sh index f7f0b976b..2a3cb6d00 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden.changelog.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden.sh b/tests/results/test_without_family/04_1default_calculation_hidden.sh index cb425cdb1..cef41c444 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_2.changelog.sh b/tests/results/test_without_family/04_1default_calculation_hidden_2.changelog.sh index f7f0b976b..2a3cb6d00 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_2.changelog.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_2.changelog.sh @@ -10,8 +10,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_2.sh b/tests/results/test_without_family/04_1default_calculation_hidden_2.sh index cb425cdb1..cef41c444 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_2.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_2.sh @@ -5,8 +5,8 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   basic   mandatory    │ Disabled: when the variable "var1" │ -│ disabled  │ has the value "value" │ +│  string   basic   mandatory    │ Disabled: when the variable "var1" │ +│ disabled  │ has the value "value" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ │  string   standard   mandatory  │ Default: depends on a calculation │ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_5.changelog.sh b/tests/results/test_without_family/04_1default_calculation_hidden_5.changelog.sh index d6bf85cc1..b23c0d579 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_5.changelog.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_5.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_5.sh b/tests/results/test_without_family/04_1default_calculation_hidden_5.sh index 928f95a5e..521c50236 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_5.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_5.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_6.changelog.sh b/tests/results/test_without_family/04_1default_calculation_hidden_6.changelog.sh index d6bf85cc1..b23c0d579 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_6.changelog.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_6.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_1default_calculation_hidden_6.sh b/tests/results/test_without_family/04_1default_calculation_hidden_6.sh index 928f95a5e..521c50236 100644 --- a/tests/results/test_without_family/04_1default_calculation_hidden_6.sh +++ b/tests/results/test_without_family/04_1default_calculation_hidden_6.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: value │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A third variable. │ -│  string   basic   mandatory    │ Disabled: depends on an undocumented │ -│ disabled  │ variable │ +│  string   basic   mandatory    │ Disabled: depends on an undocumented │ +│ disabled  │ variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_boolean.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_boolean.changelog.sh index fe9e59ac5..b28fcaf0b 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_boolean.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_boolean.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_boolean.sh b/tests/results/test_without_family/04_5disabled_calculation_boolean.sh index 755e0770a..32b1ac3a8 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_boolean.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_boolean.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable1 │ A first variable. │ -│  string   basic   mandatory    │ Disabled: if condition is egal to │ -│ disabled  │ "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is egal to │ +│ disabled  │ "yes" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable2 │ A seconde variable. │ -│  string   basic   mandatory    │ Disabled: if condition is not egal │ -│ disabled  │ to "yes" │ +│  string   basic   mandatory    │ Disabled: if condition is not egal │ +│ disabled  │ to "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_optional.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_optional.changelog.sh index 05bd05856..f04618adb 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_optional.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_optional.changelog.sh @@ -10,11 +10,11 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_optional.sh b/tests/results/test_without_family/04_5disabled_calculation_optional.sh index 2bf9b98e3..55e68422c 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_optional.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_optional.sh @@ -5,10 +5,10 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var1 │ A first variable. │ -│  string   standard   hidden  │ Hidden: calculation from an unknown │ +│  string   standard   hidden  │ Hidden: calculation from an unknown │ │ │ variable │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A second variable. │ -│  string   standard   hidden  │ Hidden: calculation from an │ +│  string   standard   hidden  │ Hidden: calculation from an │ │ │ condition variable │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_optional_default.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_optional_default.changelog.sh index bc75b4044..da7b2a62b 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_optional_default.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_optional_default.changelog.sh @@ -13,12 +13,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_optional_default.sh b/tests/results/test_without_family/04_5disabled_calculation_optional_default.sh index 686884e8b..a7939cf34 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_optional_default.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_optional_default.sh @@ -8,12 +8,12 @@ │  string   standard  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var3 │ A second variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var4 │ A forth variable. │ -│  string   standard   hidden  │ Hidden: when the variable │ +│  string   standard   hidden  │ Hidden: when the variable │ │ │ "condition" is defined and has the │ │ │ value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable.changelog.sh index 6a79b0758..8fb8dc8ec 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable.sh b/tests/results/test_without_family/04_5disabled_calculation_variable.sh index d108cae1d..6d4d499ab 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable10.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable10.changelog.sh index 65ec6498d..7028b2fb2 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable10.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable10.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable10.sh b/tests/results/test_without_family/04_5disabled_calculation_variable10.sh index 1039cb3cd..7e6e77717 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable10.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable10.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable2.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable2.changelog.sh index 65ec6498d..7028b2fb2 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable2.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable2.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable2.sh b/tests/results/test_without_family/04_5disabled_calculation_variable2.sh index 1039cb3cd..7e6e77717 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable2.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable2.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable3.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable3.changelog.sh index 9fa2952a7..b104f2b1e 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable3.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable3.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable3.sh b/tests/results/test_without_family/04_5disabled_calculation_variable3.sh index 68f6cd7a0..9a881d701 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable3.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable3.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable4.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable4.changelog.sh index 39ec8368b..d56ec4c80 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable4.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable4.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" hasn't the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" hasn't the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable4.sh b/tests/results/test_without_family/04_5disabled_calculation_variable4.sh index cbaa20b95..ba7fda843 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable4.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable4.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: yes │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" hasn't the value "yes" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" hasn't the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable7.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable7.changelog.sh index 6a79b0758..8fb8dc8ec 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable7.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable7.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable7.sh b/tests/results/test_without_family/04_5disabled_calculation_variable7.sh index d108cae1d..6d4d499ab 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable7.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable7.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable_multi.changelog.sh b/tests/results/test_without_family/04_5disabled_calculation_variable_multi.changelog.sh index 7c1f3e035..2f4badadc 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable_multi.changelog.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable_multi.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5disabled_calculation_variable_multi.sh b/tests/results/test_without_family/04_5disabled_calculation_variable_multi.sh index 921fbfa27..711b8cc3c 100644 --- a/tests/results/test_without_family/04_5disabled_calculation_variable_multi.sh +++ b/tests/results/test_without_family/04_5disabled_calculation_variable_multi.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: false │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ variable │ A variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled   unique   multiple  │ "condition" has the value "true" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled   unique   multiple  │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5validators_warnings.adoc b/tests/results/test_without_family/04_5validators_warnings.adoc new file mode 100644 index 000000000..3661c9a03 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.adoc @@ -0,0 +1,12 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_without_family/04_5validators_warnings.changelog.adoc b/tests/results/test_without_family/04_5validators_warnings.changelog.adoc new file mode 100644 index 000000000..2511cdf76 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.changelog.adoc @@ -0,0 +1,14 @@ +== New variable + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validator**: the max value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_without_family/04_5validators_warnings.changelog.gitlab.md b/tests/results/test_without_family/04_5validators_warnings.changelog.gitlab.md new file mode 100644 index 000000000..7680f2600 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.changelog.gitlab.md @@ -0,0 +1,8 @@ +
New variable + +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_without_family/04_5validators_warnings.changelog.html b/tests/results/test_without_family/04_5validators_warnings.changelog.html new file mode 100644 index 000000000..e067a53e2 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.changelog.html @@ -0,0 +1,11 @@ +

New variable

+ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test_without_family/04_5validators_warnings.changelog.md b/tests/results/test_without_family/04_5validators_warnings.changelog.md new file mode 100644 index 000000000..9177f7c26 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.changelog.md @@ -0,0 +1,6 @@ +# New variable + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings.changelog.sh b/tests/results/test_without_family/04_5validators_warnings.changelog.sh new file mode 100644 index 000000000..1cafb580b --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.changelog.sh @@ -0,0 +1,13 @@ + + +New variable + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_without_family/04_5validators_warnings.gitlab.md b/tests/results/test_without_family/04_5validators_warnings.gitlab.md new file mode 100644 index 000000000..733820840 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings.html b/tests/results/test_without_family/04_5validators_warnings.html new file mode 100644 index 000000000..5476a24ce --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.html @@ -0,0 +1,9 @@ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validator: the max value is 100
Default: 1000
+ diff --git a/tests/results/test_without_family/04_5validators_warnings.json b/tests/results/test_without_family/04_5validators_warnings.json new file mode 100644 index 000000000..d7e1d1188 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.json @@ -0,0 +1,36 @@ +{ + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validator", + "values": "the max value is 100" + }, + "path": "int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } +} \ No newline at end of file diff --git a/tests/results/test_without_family/04_5validators_warnings.md b/tests/results/test_without_family/04_5validators_warnings.md new file mode 100644 index 000000000..cc97a2e41 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validator**: the max value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings.sh b/tests/results/test_without_family/04_5validators_warnings.sh new file mode 100644 index 000000000..ed7c97aaa --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings.sh @@ -0,0 +1,7 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validator: the max value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/04_5validators_warnings_all.adoc b/tests/results/test_without_family/04_5validators_warnings_all.adoc new file mode 100644 index 000000000..b64d060c2 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.adoc @@ -0,0 +1,16 @@ +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.changelog.adoc b/tests/results/test_without_family/04_5validators_warnings_all.changelog.adoc new file mode 100644 index 000000000..c8217f1d7 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.changelog.adoc @@ -0,0 +1,18 @@ +== New variable + +[cols="1a,1a"] +|==== +| Variable | Description +| + +**int** + +`https://rougail.readthedocs.io/en/latest/variable.html#variables-types[integer]` `standard` `mandatory` | +An integer. + +**Validators**: + +* the minimum value is 10 +* the maximum value is 100 + +**Default**: 1000 +|==== + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.changelog.gitlab.md b/tests/results/test_without_family/04_5validators_warnings_all.changelog.gitlab.md new file mode 100644 index 000000000..fdd918fbb --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.changelog.gitlab.md @@ -0,0 +1,8 @@ +
New variable + +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + +
+ diff --git a/tests/results/test_without_family/04_5validators_warnings_all.changelog.html b/tests/results/test_without_family/04_5validators_warnings_all.changelog.html new file mode 100644 index 000000000..2441602d4 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.changelog.html @@ -0,0 +1,12 @@ +

New variable

+ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test_without_family/04_5validators_warnings_all.changelog.md b/tests/results/test_without_family/04_5validators_warnings_all.changelog.md new file mode 100644 index 000000000..22ab18b8c --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.changelog.md @@ -0,0 +1,6 @@ +# New variable + +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.changelog.sh b/tests/results/test_without_family/04_5validators_warnings_all.changelog.sh new file mode 100644 index 000000000..1a1506efe --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.changelog.sh @@ -0,0 +1,15 @@ + + +New variable + + +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.gitlab.md b/tests/results/test_without_family/04_5validators_warnings_all.gitlab.md new file mode 100644 index 000000000..59b9cbfc7 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.gitlab.md @@ -0,0 +1,4 @@ +| Variable | Description | +|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.html b/tests/results/test_without_family/04_5validators_warnings_all.html new file mode 100644 index 000000000..39460ca18 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.html @@ -0,0 +1,10 @@ + + + + + + + +
Variable Description
int
integer standard mandatory
An integer.
Validators:
  • the minimum value is 10
  • +
  • the maximum value is 100

Default: 1000
+ diff --git a/tests/results/test_without_family/04_5validators_warnings_all.json b/tests/results/test_without_family/04_5validators_warnings_all.json new file mode 100644 index 000000000..bac5c09b0 --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.json @@ -0,0 +1,39 @@ +{ + "int": { + "type": "variable", + "default": { + "name": "Default", + "values": 1000 + }, + "properties": [ + { + "type": "type", + "name": "integer" + }, + { + "type": "mode", + "name": "standard" + }, + { + "type": "property", + "name": "mandatory" + } + ], + "validators": { + "name": "Validators", + "values": [ + "the minimum value is 10", + "the maximum value is 100" + ] + }, + "path": "int", + "names": [ + "int" + ], + "description": "An integer.", + "gen_examples": [ + 1000 + ], + "mandatory_without_value": false + } +} \ No newline at end of file diff --git a/tests/results/test_without_family/04_5validators_warnings_all.md b/tests/results/test_without_family/04_5validators_warnings_all.md new file mode 100644 index 000000000..dd346283f --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.md @@ -0,0 +1,4 @@ +| Variable                                                                                                    | Description                                                                                                 | +|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| **int**
[`integer`](https://rougail.readthedocs.io/en/latest/variable.html#variables-types) `standard` `mandatory` | An integer.
**Validators**:
- the minimum value is 10
- the maximum value is 100
**Default**: 1000 | + diff --git a/tests/results/test_without_family/04_5validators_warnings_all.sh b/tests/results/test_without_family/04_5validators_warnings_all.sh new file mode 100644 index 000000000..26d0e096c --- /dev/null +++ b/tests/results/test_without_family/04_5validators_warnings_all.sh @@ -0,0 +1,9 @@ +┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ +┃ Variable  ┃ Description  ┃ +┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ +│ int │ An integer. │ +│  integer   standard   mandatory  │ Validators: │ +│ │ - the minimum value is 10 │ +│ │ - the maximum value is 100 │ +│ │ Default: 1000 │ +└───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/24_0family_mandatory_condition.changelog.sh b/tests/results/test_without_family/24_0family_mandatory_condition.changelog.sh index 86a34e851..f6b7f57a8 100644 --- a/tests/results/test_without_family/24_0family_mandatory_condition.changelog.sh +++ b/tests/results/test_without_family/24_0family_mandatory_condition.changelog.sh @@ -10,7 +10,7 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/24_0family_mandatory_condition.sh b/tests/results/test_without_family/24_0family_mandatory_condition.sh index 3286b1ae4..3a3b26573 100644 --- a/tests/results/test_without_family/24_0family_mandatory_condition.sh +++ b/tests/results/test_without_family/24_0family_mandatory_condition.sh @@ -5,6 +5,6 @@ │  string   standard   mandatory  │ Default: no │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ +│  string   standard   mandatory  │ Mandatory: only if rougail.condition │ │ │ has the value "yes" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/24_0family_mandatory_condition_variable.changelog.sh b/tests/results/test_without_family/24_0family_mandatory_condition_variable.changelog.sh index 5bd885823..a832651d6 100644 --- a/tests/results/test_without_family/24_0family_mandatory_condition_variable.changelog.sh +++ b/tests/results/test_without_family/24_0family_mandatory_condition_variable.changelog.sh @@ -10,7 +10,7 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/24_0family_mandatory_condition_variable.sh b/tests/results/test_without_family/24_0family_mandatory_condition_variable.sh index cb4a4d29b..3f6cd5fca 100644 --- a/tests/results/test_without_family/24_0family_mandatory_condition_variable.sh +++ b/tests/results/test_without_family/24_0family_mandatory_condition_variable.sh @@ -5,6 +5,6 @@ │  boolean   standard   mandatory  │ Default: true │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var │ A variable. │ -│  string   standard   mandatory  │ Mandatory: when the variable │ +│  string   standard   mandatory  │ Mandatory: when the variable │ │ │ "condition" has the value "true" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/44_4disabled_calcultion_follower_index.changelog.sh b/tests/results/test_without_family/44_4disabled_calcultion_follower_index.changelog.sh index 3ba590f96..32fa667c6 100644 --- a/tests/results/test_without_family/44_4disabled_calcultion_follower_index.changelog.sh +++ b/tests/results/test_without_family/44_4disabled_calcultion_follower_index.changelog.sh @@ -12,7 +12,7 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/44_4disabled_calcultion_follower_index.sh b/tests/results/test_without_family/44_4disabled_calcultion_follower_index.sh index bf984557c..bffd0da68 100644 --- a/tests/results/test_without_family/44_4disabled_calcultion_follower_index.sh +++ b/tests/results/test_without_family/44_4disabled_calcultion_follower_index.sh @@ -7,6 +7,6 @@ │ │ - b │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leadership.follower │ A follower. │ -│  string   standard   mandatory    │ Default: value │ -│ disabled  │ Disabled: depends on a calculation │ +│  string   standard   mandatory    │ Default: value │ +│ disabled  │ Disabled: depends on a calculation │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.changelog.sh b/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.changelog.sh index ffd34cca8..d04698ea0 100644 --- a/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.changelog.sh +++ b/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.changelog.sh @@ -14,7 +14,7 @@ │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.sh b/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.sh index 1fe9d60ff..6a15eb8bc 100644 --- a/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.sh +++ b/tests/results/test_without_family/44_6leadership_follower_disabled_calculation.sh @@ -9,6 +9,6 @@ │ multiple  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ leader.follower │ A follower. │ -│  string   basic   mandatory    │ Disabled: if condition is yes │ -│ disabled  │ │ +│  string   basic   mandatory    │ Disabled: if condition is yes │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh b/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh index 3218e8211..30f4786c1 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.changelog.sh @@ -8,7 +8,7 @@ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.sh b/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.sh index 5ea2c28cf..66f10f515 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_suffix_disabled.sh @@ -3,6 +3,6 @@ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ dynval1.var │ A dynamic variable. │ │ dynval2.var │ Disabled: when the identifier is │ -│  string   basic   mandatory    │ "val1" │ -│ disabled  │ │ +│  string   basic   mandatory    │ "val1" │ +│ disabled  │ │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh index fc0afb7df..a48f1af92 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.changelog.sh @@ -12,8 +12,8 @@ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var2 │ A new variable. │ │ dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ -│ disabled  │ has the value "val1" │ +│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ +│ disabled  │ has the value "val1" │ │ │ - when the variable "dynval2.var1" │ │ │ has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.sh b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.sh index 82247a498..4aad16bd1 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled.sh @@ -7,8 +7,8 @@ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ dynval1.var2 │ A new variable. │ │ dynval2.var2 │ Disabled: │ -│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ -│ disabled  │ has the value "val1" │ +│  string   basic   mandatory    │ - when the variable "dynval1.var1" │ +│ disabled  │ has the value "val1" │ │ │ - when the variable "dynval2.var1" │ │ │ has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh index 4caec55f7..e95a87b73 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.changelog.sh @@ -11,7 +11,7 @@ │  string   basic   mandatory  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "dynval1.var1" has the value "val1" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "dynval1.var1" has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh index 20c078846..0f3f8fd0b 100644 --- a/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh +++ b/tests/results/test_without_family/60_5family_dynamic_calc_variable_disabled_outside.sh @@ -6,6 +6,6 @@ │  string   basic   mandatory  │ │ ├───────────────────────────────────────┼──────────────────────────────────────┤ │ var2 │ A new variable. │ -│  string   basic   mandatory    │ Disabled: when the variable │ -│ disabled  │ "dynval1.var1" has the value "val1" │ +│  string   basic   mandatory    │ Disabled: when the variable │ +│ disabled  │ "dynval1.var1" has the value "val1" │ └───────────────────────────────────────┴──────────────────────────────────────┘ diff --git a/tests/results/test_without_family/warnings_04_5validators_warnings b/tests/results/test_without_family/warnings_04_5validators_warnings new file mode 100644 index 000000000..0637a088a --- /dev/null +++ b/tests/results/test_without_family/warnings_04_5validators_warnings @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/tests/results/test_without_family/warnings_04_5validators_warnings_all b/tests/results/test_without_family/warnings_04_5validators_warnings_all new file mode 100644 index 000000000..ff6a4987d --- /dev/null +++ b/tests/results/test_without_family/warnings_04_5validators_warnings_all @@ -0,0 +1 @@ +["attention, \"1000\" could be an invalid integer for \"An integer\", value should be less than \"100\""] \ No newline at end of file diff --git a/tests/root_a_family.sh b/tests/root_a_family.sh index 0affdde87..1723d319c 100644 --- a/tests/root_a_family.sh +++ b/tests/root_a_family.sh @@ -27,7 +27,7 @@ a_family.an_other_family - hidden  + hidden  Hidden: when the variable "a_family.a_second_family.a_variable" has the value diff --git a/tests/test_changelog.py b/tests/test_changelog.py index 714dff77a..ac87222a9 100644 --- a/tests/test_changelog.py +++ b/tests/test_changelog.py @@ -7,7 +7,7 @@ from rougail.output_doc import RougailOutputDoc os.environ['COLUMNS'] = '80' test_ok = sorted(list((Path(__file__).parent / 'changelog').iterdir())) -# test_ok = [Path(__file__).parent / 'changelog' / '11mod_variable_choices13'] +# test_ok = [Path(__file__).parent / 'changelog' / '10mod_variable_description'] EXT = {'github': 'md', 'asciidoc': 'adoc', 'json': 'json', 'console': 'sh', 'gitlab': 'gitlab.md', "html": "html"}