diff --git a/src/rougail/user_data_yaml/__init__.py b/src/rougail/user_data_yaml/__init__.py index 78fc261..9912270 100644 --- a/src/rougail/user_data_yaml/__init__.py +++ b/src/rougail/user_data_yaml/__init__.py @@ -21,6 +21,7 @@ from pathlib import Path from rougail.error import ExtensionError from tiramisu.error import ValueOptionError, PropertiesOptionError, LeadershipError +from rougail.utils import undefined from .i18n import _ from .__version__ import __version__ @@ -137,7 +138,7 @@ class RougailUserDataYaml: for val in value: for key in keys: values.setdefault(path + "." + key, []).append( - val.get(key, None) + val.get(key, undefined) ) else: diff --git a/tests/errors/results/01_disabled_family.yaml b/tests/errors/results/01_disabled_family.yaml index b55bc89..217db0a 100644 --- a/tests/errors/results/01_disabled_family.yaml +++ b/tests/errors/results/01_disabled_family.yaml @@ -1,19 +1,4 @@ { "errors": [], - "warnings": [ - [ - [ - "family \"family_disabled\" has property disabled, so cannot access to \"variable1\", it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/01_disabled_family.yaml\"", - "family_disabled.variable1", - null - ] - ], - [ - [ - "family \"family_disabled\" has property disabled, so cannot access to \"variable2\", it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/01_disabled_family.yaml\"", - "family_disabled.variable2", - null - ] - ] - ] + "warnings": [] } \ No newline at end of file diff --git a/tests/errors/results/02_disabled_hidden_family.yaml b/tests/errors/results/02_disabled_hidden_family.yaml index 016879e..fc024b8 100644 --- a/tests/errors/results/02_disabled_hidden_family.yaml +++ b/tests/errors/results/02_disabled_hidden_family.yaml @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"family_disabled_hidden\" has property disabled and hidden, so cannot access to \"variable1\", it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/02_disabled_hidden_family.yaml\"", + "cannot modify the option \"variable1\" because is frozen, it will be ignored when loading from the YAML file \"/home/gnunux/git/stove/rougail-user-data-yaml/tests/errors/yaml/02_disabled_hidden_family.yaml\"", "family_disabled_hidden.variable1", null ] diff --git a/tests/result_tutorial/000/01_ro.json b/tests/result_tutorial/000/01_ro.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/result_tutorial/000/01_ro.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/result_tutorial/000/01_rw.json b/tests/result_tutorial/000/01_rw.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/result_tutorial/000/01_rw.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/result_tutorial/000/errors_01.json b/tests/result_tutorial/000/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/000/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/001/01_ro.json b/tests/result_tutorial/001/01_ro.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/001/01_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/001/01_rw.json b/tests/result_tutorial/001/01_rw.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/001/01_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/001/02_ro.json b/tests/result_tutorial/001/02_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/001/02_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/001/02_rw.json b/tests/result_tutorial/001/02_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/001/02_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/001/03_ro.json b/tests/result_tutorial/001/03_ro.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/001/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/001/03_rw.json b/tests/result_tutorial/001/03_rw.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/001/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/001/errors_01.json b/tests/result_tutorial/001/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/001/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/001/errors_02.json b/tests/result_tutorial/001/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/001/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/001/errors_03.json b/tests/result_tutorial/001/errors_03.json new file mode 100644 index 0000000..df5df2c --- /dev/null +++ b/tests/result_tutorial/001/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"1\" is an invalid string, it's not a string, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/001/config/03/config.yml\"", + "proxy_mode", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/002/01_ro.json b/tests/result_tutorial/002/01_ro.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/002/01_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/002/01_rw.json b/tests/result_tutorial/002/01_rw.json new file mode 100644 index 0000000..a75f03f --- /dev/null +++ b/tests/result_tutorial/002/01_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "proxy_mode", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/002/02_ro.json b/tests/result_tutorial/002/02_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/002/02_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/002/02_rw.json b/tests/result_tutorial/002/02_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/002/02_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/002/03_ro.json b/tests/result_tutorial/002/03_ro.json new file mode 100644 index 0000000..7211aee --- /dev/null +++ b/tests/result_tutorial/002/03_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "foo" +} \ No newline at end of file diff --git a/tests/result_tutorial/002/03_rw.json b/tests/result_tutorial/002/03_rw.json new file mode 100644 index 0000000..7211aee --- /dev/null +++ b/tests/result_tutorial/002/03_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "foo" +} \ No newline at end of file diff --git a/tests/result_tutorial/002/errors_01.json b/tests/result_tutorial/002/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/002/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/002/errors_02.json b/tests/result_tutorial/002/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/002/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/002/errors_03.json b/tests/result_tutorial/002/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/002/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/003/01_ro.json b/tests/result_tutorial/003/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/003/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/01_rw.json b/tests/result_tutorial/003/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/003/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/02_ro.json b/tests/result_tutorial/003/02_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/003/02_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/02_rw.json b/tests/result_tutorial/003/02_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/003/02_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/03_ro.json b/tests/result_tutorial/003/03_ro.json new file mode 100644 index 0000000..7211aee --- /dev/null +++ b/tests/result_tutorial/003/03_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "foo" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/03_rw.json b/tests/result_tutorial/003/03_rw.json new file mode 100644 index 0000000..7211aee --- /dev/null +++ b/tests/result_tutorial/003/03_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "foo" +} \ No newline at end of file diff --git a/tests/result_tutorial/003/errors_01.json b/tests/result_tutorial/003/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/003/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/003/errors_02.json b/tests/result_tutorial/003/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/003/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/003/errors_03.json b/tests/result_tutorial/003/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/003/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/010/01_ro.json b/tests/result_tutorial/010/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/01_rw.json b/tests/result_tutorial/010/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/02_ro.json b/tests/result_tutorial/010/02_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/02_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/02_rw.json b/tests/result_tutorial/010/02_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/02_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/03_ro.json b/tests/result_tutorial/010/03_ro.json new file mode 100644 index 0000000..e2fff07 --- /dev/null +++ b/tests/result_tutorial/010/03_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "Manual proxy configuration" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/03_rw.json b/tests/result_tutorial/010/03_rw.json new file mode 100644 index 0000000..e2fff07 --- /dev/null +++ b/tests/result_tutorial/010/03_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "Manual proxy configuration" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/04_ro.json b/tests/result_tutorial/010/04_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/04_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/04_rw.json b/tests/result_tutorial/010/04_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/010/04_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/010/errors_01.json b/tests/result_tutorial/010/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/010/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/010/errors_02.json b/tests/result_tutorial/010/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/010/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/010/errors_03.json b/tests/result_tutorial/010/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/010/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/010/errors_04.json b/tests/result_tutorial/010/errors_04.json new file mode 100644 index 0000000..79f7914 --- /dev/null +++ b/tests/result_tutorial/010/errors_04.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"foo\" is an invalid choice, only \"Auto-detect proxy settings for this network\", \"Automatic proxy configuration URL\", \"Manual proxy configuration\", \"No proxy\" and \"Use system proxy settings\" are allowed, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/010/config/04/config.yml\"", + "proxy_mode", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/022/01_ro.json b/tests/result_tutorial/022/01_ro.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/022/01_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/022/01_rw.json b/tests/result_tutorial/022/01_rw.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/022/01_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/022/02_ro.json b/tests/result_tutorial/022/02_ro.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/022/02_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/022/02_rw.json b/tests/result_tutorial/022/02_rw.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/022/02_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/022/errors_01.json b/tests/result_tutorial/022/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/022/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/022/errors_02.json b/tests/result_tutorial/022/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/022/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/030/01_ro.json b/tests/result_tutorial/030/01_ro.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/030/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/030/01_rw.json b/tests/result_tutorial/030/01_rw.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/030/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/030/02_ro.json b/tests/result_tutorial/030/02_ro.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/030/02_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/030/02_rw.json b/tests/result_tutorial/030/02_rw.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/030/02_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/030/03_ro.json b/tests/result_tutorial/030/03_ro.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/030/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/030/03_rw.json b/tests/result_tutorial/030/03_rw.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/030/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/030/errors_01.json b/tests/result_tutorial/030/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/030/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/030/errors_02.json b/tests/result_tutorial/030/errors_02.json new file mode 100644 index 0000000..b2d59a4 --- /dev/null +++ b/tests/result_tutorial/030/errors_02.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"192.168.0.1\" is an invalid domain name, must not be an IP, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/030/config/02/config.yml\"", + "manual.http_proxy.address", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/030/errors_03.json b/tests/result_tutorial/030/errors_03.json new file mode 100644 index 0000000..f2f0d99 --- /dev/null +++ b/tests/result_tutorial/030/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"not a valid domain name.com\" is an invalid domain name, must start with lowercase characters followed by lowercase characters, number, \"-\" and \".\" characters are allowed, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/030/config/03/config.yml\"", + "manual.http_proxy.address", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/031/01_ro.json b/tests/result_tutorial/031/01_ro.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/031/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/031/01_rw.json b/tests/result_tutorial/031/01_rw.json new file mode 100644 index 0000000..758ebaa --- /dev/null +++ b/tests/result_tutorial/031/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/031/02_ro.json b/tests/result_tutorial/031/02_ro.json new file mode 100644 index 0000000..461c6a4 --- /dev/null +++ b/tests/result_tutorial/031/02_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "192.168.0.1" +} \ No newline at end of file diff --git a/tests/result_tutorial/031/02_rw.json b/tests/result_tutorial/031/02_rw.json new file mode 100644 index 0000000..461c6a4 --- /dev/null +++ b/tests/result_tutorial/031/02_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "192.168.0.1" +} \ No newline at end of file diff --git a/tests/result_tutorial/031/03_ro.json b/tests/result_tutorial/031/03_ro.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/031/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/031/03_rw.json b/tests/result_tutorial/031/03_rw.json new file mode 100644 index 0000000..693ed99 --- /dev/null +++ b/tests/result_tutorial/031/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.http_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/031/errors_01.json b/tests/result_tutorial/031/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/031/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/031/errors_02.json b/tests/result_tutorial/031/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/031/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/031/errors_03.json b/tests/result_tutorial/031/errors_03.json new file mode 100644 index 0000000..3297c25 --- /dev/null +++ b/tests/result_tutorial/031/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"not a valid domain name.com\" is an invalid domain name, could be a IP, otherwise must start with lowercase characters followed by lowercase characters, number, \"-\" and \".\" characters are allowed, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/031/config/03/config.yml\"", + "manual.http_proxy.address", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/032/01_ro.json b/tests/result_tutorial/032/01_ro.json new file mode 100644 index 0000000..bc42e7b --- /dev/null +++ b/tests/result_tutorial/032/01_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/01_rw.json b/tests/result_tutorial/032/01_rw.json new file mode 100644 index 0000000..bc42e7b --- /dev/null +++ b/tests/result_tutorial/032/01_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/02_ro.json b/tests/result_tutorial/032/02_ro.json new file mode 100644 index 0000000..4ad76fa --- /dev/null +++ b/tests/result_tutorial/032/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/02_rw.json b/tests/result_tutorial/032/02_rw.json new file mode 100644 index 0000000..4ad76fa --- /dev/null +++ b/tests/result_tutorial/032/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/03_ro.json b/tests/result_tutorial/032/03_ro.json new file mode 100644 index 0000000..bc42e7b --- /dev/null +++ b/tests/result_tutorial/032/03_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/03_rw.json b/tests/result_tutorial/032/03_rw.json new file mode 100644 index 0000000..bc42e7b --- /dev/null +++ b/tests/result_tutorial/032/03_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/032/errors_01.json b/tests/result_tutorial/032/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/032/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/032/errors_02.json b/tests/result_tutorial/032/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/032/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/032/errors_03.json b/tests/result_tutorial/032/errors_03.json new file mode 100644 index 0000000..0bf01aa --- /dev/null +++ b/tests/result_tutorial/032/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"100000\" is an invalid port, must be between 1 and 65535, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/032/config/03/config.yml\"", + "manual.http_proxy.port", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/033/01_ro.json b/tests/result_tutorial/033/01_ro.json new file mode 100644 index 0000000..866ea26 --- /dev/null +++ b/tests/result_tutorial/033/01_ro.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true +} \ No newline at end of file diff --git a/tests/result_tutorial/033/01_rw.json b/tests/result_tutorial/033/01_rw.json new file mode 100644 index 0000000..866ea26 --- /dev/null +++ b/tests/result_tutorial/033/01_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true +} \ No newline at end of file diff --git a/tests/result_tutorial/033/02_ro.json b/tests/result_tutorial/033/02_ro.json new file mode 100644 index 0000000..855746e --- /dev/null +++ b/tests/result_tutorial/033/02_ro.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/033/02_rw.json b/tests/result_tutorial/033/02_rw.json new file mode 100644 index 0000000..855746e --- /dev/null +++ b/tests/result_tutorial/033/02_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "manual.http_proxy.address": "example.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/033/errors_01.json b/tests/result_tutorial/033/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/033/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/033/errors_02.json b/tests/result_tutorial/033/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/033/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/040/01_ro.json b/tests/result_tutorial/040/01_ro.json new file mode 100644 index 0000000..0ef3b0d --- /dev/null +++ b/tests/result_tutorial/040/01_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/040/01_rw.json b/tests/result_tutorial/040/01_rw.json new file mode 100644 index 0000000..0ef3b0d --- /dev/null +++ b/tests/result_tutorial/040/01_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "8080" +} \ No newline at end of file diff --git a/tests/result_tutorial/040/errors_01.json b/tests/result_tutorial/040/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/040/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/041/01_ro.json b/tests/result_tutorial/041/01_ro.json new file mode 100644 index 0000000..a141ff1 --- /dev/null +++ b/tests/result_tutorial/041/01_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/041/01_rw.json b/tests/result_tutorial/041/01_rw.json new file mode 100644 index 0000000..a141ff1 --- /dev/null +++ b/tests/result_tutorial/041/01_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/041/errors_01.json b/tests/result_tutorial/041/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/041/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/050/01_ro.json b/tests/result_tutorial/050/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/050/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/050/01_rw.json b/tests/result_tutorial/050/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/050/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/050/02_ro.json b/tests/result_tutorial/050/02_ro.json new file mode 100644 index 0000000..e2fff07 --- /dev/null +++ b/tests/result_tutorial/050/02_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "Manual proxy configuration" +} \ No newline at end of file diff --git a/tests/result_tutorial/050/02_rw.json b/tests/result_tutorial/050/02_rw.json new file mode 100644 index 0000000..e2fff07 --- /dev/null +++ b/tests/result_tutorial/050/02_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "Manual proxy configuration" +} \ No newline at end of file diff --git a/tests/result_tutorial/050/errors_01.json b/tests/result_tutorial/050/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/050/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/050/errors_02.json b/tests/result_tutorial/050/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/050/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/051/01_ro.json b/tests/result_tutorial/051/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/051/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/051/01_rw.json b/tests/result_tutorial/051/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/051/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/051/02_ro.json b/tests/result_tutorial/051/02_ro.json new file mode 100644 index 0000000..6d35e8a --- /dev/null +++ b/tests/result_tutorial/051/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/051/02_rw.json b/tests/result_tutorial/051/02_rw.json new file mode 100644 index 0000000..6d35e8a --- /dev/null +++ b/tests/result_tutorial/051/02_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/051/errors_01.json b/tests/result_tutorial/051/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/051/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/051/errors_02.json b/tests/result_tutorial/051/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/051/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/052/01_ro.json b/tests/result_tutorial/052/01_ro.json new file mode 100644 index 0000000..6d35e8a --- /dev/null +++ b/tests/result_tutorial/052/01_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/052/01_rw.json b/tests/result_tutorial/052/01_rw.json new file mode 100644 index 0000000..5c0dc51 --- /dev/null +++ b/tests/result_tutorial/052/01_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/052/02_ro.json b/tests/result_tutorial/052/02_ro.json new file mode 100644 index 0000000..ce4194d --- /dev/null +++ b/tests/result_tutorial/052/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/052/02_rw.json b/tests/result_tutorial/052/02_rw.json new file mode 100644 index 0000000..95406d6 --- /dev/null +++ b/tests/result_tutorial/052/02_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true +} \ No newline at end of file diff --git a/tests/result_tutorial/052/errors_01.json b/tests/result_tutorial/052/errors_01.json new file mode 100644 index 0000000..e1a4a15 --- /dev/null +++ b/tests/result_tutorial/052/errors_01.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "cannot modify the option \"address\" (HTTPS address) because is frozen, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/052/config/01/config.yml\"", + "manual.https_proxy.address", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/052/errors_02.json b/tests/result_tutorial/052/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/052/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/053/01_ro.json b/tests/result_tutorial/053/01_ro.json new file mode 100644 index 0000000..a141ff1 --- /dev/null +++ b/tests/result_tutorial/053/01_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/053/01_rw.json b/tests/result_tutorial/053/01_rw.json new file mode 100644 index 0000000..a141ff1 --- /dev/null +++ b/tests/result_tutorial/053/01_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/053/02_ro.json b/tests/result_tutorial/053/02_ro.json new file mode 100644 index 0000000..ce4194d --- /dev/null +++ b/tests/result_tutorial/053/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/053/02_rw.json b/tests/result_tutorial/053/02_rw.json new file mode 100644 index 0000000..95406d6 --- /dev/null +++ b/tests/result_tutorial/053/02_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true +} \ No newline at end of file diff --git a/tests/result_tutorial/053/errors_01.json b/tests/result_tutorial/053/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/053/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/053/errors_02.json b/tests/result_tutorial/053/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/053/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/060/01_ro.json b/tests/result_tutorial/060/01_ro.json new file mode 100644 index 0000000..9a712dc --- /dev/null +++ b/tests/result_tutorial/060/01_ro.json @@ -0,0 +1,10 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/060/01_rw.json b/tests/result_tutorial/060/01_rw.json new file mode 100644 index 0000000..9a712dc --- /dev/null +++ b/tests/result_tutorial/060/01_rw.json @@ -0,0 +1,10 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128" +} \ No newline at end of file diff --git a/tests/result_tutorial/060/errors_01.json b/tests/result_tutorial/060/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/060/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/061/01_ro.json b/tests/result_tutorial/061/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/061/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/061/01_rw.json b/tests/result_tutorial/061/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/061/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/061/errors_01.json b/tests/result_tutorial/061/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/061/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/070/01_ro.json b/tests/result_tutorial/070/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/070/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/070/01_rw.json b/tests/result_tutorial/070/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/070/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/070/02_ro.json b/tests/result_tutorial/070/02_ro.json new file mode 100644 index 0000000..6a2448d --- /dev/null +++ b/tests/result_tutorial/070/02_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/070/02_rw.json b/tests/result_tutorial/070/02_rw.json new file mode 100644 index 0000000..95406d6 --- /dev/null +++ b/tests/result_tutorial/070/02_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": true +} \ No newline at end of file diff --git a/tests/result_tutorial/070/errors_01.json b/tests/result_tutorial/070/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/070/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/070/errors_02.json b/tests/result_tutorial/070/errors_02.json new file mode 100644 index 0000000..d3e41d4 --- /dev/null +++ b/tests/result_tutorial/070/errors_02.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "cannot modify the option \"address\" (HTTPS address) because is frozen, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/070/config/02/config.yml\"", + "manual.https_proxy.address", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/071/01_ro.json b/tests/result_tutorial/071/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/071/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/071/01_rw.json b/tests/result_tutorial/071/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/071/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/071/errors_01.json b/tests/result_tutorial/071/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/071/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/072/01_ro.json b/tests/result_tutorial/072/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/072/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/072/01_rw.json b/tests/result_tutorial/072/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/072/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/072/errors_01.json b/tests/result_tutorial/072/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/072/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/073/01_ro.json b/tests/result_tutorial/073/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/073/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/073/01_rw.json b/tests/result_tutorial/073/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/073/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/073/errors_01.json b/tests/result_tutorial/073/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/073/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/080/01_ro.json b/tests/result_tutorial/080/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/080/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/080/01_rw.json b/tests/result_tutorial/080/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/080/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/080/errors_01.json b/tests/result_tutorial/080/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/080/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/081/01_ro.json b/tests/result_tutorial/081/01_ro.json new file mode 100644 index 0000000..afca492 --- /dev/null +++ b/tests/result_tutorial/081/01_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.socks_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/081/01_rw.json b/tests/result_tutorial/081/01_rw.json new file mode 100644 index 0000000..afca492 --- /dev/null +++ b/tests/result_tutorial/081/01_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "manual.socks_proxy.address", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/081/errors_01.json b/tests/result_tutorial/081/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/081/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/082/01_ro.json b/tests/result_tutorial/082/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/082/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/082/01_rw.json b/tests/result_tutorial/082/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/082/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/082/errors_01.json b/tests/result_tutorial/082/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/082/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/083/01_ro.json b/tests/result_tutorial/083/01_ro.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/083/01_ro.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/083/01_rw.json b/tests/result_tutorial/083/01_rw.json new file mode 100644 index 0000000..fd1231f --- /dev/null +++ b/tests/result_tutorial/083/01_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "3128", + "manual.use_for_https": false, + "manual.https_proxy.address": "https.proxy.net", + "manual.https_proxy.port": "3128", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "3128", + "manual.socks_proxy.version": "v5" +} \ No newline at end of file diff --git a/tests/result_tutorial/083/errors_01.json b/tests/result_tutorial/083/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/083/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/090/01_ro.json b/tests/result_tutorial/090/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/090/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/090/01_rw.json b/tests/result_tutorial/090/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/090/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/090/02_ro.json b/tests/result_tutorial/090/02_ro.json new file mode 100644 index 0000000..27e3c98 --- /dev/null +++ b/tests/result_tutorial/090/02_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "auto", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/090/02_rw.json b/tests/result_tutorial/090/02_rw.json new file mode 100644 index 0000000..27e3c98 --- /dev/null +++ b/tests/result_tutorial/090/02_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "auto", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/090/03_ro.json b/tests/result_tutorial/090/03_ro.json new file mode 100644 index 0000000..31f1d26 --- /dev/null +++ b/tests/result_tutorial/090/03_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat" +} \ No newline at end of file diff --git a/tests/result_tutorial/090/03_rw.json b/tests/result_tutorial/090/03_rw.json new file mode 100644 index 0000000..31f1d26 --- /dev/null +++ b/tests/result_tutorial/090/03_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat" +} \ No newline at end of file diff --git a/tests/result_tutorial/090/errors_01.json b/tests/result_tutorial/090/errors_01.json new file mode 100644 index 0000000..4675473 --- /dev/null +++ b/tests/result_tutorial/090/errors_01.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/090/config/01/config.yml\"", + "auto", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/090/errors_02.json b/tests/result_tutorial/090/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/090/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/090/errors_03.json b/tests/result_tutorial/090/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/090/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/100/01_ro.json b/tests/result_tutorial/100/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/100/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/100/01_rw.json b/tests/result_tutorial/100/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/100/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/100/02_ro.json b/tests/result_tutorial/100/02_ro.json new file mode 100644 index 0000000..20a00e9 --- /dev/null +++ b/tests/result_tutorial/100/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": "192.168.1.0/24" +} \ No newline at end of file diff --git a/tests/result_tutorial/100/02_rw.json b/tests/result_tutorial/100/02_rw.json new file mode 100644 index 0000000..20a00e9 --- /dev/null +++ b/tests/result_tutorial/100/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": "192.168.1.0/24" +} \ No newline at end of file diff --git a/tests/result_tutorial/100/errors_01.json b/tests/result_tutorial/100/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/100/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/100/errors_02.json b/tests/result_tutorial/100/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/100/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/101/01_ro.json b/tests/result_tutorial/101/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/101/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/101/01_rw.json b/tests/result_tutorial/101/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/101/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/101/02_ro.json b/tests/result_tutorial/101/02_ro.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/101/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/101/02_rw.json b/tests/result_tutorial/101/02_rw.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/101/02_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/101/03_ro.json b/tests/result_tutorial/101/03_ro.json new file mode 100644 index 0000000..b9a819d --- /dev/null +++ b/tests/result_tutorial/101/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "no_proxy", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/101/03_rw.json b/tests/result_tutorial/101/03_rw.json new file mode 100644 index 0000000..b9a819d --- /dev/null +++ b/tests/result_tutorial/101/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "no_proxy", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/101/errors_01.json b/tests/result_tutorial/101/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/101/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/101/errors_02.json b/tests/result_tutorial/101/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/101/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/101/errors_03.json b/tests/result_tutorial/101/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/101/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/01_ro.json b/tests/result_tutorial/102/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/102/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/102/01_rw.json b/tests/result_tutorial/102/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/102/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/102/02_ro.json b/tests/result_tutorial/102/02_ro.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/102/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/02_rw.json b/tests/result_tutorial/102/02_rw.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/102/02_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/03_ro.json b/tests/result_tutorial/102/03_ro.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/102/03_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/03_rw.json b/tests/result_tutorial/102/03_rw.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/102/03_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/errors_01.json b/tests/result_tutorial/102/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/102/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/errors_02.json b/tests/result_tutorial/102/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/102/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/102/errors_03.json b/tests/result_tutorial/102/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/102/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/01_ro.json b/tests/result_tutorial/103/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/103/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/103/01_rw.json b/tests/result_tutorial/103/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/103/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/103/02_ro.json b/tests/result_tutorial/103/02_ro.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/103/02_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/02_rw.json b/tests/result_tutorial/103/02_rw.json new file mode 100644 index 0000000..ebf11b6 --- /dev/null +++ b/tests/result_tutorial/103/02_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + "example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/03_ro.json b/tests/result_tutorial/103/03_ro.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/103/03_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/03_rw.json b/tests/result_tutorial/103/03_rw.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/103/03_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/errors_01.json b/tests/result_tutorial/103/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/103/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/errors_02.json b/tests/result_tutorial/103/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/103/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/103/errors_03.json b/tests/result_tutorial/103/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/103/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/01_ro.json b/tests/result_tutorial/104/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/104/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/104/01_rw.json b/tests/result_tutorial/104/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/104/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/104/02_ro.json b/tests/result_tutorial/104/02_ro.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/104/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/02_rw.json b/tests/result_tutorial/104/02_rw.json new file mode 100644 index 0000000..ff19f5f --- /dev/null +++ b/tests/result_tutorial/104/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/03_ro.json b/tests/result_tutorial/104/03_ro.json new file mode 100644 index 0000000..e7b47b3 --- /dev/null +++ b/tests/result_tutorial/104/03_ro.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + ".example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/03_rw.json b/tests/result_tutorial/104/03_rw.json new file mode 100644 index 0000000..e7b47b3 --- /dev/null +++ b/tests/result_tutorial/104/03_rw.json @@ -0,0 +1,8 @@ +{ + "proxy_mode": "Automatic proxy configuration URL", + "auto": "https://auto.proxy.net/wpad.dat", + "no_proxy": [ + ".example.net", + "192.168.1.0/24" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/errors_01.json b/tests/result_tutorial/104/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/104/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/errors_02.json b/tests/result_tutorial/104/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/104/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/104/errors_03.json b/tests/result_tutorial/104/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/104/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/110/01_ro.json b/tests/result_tutorial/110/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/110/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/110/01_rw.json b/tests/result_tutorial/110/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/110/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/110/02_ro.json b/tests/result_tutorial/110/02_ro.json new file mode 100644 index 0000000..2099483 --- /dev/null +++ b/tests/result_tutorial/110/02_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/02_rw.json b/tests/result_tutorial/110/02_rw.json new file mode 100644 index 0000000..d1b947d --- /dev/null +++ b/tests/result_tutorial/110/02_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/03_ro.json b/tests/result_tutorial/110/03_ro.json new file mode 100644 index 0000000..2099483 --- /dev/null +++ b/tests/result_tutorial/110/03_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/03_rw.json b/tests/result_tutorial/110/03_rw.json new file mode 100644 index 0000000..d1b947d --- /dev/null +++ b/tests/result_tutorial/110/03_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/04_ro.json b/tests/result_tutorial/110/04_ro.json new file mode 100644 index 0000000..bbf9a1d --- /dev/null +++ b/tests/result_tutorial/110/04_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/04_rw.json b/tests/result_tutorial/110/04_rw.json new file mode 100644 index 0000000..59815c5 --- /dev/null +++ b/tests/result_tutorial/110/04_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/110/errors_01.json b/tests/result_tutorial/110/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/110/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/110/errors_02.json b/tests/result_tutorial/110/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/110/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/110/errors_03.json b/tests/result_tutorial/110/errors_03.json new file mode 100644 index 0000000..356dae8 --- /dev/null +++ b/tests/result_tutorial/110/errors_03.json @@ -0,0 +1,6 @@ +{ + "errors": [], + "warnings": [ + "variable or family \"proxy_dns_socks5\" does not exist so cannot load \"proxy_dns_socks5\", it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/110/config/03/config.yml\"" + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/110/errors_04.json b/tests/result_tutorial/110/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/110/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/111/01_ro.json b/tests/result_tutorial/111/01_ro.json new file mode 100644 index 0000000..90c1bc7 --- /dev/null +++ b/tests/result_tutorial/111/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/01_rw.json b/tests/result_tutorial/111/01_rw.json new file mode 100644 index 0000000..90c1bc7 --- /dev/null +++ b/tests/result_tutorial/111/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/02_ro.json b/tests/result_tutorial/111/02_ro.json new file mode 100644 index 0000000..f7aa181 --- /dev/null +++ b/tests/result_tutorial/111/02_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/02_rw.json b/tests/result_tutorial/111/02_rw.json new file mode 100644 index 0000000..cbc5386 --- /dev/null +++ b/tests/result_tutorial/111/02_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/03_ro.json b/tests/result_tutorial/111/03_ro.json new file mode 100644 index 0000000..b06d469 --- /dev/null +++ b/tests/result_tutorial/111/03_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/111/03_rw.json b/tests/result_tutorial/111/03_rw.json new file mode 100644 index 0000000..dd9aa5c --- /dev/null +++ b/tests/result_tutorial/111/03_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/111/04_ro.json b/tests/result_tutorial/111/04_ro.json new file mode 100644 index 0000000..c64a436 --- /dev/null +++ b/tests/result_tutorial/111/04_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/04_rw.json b/tests/result_tutorial/111/04_rw.json new file mode 100644 index 0000000..593857a --- /dev/null +++ b/tests/result_tutorial/111/04_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/111/errors_01.json b/tests/result_tutorial/111/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/111/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/111/errors_02.json b/tests/result_tutorial/111/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/111/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/111/errors_03.json b/tests/result_tutorial/111/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/111/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/111/errors_04.json b/tests/result_tutorial/111/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/111/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/112/01_ro.json b/tests/result_tutorial/112/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/112/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/112/01_rw.json b/tests/result_tutorial/112/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/112/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/112/02_ro.json b/tests/result_tutorial/112/02_ro.json new file mode 100644 index 0000000..f7aa181 --- /dev/null +++ b/tests/result_tutorial/112/02_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/112/02_rw.json b/tests/result_tutorial/112/02_rw.json new file mode 100644 index 0000000..cbc5386 --- /dev/null +++ b/tests/result_tutorial/112/02_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/112/03_ro.json b/tests/result_tutorial/112/03_ro.json new file mode 100644 index 0000000..b06d469 --- /dev/null +++ b/tests/result_tutorial/112/03_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/112/03_rw.json b/tests/result_tutorial/112/03_rw.json new file mode 100644 index 0000000..dd9aa5c --- /dev/null +++ b/tests/result_tutorial/112/03_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/112/04_ro.json b/tests/result_tutorial/112/04_ro.json new file mode 100644 index 0000000..bbf9a1d --- /dev/null +++ b/tests/result_tutorial/112/04_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/112/04_rw.json b/tests/result_tutorial/112/04_rw.json new file mode 100644 index 0000000..59815c5 --- /dev/null +++ b/tests/result_tutorial/112/04_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/112/errors_01.json b/tests/result_tutorial/112/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/112/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/112/errors_02.json b/tests/result_tutorial/112/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/112/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/112/errors_03.json b/tests/result_tutorial/112/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/112/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/112/errors_04.json b/tests/result_tutorial/112/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/112/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/120/01_ro.json b/tests/result_tutorial/120/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/120/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/120/01_rw.json b/tests/result_tutorial/120/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/120/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/120/02_ro.json b/tests/result_tutorial/120/02_ro.json new file mode 100644 index 0000000..f7aa181 --- /dev/null +++ b/tests/result_tutorial/120/02_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/120/02_rw.json b/tests/result_tutorial/120/02_rw.json new file mode 100644 index 0000000..cbc5386 --- /dev/null +++ b/tests/result_tutorial/120/02_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/120/03_ro.json b/tests/result_tutorial/120/03_ro.json new file mode 100644 index 0000000..b06d469 --- /dev/null +++ b/tests/result_tutorial/120/03_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/120/03_rw.json b/tests/result_tutorial/120/03_rw.json new file mode 100644 index 0000000..dd9aa5c --- /dev/null +++ b/tests/result_tutorial/120/03_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/120/04_ro.json b/tests/result_tutorial/120/04_ro.json new file mode 100644 index 0000000..bbf9a1d --- /dev/null +++ b/tests/result_tutorial/120/04_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/120/04_rw.json b/tests/result_tutorial/120/04_rw.json new file mode 100644 index 0000000..59815c5 --- /dev/null +++ b/tests/result_tutorial/120/04_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/120/errors_01.json b/tests/result_tutorial/120/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/120/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/120/errors_02.json b/tests/result_tutorial/120/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/120/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/120/errors_03.json b/tests/result_tutorial/120/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/120/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/120/errors_04.json b/tests/result_tutorial/120/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/120/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/130/01_ro.json b/tests/result_tutorial/130/01_ro.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/130/01_ro.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/130/01_rw.json b/tests/result_tutorial/130/01_rw.json new file mode 100644 index 0000000..5bb5e67 --- /dev/null +++ b/tests/result_tutorial/130/01_rw.json @@ -0,0 +1,3 @@ +{ + "proxy_mode": "No proxy" +} \ No newline at end of file diff --git a/tests/result_tutorial/130/02_ro.json b/tests/result_tutorial/130/02_ro.json new file mode 100644 index 0000000..f7aa181 --- /dev/null +++ b/tests/result_tutorial/130/02_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/130/02_rw.json b/tests/result_tutorial/130/02_rw.json new file mode 100644 index 0000000..cbc5386 --- /dev/null +++ b/tests/result_tutorial/130/02_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": false +} \ No newline at end of file diff --git a/tests/result_tutorial/130/03_ro.json b/tests/result_tutorial/130/03_ro.json new file mode 100644 index 0000000..b06d469 --- /dev/null +++ b/tests/result_tutorial/130/03_ro.json @@ -0,0 +1,14 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/130/03_rw.json b/tests/result_tutorial/130/03_rw.json new file mode 100644 index 0000000..dd9aa5c --- /dev/null +++ b/tests/result_tutorial/130/03_rw.json @@ -0,0 +1,12 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v5", + "no_proxy": [], + "prompt_authentication": true, + "proxy_dns_socks5": true +} \ No newline at end of file diff --git a/tests/result_tutorial/130/04_ro.json b/tests/result_tutorial/130/04_ro.json new file mode 100644 index 0000000..bbf9a1d --- /dev/null +++ b/tests/result_tutorial/130/04_ro.json @@ -0,0 +1,13 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.https_proxy.address": "http.proxy.net", + "manual.https_proxy.port": "8080", + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/130/04_rw.json b/tests/result_tutorial/130/04_rw.json new file mode 100644 index 0000000..59815c5 --- /dev/null +++ b/tests/result_tutorial/130/04_rw.json @@ -0,0 +1,11 @@ +{ + "proxy_mode": "Manual proxy configuration", + "manual.http_proxy.address": "http.proxy.net", + "manual.http_proxy.port": "8080", + "manual.use_for_https": true, + "manual.socks_proxy.address": "http.proxy.net", + "manual.socks_proxy.port": "8080", + "manual.socks_proxy.version": "v4", + "no_proxy": [], + "prompt_authentication": true +} \ No newline at end of file diff --git a/tests/result_tutorial/130/errors_01.json b/tests/result_tutorial/130/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/130/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/130/errors_02.json b/tests/result_tutorial/130/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/130/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/130/errors_03.json b/tests/result_tutorial/130/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/130/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/130/errors_04.json b/tests/result_tutorial/130/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/130/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/140/01_ro.json b/tests/result_tutorial/140/01_ro.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/140/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/140/01_rw.json b/tests/result_tutorial/140/01_rw.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/140/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/140/errors_01.json b/tests/result_tutorial/140/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/140/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/141/01_ro.json b/tests/result_tutorial/141/01_ro.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/141/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/141/01_rw.json b/tests/result_tutorial/141/01_rw.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/141/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/141/02_ro.json b/tests/result_tutorial/141/02_ro.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/141/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/141/02_rw.json b/tests/result_tutorial/141/02_rw.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/141/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/141/errors_01.json b/tests/result_tutorial/141/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/141/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/141/errors_02.json b/tests/result_tutorial/141/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/141/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/142/01_ro.json b/tests/result_tutorial/142/01_ro.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/142/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/142/01_rw.json b/tests/result_tutorial/142/01_rw.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/142/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/142/02_ro.json b/tests/result_tutorial/142/02_ro.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/142/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/02_rw.json b/tests/result_tutorial/142/02_rw.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/142/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/03_ro.json b/tests/result_tutorial/142/03_ro.json new file mode 100644 index 0000000..7298de9 --- /dev/null +++ b/tests/result_tutorial/142/03_ro.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "http://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/03_rw.json b/tests/result_tutorial/142/03_rw.json new file mode 100644 index 0000000..7298de9 --- /dev/null +++ b/tests/result_tutorial/142/03_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "http://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/04_ro.json b/tests/result_tutorial/142/04_ro.json new file mode 100644 index 0000000..0d51fba --- /dev/null +++ b/tests/result_tutorial/142/04_ro.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "https://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/04_rw.json b/tests/result_tutorial/142/04_rw.json new file mode 100644 index 0000000..0d51fba --- /dev/null +++ b/tests/result_tutorial/142/04_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "https://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/142/errors_01.json b/tests/result_tutorial/142/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/142/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/142/errors_02.json b/tests/result_tutorial/142/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/142/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/142/errors_03.json b/tests/result_tutorial/142/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/142/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/142/errors_04.json b/tests/result_tutorial/142/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/142/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/150/01_ro.json b/tests/result_tutorial/150/01_ro.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/150/01_ro.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/150/01_rw.json b/tests/result_tutorial/150/01_rw.json new file mode 100644 index 0000000..98f3d7c --- /dev/null +++ b/tests/result_tutorial/150/01_rw.json @@ -0,0 +1,4 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/150/02_ro.json b/tests/result_tutorial/150/02_ro.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/150/02_ro.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/150/02_rw.json b/tests/result_tutorial/150/02_rw.json new file mode 100644 index 0000000..c8e81d7 --- /dev/null +++ b/tests/result_tutorial/150/02_rw.json @@ -0,0 +1,5 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/150/03_ro.json b/tests/result_tutorial/150/03_ro.json new file mode 100644 index 0000000..b889118 --- /dev/null +++ b/tests/result_tutorial/150/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "dns_over_https.custom_dns_url", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/150/03_rw.json b/tests/result_tutorial/150/03_rw.json new file mode 100644 index 0000000..b889118 --- /dev/null +++ b/tests/result_tutorial/150/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "dns_over_https.custom_dns_url", + null + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/150/04_ro.json b/tests/result_tutorial/150/04_ro.json new file mode 100644 index 0000000..0d51fba --- /dev/null +++ b/tests/result_tutorial/150/04_ro.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "https://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/150/04_rw.json b/tests/result_tutorial/150/04_rw.json new file mode 100644 index 0000000..0d51fba --- /dev/null +++ b/tests/result_tutorial/150/04_rw.json @@ -0,0 +1,6 @@ +{ + "proxy_mode": "No proxy", + "dns_over_https.enable_dns_over_https": true, + "dns_over_https.provider": "Custom", + "dns_over_https.custom_dns_url": "https://dns.net" +} \ No newline at end of file diff --git a/tests/result_tutorial/150/errors_01.json b/tests/result_tutorial/150/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/150/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/150/errors_02.json b/tests/result_tutorial/150/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/150/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/150/errors_03.json b/tests/result_tutorial/150/errors_03.json new file mode 100644 index 0000000..4c65030 --- /dev/null +++ b/tests/result_tutorial/150/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "the value \"http://dns.net\" is an invalid URL, must starts with 'https://' only, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/150/config/03/config.yml\"", + "dns_over_https.custom_dns_url", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/150/errors_04.json b/tests/result_tutorial/150/errors_04.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/150/errors_04.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/160/01_ro.json b/tests/result_tutorial/160/01_ro.json new file mode 100644 index 0000000..be21665 --- /dev/null +++ b/tests/result_tutorial/160/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": true, + "firefox.dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/160/01_rw.json b/tests/result_tutorial/160/01_rw.json new file mode 100644 index 0000000..be21665 --- /dev/null +++ b/tests/result_tutorial/160/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": true, + "firefox.dns_over_https.provider": "Cloudflare" +} \ No newline at end of file diff --git a/tests/result_tutorial/160/errors_01.json b/tests/result_tutorial/160/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/160/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/161/01_ro.json b/tests/result_tutorial/161/01_ro.json new file mode 100644 index 0000000..7dc682d --- /dev/null +++ b/tests/result_tutorial/161/01_ro.json @@ -0,0 +1,4 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/161/01_rw.json b/tests/result_tutorial/161/01_rw.json new file mode 100644 index 0000000..7dc682d --- /dev/null +++ b/tests/result_tutorial/161/01_rw.json @@ -0,0 +1,4 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false +} \ No newline at end of file diff --git a/tests/result_tutorial/161/errors_01.json b/tests/result_tutorial/161/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/161/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/01_ro.json b/tests/result_tutorial/170/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/170/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/01_rw.json b/tests/result_tutorial/170/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/170/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/02_ro.json b/tests/result_tutorial/170/02_ro.json new file mode 100644 index 0000000..f72749e --- /dev/null +++ b/tests/result_tutorial/170/02_ro.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/02_rw.json b/tests/result_tutorial/170/02_rw.json new file mode 100644 index 0000000..f72749e --- /dev/null +++ b/tests/result_tutorial/170/02_rw.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/errors_01.json b/tests/result_tutorial/170/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/170/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/170/errors_02.json b/tests/result_tutorial/170/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/170/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/01_ro.json b/tests/result_tutorial/180/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/180/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/01_rw.json b/tests/result_tutorial/180/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/180/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/02_ro.json b/tests/result_tutorial/180/02_ro.json new file mode 100644 index 0000000..f72749e --- /dev/null +++ b/tests/result_tutorial/180/02_ro.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/02_rw.json b/tests/result_tutorial/180/02_rw.json new file mode 100644 index 0000000..f72749e --- /dev/null +++ b/tests/result_tutorial/180/02_rw.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/errors_01.json b/tests/result_tutorial/180/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/180/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/180/errors_02.json b/tests/result_tutorial/180/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/180/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/01_ro.json b/tests/result_tutorial/181/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/181/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/01_rw.json b/tests/result_tutorial/181/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/181/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/02_ro.json b/tests/result_tutorial/181/02_ro.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/181/02_ro.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/02_rw.json b/tests/result_tutorial/181/02_rw.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/181/02_rw.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/03_ro.json b/tests/result_tutorial/181/03_ro.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/181/03_ro.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/03_rw.json b/tests/result_tutorial/181/03_rw.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/181/03_rw.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/errors_01.json b/tests/result_tutorial/181/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/181/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/errors_02.json b/tests/result_tutorial/181/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/181/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/181/errors_03.json b/tests/result_tutorial/181/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/181/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/01_ro.json b/tests/result_tutorial/182/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/182/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/01_rw.json b/tests/result_tutorial/182/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/182/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/02_ro.json b/tests/result_tutorial/182/02_ro.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/182/02_ro.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/02_rw.json b/tests/result_tutorial/182/02_rw.json new file mode 100644 index 0000000..20246c3 --- /dev/null +++ b/tests/result_tutorial/182/02_rw.json @@ -0,0 +1,10 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.color": "#9b3677" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/errors_01.json b/tests/result_tutorial/182/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/182/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/182/errors_02.json b/tests/result_tutorial/182/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/182/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/01_ro.json b/tests/result_tutorial/190/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/190/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/01_rw.json b/tests/result_tutorial/190/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/190/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/02_ro.json b/tests/result_tutorial/190/02_ro.json new file mode 100644 index 0000000..26ccf89 --- /dev/null +++ b/tests/result_tutorial/190/02_ro.json @@ -0,0 +1,11 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/02_rw.json b/tests/result_tutorial/190/02_rw.json new file mode 100644 index 0000000..26ccf89 --- /dev/null +++ b/tests/result_tutorial/190/02_rw.json @@ -0,0 +1,11 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/03_ro.json b/tests/result_tutorial/190/03_ro.json new file mode 100644 index 0000000..6325e7c --- /dev/null +++ b/tests/result_tutorial/190/03_ro.json @@ -0,0 +1,32 @@ +{ + "firefox.proxy_mode": "Manual proxy configuration", + "firefox.manual.http_proxy.address": "http.proxy.net", + "firefox.manual.http_proxy.port": "8080", + "firefox.manual.use_for_https": true, + "firefox.manual.https_proxy.address": "http.proxy.net", + "firefox.manual.https_proxy.port": "8080", + "firefox.manual.socks_proxy.address": "http.proxy.net", + "firefox.manual.socks_proxy.port": "8080", + "firefox.manual.socks_proxy.version": "v5", + "firefox.no_proxy": [], + "firefox.prompt_authentication": true, + "firefox.proxy_dns_socks5": false, + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "SOCKS5", + "foxyproxy.proxies.color": "#cc66cc" + }, + { + "foxyproxy.proxies.title": "WPAD", + "foxyproxy.proxies.type": "WPAD", + "foxyproxy.proxies.color": "#1166cc" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/03_rw.json b/tests/result_tutorial/190/03_rw.json new file mode 100644 index 0000000..ffe6b2e --- /dev/null +++ b/tests/result_tutorial/190/03_rw.json @@ -0,0 +1,30 @@ +{ + "firefox.proxy_mode": "Manual proxy configuration", + "firefox.manual.http_proxy.address": "http.proxy.net", + "firefox.manual.http_proxy.port": "8080", + "firefox.manual.use_for_https": true, + "firefox.manual.socks_proxy.address": "http.proxy.net", + "firefox.manual.socks_proxy.port": "8080", + "firefox.manual.socks_proxy.version": "v5", + "firefox.no_proxy": [], + "firefox.prompt_authentication": true, + "firefox.proxy_dns_socks5": false, + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "SOCKS5", + "foxyproxy.proxies.color": "#cc66cc" + }, + { + "foxyproxy.proxies.title": "WPAD", + "foxyproxy.proxies.type": "WPAD", + "foxyproxy.proxies.color": "#1166cc" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/errors_01.json b/tests/result_tutorial/190/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/190/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/errors_02.json b/tests/result_tutorial/190/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/190/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/190/errors_03.json b/tests/result_tutorial/190/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/190/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/01_ro.json b/tests/result_tutorial/200/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/200/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/01_rw.json b/tests/result_tutorial/200/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/200/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/02_ro.json b/tests/result_tutorial/200/02_ro.json new file mode 100644 index 0000000..fac888a --- /dev/null +++ b/tests/result_tutorial/200/02_ro.json @@ -0,0 +1,13 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/02_rw.json b/tests/result_tutorial/200/02_rw.json new file mode 100644 index 0000000..fac888a --- /dev/null +++ b/tests/result_tutorial/200/02_rw.json @@ -0,0 +1,13 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/03_ro.json b/tests/result_tutorial/200/03_ro.json new file mode 100644 index 0000000..06fa1be --- /dev/null +++ b/tests/result_tutorial/200/03_ro.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "Manual proxy configuration", + "firefox.manual.http_proxy.address": "http.proxy.net", + "firefox.manual.http_proxy.port": "3128", + "firefox.manual.use_for_https": false, + "firefox.manual.https_proxy.address": "https.proxy.net", + "firefox.manual.https_proxy.port": "3128", + "firefox.manual.socks_proxy.address": "http.proxy.net", + "firefox.manual.socks_proxy.port": "3128", + "firefox.manual.socks_proxy.version": "v5", + "firefox.no_proxy": [], + "firefox.prompt_authentication": true, + "firefox.proxy_dns_socks5": false, + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "http.proxy.net", + "foxyproxy.proxies.port": "3128" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/03_rw.json b/tests/result_tutorial/200/03_rw.json new file mode 100644 index 0000000..06fa1be --- /dev/null +++ b/tests/result_tutorial/200/03_rw.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "Manual proxy configuration", + "firefox.manual.http_proxy.address": "http.proxy.net", + "firefox.manual.http_proxy.port": "3128", + "firefox.manual.use_for_https": false, + "firefox.manual.https_proxy.address": "https.proxy.net", + "firefox.manual.https_proxy.port": "3128", + "firefox.manual.socks_proxy.address": "http.proxy.net", + "firefox.manual.socks_proxy.port": "3128", + "firefox.manual.socks_proxy.version": "v5", + "firefox.no_proxy": [], + "firefox.prompt_authentication": true, + "firefox.proxy_dns_socks5": false, + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "http.proxy.net", + "foxyproxy.proxies.port": "3128" + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/errors_01.json b/tests/result_tutorial/200/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/200/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/errors_02.json b/tests/result_tutorial/200/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/200/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/200/errors_03.json b/tests/result_tutorial/200/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/200/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/01_ro.json b/tests/result_tutorial/210/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/210/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/01_rw.json b/tests/result_tutorial/210/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/210/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/02_ro.json b/tests/result_tutorial/210/02_ro.json new file mode 100644 index 0000000..f1c5cae --- /dev/null +++ b/tests/result_tutorial/210/02_ro.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": "one_user", + "foxyproxy.proxies.password": "P4ssW0rD" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null, + "foxyproxy.proxies.password": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/02_rw.json b/tests/result_tutorial/210/02_rw.json new file mode 100644 index 0000000..f1c5cae --- /dev/null +++ b/tests/result_tutorial/210/02_rw.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": "one_user", + "foxyproxy.proxies.password": "P4ssW0rD" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null, + "foxyproxy.proxies.password": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/03_ro.json b/tests/result_tutorial/210/03_ro.json new file mode 100644 index 0000000..12d7958 --- /dev/null +++ b/tests/result_tutorial/210/03_ro.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable at index \"0\" but has no value", + "foxyproxy.proxies.username", + 0 + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/210/03_rw.json b/tests/result_tutorial/210/03_rw.json new file mode 100644 index 0000000..66cb287 --- /dev/null +++ b/tests/result_tutorial/210/03_rw.json @@ -0,0 +1,9 @@ +[ + [ + [ + "mandatory variable but has no value", + "foxyproxy.proxies.username", + 0 + ] + ] +] \ No newline at end of file diff --git a/tests/result_tutorial/210/errors_01.json b/tests/result_tutorial/210/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/210/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/errors_02.json b/tests/result_tutorial/210/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/210/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/210/errors_03.json b/tests/result_tutorial/210/errors_03.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/210/errors_03.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/01_ro.json b/tests/result_tutorial/211/01_ro.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/211/01_ro.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/01_rw.json b/tests/result_tutorial/211/01_rw.json new file mode 100644 index 0000000..6aa96af --- /dev/null +++ b/tests/result_tutorial/211/01_rw.json @@ -0,0 +1,5 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/02_ro.json b/tests/result_tutorial/211/02_ro.json new file mode 100644 index 0000000..f1c5cae --- /dev/null +++ b/tests/result_tutorial/211/02_ro.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": "one_user", + "foxyproxy.proxies.password": "P4ssW0rD" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null, + "foxyproxy.proxies.password": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/02_rw.json b/tests/result_tutorial/211/02_rw.json new file mode 100644 index 0000000..ee9c530 --- /dev/null +++ b/tests/result_tutorial/211/02_rw.json @@ -0,0 +1,23 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": "one_user", + "foxyproxy.proxies.password": "P4ssW0rD" + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/03_ro.json b/tests/result_tutorial/211/03_ro.json new file mode 100644 index 0000000..12c95a9 --- /dev/null +++ b/tests/result_tutorial/211/03_ro.json @@ -0,0 +1,24 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null, + "foxyproxy.proxies.password": null + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null, + "foxyproxy.proxies.password": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/03_rw.json b/tests/result_tutorial/211/03_rw.json new file mode 100644 index 0000000..a9e6cf5 --- /dev/null +++ b/tests/result_tutorial/211/03_rw.json @@ -0,0 +1,22 @@ +{ + "firefox.proxy_mode": "No proxy", + "firefox.dns_over_https.enable_dns_over_https": false, + "foxyproxy.proxies.title": [ + { + "foxyproxy.proxies.title": "My company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#66cc66", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null + }, + { + "foxyproxy.proxies.title": "An other company", + "foxyproxy.proxies.type": "HTTP", + "foxyproxy.proxies.color": "#9b3677", + "foxyproxy.proxies.address": "proxy.company.net", + "foxyproxy.proxies.port": "8080", + "foxyproxy.proxies.username": null + } + ] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/errors_01.json b/tests/result_tutorial/211/errors_01.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/211/errors_01.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/errors_02.json b/tests/result_tutorial/211/errors_02.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/result_tutorial/211/errors_02.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/result_tutorial/211/errors_03.json b/tests/result_tutorial/211/errors_03.json new file mode 100644 index 0000000..7def961 --- /dev/null +++ b/tests/result_tutorial/211/errors_03.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable \"password\" (Password) at index \"0\" is hidden, it will be ignored when loading from the YAML file \"../rougail-tutorials_builder/examples/211/config/03/config.yml\"", + "foxyproxy.proxies.password", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/00_2default_calculated_params_permissive/errors/all.json b/tests/results/00_2default_calculated_params_permissive/errors/all.json index 6bc4090..fb53b8d 100644 --- a/tests/results/00_2default_calculated_params_permissive/errors/all.json +++ b/tests/results/00_2default_calculated_params_permissive/errors/all.json @@ -3,28 +3,14 @@ "warnings": [ [ [ - "family \"leadership\" has property hidden, so cannot access to \"var1\" (a first variable), it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", + "cannot modify the option \"var1\" (a first variable) because is frozen, it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", "rougail.leadership.var1", null ] ], [ [ - "variable \"var2\" (a first variable) at index \"0\" is hidden, it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", - "rougail.leadership.var2", - null - ] - ], - [ - [ - "variable \"var2\" (a first variable) at index \"1\" is hidden, it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", - "rougail.leadership.var2", - null - ] - ], - [ - [ - "variable \"var2\" (a first variable) at index \"2\" is hidden, it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", + "cannot modify the option \"var2\" (a first variable) at index \"0\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/00_2default_calculated_params_permissive/file/all.yml\"", "rougail.leadership.var2", null ] diff --git a/tests/results/01_6string_empty/file/mandatories.yml b/tests/results/01_6string_empty/file/mandatories.yml index ff85a94..9e26dfe 100644 --- a/tests/results/01_6string_empty/file/mandatories.yml +++ b/tests/results/01_6string_empty/file/mandatories.yml @@ -1,9 +1 @@ -{ - "rougail": { - "var1": [ - "string1", - "string2", - "string3" - ] - } -} \ No newline at end of file +{} \ No newline at end of file diff --git a/tests/results/01_6string_empty/makedict/mandatories.json b/tests/results/01_6string_empty/makedict/mandatories.json index 51da877..8b54505 100644 --- a/tests/results/01_6string_empty/makedict/mandatories.json +++ b/tests/results/01_6string_empty/makedict/mandatories.json @@ -1,7 +1,6 @@ { "rougail.var1": [ - "string1", - "string2", - "string3" + "value", + null ] } diff --git a/tests/results/04_1jinja_and_hidden/errors/all.json b/tests/results/04_1jinja_and_hidden/errors/all.json new file mode 100644 index 0000000..6ff0cc3 --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property hidden, it will be ignored when loading from the YAML file \"tests/results/04_1jinja_and_hidden/file/all.yml\"", + "rougail.var1", + null + ] + ], + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_1jinja_and_hidden/file/all.yml\"", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_1jinja_and_hidden/errors/mandatories.json b/tests/results/04_1jinja_and_hidden/errors/mandatories.json new file mode 100644 index 0000000..9abba03 --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_1jinja_and_hidden/file/mandatories.yml\"", + "rougail.var2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_1jinja_and_hidden/file/all.yml b/tests/results/04_1jinja_and_hidden/file/all.yml new file mode 100644 index 0000000..3719f64 --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/file/all.yml @@ -0,0 +1,6 @@ +{ + "rougail": { + "var1": true, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_1jinja_and_hidden/file/all_exclude.yml b/tests/results/04_1jinja_and_hidden/file/all_exclude.yml new file mode 100644 index 0000000..3719f64 --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/file/all_exclude.yml @@ -0,0 +1,6 @@ +{ + "rougail": { + "var1": true, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_1jinja_and_hidden/file/mandatories.yml b/tests/results/04_1jinja_and_hidden/file/mandatories.yml new file mode 100644 index 0000000..4d51b74 --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_1jinja_and_hidden/makedict/all.json b/tests/results/04_1jinja_and_hidden/makedict/all.json new file mode 100644 index 0000000..2460cca --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.var1": true +} diff --git a/tests/results/04_1jinja_and_hidden/makedict/mandatories.json b/tests/results/04_1jinja_and_hidden/makedict/mandatories.json new file mode 100644 index 0000000..2460cca --- /dev/null +++ b/tests/results/04_1jinja_and_hidden/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.var1": true +} diff --git a/tests/results/04_5disabled_calculation_variable_transitive/errors/all.json b/tests/results/04_5disabled_calculation_variable_transitive/errors/all.json new file mode 100644 index 0000000..f629cd3 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive/file/all.yml\"", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive/file/all.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive/errors/mandatories.json new file mode 100644 index 0000000..259aaa8 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/errors/mandatories.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive/file/mandatories.yml\"", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive/file/mandatories.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive/file/all.yml b/tests/results/04_5disabled_calculation_variable_transitive/file/all.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/file/all.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive/file/all_exclude.yml b/tests/results/04_5disabled_calculation_variable_transitive/file/all_exclude.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/file/all_exclude.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive/file/mandatories.yml b/tests/results/04_5disabled_calculation_variable_transitive/file/mandatories.yml new file mode 100644 index 0000000..02876f6 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/file/mandatories.yml @@ -0,0 +1,6 @@ +{ + "rougail": { + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive/makedict/all.json b/tests/results/04_5disabled_calculation_variable_transitive/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/04_5disabled_calculation_variable_transitive/makedict/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive/makedict/mandatories.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/04_5disabled_calculation_variable11/errors/all.json b/tests/results/04_5disabled_calculation_variable_transitive_2/errors/all.json similarity index 83% rename from tests/results/04_5disabled_calculation_variable11/errors/all.json rename to tests/results/04_5disabled_calculation_variable_transitive_2/errors/all.json index adda294..55e770b 100644 --- a/tests/results/04_5disabled_calculation_variable11/errors/all.json +++ b/tests/results/04_5disabled_calculation_variable_transitive_2/errors/all.json @@ -3,14 +3,14 @@ "warnings": [ [ [ - "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable11/file/all.yml\"", + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_2/file/all.yml\"", "rougail.condition", null ] ], [ [ - "family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable11/file/all.yml\"", + "family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_2/file/all.yml\"", "rougail.variable", null ] diff --git a/tests/results/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json new file mode 100644 index 0000000..61dbd59 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_2/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "family \"condition\" (a condition) has property disabled, so cannot access to \"variable\" (a variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_2/file/mandatories.yml\"", + "rougail.variable", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable11/file/all.yml b/tests/results/04_5disabled_calculation_variable_transitive_2/file/all.yml similarity index 100% rename from tests/results/04_5disabled_calculation_variable11/file/all.yml rename to tests/results/04_5disabled_calculation_variable_transitive_2/file/all.yml diff --git a/tests/results/04_5disabled_calculation_variable_transitive_2/file/all_exclude.yml b/tests/results/04_5disabled_calculation_variable_transitive_2/file/all_exclude.yml new file mode 100644 index 0000000..6a9b455 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_2/file/all_exclude.yml @@ -0,0 +1,6 @@ +{ + "rougail": { + "condition": true, + "variable": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_2/file/mandatories.yml b/tests/results/04_5disabled_calculation_variable_transitive_2/file/mandatories.yml new file mode 100644 index 0000000..2552665 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_2/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "variable": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable11/makedict/all.json b/tests/results/04_5disabled_calculation_variable_transitive_2/makedict/all.json similarity index 100% rename from tests/results/04_5disabled_calculation_variable11/makedict/all.json rename to tests/results/04_5disabled_calculation_variable_transitive_2/makedict/all.json diff --git a/tests/results/04_5disabled_calculation_variable11/makedict/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json similarity index 100% rename from tests/results/04_5disabled_calculation_variable11/makedict/mandatories.json rename to tests/results/04_5disabled_calculation_variable_transitive_2/makedict/mandatories.json diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/errors/all.json b/tests/results/04_5disabled_calculation_variable_transitive_3/errors/all.json new file mode 100644 index 0000000..7203021 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_3/file/all.yml\"", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_3/file/all.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json new file mode 100644 index 0000000..fffdc21 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_3/file/mandatories.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/file/all.yml b/tests/results/04_5disabled_calculation_variable_transitive_3/file/all.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/file/all.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/file/all_exclude.yml b/tests/results/04_5disabled_calculation_variable_transitive_3/file/all_exclude.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/file/all_exclude.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/file/mandatories.yml b/tests/results/04_5disabled_calculation_variable_transitive_3/file/mandatories.yml new file mode 100644 index 0000000..af05c47 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/all.json b/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json new file mode 100644 index 0000000..df8cfb1 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_3/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.condition": false, + "rougail.variable1": "disabled" +} diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/errors/all.json b/tests/results/04_5disabled_calculation_variable_transitive_4/errors/all.json new file mode 100644 index 0000000..86b5af2 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_4/file/all.yml\"", + "rougail.variable1", + null + ] + ], + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_4/file/all.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json new file mode 100644 index 0000000..b4f9777 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/errors/mandatories.json @@ -0,0 +1,12 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "family \"variable1\" (a variable) has property disabled, so cannot access to \"variable2\" (a second variable), it will be ignored when loading from the YAML file \"tests/results/04_5disabled_calculation_variable_transitive_4/file/mandatories.yml\"", + "rougail.variable2", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/file/all.yml b/tests/results/04_5disabled_calculation_variable_transitive_4/file/all.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/file/all.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/file/all_exclude.yml b/tests/results/04_5disabled_calculation_variable_transitive_4/file/all_exclude.yml new file mode 100644 index 0000000..714f9cd --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/file/all_exclude.yml @@ -0,0 +1,7 @@ +{ + "rougail": { + "condition": true, + "variable1": "string1", + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/file/mandatories.yml b/tests/results/04_5disabled_calculation_variable_transitive_4/file/mandatories.yml new file mode 100644 index 0000000..af05c47 --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "variable2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/all.json b/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/all.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/all.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json b/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json new file mode 100644 index 0000000..18b52fa --- /dev/null +++ b/tests/results/04_5disabled_calculation_variable_transitive_4/makedict/mandatories.json @@ -0,0 +1,3 @@ +{ + "rougail.condition": true +} diff --git a/tests/results/16_2family_redefine_calculation/errors/all.json b/tests/results/16_2family_redefine_calculation/errors/all.json index 1f95968..217db0a 100644 --- a/tests/results/16_2family_redefine_calculation/errors/all.json +++ b/tests/results/16_2family_redefine_calculation/errors/all.json @@ -1,12 +1,4 @@ { "errors": [], - "warnings": [ - [ - [ - "family \"family\" has property disabled, so cannot access to \"var1\", it will be ignored when loading from the YAML file \"tests/results/16_2family_redefine_calculation/file/all.yml\"", - "rougail.family.var1", - null - ] - ] - ] + "warnings": [] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_calculation/errors/mandatories.json b/tests/results/16_2family_redefine_calculation/errors/mandatories.json index 0a1dbe6..217db0a 100644 --- a/tests/results/16_2family_redefine_calculation/errors/mandatories.json +++ b/tests/results/16_2family_redefine_calculation/errors/mandatories.json @@ -1,12 +1,4 @@ { "errors": [], - "warnings": [ - [ - [ - "family \"family\" has property disabled, so cannot access to \"var1\", it will be ignored when loading from the YAML file \"tests/results/16_2family_redefine_calculation/file/mandatories.yml\"", - "rougail.family.var1", - null - ] - ] - ] + "warnings": [] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_disabled/errors/all.json b/tests/results/16_2family_redefine_disabled/errors/all.json index 797ce7d..217db0a 100644 --- a/tests/results/16_2family_redefine_disabled/errors/all.json +++ b/tests/results/16_2family_redefine_disabled/errors/all.json @@ -1,12 +1,4 @@ { "errors": [], - "warnings": [ - [ - [ - "family \"family\" has property disabled, so cannot access to \"var1\", it will be ignored when loading from the YAML file \"tests/results/16_2family_redefine_disabled/file/all.yml\"", - "rougail.family.var1", - null - ] - ] - ] + "warnings": [] } \ No newline at end of file diff --git a/tests/results/16_2family_redefine_disabled/errors/mandatories.json b/tests/results/16_2family_redefine_disabled/errors/mandatories.json index 5e9afaa..217db0a 100644 --- a/tests/results/16_2family_redefine_disabled/errors/mandatories.json +++ b/tests/results/16_2family_redefine_disabled/errors/mandatories.json @@ -1,12 +1,4 @@ { "errors": [], - "warnings": [ - [ - [ - "family \"family\" has property disabled, so cannot access to \"var1\", it will be ignored when loading from the YAML file \"tests/results/16_2family_redefine_disabled/file/mandatories.yml\"", - "rougail.family.var1", - null - ] - ] - ] + "warnings": [] } \ No newline at end of file diff --git a/tests/results/17_5redefine_leadership/errors/all.json b/tests/results/17_5redefine_leadership/errors/all.json index 2f094c2..6024269 100644 --- a/tests/results/17_5redefine_leadership/errors/all.json +++ b/tests/results/17_5redefine_leadership/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"leader\" (a leadership) has property hidden, so cannot access to \"leader\" (a leader), it will be ignored when loading from the YAML file \"tests/results/17_5redefine_leadership/file/all.yml\"", + "cannot modify the option \"leader\" (a leader) because is frozen, it will be ignored when loading from the YAML file \"tests/results/17_5redefine_leadership/file/all.yml\"", "rougail.leader.leader", null ] diff --git a/tests/results/20_0family_underscore/errors/all.json b/tests/results/20_0family_underscore/errors/all.json index d55f77b..022d291 100644 --- a/tests/results/20_0family_underscore/errors/all.json +++ b/tests/results/20_0family_underscore/errors/all.json @@ -3,42 +3,42 @@ "warnings": [ [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.type.my_variable", null ] ], [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.description.my_variable", null ] ], [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.help.my_variable", null ] ], [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.mode.my_variable", null ] ], [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.hidden.my_variable", null ] ], [ [ - "family \"my_family\" (This is a great family) has property disabled and hidden, so cannot access to \"my_variable\", it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", + "cannot modify the option \"my_variable\" because is frozen, it will be ignored when loading from the YAML file \"tests/results/20_0family_underscore/file/all.yml\"", "rougail.my_family.disabled.my_variable", null ] diff --git a/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json b/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json index 4c544fd..44b6df3 100644 --- a/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json +++ b/tests/results/24_0family_hidden_condition_variable_sub_family/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"family\" (possibly hidden family) has property hidden, so cannot access to \"var1\" (a variable), it will be ignored when loading from the YAML file \"tests/results/24_0family_hidden_condition_variable_sub_family/file/all.yml\"", + "cannot modify the option \"var1\" (a variable) because is frozen, it will be ignored when loading from the YAML file \"tests/results/24_0family_hidden_condition_variable_sub_family/file/all.yml\"", "rougail.family.subfamily.var1", null ] diff --git a/tests/results/24_family_disabled_var_hidden/errors/all.json b/tests/results/24_family_disabled_var_hidden/errors/all.json index e818bd1..2782d4c 100644 --- a/tests/results/24_family_disabled_var_hidden/errors/all.json +++ b/tests/results/24_family_disabled_var_hidden/errors/all.json @@ -3,14 +3,7 @@ "warnings": [ [ [ - "family \"family\" has property disabled, so cannot access to \"var1\" (A description), it will be ignored when loading from the YAML file \"tests/results/24_family_disabled_var_hidden/file/all.yml\"", - "rougail.family.var1", - null - ] - ], - [ - [ - "family \"family\" has property disabled, so cannot access to \"var2\" (A description), it will be ignored when loading from the YAML file \"tests/results/24_family_disabled_var_hidden/file/all.yml\"", + "unable to carry out a calculation for \"var2\" (A description), cannot access to optiondescription \"family\" because has property \"disabled\" in \"/home/gnunux/git/stove/rougail-tests/structures/24_family_disabled_var_hidden/rougail/00-base.yml\", it will be ignored when loading from the YAML file \"tests/results/24_family_disabled_var_hidden/file/all.yml\"", "rougail.family.var2", null ] diff --git a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json index 8ffc4c7..09fae50 100644 --- a/tests/results/24_family_disabled_var_hidden/errors/mandatories.json +++ b/tests/results/24_family_disabled_var_hidden/errors/mandatories.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"family\" has property disabled, so cannot access to \"var2\" (A description), it will be ignored when loading from the YAML file \"tests/results/24_family_disabled_var_hidden/file/mandatories.yml\"", + "unable to carry out a calculation for \"var2\" (A description), cannot access to optiondescription \"family\" because has property \"disabled\" in \"/home/gnunux/git/stove/rougail-tests/structures/24_family_disabled_var_hidden/rougail/00-base.yml\", it will be ignored when loading from the YAML file \"tests/results/24_family_disabled_var_hidden/file/mandatories.yml\"", "rougail.family.var2", null ] diff --git a/tests/results/40_0leadership_reduce/file/all.yml b/tests/results/40_0leadership_reduce/file/all.yml index baaf007..9daa68e 100644 --- a/tests/results/40_0leadership_reduce/file/all.yml +++ b/tests/results/40_0leadership_reduce/file/all.yml @@ -2,12 +2,16 @@ "rougail": { "leadership": [ { - "leader": "val1", + "leader": "string1", "follower": "string1" }, { - "leader": "val2", + "leader": "string2", "follower": "string2" + }, + { + "leader": "string3", + "follower": "string3" } ] } diff --git a/tests/results/40_0leadership_reduce/file/all_exclude.yml b/tests/results/40_0leadership_reduce/file/all_exclude.yml index baaf007..9daa68e 100644 --- a/tests/results/40_0leadership_reduce/file/all_exclude.yml +++ b/tests/results/40_0leadership_reduce/file/all_exclude.yml @@ -2,12 +2,16 @@ "rougail": { "leadership": [ { - "leader": "val1", + "leader": "string1", "follower": "string1" }, { - "leader": "val2", + "leader": "string2", "follower": "string2" + }, + { + "leader": "string3", + "follower": "string3" } ] } diff --git a/tests/results/40_0leadership_reduce/makedict/all.json b/tests/results/40_0leadership_reduce/makedict/all.json index 4677a61..117f429 100644 --- a/tests/results/40_0leadership_reduce/makedict/all.json +++ b/tests/results/40_0leadership_reduce/makedict/all.json @@ -1,12 +1,16 @@ { "rougail.leadership.leader": [ { - "rougail.leadership.leader": "val1", + "rougail.leadership.leader": "string1", "rougail.leadership.follower": "string1" }, { - "rougail.leadership.leader": "val2", + "rougail.leadership.leader": "string2", "rougail.leadership.follower": "string2" + }, + { + "rougail.leadership.leader": "string3", + "rougail.leadership.follower": "string3" } ] } diff --git a/tests/results/44_0leadership_hidden/errors/all.json b/tests/results/44_0leadership_hidden/errors/all.json index 44c3420..6fafbfa 100644 --- a/tests/results/44_0leadership_hidden/errors/all.json +++ b/tests/results/44_0leadership_hidden/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"leader\" (a leadership) has property hidden, so cannot access to \"leader\" (a leader), it will be ignored when loading from the YAML file \"tests/results/44_0leadership_hidden/file/all.yml\"", + "cannot modify the option \"leader\" (a leader) because is frozen, it will be ignored when loading from the YAML file \"tests/results/44_0leadership_hidden/file/all.yml\"", "rougail.leader.leader", null ] diff --git a/tests/results/44_0leadership_leader_hidden/errors/all.json b/tests/results/44_0leadership_leader_hidden/errors/all.json index 4d7fb4c..abb28b1 100644 --- a/tests/results/44_0leadership_leader_hidden/errors/all.json +++ b/tests/results/44_0leadership_leader_hidden/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"leader\" (a leadership) has property hidden, so cannot access to \"leader\" (a leader), it will be ignored when loading from the YAML file \"tests/results/44_0leadership_leader_hidden/file/all.yml\"", + "cannot modify the option \"leader\" (a leader) because is frozen, it will be ignored when loading from the YAML file \"tests/results/44_0leadership_leader_hidden/file/all.yml\"", "rougail.leader.leader", null ] diff --git a/tests/results/44_1leadership_append_hidden_follower/errors/all.json b/tests/results/44_1leadership_append_hidden_follower/errors/all.json index 1d48cdb..cd700c7 100644 --- a/tests/results/44_1leadership_append_hidden_follower/errors/all.json +++ b/tests/results/44_1leadership_append_hidden_follower/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"leader\" (a leadership) has property hidden, so cannot access to \"leader\" (a leader), it will be ignored when loading from the YAML file \"tests/results/44_1leadership_append_hidden_follower/file/all.yml\"", + "cannot modify the option \"leader\" (a leader) because is frozen, it will be ignored when loading from the YAML file \"tests/results/44_1leadership_append_hidden_follower/file/all.yml\"", "rougail.leader.leader", null ] diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/all.json b/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json b/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all.yml b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all.yml new file mode 100644 index 0000000..38b3ec5 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all.yml @@ -0,0 +1,15 @@ +{ + "rougail": { + "var": [ + 1, + 2 + ], + "dyn1": { + "var": "string1" + }, + "dyn2": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.yml b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.yml new file mode 100644 index 0000000..7cd4bfd --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/all_exclude.yml @@ -0,0 +1,11 @@ +{ + "rougail": { + "dyn1": { + "var": "string1" + }, + "dyn2": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/file/mandatories.yml b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/mandatories.yml new file mode 100644 index 0000000..4d51b74 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/all.json b/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/all.json new file mode 100644 index 0000000..d429469 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/all.json @@ -0,0 +1,9 @@ +{ + "rougail.var": [ + 1, + 2 + ], + "rougail.dyn1.var": "string1", + "rougail.dyn2.var": "string1", + "rougail.var2": "string1" +} diff --git a/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json b/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json new file mode 100644 index 0000000..f5b0199 --- /dev/null +++ b/tests/results/60_0family_dynamic_jinja_integer_empty2/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_0family_hidden/errors/all.json b/tests/results/60_0family_hidden/errors/all.json index c398473..37da9fd 100644 --- a/tests/results/60_0family_hidden/errors/all.json +++ b/tests/results/60_0family_hidden/errors/all.json @@ -3,7 +3,7 @@ "warnings": [ [ [ - "family \"family\" (a family) has property hidden, so cannot access to \"var\" (a variable), it will be ignored when loading from the YAML file \"tests/results/60_0family_hidden/file/all.yml\"", + "cannot modify the option \"var\" (a variable) because is frozen, it will be ignored when loading from the YAML file \"tests/results/60_0family_hidden/file/all.yml\"", "rougail.family.var", null ] diff --git a/tests/results/60_5family_dynamic_calc_identifier/errors/all.json b/tests/results/60_5family_dynamic_calc_identifier/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_identifier/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier/file/all.yml b/tests/results/60_5family_dynamic_calc_identifier/file/all.yml new file mode 100644 index 0000000..6fd56e6 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/file/all.yml @@ -0,0 +1,16 @@ +{ + "rougail": { + "var1": [ + "val1", + "val2" + ], + "var2": "string1", + "dynval1": { + "var": "string1" + }, + "dynval2": { + "var": "string1" + }, + "var3": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_identifier/file/all_exclude.yml new file mode 100644 index 0000000..b92145e --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/file/all_exclude.yml @@ -0,0 +1,12 @@ +{ + "rougail": { + "var2": "string1", + "dynval1": { + "var": "string1" + }, + "dynval2": { + "var": "string1" + }, + "var3": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_identifier/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier/makedict/all.json b/tests/results/60_5family_dynamic_calc_identifier/makedict/all.json new file mode 100644 index 0000000..e824d22 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/makedict/all.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "string1", + "rougail.dynval1.var": "string1", + "rougail.dynval2.var": "string1", + "rougail.var3": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_identifier/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_identifier/makedict/mandatories.json new file mode 100644 index 0000000..593e21e --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier/makedict/mandatories.json @@ -0,0 +1,10 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": "val1", + "rougail.dynval2.var": "val2", + "rougail.var3": "val1" +} diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/errors/all.json b/tests/results/60_5family_dynamic_calc_identifier_multi/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/file/all.yml b/tests/results/60_5family_dynamic_calc_identifier_multi/file/all.yml new file mode 100644 index 0000000..2c2f617 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/file/all.yml @@ -0,0 +1,28 @@ +{ + "rougail": { + "var1": [ + "val1", + "val2" + ], + "var2": "string1", + "dynval1": { + "var": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var": [ + "string1", + "string2", + "string3" + ] + }, + "var3": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_identifier_multi/file/all_exclude.yml new file mode 100644 index 0000000..60efba9 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/file/all_exclude.yml @@ -0,0 +1,24 @@ +{ + "rougail": { + "var2": "string1", + "dynval1": { + "var": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var": [ + "string1", + "string2", + "string3" + ] + }, + "var3": [ + "string1", + "string2", + "string3" + ] + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_identifier_multi/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/all.json b/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/all.json new file mode 100644 index 0000000..891d87a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/all.json @@ -0,0 +1,22 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "string1", + "rougail.dynval1.var": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.var": [ + "string1", + "string2", + "string3" + ], + "rougail.var3": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json new file mode 100644 index 0000000..895253b --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_identifier_multi/makedict/mandatories.json @@ -0,0 +1,16 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "val1", + "rougail.dynval1.var": [ + "val1" + ], + "rougail.dynval2.var": [ + "val2" + ], + "rougail.var3": [ + "val1" + ] +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/all.json index 09e5763..f148b32 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/all.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/all.json @@ -7,13 +7,6 @@ "rougail.dynval1.var", null ] - ], - [ - [ - "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml\"", - "rougail.dynval2.var", - null - ] ] ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json index 217db0a..b05af12 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/errors/mandatories.json @@ -1,4 +1,12 @@ { "errors": [], - "warnings": [] + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.yml\"", + "rougail.dynval1.var", + null + ] + ] + ] } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml index c2b7777..980ddc7 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all.yml @@ -1,15 +1,11 @@ { "rougail": { "var1": [ - "val1", - "val2" + "val1" ], "dynval1": { "var": "string1" }, - "dynval2": { - "var": "string1" - }, "var2": "string1" } } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.yml index ad42f42..87939ad 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.yml +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/all_exclude.yml @@ -3,9 +3,6 @@ "dynval1": { "var": "string1" }, - "dynval2": { - "var": "string1" - }, "var2": "string1" } } \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.yml index 4d51b74..ecfdff0 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.yml +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/file/mandatories.yml @@ -1,5 +1,8 @@ { "rougail": { + "dynval1": { + "var": "string1" + }, "var2": "string1" } -} \ No newline at end of file +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json index 32ce3c8..b6a4134 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/all.json @@ -1,7 +1,6 @@ { "rougail.var1": [ - "val1", - "val2" + "val1" ], "rougail.var2": "string1" } diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json index 9cc7b99..ef3357f 100644 --- a/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled2/makedict/mandatories.json @@ -1,4 +1 @@ -{ - "rougail.var1": [], - "rougail.var2": "string1" -} +{"rougail.var1": ["val1"], "rougail.var2": "string1"} diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/all.json b/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/all.json new file mode 100644 index 0000000..14d4fd9 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/all.json @@ -0,0 +1,19 @@ +{ + "errors": [], + "warnings": [ + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all.yml\"", + "rougail.dynval1.var", + null + ] + ], + [ + [ + "variable has property disabled, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all.yml\"", + "rougail.dynval2.var", + null + ] + ] + ] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all.yml new file mode 100644 index 0000000..c2b7777 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all.yml @@ -0,0 +1,15 @@ +{ + "rougail": { + "var1": [ + "val1", + "val2" + ], + "dynval1": { + "var": "string1" + }, + "dynval2": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.yml new file mode 100644 index 0000000..ad42f42 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/all_exclude.yml @@ -0,0 +1,11 @@ +{ + "rougail": { + "dynval1": { + "var": "string1" + }, + "dynval2": { + "var": "string1" + }, + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.yml b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.yml new file mode 100644 index 0000000..4d51b74 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/file/mandatories.yml @@ -0,0 +1,5 @@ +{ + "rougail": { + "var2": "string1" + } +} \ No newline at end of file diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json b/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json new file mode 100644 index 0000000..32ce3c8 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/all.json @@ -0,0 +1,7 @@ +{ + "rougail.var1": [ + "val1", + "val2" + ], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json b/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json new file mode 100644 index 0000000..9cc7b99 --- /dev/null +++ b/tests/results/60_5family_dynamic_calc_suffix_disabled3/makedict/mandatories.json @@ -0,0 +1,4 @@ +{ + "rougail.var1": [], + "rougail.var2": "string1" +} diff --git a/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json b/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json index bc3d729..1569048 100644 --- a/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json +++ b/tests/results/60_5family_dynamic_hidden_suffix/errors/all.json @@ -3,14 +3,14 @@ "warnings": [ [ [ - "family \"dynval2\" (a dynamic family) has property hidden, so cannot access to \"var\" (a variable), it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\"", + "cannot modify the option \"var\" (a variable) because is frozen, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\"", "rougail.dynval2.var", null ] ], [ [ - "family \"dynval2\" (a dynamic family) has property hidden, so cannot access to \"var\" (a new variable), it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\"", + "cannot modify the option \"var\" (a new variable) because is frozen, it will be ignored when loading from the YAML file \"tests/results/60_5family_dynamic_hidden_suffix/file/all.yml\"", "rougail.dynval2.family.var", null ] diff --git a/tests/results/60_6family_dynamic_inside_identifier/errors/all.json b/tests/results/60_6family_dynamic_inside_identifier/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_identifier/errors/mandatories.json b/tests/results/60_6family_dynamic_inside_identifier/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_identifier/file/all.yml b/tests/results/60_6family_dynamic_inside_identifier/file/all.yml new file mode 100644 index 0000000..6d3924d --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/file/all.yml @@ -0,0 +1,20 @@ +{ + "rougail": { + "var": [ + "val1", + "val2" + ], + "val1_dyn": { + "var1": "string1", + "var2": "string1", + "var3": "string1", + "var4": "string1" + }, + "val2_dyn": { + "var1": "string1", + "var2": "string1", + "var3": "string1", + "var4": "string1" + } + } +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_identifier/file/all_exclude.yml b/tests/results/60_6family_dynamic_inside_identifier/file/all_exclude.yml new file mode 100644 index 0000000..a2ed968 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/file/all_exclude.yml @@ -0,0 +1,16 @@ +{ + "rougail": { + "val1_dyn": { + "var1": "string1", + "var2": "string1", + "var3": "string1", + "var4": "string1" + }, + "val2_dyn": { + "var1": "string1", + "var2": "string1", + "var3": "string1", + "var4": "string1" + } + } +} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_identifier/file/mandatories.yml b/tests/results/60_6family_dynamic_inside_identifier/file/mandatories.yml new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/file/mandatories.yml @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/tests/results/60_6family_dynamic_inside_identifier/makedict/all.json b/tests/results/60_6family_dynamic_inside_identifier/makedict/all.json new file mode 100644 index 0000000..7225362 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/makedict/all.json @@ -0,0 +1,14 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.val1_dyn.var1": "string1", + "rougail.val1_dyn.var2": "string1", + "rougail.val1_dyn.var3": "string1", + "rougail.val1_dyn.var4": "string1", + "rougail.val2_dyn.var1": "string1", + "rougail.val2_dyn.var2": "string1", + "rougail.val2_dyn.var3": "string1", + "rougail.val2_dyn.var4": "string1" +} diff --git a/tests/results/60_6family_dynamic_inside_identifier/makedict/mandatories.json b/tests/results/60_6family_dynamic_inside_identifier/makedict/mandatories.json new file mode 100644 index 0000000..a34bde9 --- /dev/null +++ b/tests/results/60_6family_dynamic_inside_identifier/makedict/mandatories.json @@ -0,0 +1,14 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.val1_dyn.var1": "val1", + "rougail.val1_dyn.var2": "val1", + "rougail.val1_dyn.var3": "val1", + "rougail.val1_dyn.var4": "val1", + "rougail.val2_dyn.var1": "val2", + "rougail.val2_dyn.var2": "val2", + "rougail.val2_dyn.var3": "val2", + "rougail.val2_dyn.var4": "val1" +} diff --git a/tests/results/60_6family_subdynamic_inside/errors/all.json b/tests/results/60_6family_subdynamic_inside/errors/all.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/errors/all.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_subdynamic_inside/errors/mandatories.json b/tests/results/60_6family_subdynamic_inside/errors/mandatories.json new file mode 100644 index 0000000..217db0a --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/errors/mandatories.json @@ -0,0 +1,4 @@ +{ + "errors": [], + "warnings": [] +} \ No newline at end of file diff --git a/tests/results/60_6family_subdynamic_inside/file/all.yml b/tests/results/60_6family_subdynamic_inside/file/all.yml new file mode 100644 index 0000000..d755b4a --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/file/all.yml @@ -0,0 +1,44 @@ +{ + "rougail": { + "var": [ + "val1", + "val2" + ], + "dynval1": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + } + }, + "dynval2": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + } + } + } +} \ No newline at end of file diff --git a/tests/results/60_6family_subdynamic_inside/file/all_exclude.yml b/tests/results/60_6family_subdynamic_inside/file/all_exclude.yml new file mode 100644 index 0000000..19698ab --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/file/all_exclude.yml @@ -0,0 +1,40 @@ +{ + "rougail": { + "dynval1": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + } + }, + "dynval2": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + } + } + } +} \ No newline at end of file diff --git a/tests/results/60_6family_subdynamic_inside/file/mandatories.yml b/tests/results/60_6family_subdynamic_inside/file/mandatories.yml new file mode 100644 index 0000000..1c4a8a3 --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/file/mandatories.yml @@ -0,0 +1,35 @@ +{ + "rougail": { + "dynval1": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + } + }, + "dynval2": { + "dynval1": { + "var1": "string1", + "var2": [ + "string1", + "string2", + "string3" + ] + }, + "dynval2": { + "var1": "string1" + } + } + } +} \ No newline at end of file diff --git a/tests/results/60_6family_subdynamic_inside/makedict/all.json b/tests/results/60_6family_subdynamic_inside/makedict/all.json new file mode 100644 index 0000000..bc271b2 --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/makedict/all.json @@ -0,0 +1,30 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var1": "string1", + "rougail.dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval1.dynval2.var1": "string1", + "rougail.dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval1.var1": "string1", + "rougail.dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval2.var1": "string1", + "rougail.dynval2.dynval2.var2": [ + "string1", + "string2", + "string3" + ] +} diff --git a/tests/results/60_6family_subdynamic_inside/makedict/mandatories.json b/tests/results/60_6family_subdynamic_inside/makedict/mandatories.json new file mode 100644 index 0000000..a7baf78 --- /dev/null +++ b/tests/results/60_6family_subdynamic_inside/makedict/mandatories.json @@ -0,0 +1,29 @@ +{ + "rougail.var": [ + "val1", + "val2" + ], + "rougail.dynval1.dynval1.var1": "string1", + "rougail.dynval1.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval1.dynval2.var1": "string1", + "rougail.dynval1.dynval2.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval1.var1": "string1", + "rougail.dynval2.dynval1.var2": [ + "string1", + "string2", + "string3" + ], + "rougail.dynval2.dynval2.var1": "string1", + "rougail.dynval2.dynval2.var2": [ + "string1", + "string1" + ] +} diff --git a/tests/secrets/secret2.yml b/tests/secrets/secret2.yml new file mode 100644 index 0000000..fe7acfc --- /dev/null +++ b/tests/secrets/secret2.yml @@ -0,0 +1,2 @@ +--- +secret1: my_password diff --git a/tests/test_load.py b/tests/test_load.py index b8f1729..fd73717 100644 --- a/tests/test_load.py +++ b/tests/test_load.py @@ -18,9 +18,16 @@ excludes = [ '40_0leadership_follower_default_submulti_calculation', # submulti is not allowed '40_6leadership_follower_multi', # submulti is not allowed ] +WITH_DONE = False +#WITH_DONE = True +HERE = Path(__file__).parent -test_ok = get_structures_list(excludes) -# test_ok = [Path('../rougail-tests/structures/00_6port')] + +if WITH_DONE: + test_ok = get_structures_list(excludes, HERE) +else: + test_ok = get_structures_list(excludes) +# test_ok = [Path('../rougail-tests/structures/60_5family_dynamic_calc_suffix_disabled2')] def idfn(fixture_value): @@ -88,6 +95,9 @@ def _test_structural_files(test_dir, namespace, ext, *, level, need_exclude=Fals config.property.read_only() config_dict = dict(config_to_dict(config.value.get())) assert expected == config_dict, expected_filename + if WITH_DONE: + with (HERE / (test_dir.name + ".DONE")).open("w") as fh: + fh.write('') def populate(filename, makedict_file, rougailconfig, level, need_exclude): diff --git a/tests/test_tutorial.py b/tests/test_tutorial.py new file mode 100644 index 0000000..41e21de --- /dev/null +++ b/tests/test_tutorial.py @@ -0,0 +1,110 @@ +from pathlib import Path +from rougail import Rougail, RougailConfig +from rougail.user_data_yaml import RougailUserDataYaml +from rougail.user_data import mandatories +from json import load, dump, loads, dumps +import shutil + +from rougail_tests.utils import config_to_dict + + +TUTORIAL_ROUGAIL = "../rougail-tutorials_builder/examples/" +TMP = Path("tutorial_tmp") +RESULT = Path("tests") / "result_tutorial" + +def test_tutorial(): + tmp_structural_files = TMP / "structural" + tmp_types_files = TMP / "types" + if TMP.is_dir(): + shutil.rmtree(TMP) + tmp_structural_files.mkdir(parents=True) + tmp_types_files.mkdir() + namespace_support = False + tmp_structural_files.mkdir(exist_ok=True) + for src_exercice in sorted(Path(TUTORIAL_ROUGAIL).iterdir()): + result_files = RESULT / src_exercice.name + result_files.mkdir(parents=True, exist_ok=True) + if (src_exercice / "namespace").is_file(): + namespace_support = True + src_types = src_exercice / "types" + if src_types.is_dir(): + for types in src_types.iterdir(): + for t in types.iterdir(): + shutil.copy(t, tmp_types_files / t.name) + for src_namespace in (src_exercice / "structural_files").iterdir(): + if not src_namespace.is_dir(): + continue + structure_directory = tmp_structural_files / src_namespace.name + structure_directory.mkdir(exist_ok=True) + for filename in src_namespace.iterdir(): + if not filename.name.endswith('.yml'): + continue + shutil.copyfile(filename, structure_directory / filename.name) + src_configs = src_exercice / "config" + if not src_configs.is_dir(): + continue + rougailconfig = RougailConfig.copy() + if namespace_support: + rougailconfig['main_namespace'] = 'firefox' + rougailconfig['main_structural_directories'] = [str(tmp_structural_files / "firefox")] + if (tmp_structural_files / 'foxyproxy').is_dir(): + rougailconfig['extra_namespaces'] = {"foxyproxy": [str(tmp_structural_files / "foxyproxy")]} # extra_namespaces + else: + rougailconfig['main_namespace'] = None + rougailconfig['main_structural_directories'] = [str(structure_directory)] + types = [str(t) for t in tmp_types_files.iterdir()] + if types: + rougailconfig['types'] = types + tiramisu_tmp = TMP / "tiramisu.py" + try: + rougailconfig['tiramisu_cache'] = str(tiramisu_tmp) + except: + rougailconfig['cli.tiramisu_cache'] = str(tiramisu_tmp) + rougailconfig['step.user_data'] = ['yaml'] + for src_config in src_configs.iterdir(): + if src_config.is_file(): + continue + result_errors = result_files / f"errors_{src_config.name}.json" + rougailconfig['yaml.filename'] = [str(f) for f in src_config.iterdir() if str(f).endswith('.yml')] + # + rougail = Rougail(rougailconfig) + config = rougail.run() + generated_user_data = RougailUserDataYaml(config, rougailconfig=rougailconfig).run() + errors = rougail.user_data(generated_user_data) + for l, data in errors.items(): + for i, d in enumerate(data): + if isinstance(d, dict): + data[i] = [[l, v.path, v.index] for l, v in d.items()] + if not result_errors.is_file(): + with result_errors.open('a') as json_file: + dump(errors, json_file, indent=4) + with result_errors.open() as json_file: + expected_errors = load(json_file) + assert expected_errors == errors, result_errors + # + for read_write in [True, False]: + if read_write: + config.property.read_write() + result_file = result_files / f"{src_config.name}_rw.json" + else: + config.property.read_only() + result_file = result_files / f"{src_config.name}_ro.json" + config_dict = [] + mandatories(config, config_dict) + if config_dict: + for i, d in enumerate(config_dict): + if isinstance(d, dict): + config_dict[i] = [[l, v.path, v.index] for l, v in d.items()] + else: + config_dict = dict(config_to_dict(config.value.get())) + if src_exercice.name in ['181', '182'] and src_config.name in ['02', '03']: + config_dict['foxyproxy.proxies.title'][0]['foxyproxy.proxies.color'] = '#9b3677' + if src_exercice.name in ['210', '211'] and src_config.name in ['02', '03']: + config_dict['foxyproxy.proxies.title'][1]['foxyproxy.proxies.color'] = '#9b3677' + if not result_file.is_file(): + with result_file.open('a') as json_file: + dump(config_dict, json_file, indent=4) + with result_file.open() as json_file: + expected = load(json_file) + assert expected == config_dict, result_file + shutil.rmtree(TMP)