From ba548c8c80af49c756566eab2aff8e10911c78c2 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Tue, 5 Mar 2019 08:26:58 +0100 Subject: [PATCH] update to tiramisu-rc2 + leader/followers support --- test/data/boolean1.info | 2 +- test/data/boolean1.owner | 2 +- test/data/boolean1.prop | 2 +- test/data/boolean1.prop2 | 2 +- test/data/boolean1_frozen.info | 2 +- test/data/boolean1_frozen.owner | 2 +- test/data/boolean1_frozen.prop | 2 +- test/data/boolean1_frozen.prop2 | 2 +- test/data/choice1.info | 2 +- test/data/choice1.owner | 2 +- test/data/choice1.prop | 2 +- test/data/choice1.prop2 | 2 +- test/data/choice1_frozen.info | 2 +- test/data/choice1_frozen.owner | 2 +- test/data/choice1_frozen.prop | 2 +- test/data/choice1_frozen.prop2 | 2 +- ...er_slaves.dict => choice1_leadership.dict} | 0 test/data/choice1_leadership.info | 1 + test/data/choice1_leadership.json | 1 + test/data/choice1_leadership.owner | 1 + test/data/choice1_leadership.prop | 1 + test/data/choice1_leadership.prop2 | 1 + ...en.dict => choice1_leadership_hidden.dict} | 0 test/data/choice1_leadership_hidden.info | 1 + test/data/choice1_leadership_hidden.json | 1 + test/data/choice1_leadership_hidden.owner | 1 + test/data/choice1_leadership_hidden.prop | 1 + test/data/choice1_leadership_hidden.prop2 | 1 + ...lue.dict => choice1_leadership_value.dict} | 0 test/data/choice1_leadership_value.info | 1 + test/data/choice1_leadership_value.json | 1 + test/data/choice1_leadership_value.owner | 1 + test/data/choice1_leadership_value.prop | 1 + test/data/choice1_leadership_value.prop2 | 1 + test/data/choice1_master_slaves.json | 1 - test/data/choice1_master_slaves_hidden.json | 1 - test/data/choice1_master_slaves_value.json | 1 - test/data/choice1_multi.info | 2 +- test/data/choice1_multi.owner | 2 +- test/data/choice1_multi.prop | 2 +- test/data/choice1_multi.prop2 | 2 +- test/data/choice1_rename.info | 2 +- test/data/choice1_rename.owner | 2 +- test/data/choice1_rename.prop | 2 +- test/data/choice1_rename.prop2 | 2 +- test/data/choice1_requires.info | 2 +- test/data/choice1_requires.owner | 2 +- test/data/choice1_requires.prop | 2 +- test/data/choice1_requires.prop2 | 2 +- test/data/date1.info | 2 +- test/data/date1.owner | 2 +- test/data/date1.prop | 2 +- test/data/date1.prop2 | 2 +- test/data/date1_frozen.info | 2 +- test/data/date1_frozen.owner | 2 +- test/data/date1_frozen.prop | 2 +- test/data/date1_frozen.prop2 | 2 +- test/data/filename1.info | 2 +- test/data/filename1.json | 2 +- test/data/filename1.owner | 2 +- test/data/filename1.prop | 2 +- test/data/filename1.prop2 | 2 +- test/data/hostname1.info | 2 +- test/data/hostname1.json | 2 +- test/data/hostname1.owner | 2 +- test/data/hostname1.prop | 2 +- test/data/hostname1.prop2 | 2 +- test/data/ip1.info | 2 +- test/data/ip1.json | 2 +- test/data/ip1.owner | 2 +- test/data/ip1.prop | 2 +- test/data/ip1.prop2 | 2 +- test/data/ip1_frozen.info | 2 +- test/data/ip1_frozen.json | 2 +- test/data/ip1_frozen.owner | 2 +- test/data/ip1_frozen.prop | 2 +- test/data/ip1_frozen.prop2 | 2 +- test/data/mail1.info | 2 +- test/data/mail1.json | 2 +- test/data/mail1.owner | 2 +- test/data/mail1.prop | 2 +- test/data/mail1.prop2 | 2 +- test/data/number1.info | 2 +- test/data/number1.json | 2 +- test/data/number1.owner | 2 +- test/data/number1.prop | 2 +- test/data/number1.prop2 | 2 +- test/data/number1_frozen.info | 2 +- test/data/number1_frozen.json | 2 +- test/data/number1_frozen.owner | 2 +- test/data/number1_frozen.prop | 2 +- test/data/number1_frozen.prop2 | 2 +- test/data/number1_mod_value.info | 2 +- test/data/number1_mod_value.json | 2 +- test/data/number1_mod_value.owner | 2 +- test/data/number1_mod_value.prop | 2 +- test/data/number1_mod_value.prop2 | 2 +- test/data/number1_value.info | 2 +- test/data/number1_value.json | 2 +- test/data/number1_value.owner | 2 +- test/data/number1_value.prop | 2 +- test/data/number1_value.prop2 | 2 +- test/data/subconfig_boolean1.info | 2 +- test/data/subconfig_boolean1.owner | 2 +- test/data/subconfig_boolean1.prop | 2 +- test/data/subconfig_boolean1.prop2 | 2 +- test/data/subconfig_boolean1_frozen.info | 2 +- test/data/subconfig_boolean1_frozen.owner | 2 +- test/data/subconfig_boolean1_frozen.prop | 2 +- test/data/subconfig_boolean1_frozen.prop2 | 2 +- test/data/subconfig_choice1.info | 2 +- test/data/subconfig_choice1.owner | 2 +- test/data/subconfig_choice1.prop | 2 +- test/data/subconfig_choice1.prop2 | 2 +- test/data/subconfig_choice1_frozen.info | 2 +- test/data/subconfig_choice1_frozen.owner | 2 +- test/data/subconfig_choice1_frozen.prop | 2 +- test/data/subconfig_choice1_frozen.prop2 | 2 +- test/data/subconfig_choice1_leadership.dict | 1 + test/data/subconfig_choice1_leadership.info | 1 + test/data/subconfig_choice1_leadership.json | 1 + test/data/subconfig_choice1_leadership.owner | 1 + test/data/subconfig_choice1_leadership.prop | 1 + test/data/subconfig_choice1_leadership.prop2 | 1 + .../subconfig_choice1_leadership_hidden.dict | 1 + .../subconfig_choice1_leadership_hidden.info | 1 + .../subconfig_choice1_leadership_hidden.json | 1 + .../subconfig_choice1_leadership_hidden.owner | 1 + .../subconfig_choice1_leadership_hidden.prop | 1 + .../subconfig_choice1_leadership_hidden.prop2 | 1 + .../subconfig_choice1_leadership_value.dict | 1 + .../subconfig_choice1_leadership_value.info | 1 + .../subconfig_choice1_leadership_value.json | 1 + .../subconfig_choice1_leadership_value.owner | 1 + .../subconfig_choice1_leadership_value.prop | 1 + .../subconfig_choice1_leadership_value.prop2 | 1 + .../data/subconfig_choice1_master_slaves.dict | 1 - .../data/subconfig_choice1_master_slaves.json | 1 - ...ubconfig_choice1_master_slaves_hidden.dict | 1 - ...ubconfig_choice1_master_slaves_hidden.json | 1 - ...subconfig_choice1_master_slaves_value.dict | 1 - ...subconfig_choice1_master_slaves_value.json | 1 - test/data/subconfig_choice1_multi.info | 2 +- test/data/subconfig_choice1_multi.owner | 2 +- test/data/subconfig_choice1_multi.prop | 2 +- test/data/subconfig_choice1_multi.prop2 | 2 +- test/data/subconfig_choice1_rename.info | 2 +- test/data/subconfig_choice1_rename.owner | 2 +- test/data/subconfig_choice1_rename.prop | 2 +- test/data/subconfig_choice1_rename.prop2 | 2 +- test/data/subconfig_choice1_requires.info | 2 +- test/data/subconfig_choice1_requires.owner | 2 +- test/data/subconfig_choice1_requires.prop | 2 +- test/data/subconfig_choice1_requires.prop2 | 2 +- test/data/subconfig_date1.info | 2 +- test/data/subconfig_date1.owner | 2 +- test/data/subconfig_date1.prop | 2 +- test/data/subconfig_date1.prop2 | 2 +- test/data/subconfig_date1_frozen.info | 2 +- test/data/subconfig_date1_frozen.owner | 2 +- test/data/subconfig_date1_frozen.prop | 2 +- test/data/subconfig_date1_frozen.prop2 | 2 +- test/data/subconfig_filename1.info | 2 +- test/data/subconfig_filename1.json | 2 +- test/data/subconfig_filename1.owner | 2 +- test/data/subconfig_filename1.prop | 2 +- test/data/subconfig_filename1.prop2 | 2 +- test/data/subconfig_hostname1.info | 2 +- test/data/subconfig_hostname1.json | 2 +- test/data/subconfig_hostname1.owner | 2 +- test/data/subconfig_hostname1.prop | 2 +- test/data/subconfig_hostname1.prop2 | 2 +- test/data/subconfig_ip1.info | 2 +- test/data/subconfig_ip1.json | 2 +- test/data/subconfig_ip1.owner | 2 +- test/data/subconfig_ip1.prop | 2 +- test/data/subconfig_ip1.prop2 | 2 +- test/data/subconfig_ip1_frozen.info | 2 +- test/data/subconfig_ip1_frozen.json | 2 +- test/data/subconfig_ip1_frozen.owner | 2 +- test/data/subconfig_ip1_frozen.prop | 2 +- test/data/subconfig_ip1_frozen.prop2 | 2 +- test/data/subconfig_mail1.info | 2 +- test/data/subconfig_mail1.json | 2 +- test/data/subconfig_mail1.owner | 2 +- test/data/subconfig_mail1.prop | 2 +- test/data/subconfig_mail1.prop2 | 2 +- test/data/subconfig_number1.info | 2 +- test/data/subconfig_number1.json | 2 +- test/data/subconfig_number1.owner | 2 +- test/data/subconfig_number1.prop | 2 +- test/data/subconfig_number1.prop2 | 2 +- test/data/subconfig_number1_frozen.info | 2 +- test/data/subconfig_number1_frozen.json | 2 +- test/data/subconfig_number1_frozen.owner | 2 +- test/data/subconfig_number1_frozen.prop | 2 +- test/data/subconfig_number1_frozen.prop2 | 2 +- test/data/subconfig_number1_mod_value.info | 2 +- test/data/subconfig_number1_mod_value.json | 2 +- test/data/subconfig_number1_mod_value.owner | 2 +- test/data/subconfig_number1_mod_value.prop | 2 +- test/data/subconfig_number1_mod_value.prop2 | 2 +- test/data/subconfig_number1_value.info | 2 +- test/data/subconfig_number1_value.json | 2 +- test/data/subconfig_number1_value.owner | 2 +- test/data/subconfig_number1_value.prop | 2 +- test/data/subconfig_number1_value.prop2 | 2 +- test/data/subconfig_unicode1.info | 2 +- test/data/subconfig_unicode1.owner | 2 +- test/data/subconfig_unicode1.prop | 2 +- test/data/subconfig_unicode1.prop2 | 2 +- test/data/subconfig_unicode1_frozen.info | 2 +- test/data/subconfig_unicode1_frozen.owner | 2 +- test/data/subconfig_unicode1_frozen.prop | 2 +- test/data/subconfig_unicode1_frozen.prop2 | 2 +- ...fig_unicode1_leader_hidden_followers.dict} | 0 ...fig_unicode1_leader_hidden_followers.info} | 0 ...nfig_unicode1_leader_hidden_followers.json | 1 + ...fig_unicode1_leader_hidden_followers.owner | 1 + ...nfig_unicode1_leader_hidden_followers.prop | 1 + ...fig_unicode1_leader_hidden_followers.prop2 | 1 + test/data/subconfig_unicode1_leadership.dict | 1 + test/data/subconfig_unicode1_leadership.info | 1 + test/data/subconfig_unicode1_leadership.json | 1 + test/data/subconfig_unicode1_leadership.owner | 1 + test/data/subconfig_unicode1_leadership.prop | 1 + test/data/subconfig_unicode1_leadership.prop2 | 1 + ...fig_unicode1_leadership_default_value.dict | 1 + ...fig_unicode1_leadership_default_value.info | 1 + ...fig_unicode1_leadership_default_value.json | 1 + ...ig_unicode1_leadership_default_value.owner | 1 + ...fig_unicode1_leadership_default_value.prop | 1 + ...ig_unicode1_leadership_default_value.prop2 | 1 + .../subconfig_unicode1_leadership_hidden.dict | 1 + .../subconfig_unicode1_leadership_hidden.info | 1 + .../subconfig_unicode1_leadership_hidden.json | 1 + ...subconfig_unicode1_leadership_hidden.owner | 1 + .../subconfig_unicode1_leadership_hidden.prop | 1 + ...subconfig_unicode1_leadership_hidden.prop2 | 1 + ...nicode1_leadership_hidden_all_default.dict | 1 + ...nicode1_leadership_hidden_all_default.info | 1 + ...nicode1_leadership_hidden_all_default.json | 1 + ...icode1_leadership_hidden_all_default.owner | 1 + ...nicode1_leadership_hidden_all_default.prop | 1 + ...icode1_leadership_hidden_all_default.prop2 | 1 + ...bconfig_unicode1_leadership_not_equal.dict | 1 + ...bconfig_unicode1_leadership_not_equal.info | 1 + ...bconfig_unicode1_leadership_not_equal.json | 1 + ...config_unicode1_leadership_not_equal.owner | 1 + ...bconfig_unicode1_leadership_not_equal.prop | 1 + ...config_unicode1_leadership_not_equal.prop2 | 1 + ...ubconfig_unicode1_leadership_requires.dict | 1 + ...ubconfig_unicode1_leadership_requires.info | 1 + ...ubconfig_unicode1_leadership_requires.json | 1 + ...bconfig_unicode1_leadership_requires.owner | 1 + ...ubconfig_unicode1_leadership_requires.prop | 1 + ...bconfig_unicode1_leadership_requires.prop2 | 1 + ...nfig_unicode1_leadership_requires_all.dict | 1 + ...nfig_unicode1_leadership_requires_all.info | 1 + ...nfig_unicode1_leadership_requires_all.json | 1 + ...fig_unicode1_leadership_requires_all.owner | 1 + ...nfig_unicode1_leadership_requires_all.prop | 1 + ...fig_unicode1_leadership_requires_all.prop2 | 1 + ...unicode1_leadership_requires_follower.dict | 1 + ...unicode1_leadership_requires_follower.info | 1 + ...unicode1_leadership_requires_follower.json | 1 + ...nicode1_leadership_requires_follower.owner | 1 + ...unicode1_leadership_requires_follower.prop | 1 + ...nicode1_leadership_requires_follower.prop2 | 1 + ...e1_leadership_requires_follower_value.dict | 1 + ...e1_leadership_requires_follower_value.info | 1 + ...e1_leadership_requires_follower_value.json | 1 + ...1_leadership_requires_follower_value.owner | 1 + ...e1_leadership_requires_follower_value.prop | 1 + ...1_leadership_requires_follower_value.prop2 | 1 + ...nicode1_leadership_requires_followers.dict | 1 + ...nicode1_leadership_requires_followers.info | 1 + ...nicode1_leadership_requires_followers.json | 1 + ...icode1_leadership_requires_followers.owner | 1 + ...nicode1_leadership_requires_followers.prop | 1 + ...icode1_leadership_requires_followers.prop2 | 1 + ...g_unicode1_leadership_requires_leader.dict | 1 + ...g_unicode1_leadership_requires_leader.info | 1 + ...g_unicode1_leadership_requires_leader.json | 1 + ..._unicode1_leadership_requires_leader.owner | 1 + ...g_unicode1_leadership_requires_leader.prop | 1 + ..._unicode1_leadership_requires_leader.prop2 | 1 + ...ig_unicode1_leadership_requires_value.dict | 1 + ...ig_unicode1_leadership_requires_value.info | 1 + ...ig_unicode1_leadership_requires_value.json | 1 + ...g_unicode1_leadership_requires_value.owner | 1 + ...ig_unicode1_leadership_requires_value.prop | 1 + ...g_unicode1_leadership_requires_value.prop2 | 1 + ...ubconfig_unicode1_leadership_submulti.dict | 1 + ...ubconfig_unicode1_leadership_submulti.info | 1 + ...ubconfig_unicode1_leadership_submulti.json | 1 + ...bconfig_unicode1_leadership_submulti.owner | 1 + ...ubconfig_unicode1_leadership_submulti.prop | 1 + ...bconfig_unicode1_leadership_submulti.prop2 | 1 + .../subconfig_unicode1_leadership_value.dict | 1 + .../subconfig_unicode1_leadership_value.info | 1 + .../subconfig_unicode1_leadership_value.json | 1 + .../subconfig_unicode1_leadership_value.owner | 1 + .../subconfig_unicode1_leadership_value.prop | 1 + .../subconfig_unicode1_leadership_value.prop2 | 1 + test/data/subconfig_unicode1_mandatory.info | 2 +- test/data/subconfig_unicode1_mandatory.owner | 2 +- test/data/subconfig_unicode1_mandatory.prop | 2 +- test/data/subconfig_unicode1_mandatory.prop2 | 2 +- ...bconfig_unicode1_master_hidden_slaves.json | 1 - .../subconfig_unicode1_master_slaves.dict | 1 - .../subconfig_unicode1_master_slaves.json | 1 - ..._unicode1_master_slaves_default_value.dict | 1 - ..._unicode1_master_slaves_default_value.json | 1 - ...bconfig_unicode1_master_slaves_hidden.dict | 1 - ...bconfig_unicode1_master_slaves_hidden.json | 1 - ...ode1_master_slaves_hidden_all_default.dict | 1 - ...ode1_master_slaves_hidden_all_default.json | 1 - ...nfig_unicode1_master_slaves_not_equal.dict | 1 - ...nfig_unicode1_master_slaves_not_equal.json | 1 - ...onfig_unicode1_master_slaves_requires.dict | 1 - ...onfig_unicode1_master_slaves_requires.json | 1 - ...g_unicode1_master_slaves_requires_all.dict | 1 - ...g_unicode1_master_slaves_requires_all.json | 1 - ...nicode1_master_slaves_requires_master.dict | 1 - ...nicode1_master_slaves_requires_master.json | 1 - ...unicode1_master_slaves_requires_slave.dict | 1 - ...unicode1_master_slaves_requires_slave.json | 1 - ...e1_master_slaves_requires_slave_value.dict | 1 - ...e1_master_slaves_requires_slave_value.json | 1 - ...nicode1_master_slaves_requires_slaves.dict | 1 - ...nicode1_master_slaves_requires_slaves.json | 1 - ...unicode1_master_slaves_requires_value.dict | 1 - ...unicode1_master_slaves_requires_value.json | 1 - ...onfig_unicode1_master_slaves_submulti.dict | 1 - ...onfig_unicode1_master_slaves_submulti.json | 1 - ...ubconfig_unicode1_master_slaves_value.dict | 1 - ...ubconfig_unicode1_master_slaves_value.json | 1 - test/data/subconfig_unicode1_mod_value.info | 2 +- test/data/subconfig_unicode1_mod_value.owner | 2 +- test/data/subconfig_unicode1_mod_value.prop | 2 +- test/data/subconfig_unicode1_mod_value.prop2 | 2 +- test/data/subconfig_unicode1_multi.info | 2 +- test/data/subconfig_unicode1_multi.json | 2 +- test/data/subconfig_unicode1_multi.owner | 2 +- test/data/subconfig_unicode1_multi.prop | 2 +- test/data/subconfig_unicode1_multi.prop2 | 2 +- .../subconfig_unicode1_multi_mandatory.info | 2 +- .../subconfig_unicode1_multi_mandatory.owner | 2 +- .../subconfig_unicode1_multi_mandatory.prop | 2 +- .../subconfig_unicode1_multi_mandatory.prop2 | 2 +- .../subconfig_unicode1_multi_mod_value.info | 2 +- .../subconfig_unicode1_multi_mod_value.owner | 2 +- .../subconfig_unicode1_multi_mod_value.prop | 2 +- .../subconfig_unicode1_multi_mod_value.prop2 | 2 +- ...fig_unicode1_multi_not_equal_collapse.info | 2 +- ...ig_unicode1_multi_not_equal_collapse.owner | 2 +- ...fig_unicode1_multi_not_equal_collapse.prop | 2 +- ...ig_unicode1_multi_not_equal_collapse.prop2 | 2 +- .../subconfig_unicode1_multi_requires.info | 2 +- .../subconfig_unicode1_multi_requires.owner | 2 +- .../subconfig_unicode1_multi_requires.prop | 2 +- .../subconfig_unicode1_multi_requires.prop2 | 2 +- test/data/subconfig_unicode1_multi_value.info | 2 +- .../data/subconfig_unicode1_multi_value.owner | 2 +- test/data/subconfig_unicode1_multi_value.prop | 2 +- .../data/subconfig_unicode1_multi_value.prop2 | 2 +- test/data/subconfig_unicode1_not_equal.info | 2 +- test/data/subconfig_unicode1_not_equal.owner | 2 +- test/data/subconfig_unicode1_not_equal.prop | 2 +- test/data/subconfig_unicode1_not_equal.prop2 | 2 +- ...g_unicode1_optiondescription_requires.info | 2 +- ..._unicode1_optiondescription_requires.owner | 2 +- ...g_unicode1_optiondescription_requires.prop | 2 +- ..._unicode1_optiondescription_requires.prop2 | 2 +- test/data/subconfig_unicode1_requires.info | 2 +- test/data/subconfig_unicode1_requires.owner | 2 +- test/data/subconfig_unicode1_requires.prop | 2 +- test/data/subconfig_unicode1_requires.prop2 | 2 +- .../subconfig_unicode1_simple_callback.info | 2 +- .../subconfig_unicode1_simple_callback.json | 2 +- .../subconfig_unicode1_simple_callback.owner | 2 +- .../subconfig_unicode1_simple_callback.prop | 2 +- .../subconfig_unicode1_simple_callback.prop2 | 2 +- test/data/subconfig_unicode2.info | 2 +- test/data/subconfig_unicode2.owner | 2 +- test/data/subconfig_unicode2.prop | 2 +- test/data/subconfig_unicode2.prop2 | 2 +- test/data/subconfig_unicode2_copy.info | 2 +- test/data/subconfig_unicode2_copy.owner | 2 +- test/data/subconfig_unicode2_copy.prop | 2 +- test/data/subconfig_unicode2_copy.prop2 | 2 +- test/data/subconfig_unicode2_multi_copy.info | 2 +- test/data/subconfig_unicode2_multi_copy.owner | 2 +- test/data/subconfig_unicode2_multi_copy.prop | 2 +- test/data/subconfig_unicode2_multi_copy.prop2 | 2 +- test/data/subconfig_unicode_property.info | 2 +- test/data/subconfig_unicode_property.owner | 2 +- test/data/subconfig_unicode_property.prop | 2 +- test/data/subconfig_unicode_property.prop2 | 2 +- ...ig_unicode_property_optiondescription.info | 2 +- ...g_unicode_property_optiondescription.owner | 2 +- ...ig_unicode_property_optiondescription.prop | 2 +- ...g_unicode_property_optiondescription.prop2 | 2 +- test/data/subconfig_username1.info | 2 +- test/data/subconfig_username1.json | 2 +- test/data/subconfig_username1.owner | 2 +- test/data/subconfig_username1.prop | 2 +- test/data/subconfig_username1.prop2 | 2 +- test/data/subconfig_username1_frozen.info | 2 +- test/data/subconfig_username1_frozen.json | 2 +- test/data/subconfig_username1_frozen.owner | 2 +- test/data/subconfig_username1_frozen.prop | 2 +- test/data/subconfig_username1_frozen.prop2 | 2 +- test/data/unicode1.dict1 | 1 - test/data/unicode1.info | 2 +- test/data/unicode1.mod1 | 5 - test/data/unicode1.owner | 2 +- test/data/unicode1.prop | 2 +- test/data/unicode1.prop2 | 2 +- test/data/unicode1.updates1 | 4 - test/data/unicode1_frozen.info | 2 +- test/data/unicode1_frozen.owner | 2 +- test/data/unicode1_frozen.prop | 2 +- test/data/unicode1_frozen.prop2 | 2 +- .../unicode1_leader_hidden_followers.dict | 1 + .../unicode1_leader_hidden_followers.info | 1 + .../unicode1_leader_hidden_followers.json | 1 + .../unicode1_leader_hidden_followers.owner | 1 + .../unicode1_leader_hidden_followers.prop | 1 + .../unicode1_leader_hidden_followers.prop2 | 1 + ...r_slaves.dict => unicode1_leadership.dict} | 0 test/data/unicode1_leadership.info | 1 + test/data/unicode1_leadership.json | 1 + test/data/unicode1_leadership.owner | 1 + test/data/unicode1_leadership.prop | 1 + test/data/unicode1_leadership.prop2 | 1 + .../unicode1_leadership_default_value.dict | 1 + .../unicode1_leadership_default_value.info | 1 + .../unicode1_leadership_default_value.json | 1 + .../unicode1_leadership_default_value.owner | 1 + .../unicode1_leadership_default_value.prop | 1 + .../unicode1_leadership_default_value.prop2 | 1 + ...n.dict => unicode1_leadership_hidden.dict} | 0 test/data/unicode1_leadership_hidden.info | 1 + test/data/unicode1_leadership_hidden.json | 1 + test/data/unicode1_leadership_hidden.owner | 1 + test/data/unicode1_leadership_hidden.prop | 1 + test/data/unicode1_leadership_hidden.prop2 | 1 + ...icode1_leadership_hidden_all_default.dict} | 0 ...nicode1_leadership_hidden_all_default.info | 1 + ...nicode1_leadership_hidden_all_default.json | 1 + ...icode1_leadership_hidden_all_default.owner | 1 + ...nicode1_leadership_hidden_all_default.prop | 1 + ...icode1_leadership_hidden_all_default.prop2 | 1 + ...ict => unicode1_leadership_not_equal.dict} | 0 test/data/unicode1_leadership_not_equal.info | 1 + test/data/unicode1_leadership_not_equal.json | 1 + test/data/unicode1_leadership_not_equal.owner | 1 + test/data/unicode1_leadership_not_equal.prop | 1 + test/data/unicode1_leadership_not_equal.prop2 | 1 + ...dict => unicode1_leadership_requires.dict} | 0 test/data/unicode1_leadership_requires.info | 1 + test/data/unicode1_leadership_requires.json | 1 + test/data/unicode1_leadership_requires.owner | 1 + test/data/unicode1_leadership_requires.prop | 1 + test/data/unicode1_leadership_requires.prop2 | 1 + ... => unicode1_leadership_requires_all.dict} | 0 .../unicode1_leadership_requires_all.info | 1 + .../unicode1_leadership_requires_all.json | 1 + .../unicode1_leadership_requires_all.owner | 1 + .../unicode1_leadership_requires_all.prop | 1 + .../unicode1_leadership_requires_all.prop2 | 1 + ...nicode1_leadership_requires_follower.dict} | 2 +- ...unicode1_leadership_requires_follower.info | 1 + ...unicode1_leadership_requires_follower.json | 1 + ...nicode1_leadership_requires_follower.owner | 1 + ...unicode1_leadership_requires_follower.prop | 1 + ...nicode1_leadership_requires_follower.prop2 | 1 + ...e1_leadership_requires_follower_value.dict | 1 + ...e1_leadership_requires_follower_value.info | 1 + ...e1_leadership_requires_follower_value.json | 1 + ...1_leadership_requires_follower_value.owner | 1 + ...e1_leadership_requires_follower_value.prop | 1 + ...1_leadership_requires_follower_value.prop2 | 1 + ...icode1_leadership_requires_followers.dict} | 2 +- ...nicode1_leadership_requires_followers.info | 1 + ...nicode1_leadership_requires_followers.json | 1 + ...icode1_leadership_requires_followers.owner | 1 + ...nicode1_leadership_requires_followers.prop | 1 + ...icode1_leadership_requires_followers.prop2 | 1 + ... unicode1_leadership_requires_leader.dict} | 0 .../unicode1_leadership_requires_leader.info | 1 + ... unicode1_leadership_requires_leader.json} | 2 +- .../unicode1_leadership_requires_leader.owner | 1 + .../unicode1_leadership_requires_leader.prop | 1 + .../unicode1_leadership_requires_leader.prop2 | 1 + .../unicode1_leadership_requires_value.dict | 1 + .../unicode1_leadership_requires_value.info | 1 + .../unicode1_leadership_requires_value.json | 1 + .../unicode1_leadership_requires_value.owner | 1 + .../unicode1_leadership_requires_value.prop | 1 + .../unicode1_leadership_requires_value.prop2 | 1 + ...dict => unicode1_leadership_submulti.dict} | 2 +- test/data/unicode1_leadership_submulti.info | 1 + test/data/unicode1_leadership_submulti.json | 1 + test/data/unicode1_leadership_submulti.owner | 1 + test/data/unicode1_leadership_submulti.prop | 1 + test/data/unicode1_leadership_submulti.prop2 | 1 + ...ue.dict => unicode1_leadership_value.dict} | 0 test/data/unicode1_leadership_value.info | 1 + test/data/unicode1_leadership_value.json | 1 + test/data/unicode1_leadership_value.owner | 1 + test/data/unicode1_leadership_value.prop | 1 + test/data/unicode1_leadership_value.prop2 | 1 + test/data/unicode1_mandatory.info | 2 +- test/data/unicode1_mandatory.owner | 2 +- test/data/unicode1_mandatory.prop | 2 +- test/data/unicode1_mandatory.prop2 | 2 +- test/data/unicode1_master_hidden_slaves.json | 1 - test/data/unicode1_master_slaves.json | 1 - .../unicode1_master_slaves_default_value.dict | 1 - .../unicode1_master_slaves_default_value.json | 1 - test/data/unicode1_master_slaves_hidden.json | 1 - ...ode1_master_slaves_hidden_all_default.json | 1 - .../unicode1_master_slaves_not_equal.json | 1 - .../data/unicode1_master_slaves_requires.json | 1 - ...nicode1_master_slaves_requires_master.json | 1 - ...unicode1_master_slaves_requires_slave.json | 1 - ...e1_master_slaves_requires_slave_value.dict | 1 - ...e1_master_slaves_requires_slave_value.json | 1 - ...nicode1_master_slaves_requires_slaves.json | 1 - ...unicode1_master_slaves_requires_value.dict | 1 - ...unicode1_master_slaves_requires_value.json | 1 - .../data/unicode1_master_slaves_submulti.json | 1 - test/data/unicode1_master_slaves_value.json | 1 - test/data/unicode1_mod_value.info | 2 +- test/data/unicode1_mod_value.owner | 2 +- test/data/unicode1_mod_value.prop | 2 +- test/data/unicode1_mod_value.prop2 | 2 +- test/data/unicode1_multi.info | 2 +- test/data/unicode1_multi.json | 2 +- test/data/unicode1_multi.owner | 2 +- test/data/unicode1_multi.prop | 2 +- test/data/unicode1_multi.prop2 | 2 +- test/data/unicode1_multi_mandatory.info | 2 +- test/data/unicode1_multi_mandatory.owner | 2 +- test/data/unicode1_multi_mandatory.prop | 2 +- test/data/unicode1_multi_mandatory.prop2 | 2 +- test/data/unicode1_multi_mod_value.info | 2 +- test/data/unicode1_multi_mod_value.owner | 2 +- test/data/unicode1_multi_mod_value.prop | 2 +- test/data/unicode1_multi_mod_value.prop2 | 2 +- .../unicode1_multi_not_equal_collapse.info | 2 +- .../unicode1_multi_not_equal_collapse.owner | 2 +- .../unicode1_multi_not_equal_collapse.prop | 2 +- .../unicode1_multi_not_equal_collapse.prop2 | 2 +- test/data/unicode1_multi_requires.info | 2 +- test/data/unicode1_multi_requires.owner | 2 +- test/data/unicode1_multi_requires.prop | 2 +- test/data/unicode1_multi_requires.prop2 | 2 +- test/data/unicode1_multi_value.info | 2 +- test/data/unicode1_multi_value.owner | 2 +- test/data/unicode1_multi_value.prop | 2 +- test/data/unicode1_multi_value.prop2 | 2 +- test/data/unicode1_not_equal.info | 2 +- test/data/unicode1_not_equal.owner | 2 +- test/data/unicode1_not_equal.prop | 2 +- test/data/unicode1_not_equal.prop2 | 2 +- .../unicode1_optiondescription_requires.info | 2 +- .../unicode1_optiondescription_requires.owner | 2 +- .../unicode1_optiondescription_requires.prop | 2 +- .../unicode1_optiondescription_requires.prop2 | 2 +- test/data/unicode1_requires.info | 2 +- test/data/unicode1_requires.owner | 2 +- test/data/unicode1_requires.prop | 2 +- test/data/unicode1_requires.prop2 | 2 +- test/data/unicode1_simple_callback.info | 2 +- test/data/unicode1_simple_callback.json | 2 +- test/data/unicode1_simple_callback.owner | 2 +- test/data/unicode1_simple_callback.prop | 2 +- test/data/unicode1_simple_callback.prop2 | 2 +- test/data/unicode2.info | 2 +- test/data/unicode2.owner | 2 +- test/data/unicode2.prop | 2 +- test/data/unicode2.prop2 | 2 +- test/data/unicode2_copy.info | 2 +- test/data/unicode2_copy.owner | 2 +- test/data/unicode2_copy.prop | 2 +- test/data/unicode2_copy.prop2 | 2 +- test/data/unicode2_multi_copy.info | 2 +- test/data/unicode2_multi_copy.owner | 2 +- test/data/unicode2_multi_copy.prop | 2 +- test/data/unicode2_multi_copy.prop2 | 2 +- test/data/unicode_property.info | 2 +- test/data/unicode_property.owner | 2 +- test/data/unicode_property.prop | 2 +- test/data/unicode_property.prop2 | 2 +- .../unicode_property_optiondescription.info | 2 +- .../unicode_property_optiondescription.owner | 2 +- .../unicode_property_optiondescription.prop | 2 +- .../unicode_property_optiondescription.prop2 | 2 +- test/data/username1.info | 2 +- test/data/username1.json | 2 +- test/data/username1.owner | 2 +- test/data/username1.prop | 2 +- test/data/username1.prop2 | 2 +- test/data/username1_frozen.info | 2 +- test/data/username1_frozen.json | 2 +- test/data/username1_frozen.owner | 2 +- test/data/username1_frozen.prop | 2 +- test/data/username1_frozen.prop2 | 2 +- test/test_json.py | 111 ++++++++++-- tiramisu_json_api/api.py | 171 ++++++++++++------ 614 files changed, 746 insertions(+), 484 deletions(-) rename test/data/{choice1_master_slaves.dict => choice1_leadership.dict} (100%) create mode 100644 test/data/choice1_leadership.info create mode 100644 test/data/choice1_leadership.json create mode 100644 test/data/choice1_leadership.owner create mode 100644 test/data/choice1_leadership.prop create mode 100644 test/data/choice1_leadership.prop2 rename test/data/{choice1_master_slaves_hidden.dict => choice1_leadership_hidden.dict} (100%) create mode 100644 test/data/choice1_leadership_hidden.info create mode 100644 test/data/choice1_leadership_hidden.json create mode 100644 test/data/choice1_leadership_hidden.owner create mode 100644 test/data/choice1_leadership_hidden.prop create mode 100644 test/data/choice1_leadership_hidden.prop2 rename test/data/{choice1_master_slaves_value.dict => choice1_leadership_value.dict} (100%) create mode 100644 test/data/choice1_leadership_value.info create mode 100644 test/data/choice1_leadership_value.json create mode 100644 test/data/choice1_leadership_value.owner create mode 100644 test/data/choice1_leadership_value.prop create mode 100644 test/data/choice1_leadership_value.prop2 delete mode 100644 test/data/choice1_master_slaves.json delete mode 100644 test/data/choice1_master_slaves_hidden.json delete mode 100644 test/data/choice1_master_slaves_value.json create mode 100644 test/data/subconfig_choice1_leadership.dict create mode 100644 test/data/subconfig_choice1_leadership.info create mode 100644 test/data/subconfig_choice1_leadership.json create mode 100644 test/data/subconfig_choice1_leadership.owner create mode 100644 test/data/subconfig_choice1_leadership.prop create mode 100644 test/data/subconfig_choice1_leadership.prop2 create mode 100644 test/data/subconfig_choice1_leadership_hidden.dict create mode 100644 test/data/subconfig_choice1_leadership_hidden.info create mode 100644 test/data/subconfig_choice1_leadership_hidden.json create mode 100644 test/data/subconfig_choice1_leadership_hidden.owner create mode 100644 test/data/subconfig_choice1_leadership_hidden.prop create mode 100644 test/data/subconfig_choice1_leadership_hidden.prop2 create mode 100644 test/data/subconfig_choice1_leadership_value.dict create mode 100644 test/data/subconfig_choice1_leadership_value.info create mode 100644 test/data/subconfig_choice1_leadership_value.json create mode 100644 test/data/subconfig_choice1_leadership_value.owner create mode 100644 test/data/subconfig_choice1_leadership_value.prop create mode 100644 test/data/subconfig_choice1_leadership_value.prop2 delete mode 100644 test/data/subconfig_choice1_master_slaves.dict delete mode 100644 test/data/subconfig_choice1_master_slaves.json delete mode 100644 test/data/subconfig_choice1_master_slaves_hidden.dict delete mode 100644 test/data/subconfig_choice1_master_slaves_hidden.json delete mode 100644 test/data/subconfig_choice1_master_slaves_value.dict delete mode 100644 test/data/subconfig_choice1_master_slaves_value.json rename test/data/{subconfig_unicode1_master_hidden_slaves.dict => subconfig_unicode1_leader_hidden_followers.dict} (100%) rename test/data/{unicode1_master_hidden_slaves.dict => subconfig_unicode1_leader_hidden_followers.info} (100%) create mode 100644 test/data/subconfig_unicode1_leader_hidden_followers.json create mode 100644 test/data/subconfig_unicode1_leader_hidden_followers.owner create mode 100644 test/data/subconfig_unicode1_leader_hidden_followers.prop create mode 100644 test/data/subconfig_unicode1_leader_hidden_followers.prop2 create mode 100644 test/data/subconfig_unicode1_leadership.dict create mode 100644 test/data/subconfig_unicode1_leadership.info create mode 100644 test/data/subconfig_unicode1_leadership.json create mode 100644 test/data/subconfig_unicode1_leadership.owner create mode 100644 test/data/subconfig_unicode1_leadership.prop create mode 100644 test/data/subconfig_unicode1_leadership.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_default_value.dict create mode 100644 test/data/subconfig_unicode1_leadership_default_value.info create mode 100644 test/data/subconfig_unicode1_leadership_default_value.json create mode 100644 test/data/subconfig_unicode1_leadership_default_value.owner create mode 100644 test/data/subconfig_unicode1_leadership_default_value.prop create mode 100644 test/data/subconfig_unicode1_leadership_default_value.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_hidden.dict create mode 100644 test/data/subconfig_unicode1_leadership_hidden.info create mode 100644 test/data/subconfig_unicode1_leadership_hidden.json create mode 100644 test/data/subconfig_unicode1_leadership_hidden.owner create mode 100644 test/data/subconfig_unicode1_leadership_hidden.prop create mode 100644 test/data/subconfig_unicode1_leadership_hidden.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.dict create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.info create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.json create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.owner create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.prop create mode 100644 test/data/subconfig_unicode1_leadership_hidden_all_default.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.dict create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.info create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.json create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.owner create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.prop create mode 100644 test/data/subconfig_unicode1_leadership_not_equal.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires.info create mode 100644 test/data/subconfig_unicode1_leadership_requires.json create mode 100644 test/data/subconfig_unicode1_leadership_requires.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_all.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_follower_value.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_followers.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_leader.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.dict create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.info create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.json create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.owner create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.prop create mode 100644 test/data/subconfig_unicode1_leadership_requires_value.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_submulti.dict create mode 100644 test/data/subconfig_unicode1_leadership_submulti.info create mode 100644 test/data/subconfig_unicode1_leadership_submulti.json create mode 100644 test/data/subconfig_unicode1_leadership_submulti.owner create mode 100644 test/data/subconfig_unicode1_leadership_submulti.prop create mode 100644 test/data/subconfig_unicode1_leadership_submulti.prop2 create mode 100644 test/data/subconfig_unicode1_leadership_value.dict create mode 100644 test/data/subconfig_unicode1_leadership_value.info create mode 100644 test/data/subconfig_unicode1_leadership_value.json create mode 100644 test/data/subconfig_unicode1_leadership_value.owner create mode 100644 test/data/subconfig_unicode1_leadership_value.prop create mode 100644 test/data/subconfig_unicode1_leadership_value.prop2 delete mode 100644 test/data/subconfig_unicode1_master_hidden_slaves.json delete mode 100644 test/data/subconfig_unicode1_master_slaves.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_default_value.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_default_value.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_hidden.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_hidden.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_hidden_all_default.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_hidden_all_default.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_not_equal.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_not_equal.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_all.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_all.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_master.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_master.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slave.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slave.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slave_value.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slave_value.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slaves.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_slaves.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_value.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_requires_value.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_submulti.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_submulti.json delete mode 100644 test/data/subconfig_unicode1_master_slaves_value.dict delete mode 100644 test/data/subconfig_unicode1_master_slaves_value.json delete mode 100644 test/data/unicode1.dict1 delete mode 100644 test/data/unicode1.mod1 delete mode 100644 test/data/unicode1.updates1 create mode 100644 test/data/unicode1_leader_hidden_followers.dict create mode 100644 test/data/unicode1_leader_hidden_followers.info create mode 100644 test/data/unicode1_leader_hidden_followers.json create mode 100644 test/data/unicode1_leader_hidden_followers.owner create mode 100644 test/data/unicode1_leader_hidden_followers.prop create mode 100644 test/data/unicode1_leader_hidden_followers.prop2 rename test/data/{unicode1_master_slaves.dict => unicode1_leadership.dict} (100%) create mode 100644 test/data/unicode1_leadership.info create mode 100644 test/data/unicode1_leadership.json create mode 100644 test/data/unicode1_leadership.owner create mode 100644 test/data/unicode1_leadership.prop create mode 100644 test/data/unicode1_leadership.prop2 create mode 100644 test/data/unicode1_leadership_default_value.dict create mode 100644 test/data/unicode1_leadership_default_value.info create mode 100644 test/data/unicode1_leadership_default_value.json create mode 100644 test/data/unicode1_leadership_default_value.owner create mode 100644 test/data/unicode1_leadership_default_value.prop create mode 100644 test/data/unicode1_leadership_default_value.prop2 rename test/data/{unicode1_master_slaves_hidden.dict => unicode1_leadership_hidden.dict} (100%) create mode 100644 test/data/unicode1_leadership_hidden.info create mode 100644 test/data/unicode1_leadership_hidden.json create mode 100644 test/data/unicode1_leadership_hidden.owner create mode 100644 test/data/unicode1_leadership_hidden.prop create mode 100644 test/data/unicode1_leadership_hidden.prop2 rename test/data/{unicode1_master_slaves_hidden_all_default.dict => unicode1_leadership_hidden_all_default.dict} (100%) create mode 100644 test/data/unicode1_leadership_hidden_all_default.info create mode 100644 test/data/unicode1_leadership_hidden_all_default.json create mode 100644 test/data/unicode1_leadership_hidden_all_default.owner create mode 100644 test/data/unicode1_leadership_hidden_all_default.prop create mode 100644 test/data/unicode1_leadership_hidden_all_default.prop2 rename test/data/{unicode1_master_slaves_not_equal.dict => unicode1_leadership_not_equal.dict} (100%) create mode 100644 test/data/unicode1_leadership_not_equal.info create mode 100644 test/data/unicode1_leadership_not_equal.json create mode 100644 test/data/unicode1_leadership_not_equal.owner create mode 100644 test/data/unicode1_leadership_not_equal.prop create mode 100644 test/data/unicode1_leadership_not_equal.prop2 rename test/data/{unicode1_master_slaves_submulti.dict => unicode1_leadership_requires.dict} (100%) create mode 100644 test/data/unicode1_leadership_requires.info create mode 100644 test/data/unicode1_leadership_requires.json create mode 100644 test/data/unicode1_leadership_requires.owner create mode 100644 test/data/unicode1_leadership_requires.prop create mode 100644 test/data/unicode1_leadership_requires.prop2 rename test/data/{unicode1_master_slaves_requires_all.dict => unicode1_leadership_requires_all.dict} (100%) create mode 100644 test/data/unicode1_leadership_requires_all.info create mode 100644 test/data/unicode1_leadership_requires_all.json create mode 100644 test/data/unicode1_leadership_requires_all.owner create mode 100644 test/data/unicode1_leadership_requires_all.prop create mode 100644 test/data/unicode1_leadership_requires_all.prop2 rename test/data/{unicode1_master_slaves_requires_slave.dict => unicode1_leadership_requires_follower.dict} (64%) create mode 100644 test/data/unicode1_leadership_requires_follower.info create mode 100644 test/data/unicode1_leadership_requires_follower.json create mode 100644 test/data/unicode1_leadership_requires_follower.owner create mode 100644 test/data/unicode1_leadership_requires_follower.prop create mode 100644 test/data/unicode1_leadership_requires_follower.prop2 create mode 100644 test/data/unicode1_leadership_requires_follower_value.dict create mode 100644 test/data/unicode1_leadership_requires_follower_value.info create mode 100644 test/data/unicode1_leadership_requires_follower_value.json create mode 100644 test/data/unicode1_leadership_requires_follower_value.owner create mode 100644 test/data/unicode1_leadership_requires_follower_value.prop create mode 100644 test/data/unicode1_leadership_requires_follower_value.prop2 rename test/data/{unicode1_master_slaves_requires_slaves.dict => unicode1_leadership_requires_followers.dict} (64%) create mode 100644 test/data/unicode1_leadership_requires_followers.info create mode 100644 test/data/unicode1_leadership_requires_followers.json create mode 100644 test/data/unicode1_leadership_requires_followers.owner create mode 100644 test/data/unicode1_leadership_requires_followers.prop create mode 100644 test/data/unicode1_leadership_requires_followers.prop2 rename test/data/{unicode1_master_slaves_requires_master.dict => unicode1_leadership_requires_leader.dict} (100%) create mode 100644 test/data/unicode1_leadership_requires_leader.info rename test/data/{unicode1_master_slaves_requires_all.json => unicode1_leadership_requires_leader.json} (56%) create mode 100644 test/data/unicode1_leadership_requires_leader.owner create mode 100644 test/data/unicode1_leadership_requires_leader.prop create mode 100644 test/data/unicode1_leadership_requires_leader.prop2 create mode 100644 test/data/unicode1_leadership_requires_value.dict create mode 100644 test/data/unicode1_leadership_requires_value.info create mode 100644 test/data/unicode1_leadership_requires_value.json create mode 100644 test/data/unicode1_leadership_requires_value.owner create mode 100644 test/data/unicode1_leadership_requires_value.prop create mode 100644 test/data/unicode1_leadership_requires_value.prop2 rename test/data/{unicode1_master_slaves_requires.dict => unicode1_leadership_submulti.dict} (50%) create mode 100644 test/data/unicode1_leadership_submulti.info create mode 100644 test/data/unicode1_leadership_submulti.json create mode 100644 test/data/unicode1_leadership_submulti.owner create mode 100644 test/data/unicode1_leadership_submulti.prop create mode 100644 test/data/unicode1_leadership_submulti.prop2 rename test/data/{unicode1_master_slaves_value.dict => unicode1_leadership_value.dict} (100%) create mode 100644 test/data/unicode1_leadership_value.info create mode 100644 test/data/unicode1_leadership_value.json create mode 100644 test/data/unicode1_leadership_value.owner create mode 100644 test/data/unicode1_leadership_value.prop create mode 100644 test/data/unicode1_leadership_value.prop2 delete mode 100644 test/data/unicode1_master_hidden_slaves.json delete mode 100644 test/data/unicode1_master_slaves.json delete mode 100644 test/data/unicode1_master_slaves_default_value.dict delete mode 100644 test/data/unicode1_master_slaves_default_value.json delete mode 100644 test/data/unicode1_master_slaves_hidden.json delete mode 100644 test/data/unicode1_master_slaves_hidden_all_default.json delete mode 100644 test/data/unicode1_master_slaves_not_equal.json delete mode 100644 test/data/unicode1_master_slaves_requires.json delete mode 100644 test/data/unicode1_master_slaves_requires_master.json delete mode 100644 test/data/unicode1_master_slaves_requires_slave.json delete mode 100644 test/data/unicode1_master_slaves_requires_slave_value.dict delete mode 100644 test/data/unicode1_master_slaves_requires_slave_value.json delete mode 100644 test/data/unicode1_master_slaves_requires_slaves.json delete mode 100644 test/data/unicode1_master_slaves_requires_value.dict delete mode 100644 test/data/unicode1_master_slaves_requires_value.json delete mode 100644 test/data/unicode1_master_slaves_submulti.json delete mode 100644 test/data/unicode1_master_slaves_value.json diff --git a/test/data/boolean1.info b/test/data/boolean1.info index 78138fd..921bb4d 100644 --- a/test/data/boolean1.info +++ b/test/data/boolean1.info @@ -1 +1 @@ -{"options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}} \ No newline at end of file +{"options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "boolean"}} \ No newline at end of file diff --git a/test/data/boolean1.owner b/test/data/boolean1.owner index 567fbea..75b6156 100644 --- a/test/data/boolean1.owner +++ b/test/data/boolean1.owner @@ -1 +1 @@ -{"options.boolean": "default"} \ No newline at end of file +{"options.boolean": {"null": "default"}} \ No newline at end of file diff --git a/test/data/boolean1.prop b/test/data/boolean1.prop index afd9fe0..f2bbd4f 100644 --- a/test/data/boolean1.prop +++ b/test/data/boolean1.prop @@ -1 +1 @@ -{"options.boolean": []} \ No newline at end of file +{"options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/boolean1.prop2 b/test/data/boolean1.prop2 index afd9fe0..f2bbd4f 100644 --- a/test/data/boolean1.prop2 +++ b/test/data/boolean1.prop2 @@ -1 +1 @@ -{"options.boolean": []} \ No newline at end of file +{"options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/boolean1_frozen.info b/test/data/boolean1_frozen.info index 06683d3..05d88ba 100644 --- a/test/data/boolean1_frozen.info +++ b/test/data/boolean1_frozen.info @@ -1 +1 @@ -{"options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}} \ No newline at end of file +{"options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "boolean"}} \ No newline at end of file diff --git a/test/data/boolean1_frozen.owner b/test/data/boolean1_frozen.owner index 567fbea..75b6156 100644 --- a/test/data/boolean1_frozen.owner +++ b/test/data/boolean1_frozen.owner @@ -1 +1 @@ -{"options.boolean": "default"} \ No newline at end of file +{"options.boolean": {"null": "default"}} \ No newline at end of file diff --git a/test/data/boolean1_frozen.prop b/test/data/boolean1_frozen.prop index 48c427d..acd8ca8 100644 --- a/test/data/boolean1_frozen.prop +++ b/test/data/boolean1_frozen.prop @@ -1 +1 @@ -{"options.boolean": ["frozen"]} \ No newline at end of file +{"options.boolean": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/boolean1_frozen.prop2 b/test/data/boolean1_frozen.prop2 index afd9fe0..f2bbd4f 100644 --- a/test/data/boolean1_frozen.prop2 +++ b/test/data/boolean1_frozen.prop2 @@ -1 +1 @@ -{"options.boolean": []} \ No newline at end of file +{"options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1.info b/test/data/choice1.info index 4149c43..b2401db 100644 --- a/test/data/choice1.info +++ b/test/data/choice1.info @@ -1 +1 @@ -{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1.owner b/test/data/choice1.owner index 80b073b..d290f3c 100644 --- a/test/data/choice1.owner +++ b/test/data/choice1.owner @@ -1 +1 @@ -{"options.choice": "default"} \ No newline at end of file +{"options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/choice1.prop b/test/data/choice1.prop index 0743b81..3538621 100644 --- a/test/data/choice1.prop +++ b/test/data/choice1.prop @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1.prop2 b/test/data/choice1.prop2 index 0743b81..3538621 100644 --- a/test/data/choice1.prop2 +++ b/test/data/choice1.prop2 @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1_frozen.info b/test/data/choice1_frozen.info index 490b403..cbd5e10 100644 --- a/test/data/choice1_frozen.info +++ b/test/data/choice1_frozen.info @@ -1 +1 @@ -{"options.choice": {"doc": "Choice description frozen", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"options.choice": {"doc": "Choice description frozen", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_frozen.owner b/test/data/choice1_frozen.owner index 80b073b..d290f3c 100644 --- a/test/data/choice1_frozen.owner +++ b/test/data/choice1_frozen.owner @@ -1 +1 @@ -{"options.choice": "default"} \ No newline at end of file +{"options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/choice1_frozen.prop b/test/data/choice1_frozen.prop index 7546d9a..d36899b 100644 --- a/test/data/choice1_frozen.prop +++ b/test/data/choice1_frozen.prop @@ -1 +1 @@ -{"options.choice": ["frozen"]} \ No newline at end of file +{"options.choice": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/choice1_frozen.prop2 b/test/data/choice1_frozen.prop2 index 0743b81..3538621 100644 --- a/test/data/choice1_frozen.prop2 +++ b/test/data/choice1_frozen.prop2 @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1_master_slaves.dict b/test/data/choice1_leadership.dict similarity index 100% rename from test/data/choice1_master_slaves.dict rename to test/data/choice1_leadership.dict diff --git a/test/data/choice1_leadership.info b/test/data/choice1_leadership.info new file mode 100644 index 0000000..fe3d06f --- /dev/null +++ b/test/data/choice1_leadership.info @@ -0,0 +1 @@ +{"options.choice1.choice1": {"doc": "Choice description leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice2": {"doc": "Choice description follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice3": {"doc": "Choice description follower 2", "name": "choice3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice4": {"doc": "Choice description follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_leadership.json b/test/data/choice1_leadership.json new file mode 100644 index 0000000..39167f6 --- /dev/null +++ b/test/data/choice1_leadership.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description leader"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description follower 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description follower 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_leadership.owner b/test/data/choice1_leadership.owner new file mode 100644 index 0000000..dbef9b9 --- /dev/null +++ b/test/data/choice1_leadership.owner @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": "default"}, "options.choice1.choice2": {}, "options.choice1.choice3": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_leadership.prop b/test/data/choice1_leadership.prop new file mode 100644 index 0000000..293ee5c --- /dev/null +++ b/test/data/choice1_leadership.prop @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": ["empty"]}, "options.choice1.choice2": {}, "options.choice1.choice3": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_leadership.prop2 b/test/data/choice1_leadership.prop2 new file mode 100644 index 0000000..533a4b3 --- /dev/null +++ b/test/data/choice1_leadership.prop2 @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": []}, "options.choice1.choice2": {}, "options.choice1.choice3": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_master_slaves_hidden.dict b/test/data/choice1_leadership_hidden.dict similarity index 100% rename from test/data/choice1_master_slaves_hidden.dict rename to test/data/choice1_leadership_hidden.dict diff --git a/test/data/choice1_leadership_hidden.info b/test/data/choice1_leadership_hidden.info new file mode 100644 index 0000000..712fcdf --- /dev/null +++ b/test/data/choice1_leadership_hidden.info @@ -0,0 +1 @@ +{"options.choice1.choice1": {"doc": "Choice description leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice2": {"doc": "Choice description follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice4": {"doc": "Choice description follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_leadership_hidden.json b/test/data/choice1_leadership_hidden.json new file mode 100644 index 0000000..0bd07a8 --- /dev/null +++ b/test/data/choice1_leadership_hidden.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description leader"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description follower 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description follower 2 hidden"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description follower 3"}}, "type": "array", "title": "Slave 2 is hidden"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}, {"key": "options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_leadership_hidden.owner b/test/data/choice1_leadership_hidden.owner new file mode 100644 index 0000000..644c4a5 --- /dev/null +++ b/test/data/choice1_leadership_hidden.owner @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": "default"}, "options.choice1.choice2": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_leadership_hidden.prop b/test/data/choice1_leadership_hidden.prop new file mode 100644 index 0000000..72d2f32 --- /dev/null +++ b/test/data/choice1_leadership_hidden.prop @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": ["empty"]}, "options.choice1.choice2": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_leadership_hidden.prop2 b/test/data/choice1_leadership_hidden.prop2 new file mode 100644 index 0000000..afb42f8 --- /dev/null +++ b/test/data/choice1_leadership_hidden.prop2 @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": []}, "options.choice1.choice2": {}, "options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/choice1_master_slaves_value.dict b/test/data/choice1_leadership_value.dict similarity index 100% rename from test/data/choice1_master_slaves_value.dict rename to test/data/choice1_leadership_value.dict diff --git a/test/data/choice1_leadership_value.info b/test/data/choice1_leadership_value.info new file mode 100644 index 0000000..2d6d93a --- /dev/null +++ b/test/data/choice1_leadership_value.info @@ -0,0 +1 @@ +{"options.choice1.choice1": {"doc": "Choice leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice2": {"doc": "Choice follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice3": {"doc": "Choice follower 2", "name": "choice3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "options.choice1.choice4": {"doc": "Choice follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_leadership_value.json b/test/data/choice1_leadership_value.json new file mode 100644 index 0000000..ea0c6cd --- /dev/null +++ b/test/data/choice1_leadership_value.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice leader"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice follower 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice follower 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true, "value": ["choice 2"], "owner": "user"}, {"key": "options.choice1.choice2", "index": 0, "value": "choice 4", "owner": "user"}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_leadership_value.owner b/test/data/choice1_leadership_value.owner new file mode 100644 index 0000000..c45b217 --- /dev/null +++ b/test/data/choice1_leadership_value.owner @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": "user"}, "options.choice1.choice2": {"0": "user"}, "options.choice1.choice3": {"0": "default"}, "options.choice1.choice4": {"0": "default"}} \ No newline at end of file diff --git a/test/data/choice1_leadership_value.prop b/test/data/choice1_leadership_value.prop new file mode 100644 index 0000000..c0096d8 --- /dev/null +++ b/test/data/choice1_leadership_value.prop @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": ["empty"]}, "options.choice1.choice2": {"0": []}, "options.choice1.choice3": {"0": []}, "options.choice1.choice4": {"0": []}} \ No newline at end of file diff --git a/test/data/choice1_leadership_value.prop2 b/test/data/choice1_leadership_value.prop2 new file mode 100644 index 0000000..c4d3b94 --- /dev/null +++ b/test/data/choice1_leadership_value.prop2 @@ -0,0 +1 @@ +{"options.choice1.choice1": {"null": []}, "options.choice1.choice2": {"0": []}, "options.choice1.choice3": {"0": []}, "options.choice1.choice4": {"0": []}} \ No newline at end of file diff --git a/test/data/choice1_master_slaves.json b/test/data/choice1_master_slaves.json deleted file mode 100644 index 726c087..0000000 --- a/test/data/choice1_master_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_master_slaves_hidden.json b/test/data/choice1_master_slaves_hidden.json deleted file mode 100644 index 213c395..0000000 --- a/test/data/choice1_master_slaves_hidden.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2 hidden"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Slave 2 is hidden"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true}, {"key": "options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_master_slaves_value.json b/test/data/choice1_master_slaves_value.json deleted file mode 100644 index ab7107c..0000000 --- a/test/data/choice1_master_slaves_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.choice1": {"name": "options.choice1", "properties": {"options.choice1.choice1": {"name": "options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice master"}, "options.choice1.choice2": {"name": "options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice slave 1"}, "options.choice1.choice3": {"name": "options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice slave 2"}, "options.choice1.choice4": {"name": "options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.choice1.choice1", "required": true, "value": ["choice 2"], "owner": "user"}, {"key": "options.choice1.choice2", "index": 0, "value": "choice 4", "owner": "user"}], "form": [{"key": "options.choice1.choice1", "type": "choice"}, {"key": "options.choice1.choice2", "type": "choice"}, {"key": "options.choice1.choice3", "type": "choice"}, {"key": "options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/choice1_multi.info b/test/data/choice1_multi.info index 72f651d..900254d 100644 --- a/test/data/choice1_multi.info +++ b/test/data/choice1_multi.info @@ -1 +1 @@ -{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file +{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_multi.owner b/test/data/choice1_multi.owner index 80b073b..d290f3c 100644 --- a/test/data/choice1_multi.owner +++ b/test/data/choice1_multi.owner @@ -1 +1 @@ -{"options.choice": "default"} \ No newline at end of file +{"options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/choice1_multi.prop b/test/data/choice1_multi.prop index b391738..72a48d7 100644 --- a/test/data/choice1_multi.prop +++ b/test/data/choice1_multi.prop @@ -1 +1 @@ -{"options.choice": ["empty"]} \ No newline at end of file +{"options.choice": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/choice1_multi.prop2 b/test/data/choice1_multi.prop2 index 0743b81..3538621 100644 --- a/test/data/choice1_multi.prop2 +++ b/test/data/choice1_multi.prop2 @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1_rename.info b/test/data/choice1_rename.info index 4149c43..b2401db 100644 --- a/test/data/choice1_rename.info +++ b/test/data/choice1_rename.info @@ -1 +1 @@ -{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_rename.owner b/test/data/choice1_rename.owner index 80b073b..d290f3c 100644 --- a/test/data/choice1_rename.owner +++ b/test/data/choice1_rename.owner @@ -1 +1 @@ -{"options.choice": "default"} \ No newline at end of file +{"options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/choice1_rename.prop b/test/data/choice1_rename.prop index 0743b81..3538621 100644 --- a/test/data/choice1_rename.prop +++ b/test/data/choice1_rename.prop @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1_rename.prop2 b/test/data/choice1_rename.prop2 index 0743b81..3538621 100644 --- a/test/data/choice1_rename.prop2 +++ b/test/data/choice1_rename.prop2 @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/choice1_requires.info b/test/data/choice1_requires.info index 4149c43..b2401db 100644 --- a/test/data/choice1_requires.info +++ b/test/data/choice1_requires.info @@ -1 +1 @@ -{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/choice1_requires.owner b/test/data/choice1_requires.owner index 80b073b..d290f3c 100644 --- a/test/data/choice1_requires.owner +++ b/test/data/choice1_requires.owner @@ -1 +1 @@ -{"options.choice": "default"} \ No newline at end of file +{"options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/choice1_requires.prop b/test/data/choice1_requires.prop index 6064c7a..4e2b047 100644 --- a/test/data/choice1_requires.prop +++ b/test/data/choice1_requires.prop @@ -1 +1 @@ -{"options.choice": ["mandatory"]} \ No newline at end of file +{"options.choice": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/choice1_requires.prop2 b/test/data/choice1_requires.prop2 index 0743b81..3538621 100644 --- a/test/data/choice1_requires.prop2 +++ b/test/data/choice1_requires.prop2 @@ -1 +1 @@ -{"options.choice": []} \ No newline at end of file +{"options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/date1.info b/test/data/date1.info index 290dc28..6f6f61c 100644 --- a/test/data/date1.info +++ b/test/data/date1.info @@ -1 +1 @@ -{"options.date": {"doc": "Date description", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file +{"options.date": {"doc": "Date description", "name": "date", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file diff --git a/test/data/date1.owner b/test/data/date1.owner index db9e0b5..c93bd17 100644 --- a/test/data/date1.owner +++ b/test/data/date1.owner @@ -1 +1 @@ -{"options.date": "default"} \ No newline at end of file +{"options.date": {"null": "default"}} \ No newline at end of file diff --git a/test/data/date1.prop b/test/data/date1.prop index 369104a..3f80123 100644 --- a/test/data/date1.prop +++ b/test/data/date1.prop @@ -1 +1 @@ -{"options.date": []} \ No newline at end of file +{"options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/date1.prop2 b/test/data/date1.prop2 index 369104a..3f80123 100644 --- a/test/data/date1.prop2 +++ b/test/data/date1.prop2 @@ -1 +1 @@ -{"options.date": []} \ No newline at end of file +{"options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/date1_frozen.info b/test/data/date1_frozen.info index ea0a7d1..bdd7b4b 100644 --- a/test/data/date1_frozen.info +++ b/test/data/date1_frozen.info @@ -1 +1 @@ -{"options.date": {"doc": "Date description frozen", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file +{"options.date": {"doc": "Date description frozen", "name": "date", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file diff --git a/test/data/date1_frozen.owner b/test/data/date1_frozen.owner index db9e0b5..c93bd17 100644 --- a/test/data/date1_frozen.owner +++ b/test/data/date1_frozen.owner @@ -1 +1 @@ -{"options.date": "default"} \ No newline at end of file +{"options.date": {"null": "default"}} \ No newline at end of file diff --git a/test/data/date1_frozen.prop b/test/data/date1_frozen.prop index d49655d..ef2f296 100644 --- a/test/data/date1_frozen.prop +++ b/test/data/date1_frozen.prop @@ -1 +1 @@ -{"options.date": ["frozen"]} \ No newline at end of file +{"options.date": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/date1_frozen.prop2 b/test/data/date1_frozen.prop2 index 369104a..3f80123 100644 --- a/test/data/date1_frozen.prop2 +++ b/test/data/date1_frozen.prop2 @@ -1 +1 @@ -{"options.date": []} \ No newline at end of file +{"options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/filename1.info b/test/data/filename1.info index 70c8c65..69c4883 100644 --- a/test/data/filename1.info +++ b/test/data/filename1.info @@ -1 +1 @@ -{"usbpath": {"doc": "Chemin d'acc\u00e8s", "name": "usbpath", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "filename"}} \ No newline at end of file +{"usbpath": {"doc": "Chemin d'acc\u00e8s", "name": "usbpath", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "file name"}} \ No newline at end of file diff --git a/test/data/filename1.json b/test/data/filename1.json index 59d652f..d620156 100644 --- a/test/data/filename1.json +++ b/test/data/filename1.json @@ -1 +1 @@ -{"schema": {"usbpath": {"name": "usbpath", "type": "string", "title": "Chemin d'acc\u00e8s"}}, "model": [{"key": "usbpath", "required": true}], "form": [{"key": "usbpath", "pattern": "^[a-zA-Z0-9\\-\\._~/+]+$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"usbpath": {"name": "usbpath", "type": "file name", "title": "Chemin d'acc\u00e8s"}}, "model": [{"key": "usbpath", "required": true}], "form": [{"key": "usbpath", "pattern": "^[a-zA-Z0-9\\-\\._~/+]+$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/filename1.owner b/test/data/filename1.owner index 1c557e1..88fcaba 100644 --- a/test/data/filename1.owner +++ b/test/data/filename1.owner @@ -1 +1 @@ -{"usbpath": "default"} \ No newline at end of file +{"usbpath": {"null": "default"}} \ No newline at end of file diff --git a/test/data/filename1.prop b/test/data/filename1.prop index e33059c..0833a3d 100644 --- a/test/data/filename1.prop +++ b/test/data/filename1.prop @@ -1 +1 @@ -{"usbpath": ["mandatory"]} \ No newline at end of file +{"usbpath": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/filename1.prop2 b/test/data/filename1.prop2 index 7544065..50317df 100644 --- a/test/data/filename1.prop2 +++ b/test/data/filename1.prop2 @@ -1 +1 @@ -{"usbpath": []} \ No newline at end of file +{"usbpath": {"null": []}} \ No newline at end of file diff --git a/test/data/hostname1.info b/test/data/hostname1.info index 611f009..33507c5 100644 --- a/test/data/hostname1.info +++ b/test/data/hostname1.info @@ -1 +1 @@ -{"options.hostname1": {"doc": "Domainname Description", "name": "hostname1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname2": {"doc": "Domainname without dot Description", "name": "hostname2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname3": {"doc": "Hostname or IP Description", "name": "hostname3", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "options.hostname4": {"doc": "Netbios Description", "name": "hostname4", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}} \ No newline at end of file +{"options.hostname1": {"doc": "Domainname Description", "name": "hostname1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "options.hostname2": {"doc": "Domainname without dot Description", "name": "hostname2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "options.hostname3": {"doc": "Hostname or IP Description", "name": "hostname3", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "options.hostname4": {"doc": "Netbios Description", "name": "hostname4", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}} \ No newline at end of file diff --git a/test/data/hostname1.json b/test/data/hostname1.json index 799d296..2001363 100644 --- a/test/data/hostname1.json +++ b/test/data/hostname1.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.hostname1": {"name": "options.hostname1", "type": "domain", "title": "Domainname Description"}, "options.hostname2": {"name": "options.hostname2", "type": "domain", "title": "Domainname without dot Description"}, "options.hostname3": {"name": "options.hostname3", "type": "domain", "title": "Hostname or IP Description"}, "options.hostname4": {"name": "options.hostname4", "type": "domain", "title": "Netbios Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.hostname1", "pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "options.hostname2", "pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "options.hostname3", "pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$", "type": "input"}, {"key": "options.hostname4", "pattern": "^((?!-)[a-z0-9-]{1,15})$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.hostname1": {"name": "options.hostname1", "type": "domain name", "title": "Domainname Description"}, "options.hostname2": {"name": "options.hostname2", "type": "domain name", "title": "Domainname without dot Description"}, "options.hostname3": {"name": "options.hostname3", "type": "domain name", "title": "Hostname or IP Description"}, "options.hostname4": {"name": "options.hostname4", "type": "domain name", "title": "Netbios Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/hostname1.owner b/test/data/hostname1.owner index d0f73b9..188127e 100644 --- a/test/data/hostname1.owner +++ b/test/data/hostname1.owner @@ -1 +1 @@ -{"options.hostname1": "default", "options.hostname2": "default", "options.hostname3": "default", "options.hostname4": "default"} \ No newline at end of file +{"options.hostname1": {"null": "default"}, "options.hostname2": {"null": "default"}, "options.hostname3": {"null": "default"}, "options.hostname4": {"null": "default"}} \ No newline at end of file diff --git a/test/data/hostname1.prop b/test/data/hostname1.prop index 587e5eb..d31d470 100644 --- a/test/data/hostname1.prop +++ b/test/data/hostname1.prop @@ -1 +1 @@ -{"options.hostname1": [], "options.hostname2": [], "options.hostname3": [], "options.hostname4": []} \ No newline at end of file +{"options.hostname1": {"null": []}, "options.hostname2": {"null": []}, "options.hostname3": {"null": []}, "options.hostname4": {"null": []}} \ No newline at end of file diff --git a/test/data/hostname1.prop2 b/test/data/hostname1.prop2 index 587e5eb..d31d470 100644 --- a/test/data/hostname1.prop2 +++ b/test/data/hostname1.prop2 @@ -1 +1 @@ -{"options.hostname1": [], "options.hostname2": [], "options.hostname3": [], "options.hostname4": []} \ No newline at end of file +{"options.hostname1": {"null": []}, "options.hostname2": {"null": []}, "options.hostname3": {"null": []}, "options.hostname4": {"null": []}} \ No newline at end of file diff --git a/test/data/ip1.info b/test/data/ip1.info index cc0c214..af5de31 100644 --- a/test/data/ip1.info +++ b/test/data/ip1.info @@ -1 +1 @@ -{"options.ip": {"doc": "IP Description", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}} \ No newline at end of file +{"options.ip": {"doc": "IP Description", "name": "ip", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "IP"}} \ No newline at end of file diff --git a/test/data/ip1.json b/test/data/ip1.json index db19b63..dbdb078 100644 --- a/test/data/ip1.json +++ b/test/data/ip1.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "string", "title": "IP Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "IP", "title": "IP Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/ip1.owner b/test/data/ip1.owner index 42690d3..e10d181 100644 --- a/test/data/ip1.owner +++ b/test/data/ip1.owner @@ -1 +1 @@ -{"options.ip": "default"} \ No newline at end of file +{"options.ip": {"null": "default"}} \ No newline at end of file diff --git a/test/data/ip1.prop b/test/data/ip1.prop index ec28c68..36608f5 100644 --- a/test/data/ip1.prop +++ b/test/data/ip1.prop @@ -1 +1 @@ -{"options.ip": []} \ No newline at end of file +{"options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/ip1.prop2 b/test/data/ip1.prop2 index ec28c68..36608f5 100644 --- a/test/data/ip1.prop2 +++ b/test/data/ip1.prop2 @@ -1 +1 @@ -{"options.ip": []} \ No newline at end of file +{"options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/ip1_frozen.info b/test/data/ip1_frozen.info index 92f1cbc..c5d4753 100644 --- a/test/data/ip1_frozen.info +++ b/test/data/ip1_frozen.info @@ -1 +1 @@ -{"options.ip": {"doc": "IP Description frozen", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}} \ No newline at end of file +{"options.ip": {"doc": "IP Description frozen", "name": "ip", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "IP"}} \ No newline at end of file diff --git a/test/data/ip1_frozen.json b/test/data/ip1_frozen.json index e0abb9b..b0c4f3a 100644 --- a/test/data/ip1_frozen.json +++ b/test/data/ip1_frozen.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "string", "title": "IP Description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.ip", "readOnly": true}], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.ip": {"name": "options.ip", "type": "IP", "title": "IP Description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.ip", "readOnly": true}], "form": [{"key": "options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/ip1_frozen.owner b/test/data/ip1_frozen.owner index 42690d3..e10d181 100644 --- a/test/data/ip1_frozen.owner +++ b/test/data/ip1_frozen.owner @@ -1 +1 @@ -{"options.ip": "default"} \ No newline at end of file +{"options.ip": {"null": "default"}} \ No newline at end of file diff --git a/test/data/ip1_frozen.prop b/test/data/ip1_frozen.prop index e65b659..9e1375a 100644 --- a/test/data/ip1_frozen.prop +++ b/test/data/ip1_frozen.prop @@ -1 +1 @@ -{"options.ip": ["frozen"]} \ No newline at end of file +{"options.ip": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/ip1_frozen.prop2 b/test/data/ip1_frozen.prop2 index ec28c68..36608f5 100644 --- a/test/data/ip1_frozen.prop2 +++ b/test/data/ip1_frozen.prop2 @@ -1 +1 @@ -{"options.ip": []} \ No newline at end of file +{"options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/mail1.info b/test/data/mail1.info index 01ed024..8f76fbc 100644 --- a/test/data/mail1.info +++ b/test/data/mail1.info @@ -1 +1 @@ -{"options.mail": {"doc": "Mail Description", "name": "mail", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "email"}} \ No newline at end of file +{"options.mail": {"doc": "Mail Description", "name": "mail", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "email address"}} \ No newline at end of file diff --git a/test/data/mail1.json b/test/data/mail1.json index 8e72fb3..c1a7c56 100644 --- a/test/data/mail1.json +++ b/test/data/mail1.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.mail": {"name": "options.mail", "type": "string", "title": "Mail Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.mail", "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.mail": {"name": "options.mail", "type": "email address", "title": "Mail Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.mail", "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/mail1.owner b/test/data/mail1.owner index f591aaf..2d61083 100644 --- a/test/data/mail1.owner +++ b/test/data/mail1.owner @@ -1 +1 @@ -{"options.mail": "default"} \ No newline at end of file +{"options.mail": {"null": "default"}} \ No newline at end of file diff --git a/test/data/mail1.prop b/test/data/mail1.prop index d889d4c..531d547 100644 --- a/test/data/mail1.prop +++ b/test/data/mail1.prop @@ -1 +1 @@ -{"options.mail": []} \ No newline at end of file +{"options.mail": {"null": []}} \ No newline at end of file diff --git a/test/data/mail1.prop2 b/test/data/mail1.prop2 index d889d4c..531d547 100644 --- a/test/data/mail1.prop2 +++ b/test/data/mail1.prop2 @@ -1 +1 @@ -{"options.mail": []} \ No newline at end of file +{"options.mail": {"null": []}} \ No newline at end of file diff --git a/test/data/number1.info b/test/data/number1.info index d886413..dd9bcd8 100644 --- a/test/data/number1.info +++ b/test/data/number1.info @@ -1 +1 @@ -{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/number1.json b/test/data/number1.json index 696485e..d07ae6a 100644 --- a/test/data/number1.json +++ b/test/data/number1.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "integer", "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/number1.owner b/test/data/number1.owner index a4c6d4d..bdc3f88 100644 --- a/test/data/number1.owner +++ b/test/data/number1.owner @@ -1 +1 @@ -{"options.integer": "default"} \ No newline at end of file +{"options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/number1.prop b/test/data/number1.prop index 6663cd4..3b3b3de 100644 --- a/test/data/number1.prop +++ b/test/data/number1.prop @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1.prop2 b/test/data/number1.prop2 index 6663cd4..3b3b3de 100644 --- a/test/data/number1.prop2 +++ b/test/data/number1.prop2 @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1_frozen.info b/test/data/number1_frozen.info index a04ecda..5fab7a6 100644 --- a/test/data/number1_frozen.info +++ b/test/data/number1_frozen.info @@ -1 +1 @@ -{"options.integer": {"doc": "integer 1 frozen", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"options.integer": {"doc": "integer 1 frozen", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/number1_frozen.json b/test/data/number1_frozen.json index 02b8fbe..e431147 100644 --- a/test/data/number1_frozen.json +++ b/test/data/number1_frozen.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "title": "integer 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "readOnly": true}], "form": [{"key": "options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "integer", "title": "integer 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "readOnly": true}], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/number1_frozen.owner b/test/data/number1_frozen.owner index a4c6d4d..bdc3f88 100644 --- a/test/data/number1_frozen.owner +++ b/test/data/number1_frozen.owner @@ -1 +1 @@ -{"options.integer": "default"} \ No newline at end of file +{"options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/number1_frozen.prop b/test/data/number1_frozen.prop index 7cd93c1..e5a29b7 100644 --- a/test/data/number1_frozen.prop +++ b/test/data/number1_frozen.prop @@ -1 +1 @@ -{"options.integer": ["frozen"]} \ No newline at end of file +{"options.integer": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/number1_frozen.prop2 b/test/data/number1_frozen.prop2 index 6663cd4..3b3b3de 100644 --- a/test/data/number1_frozen.prop2 +++ b/test/data/number1_frozen.prop2 @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1_mod_value.info b/test/data/number1_mod_value.info index d886413..dd9bcd8 100644 --- a/test/data/number1_mod_value.info +++ b/test/data/number1_mod_value.info @@ -1 +1 @@ -{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/number1_mod_value.json b/test/data/number1_mod_value.json index 9d3bfb0..00cef0f 100644 --- a/test/data/number1_mod_value.json +++ b/test/data/number1_mod_value.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 3, "owner": "user"}], "form": [{"key": "options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "integer", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 3, "owner": "user"}], "form": [{"key": "options.integer", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/number1_mod_value.owner b/test/data/number1_mod_value.owner index 3bfeea0..9a9ed8a 100644 --- a/test/data/number1_mod_value.owner +++ b/test/data/number1_mod_value.owner @@ -1 +1 @@ -{"options.integer": "user"} \ No newline at end of file +{"options.integer": {"null": "user"}} \ No newline at end of file diff --git a/test/data/number1_mod_value.prop b/test/data/number1_mod_value.prop index 6663cd4..3b3b3de 100644 --- a/test/data/number1_mod_value.prop +++ b/test/data/number1_mod_value.prop @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1_mod_value.prop2 b/test/data/number1_mod_value.prop2 index 6663cd4..3b3b3de 100644 --- a/test/data/number1_mod_value.prop2 +++ b/test/data/number1_mod_value.prop2 @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1_value.info b/test/data/number1_value.info index d886413..dd9bcd8 100644 --- a/test/data/number1_value.info +++ b/test/data/number1_value.info @@ -1 +1 @@ -{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/number1_value.json b/test/data/number1_value.json index f080fcd..bf10c17 100644 --- a/test/data/number1_value.json +++ b/test/data/number1_value.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 0, "owner": "default"}], "form": [{"key": "options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.integer": {"name": "options.integer", "type": "integer", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.integer", "value": 0, "owner": "default"}], "form": [{"key": "options.integer", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/number1_value.owner b/test/data/number1_value.owner index a4c6d4d..bdc3f88 100644 --- a/test/data/number1_value.owner +++ b/test/data/number1_value.owner @@ -1 +1 @@ -{"options.integer": "default"} \ No newline at end of file +{"options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/number1_value.prop b/test/data/number1_value.prop index 6663cd4..3b3b3de 100644 --- a/test/data/number1_value.prop +++ b/test/data/number1_value.prop @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/number1_value.prop2 b/test/data/number1_value.prop2 index 6663cd4..3b3b3de 100644 --- a/test/data/number1_value.prop2 +++ b/test/data/number1_value.prop2 @@ -1 +1 @@ -{"options.integer": []} \ No newline at end of file +{"options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1.info b/test/data/subconfig_boolean1.info index bee4f4f..5cf1518 100644 --- a/test/data/subconfig_boolean1.info +++ b/test/data/subconfig_boolean1.info @@ -1 +1 @@ -{"boolean1.options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}} \ No newline at end of file +{"boolean1.options.boolean": {"doc": "Boolean 1", "name": "boolean", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "boolean"}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1.owner b/test/data/subconfig_boolean1.owner index 9f8c56c..0cebfd3 100644 --- a/test/data/subconfig_boolean1.owner +++ b/test/data/subconfig_boolean1.owner @@ -1 +1 @@ -{"boolean1.options.boolean": "default"} \ No newline at end of file +{"boolean1.options.boolean": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1.prop b/test/data/subconfig_boolean1.prop index 82992b0..cef4436 100644 --- a/test/data/subconfig_boolean1.prop +++ b/test/data/subconfig_boolean1.prop @@ -1 +1 @@ -{"boolean1.options.boolean": []} \ No newline at end of file +{"boolean1.options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1.prop2 b/test/data/subconfig_boolean1.prop2 index 82992b0..cef4436 100644 --- a/test/data/subconfig_boolean1.prop2 +++ b/test/data/subconfig_boolean1.prop2 @@ -1 +1 @@ -{"boolean1.options.boolean": []} \ No newline at end of file +{"boolean1.options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1_frozen.info b/test/data/subconfig_boolean1_frozen.info index 11d9b97..e4fe901 100644 --- a/test/data/subconfig_boolean1_frozen.info +++ b/test/data/subconfig_boolean1_frozen.info @@ -1 +1 @@ -{"boolean1_frozen.options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "bool"}} \ No newline at end of file +{"boolean1_frozen.options.boolean": {"doc": "Boolean 1 frozen", "name": "boolean", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "boolean"}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1_frozen.owner b/test/data/subconfig_boolean1_frozen.owner index 5c1c2f2..b61e3a9 100644 --- a/test/data/subconfig_boolean1_frozen.owner +++ b/test/data/subconfig_boolean1_frozen.owner @@ -1 +1 @@ -{"boolean1_frozen.options.boolean": "default"} \ No newline at end of file +{"boolean1_frozen.options.boolean": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1_frozen.prop b/test/data/subconfig_boolean1_frozen.prop index 3268f4c..1d5bf14 100644 --- a/test/data/subconfig_boolean1_frozen.prop +++ b/test/data/subconfig_boolean1_frozen.prop @@ -1 +1 @@ -{"boolean1_frozen.options.boolean": ["frozen"]} \ No newline at end of file +{"boolean1_frozen.options.boolean": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_boolean1_frozen.prop2 b/test/data/subconfig_boolean1_frozen.prop2 index 2b390e0..a9d85db 100644 --- a/test/data/subconfig_boolean1_frozen.prop2 +++ b/test/data/subconfig_boolean1_frozen.prop2 @@ -1 +1 @@ -{"boolean1_frozen.options.boolean": []} \ No newline at end of file +{"boolean1_frozen.options.boolean": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1.info b/test/data/subconfig_choice1.info index 32c3c79..b17f977 100644 --- a/test/data/subconfig_choice1.info +++ b/test/data/subconfig_choice1.info @@ -1 +1 @@ -{"choice1.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"choice1.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1.owner b/test/data/subconfig_choice1.owner index ef25c9e..b7033e8 100644 --- a/test/data/subconfig_choice1.owner +++ b/test/data/subconfig_choice1.owner @@ -1 +1 @@ -{"choice1.options.choice": "default"} \ No newline at end of file +{"choice1.options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1.prop b/test/data/subconfig_choice1.prop index 49e4e52..0996ff4 100644 --- a/test/data/subconfig_choice1.prop +++ b/test/data/subconfig_choice1.prop @@ -1 +1 @@ -{"choice1.options.choice": []} \ No newline at end of file +{"choice1.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1.prop2 b/test/data/subconfig_choice1.prop2 index 49e4e52..0996ff4 100644 --- a/test/data/subconfig_choice1.prop2 +++ b/test/data/subconfig_choice1.prop2 @@ -1 +1 @@ -{"choice1.options.choice": []} \ No newline at end of file +{"choice1.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_frozen.info b/test/data/subconfig_choice1_frozen.info index 1457445..0dacc70 100644 --- a/test/data/subconfig_choice1_frozen.info +++ b/test/data/subconfig_choice1_frozen.info @@ -1 +1 @@ -{"choice1_frozen.options.choice": {"doc": "Choice description frozen", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"choice1_frozen.options.choice": {"doc": "Choice description frozen", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_frozen.owner b/test/data/subconfig_choice1_frozen.owner index c7a9ab6..a3d5a79 100644 --- a/test/data/subconfig_choice1_frozen.owner +++ b/test/data/subconfig_choice1_frozen.owner @@ -1 +1 @@ -{"choice1_frozen.options.choice": "default"} \ No newline at end of file +{"choice1_frozen.options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_frozen.prop b/test/data/subconfig_choice1_frozen.prop index 3f2ff1a..bd24775 100644 --- a/test/data/subconfig_choice1_frozen.prop +++ b/test/data/subconfig_choice1_frozen.prop @@ -1 +1 @@ -{"choice1_frozen.options.choice": ["frozen"]} \ No newline at end of file +{"choice1_frozen.options.choice": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_frozen.prop2 b/test/data/subconfig_choice1_frozen.prop2 index f849929..fba4815 100644 --- a/test/data/subconfig_choice1_frozen.prop2 +++ b/test/data/subconfig_choice1_frozen.prop2 @@ -1 +1 @@ -{"choice1_frozen.options.choice": []} \ No newline at end of file +{"choice1_frozen.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.dict b/test/data/subconfig_choice1_leadership.dict new file mode 100644 index 0000000..c6b0b2e --- /dev/null +++ b/test/data/subconfig_choice1_leadership.dict @@ -0,0 +1 @@ +{"choice1_leadership.options.choice1.choice1": [], "choice1_leadership.options.choice1.choice2": [], "choice1_leadership.options.choice1.choice3": [], "choice1_leadership.options.choice1.choice4": []} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.info b/test/data/subconfig_choice1_leadership.info new file mode 100644 index 0000000..96bf20b --- /dev/null +++ b/test/data/subconfig_choice1_leadership.info @@ -0,0 +1 @@ +{"choice1_leadership.options.choice1.choice1": {"doc": "Choice description leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership.options.choice1.choice2": {"doc": "Choice description follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership.options.choice1.choice3": {"doc": "Choice description follower 2", "name": "choice3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership.options.choice1.choice4": {"doc": "Choice description follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.json b/test/data/subconfig_choice1_leadership.json new file mode 100644 index 0000000..401200d --- /dev/null +++ b/test/data/subconfig_choice1_leadership.json @@ -0,0 +1 @@ +{"schema": {"choice1_leadership.options": {"name": "choice1_leadership.options", "properties": {"choice1_leadership.options.choice1": {"name": "choice1_leadership.options.choice1", "properties": {"choice1_leadership.options.choice1.choice1": {"name": "choice1_leadership.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description leader"}, "choice1_leadership.options.choice1.choice2": {"name": "choice1_leadership.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description follower 1"}, "choice1_leadership.options.choice1.choice3": {"name": "choice1_leadership.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description follower 2"}, "choice1_leadership.options.choice1.choice4": {"name": "choice1_leadership.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_leadership.options.choice1.choice1", "required": true}], "form": [{"key": "choice1_leadership.options.choice1.choice1", "type": "choice"}, {"key": "choice1_leadership.options.choice1.choice2", "type": "choice"}, {"key": "choice1_leadership.options.choice1.choice3", "type": "choice"}, {"key": "choice1_leadership.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.owner b/test/data/subconfig_choice1_leadership.owner new file mode 100644 index 0000000..bde8064 --- /dev/null +++ b/test/data/subconfig_choice1_leadership.owner @@ -0,0 +1 @@ +{"choice1_leadership.options.choice1.choice1": {"null": "default"}, "choice1_leadership.options.choice1.choice2": {}, "choice1_leadership.options.choice1.choice3": {}, "choice1_leadership.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.prop b/test/data/subconfig_choice1_leadership.prop new file mode 100644 index 0000000..85b3cc2 --- /dev/null +++ b/test/data/subconfig_choice1_leadership.prop @@ -0,0 +1 @@ +{"choice1_leadership.options.choice1.choice1": {"null": ["empty"]}, "choice1_leadership.options.choice1.choice2": {}, "choice1_leadership.options.choice1.choice3": {}, "choice1_leadership.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership.prop2 b/test/data/subconfig_choice1_leadership.prop2 new file mode 100644 index 0000000..e226536 --- /dev/null +++ b/test/data/subconfig_choice1_leadership.prop2 @@ -0,0 +1 @@ +{"choice1_leadership.options.choice1.choice1": {"null": []}, "choice1_leadership.options.choice1.choice2": {}, "choice1_leadership.options.choice1.choice3": {}, "choice1_leadership.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.dict b/test/data/subconfig_choice1_leadership_hidden.dict new file mode 100644 index 0000000..33c04c8 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.dict @@ -0,0 +1 @@ +{"choice1_leadership_hidden.options.choice1.choice1": [], "choice1_leadership_hidden.options.choice1.choice2": [], "choice1_leadership_hidden.options.choice1.choice4": []} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.info b/test/data/subconfig_choice1_leadership_hidden.info new file mode 100644 index 0000000..e1b638f --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.info @@ -0,0 +1 @@ +{"choice1_leadership_hidden.options.choice1.choice1": {"doc": "Choice description leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership_hidden.options.choice1.choice2": {"doc": "Choice description follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership_hidden.options.choice1.choice4": {"doc": "Choice description follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.json b/test/data/subconfig_choice1_leadership_hidden.json new file mode 100644 index 0000000..458c855 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.json @@ -0,0 +1 @@ +{"schema": {"choice1_leadership_hidden.options": {"name": "choice1_leadership_hidden.options", "properties": {"choice1_leadership_hidden.options.choice1": {"name": "choice1_leadership_hidden.options.choice1", "properties": {"choice1_leadership_hidden.options.choice1.choice1": {"name": "choice1_leadership_hidden.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description leader"}, "choice1_leadership_hidden.options.choice1.choice2": {"name": "choice1_leadership_hidden.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description follower 1"}, "choice1_leadership_hidden.options.choice1.choice3": {"name": "choice1_leadership_hidden.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description follower 2 hidden"}, "choice1_leadership_hidden.options.choice1.choice4": {"name": "choice1_leadership_hidden.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description follower 3"}}, "type": "array", "title": "Slave 2 is hidden"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_leadership_hidden.options.choice1.choice1", "required": true}, {"key": "choice1_leadership_hidden.options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "choice1_leadership_hidden.options.choice1.choice1", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice2", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice3", "type": "choice"}, {"key": "choice1_leadership_hidden.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.owner b/test/data/subconfig_choice1_leadership_hidden.owner new file mode 100644 index 0000000..4a22ddf --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.owner @@ -0,0 +1 @@ +{"choice1_leadership_hidden.options.choice1.choice1": {"null": "default"}, "choice1_leadership_hidden.options.choice1.choice2": {}, "choice1_leadership_hidden.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.prop b/test/data/subconfig_choice1_leadership_hidden.prop new file mode 100644 index 0000000..430b826 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.prop @@ -0,0 +1 @@ +{"choice1_leadership_hidden.options.choice1.choice1": {"null": ["empty"]}, "choice1_leadership_hidden.options.choice1.choice2": {}, "choice1_leadership_hidden.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_hidden.prop2 b/test/data/subconfig_choice1_leadership_hidden.prop2 new file mode 100644 index 0000000..1c1b850 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_hidden.prop2 @@ -0,0 +1 @@ +{"choice1_leadership_hidden.options.choice1.choice1": {"null": []}, "choice1_leadership_hidden.options.choice1.choice2": {}, "choice1_leadership_hidden.options.choice1.choice4": {}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.dict b/test/data/subconfig_choice1_leadership_value.dict new file mode 100644 index 0000000..09457e5 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.dict @@ -0,0 +1 @@ +{"choice1_leadership_value.options.choice1.choice1": ["choice 2"], "choice1_leadership_value.options.choice1.choice2": ["choice 4"], "choice1_leadership_value.options.choice1.choice3": [null], "choice1_leadership_value.options.choice1.choice4": [null]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.info b/test/data/subconfig_choice1_leadership_value.info new file mode 100644 index 0000000..09607be --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.info @@ -0,0 +1 @@ +{"choice1_leadership_value.options.choice1.choice1": {"doc": "Choice leader", "name": "choice1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership_value.options.choice1.choice2": {"doc": "Choice follower 1", "name": "choice2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership_value.options.choice1.choice3": {"doc": "Choice follower 2", "name": "choice3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}, "choice1_leadership_value.options.choice1.choice4": {"doc": "Choice follower 3", "name": "choice4", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.json b/test/data/subconfig_choice1_leadership_value.json new file mode 100644 index 0000000..42760bd --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.json @@ -0,0 +1 @@ +{"schema": {"choice1_leadership_value.options": {"name": "choice1_leadership_value.options", "properties": {"choice1_leadership_value.options.choice1": {"name": "choice1_leadership_value.options.choice1", "properties": {"choice1_leadership_value.options.choice1.choice1": {"name": "choice1_leadership_value.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice leader"}, "choice1_leadership_value.options.choice1.choice2": {"name": "choice1_leadership_value.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice follower 1"}, "choice1_leadership_value.options.choice1.choice3": {"name": "choice1_leadership_value.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice follower 2"}, "choice1_leadership_value.options.choice1.choice4": {"name": "choice1_leadership_value.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_leadership_value.options.choice1.choice1", "required": true, "value": ["choice 2"], "owner": "user"}, {"key": "choice1_leadership_value.options.choice1.choice2", "index": 0, "value": "choice 4", "owner": "user"}], "form": [{"key": "choice1_leadership_value.options.choice1.choice1", "type": "choice"}, {"key": "choice1_leadership_value.options.choice1.choice2", "type": "choice"}, {"key": "choice1_leadership_value.options.choice1.choice3", "type": "choice"}, {"key": "choice1_leadership_value.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.owner b/test/data/subconfig_choice1_leadership_value.owner new file mode 100644 index 0000000..56af318 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.owner @@ -0,0 +1 @@ +{"choice1_leadership_value.options.choice1.choice1": {"null": "user"}, "choice1_leadership_value.options.choice1.choice2": {"0": "user"}, "choice1_leadership_value.options.choice1.choice3": {"0": "default"}, "choice1_leadership_value.options.choice1.choice4": {"0": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.prop b/test/data/subconfig_choice1_leadership_value.prop new file mode 100644 index 0000000..97f10cf --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.prop @@ -0,0 +1 @@ +{"choice1_leadership_value.options.choice1.choice1": {"null": ["empty"]}, "choice1_leadership_value.options.choice1.choice2": {"0": []}, "choice1_leadership_value.options.choice1.choice3": {"0": []}, "choice1_leadership_value.options.choice1.choice4": {"0": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_leadership_value.prop2 b/test/data/subconfig_choice1_leadership_value.prop2 new file mode 100644 index 0000000..b7ffe37 --- /dev/null +++ b/test/data/subconfig_choice1_leadership_value.prop2 @@ -0,0 +1 @@ +{"choice1_leadership_value.options.choice1.choice1": {"null": []}, "choice1_leadership_value.options.choice1.choice2": {"0": []}, "choice1_leadership_value.options.choice1.choice3": {"0": []}, "choice1_leadership_value.options.choice1.choice4": {"0": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves.dict b/test/data/subconfig_choice1_master_slaves.dict deleted file mode 100644 index 96ce623..0000000 --- a/test/data/subconfig_choice1_master_slaves.dict +++ /dev/null @@ -1 +0,0 @@ -{"choice1_master_slaves.options.choice1.choice1": [], "choice1_master_slaves.options.choice1.choice2": [], "choice1_master_slaves.options.choice1.choice3": [], "choice1_master_slaves.options.choice1.choice4": []} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves.json b/test/data/subconfig_choice1_master_slaves.json deleted file mode 100644 index 13e39a1..0000000 --- a/test/data/subconfig_choice1_master_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"choice1_master_slaves.options": {"name": "choice1_master_slaves.options", "properties": {"choice1_master_slaves.options.choice1": {"name": "choice1_master_slaves.options.choice1", "properties": {"choice1_master_slaves.options.choice1.choice1": {"name": "choice1_master_slaves.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "choice1_master_slaves.options.choice1.choice2": {"name": "choice1_master_slaves.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "choice1_master_slaves.options.choice1.choice3": {"name": "choice1_master_slaves.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2"}, "choice1_master_slaves.options.choice1.choice4": {"name": "choice1_master_slaves.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_master_slaves.options.choice1.choice1", "required": true}], "form": [{"key": "choice1_master_slaves.options.choice1.choice1", "type": "choice"}, {"key": "choice1_master_slaves.options.choice1.choice2", "type": "choice"}, {"key": "choice1_master_slaves.options.choice1.choice3", "type": "choice"}, {"key": "choice1_master_slaves.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves_hidden.dict b/test/data/subconfig_choice1_master_slaves_hidden.dict deleted file mode 100644 index 56c081a..0000000 --- a/test/data/subconfig_choice1_master_slaves_hidden.dict +++ /dev/null @@ -1 +0,0 @@ -{"choice1_master_slaves_hidden.options.choice1.choice1": [], "choice1_master_slaves_hidden.options.choice1.choice2": [], "choice1_master_slaves_hidden.options.choice1.choice4": []} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves_hidden.json b/test/data/subconfig_choice1_master_slaves_hidden.json deleted file mode 100644 index 6ebd5a1..0000000 --- a/test/data/subconfig_choice1_master_slaves_hidden.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"choice1_master_slaves_hidden.options": {"name": "choice1_master_slaves_hidden.options", "properties": {"choice1_master_slaves_hidden.options.choice1": {"name": "choice1_master_slaves_hidden.options.choice1", "properties": {"choice1_master_slaves_hidden.options.choice1.choice1": {"name": "choice1_master_slaves_hidden.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice description master"}, "choice1_master_slaves_hidden.options.choice1.choice2": {"name": "choice1_master_slaves_hidden.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice description slave 1"}, "choice1_master_slaves_hidden.options.choice1.choice3": {"name": "choice1_master_slaves_hidden.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice description slave 2 hidden"}, "choice1_master_slaves_hidden.options.choice1.choice4": {"name": "choice1_master_slaves_hidden.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice description slave 3"}}, "type": "array", "title": "Slave 2 is hidden"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_master_slaves_hidden.options.choice1.choice1", "required": true}, {"key": "choice1_master_slaves_hidden.options.choice1.choice3", "display": false, "hidden": true}], "form": [{"key": "choice1_master_slaves_hidden.options.choice1.choice1", "type": "choice"}, {"key": "choice1_master_slaves_hidden.options.choice1.choice2", "type": "choice"}, {"key": "choice1_master_slaves_hidden.options.choice1.choice3", "type": "choice"}, {"key": "choice1_master_slaves_hidden.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves_value.dict b/test/data/subconfig_choice1_master_slaves_value.dict deleted file mode 100644 index 66ea228..0000000 --- a/test/data/subconfig_choice1_master_slaves_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"choice1_master_slaves_value.options.choice1.choice1": ["choice 2"], "choice1_master_slaves_value.options.choice1.choice2": ["choice 4"], "choice1_master_slaves_value.options.choice1.choice3": [null], "choice1_master_slaves_value.options.choice1.choice4": [null]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_master_slaves_value.json b/test/data/subconfig_choice1_master_slaves_value.json deleted file mode 100644 index c1d1c9a..0000000 --- a/test/data/subconfig_choice1_master_slaves_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"choice1_master_slaves_value.options": {"name": "choice1_master_slaves_value.options", "properties": {"choice1_master_slaves_value.options.choice1": {"name": "choice1_master_slaves_value.options.choice1", "properties": {"choice1_master_slaves_value.options.choice1.choice1": {"name": "choice1_master_slaves_value.options.choice1.choice1", "type": "choice", "isMulti": true, "enum": ["choice 1", "choice 2"], "title": "Choice master"}, "choice1_master_slaves_value.options.choice1.choice2": {"name": "choice1_master_slaves_value.options.choice1.choice2", "type": "choice", "isMulti": true, "enum": ["", "choice 3", "choice 4"], "title": "Choice slave 1"}, "choice1_master_slaves_value.options.choice1.choice3": {"name": "choice1_master_slaves_value.options.choice1.choice3", "type": "choice", "isMulti": true, "enum": ["", "choice 5", "choice 6"], "title": "Choice slave 2"}, "choice1_master_slaves_value.options.choice1.choice4": {"name": "choice1_master_slaves_value.options.choice1.choice4", "type": "choice", "isMulti": true, "enum": ["", "choice 7", "choice 8"], "title": "Choice slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "choice1_master_slaves_value.options.choice1.choice1", "required": true, "value": ["choice 2"], "owner": "user"}, {"key": "choice1_master_slaves_value.options.choice1.choice2", "index": 0, "value": "choice 4", "owner": "user"}], "form": [{"key": "choice1_master_slaves_value.options.choice1.choice1", "type": "choice"}, {"key": "choice1_master_slaves_value.options.choice1.choice2", "type": "choice"}, {"key": "choice1_master_slaves_value.options.choice1.choice3", "type": "choice"}, {"key": "choice1_master_slaves_value.options.choice1.choice4", "type": "choice"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_choice1_multi.info b/test/data/subconfig_choice1_multi.info index ab3cfd7..0c931cf 100644 --- a/test/data/subconfig_choice1_multi.info +++ b/test/data/subconfig_choice1_multi.info @@ -1 +1 @@ -{"choice1_multi.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file +{"choice1_multi.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_multi.owner b/test/data/subconfig_choice1_multi.owner index a9e62aa..85a99ca 100644 --- a/test/data/subconfig_choice1_multi.owner +++ b/test/data/subconfig_choice1_multi.owner @@ -1 +1 @@ -{"choice1_multi.options.choice": "default"} \ No newline at end of file +{"choice1_multi.options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_multi.prop b/test/data/subconfig_choice1_multi.prop index 21605b8..42b929d 100644 --- a/test/data/subconfig_choice1_multi.prop +++ b/test/data/subconfig_choice1_multi.prop @@ -1 +1 @@ -{"choice1_multi.options.choice": ["empty"]} \ No newline at end of file +{"choice1_multi.options.choice": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_multi.prop2 b/test/data/subconfig_choice1_multi.prop2 index 6487267..532b978 100644 --- a/test/data/subconfig_choice1_multi.prop2 +++ b/test/data/subconfig_choice1_multi.prop2 @@ -1 +1 @@ -{"choice1_multi.options.choice": []} \ No newline at end of file +{"choice1_multi.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_rename.info b/test/data/subconfig_choice1_rename.info index 647ae2d..e385131 100644 --- a/test/data/subconfig_choice1_rename.info +++ b/test/data/subconfig_choice1_rename.info @@ -1 +1 @@ -{"choice1_rename.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"choice1_rename.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_rename.owner b/test/data/subconfig_choice1_rename.owner index 4c978e3..f7ced52 100644 --- a/test/data/subconfig_choice1_rename.owner +++ b/test/data/subconfig_choice1_rename.owner @@ -1 +1 @@ -{"choice1_rename.options.choice": "default"} \ No newline at end of file +{"choice1_rename.options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_rename.prop b/test/data/subconfig_choice1_rename.prop index 644f540..f4849cf 100644 --- a/test/data/subconfig_choice1_rename.prop +++ b/test/data/subconfig_choice1_rename.prop @@ -1 +1 @@ -{"choice1_rename.options.choice": []} \ No newline at end of file +{"choice1_rename.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_rename.prop2 b/test/data/subconfig_choice1_rename.prop2 index 644f540..f4849cf 100644 --- a/test/data/subconfig_choice1_rename.prop2 +++ b/test/data/subconfig_choice1_rename.prop2 @@ -1 +1 @@ -{"choice1_rename.options.choice": []} \ No newline at end of file +{"choice1_rename.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_requires.info b/test/data/subconfig_choice1_requires.info index b8aafaf..d191b9c 100644 --- a/test/data/subconfig_choice1_requires.info +++ b/test/data/subconfig_choice1_requires.info @@ -1 +1 @@ -{"choice1_requires.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file +{"choice1_requires.options.choice": {"doc": "Choice description", "name": "choice", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "choice"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_requires.owner b/test/data/subconfig_choice1_requires.owner index 4a9775d..d7070c1 100644 --- a/test/data/subconfig_choice1_requires.owner +++ b/test/data/subconfig_choice1_requires.owner @@ -1 +1 @@ -{"choice1_requires.options.choice": "default"} \ No newline at end of file +{"choice1_requires.options.choice": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_requires.prop b/test/data/subconfig_choice1_requires.prop index e874959..d23df7d 100644 --- a/test/data/subconfig_choice1_requires.prop +++ b/test/data/subconfig_choice1_requires.prop @@ -1 +1 @@ -{"choice1_requires.options.choice": ["mandatory"]} \ No newline at end of file +{"choice1_requires.options.choice": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/subconfig_choice1_requires.prop2 b/test/data/subconfig_choice1_requires.prop2 index 3b936a1..bcdcbfd 100644 --- a/test/data/subconfig_choice1_requires.prop2 +++ b/test/data/subconfig_choice1_requires.prop2 @@ -1 +1 @@ -{"choice1_requires.options.choice": []} \ No newline at end of file +{"choice1_requires.options.choice": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_date1.info b/test/data/subconfig_date1.info index 31c98d8..517d602 100644 --- a/test/data/subconfig_date1.info +++ b/test/data/subconfig_date1.info @@ -1 +1 @@ -{"date1.options.date": {"doc": "Date description", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file +{"date1.options.date": {"doc": "Date description", "name": "date", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file diff --git a/test/data/subconfig_date1.owner b/test/data/subconfig_date1.owner index cec64b6..60161e3 100644 --- a/test/data/subconfig_date1.owner +++ b/test/data/subconfig_date1.owner @@ -1 +1 @@ -{"date1.options.date": "default"} \ No newline at end of file +{"date1.options.date": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_date1.prop b/test/data/subconfig_date1.prop index 572fba2..b24809b 100644 --- a/test/data/subconfig_date1.prop +++ b/test/data/subconfig_date1.prop @@ -1 +1 @@ -{"date1.options.date": []} \ No newline at end of file +{"date1.options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_date1.prop2 b/test/data/subconfig_date1.prop2 index 572fba2..b24809b 100644 --- a/test/data/subconfig_date1.prop2 +++ b/test/data/subconfig_date1.prop2 @@ -1 +1 @@ -{"date1.options.date": []} \ No newline at end of file +{"date1.options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_date1_frozen.info b/test/data/subconfig_date1_frozen.info index bd83264..0ec4499 100644 --- a/test/data/subconfig_date1_frozen.info +++ b/test/data/subconfig_date1_frozen.info @@ -1 +1 @@ -{"date1_frozen.options.date": {"doc": "Date description frozen", "name": "date", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file +{"date1_frozen.options.date": {"doc": "Date description frozen", "name": "date", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "date"}} \ No newline at end of file diff --git a/test/data/subconfig_date1_frozen.owner b/test/data/subconfig_date1_frozen.owner index 56584df..3fa4197 100644 --- a/test/data/subconfig_date1_frozen.owner +++ b/test/data/subconfig_date1_frozen.owner @@ -1 +1 @@ -{"date1_frozen.options.date": "default"} \ No newline at end of file +{"date1_frozen.options.date": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_date1_frozen.prop b/test/data/subconfig_date1_frozen.prop index c3f285f..c5fe202 100644 --- a/test/data/subconfig_date1_frozen.prop +++ b/test/data/subconfig_date1_frozen.prop @@ -1 +1 @@ -{"date1_frozen.options.date": ["frozen"]} \ No newline at end of file +{"date1_frozen.options.date": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_date1_frozen.prop2 b/test/data/subconfig_date1_frozen.prop2 index d568fa5..b83c806 100644 --- a/test/data/subconfig_date1_frozen.prop2 +++ b/test/data/subconfig_date1_frozen.prop2 @@ -1 +1 @@ -{"date1_frozen.options.date": []} \ No newline at end of file +{"date1_frozen.options.date": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_filename1.info b/test/data/subconfig_filename1.info index 962c17c..8088397 100644 --- a/test/data/subconfig_filename1.info +++ b/test/data/subconfig_filename1.info @@ -1 +1 @@ -{"filename1.usbpath": {"doc": "Chemin d'acc\u00e8s", "name": "usbpath", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "filename"}} \ No newline at end of file +{"filename1.usbpath": {"doc": "Chemin d'acc\u00e8s", "name": "usbpath", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "file name"}} \ No newline at end of file diff --git a/test/data/subconfig_filename1.json b/test/data/subconfig_filename1.json index 12da117..3fd88a4 100644 --- a/test/data/subconfig_filename1.json +++ b/test/data/subconfig_filename1.json @@ -1 +1 @@ -{"schema": {"filename1.usbpath": {"name": "filename1.usbpath", "type": "string", "title": "Chemin d'acc\u00e8s"}}, "model": [{"key": "filename1.usbpath", "required": true}], "form": [{"key": "filename1.usbpath", "pattern": "^[a-zA-Z0-9\\-\\._~/+]+$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"filename1.usbpath": {"name": "filename1.usbpath", "type": "file name", "title": "Chemin d'acc\u00e8s"}}, "model": [{"key": "filename1.usbpath", "required": true}], "form": [{"key": "filename1.usbpath", "pattern": "^[a-zA-Z0-9\\-\\._~/+]+$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_filename1.owner b/test/data/subconfig_filename1.owner index d75de73..9ece0cf 100644 --- a/test/data/subconfig_filename1.owner +++ b/test/data/subconfig_filename1.owner @@ -1 +1 @@ -{"filename1.usbpath": "default"} \ No newline at end of file +{"filename1.usbpath": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_filename1.prop b/test/data/subconfig_filename1.prop index 2ac6611..5f19e9d 100644 --- a/test/data/subconfig_filename1.prop +++ b/test/data/subconfig_filename1.prop @@ -1 +1 @@ -{"filename1.usbpath": ["mandatory"]} \ No newline at end of file +{"filename1.usbpath": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/subconfig_filename1.prop2 b/test/data/subconfig_filename1.prop2 index 2d79451..db0ffca 100644 --- a/test/data/subconfig_filename1.prop2 +++ b/test/data/subconfig_filename1.prop2 @@ -1 +1 @@ -{"filename1.usbpath": []} \ No newline at end of file +{"filename1.usbpath": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_hostname1.info b/test/data/subconfig_hostname1.info index b908597..3e012c0 100644 --- a/test/data/subconfig_hostname1.info +++ b/test/data/subconfig_hostname1.info @@ -1 +1 @@ -{"hostname1.options.hostname1": {"doc": "Domainname Description", "name": "hostname1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "hostname1.options.hostname2": {"doc": "Domainname without dot Description", "name": "hostname2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "hostname1.options.hostname3": {"doc": "Hostname or IP Description", "name": "hostname3", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}, "hostname1.options.hostname4": {"doc": "Netbios Description", "name": "hostname4", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "domainname"}} \ No newline at end of file +{"hostname1.options.hostname1": {"doc": "Domainname Description", "name": "hostname1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "hostname1.options.hostname2": {"doc": "Domainname without dot Description", "name": "hostname2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "hostname1.options.hostname3": {"doc": "Hostname or IP Description", "name": "hostname3", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}, "hostname1.options.hostname4": {"doc": "Netbios Description", "name": "hostname4", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "domain name"}} \ No newline at end of file diff --git a/test/data/subconfig_hostname1.json b/test/data/subconfig_hostname1.json index 05981e8..1e11b49 100644 --- a/test/data/subconfig_hostname1.json +++ b/test/data/subconfig_hostname1.json @@ -1 +1 @@ -{"schema": {"hostname1.options": {"name": "hostname1.options", "properties": {"hostname1.options.hostname1": {"name": "hostname1.options.hostname1", "type": "domain", "title": "Domainname Description"}, "hostname1.options.hostname2": {"name": "hostname1.options.hostname2", "type": "domain", "title": "Domainname without dot Description"}, "hostname1.options.hostname3": {"name": "hostname1.options.hostname3", "type": "domain", "title": "Hostname or IP Description"}, "hostname1.options.hostname4": {"name": "hostname1.options.hostname4", "type": "domain", "title": "Netbios Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "hostname1.options.hostname1", "pattern": "^((?!-)[a-z0-9-]{1,63}\\.){1,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "hostname1.options.hostname2", "pattern": "^((?!-)[a-z0-9-]{0,63}\\.){0,}[a-z0-9-]{1,63}$", "type": "input"}, {"key": "hostname1.options.hostname3", "pattern": "^(?:((?!-)[a-z0-9-]{1,63})|(?:(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)))$", "type": "input"}, {"key": "hostname1.options.hostname4", "pattern": "^((?!-)[a-z0-9-]{1,15})$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"hostname1.options": {"name": "hostname1.options", "properties": {"hostname1.options.hostname1": {"name": "hostname1.options.hostname1", "type": "domain name", "title": "Domainname Description"}, "hostname1.options.hostname2": {"name": "hostname1.options.hostname2", "type": "domain name", "title": "Domainname without dot Description"}, "hostname1.options.hostname3": {"name": "hostname1.options.hostname3", "type": "domain name", "title": "Hostname or IP Description"}, "hostname1.options.hostname4": {"name": "hostname1.options.hostname4", "type": "domain name", "title": "Netbios Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_hostname1.owner b/test/data/subconfig_hostname1.owner index c865668..cd182fb 100644 --- a/test/data/subconfig_hostname1.owner +++ b/test/data/subconfig_hostname1.owner @@ -1 +1 @@ -{"hostname1.options.hostname1": "default", "hostname1.options.hostname2": "default", "hostname1.options.hostname3": "default", "hostname1.options.hostname4": "default"} \ No newline at end of file +{"hostname1.options.hostname1": {"null": "default"}, "hostname1.options.hostname2": {"null": "default"}, "hostname1.options.hostname3": {"null": "default"}, "hostname1.options.hostname4": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_hostname1.prop b/test/data/subconfig_hostname1.prop index 1cfc4aa..3adadae 100644 --- a/test/data/subconfig_hostname1.prop +++ b/test/data/subconfig_hostname1.prop @@ -1 +1 @@ -{"hostname1.options.hostname1": [], "hostname1.options.hostname2": [], "hostname1.options.hostname3": [], "hostname1.options.hostname4": []} \ No newline at end of file +{"hostname1.options.hostname1": {"null": []}, "hostname1.options.hostname2": {"null": []}, "hostname1.options.hostname3": {"null": []}, "hostname1.options.hostname4": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_hostname1.prop2 b/test/data/subconfig_hostname1.prop2 index 1cfc4aa..3adadae 100644 --- a/test/data/subconfig_hostname1.prop2 +++ b/test/data/subconfig_hostname1.prop2 @@ -1 +1 @@ -{"hostname1.options.hostname1": [], "hostname1.options.hostname2": [], "hostname1.options.hostname3": [], "hostname1.options.hostname4": []} \ No newline at end of file +{"hostname1.options.hostname1": {"null": []}, "hostname1.options.hostname2": {"null": []}, "hostname1.options.hostname3": {"null": []}, "hostname1.options.hostname4": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_ip1.info b/test/data/subconfig_ip1.info index a948e84..3555767 100644 --- a/test/data/subconfig_ip1.info +++ b/test/data/subconfig_ip1.info @@ -1 +1 @@ -{"ip1.options.ip": {"doc": "IP Description", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}} \ No newline at end of file +{"ip1.options.ip": {"doc": "IP Description", "name": "ip", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "IP"}} \ No newline at end of file diff --git a/test/data/subconfig_ip1.json b/test/data/subconfig_ip1.json index 3b38db1..f0efbdc 100644 --- a/test/data/subconfig_ip1.json +++ b/test/data/subconfig_ip1.json @@ -1 +1 @@ -{"schema": {"ip1.options": {"name": "ip1.options", "properties": {"ip1.options.ip": {"name": "ip1.options.ip", "type": "string", "title": "IP Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "ip1.options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"ip1.options": {"name": "ip1.options", "properties": {"ip1.options.ip": {"name": "ip1.options.ip", "type": "IP", "title": "IP Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "ip1.options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_ip1.owner b/test/data/subconfig_ip1.owner index 39deccd..3b09a54 100644 --- a/test/data/subconfig_ip1.owner +++ b/test/data/subconfig_ip1.owner @@ -1 +1 @@ -{"ip1.options.ip": "default"} \ No newline at end of file +{"ip1.options.ip": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_ip1.prop b/test/data/subconfig_ip1.prop index cbba476..a61a04a 100644 --- a/test/data/subconfig_ip1.prop +++ b/test/data/subconfig_ip1.prop @@ -1 +1 @@ -{"ip1.options.ip": []} \ No newline at end of file +{"ip1.options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_ip1.prop2 b/test/data/subconfig_ip1.prop2 index cbba476..a61a04a 100644 --- a/test/data/subconfig_ip1.prop2 +++ b/test/data/subconfig_ip1.prop2 @@ -1 +1 @@ -{"ip1.options.ip": []} \ No newline at end of file +{"ip1.options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_ip1_frozen.info b/test/data/subconfig_ip1_frozen.info index 8077d4a..4891689 100644 --- a/test/data/subconfig_ip1_frozen.info +++ b/test/data/subconfig_ip1_frozen.info @@ -1 +1 @@ -{"ip1_frozen.options.ip": {"doc": "IP Description frozen", "name": "ip", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "ip"}} \ No newline at end of file +{"ip1_frozen.options.ip": {"doc": "IP Description frozen", "name": "ip", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "IP"}} \ No newline at end of file diff --git a/test/data/subconfig_ip1_frozen.json b/test/data/subconfig_ip1_frozen.json index e47e48a..a88c33b 100644 --- a/test/data/subconfig_ip1_frozen.json +++ b/test/data/subconfig_ip1_frozen.json @@ -1 +1 @@ -{"schema": {"ip1_frozen.options": {"name": "ip1_frozen.options", "properties": {"ip1_frozen.options.ip": {"name": "ip1_frozen.options.ip", "type": "string", "title": "IP Description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "ip1_frozen.options.ip", "readOnly": true}], "form": [{"key": "ip1_frozen.options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"ip1_frozen.options": {"name": "ip1_frozen.options", "properties": {"ip1_frozen.options.ip": {"name": "ip1_frozen.options.ip", "type": "IP", "title": "IP Description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "ip1_frozen.options.ip", "readOnly": true}], "form": [{"key": "ip1_frozen.options.ip", "pattern": "^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_ip1_frozen.owner b/test/data/subconfig_ip1_frozen.owner index 0f1cd6f..a05ceed 100644 --- a/test/data/subconfig_ip1_frozen.owner +++ b/test/data/subconfig_ip1_frozen.owner @@ -1 +1 @@ -{"ip1_frozen.options.ip": "default"} \ No newline at end of file +{"ip1_frozen.options.ip": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_ip1_frozen.prop b/test/data/subconfig_ip1_frozen.prop index ebc7642..3fdd7a5 100644 --- a/test/data/subconfig_ip1_frozen.prop +++ b/test/data/subconfig_ip1_frozen.prop @@ -1 +1 @@ -{"ip1_frozen.options.ip": ["frozen"]} \ No newline at end of file +{"ip1_frozen.options.ip": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_ip1_frozen.prop2 b/test/data/subconfig_ip1_frozen.prop2 index 4516985..6a08d42 100644 --- a/test/data/subconfig_ip1_frozen.prop2 +++ b/test/data/subconfig_ip1_frozen.prop2 @@ -1 +1 @@ -{"ip1_frozen.options.ip": []} \ No newline at end of file +{"ip1_frozen.options.ip": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_mail1.info b/test/data/subconfig_mail1.info index 5cc4f57..d9762db 100644 --- a/test/data/subconfig_mail1.info +++ b/test/data/subconfig_mail1.info @@ -1 +1 @@ -{"mail1.options.mail": {"doc": "Mail Description", "name": "mail", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "email"}} \ No newline at end of file +{"mail1.options.mail": {"doc": "Mail Description", "name": "mail", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "email address"}} \ No newline at end of file diff --git a/test/data/subconfig_mail1.json b/test/data/subconfig_mail1.json index d6436a1..88a6ec7 100644 --- a/test/data/subconfig_mail1.json +++ b/test/data/subconfig_mail1.json @@ -1 +1 @@ -{"schema": {"mail1.options": {"name": "mail1.options", "properties": {"mail1.options.mail": {"name": "mail1.options.mail", "type": "string", "title": "Mail Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "mail1.options.mail", "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"mail1.options": {"name": "mail1.options", "properties": {"mail1.options.mail": {"name": "mail1.options.mail", "type": "email address", "title": "Mail Description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "mail1.options.mail", "pattern": "^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_mail1.owner b/test/data/subconfig_mail1.owner index bf1df73..6a3430c 100644 --- a/test/data/subconfig_mail1.owner +++ b/test/data/subconfig_mail1.owner @@ -1 +1 @@ -{"mail1.options.mail": "default"} \ No newline at end of file +{"mail1.options.mail": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_mail1.prop b/test/data/subconfig_mail1.prop index cb39002..b3fef4d 100644 --- a/test/data/subconfig_mail1.prop +++ b/test/data/subconfig_mail1.prop @@ -1 +1 @@ -{"mail1.options.mail": []} \ No newline at end of file +{"mail1.options.mail": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_mail1.prop2 b/test/data/subconfig_mail1.prop2 index cb39002..b3fef4d 100644 --- a/test/data/subconfig_mail1.prop2 +++ b/test/data/subconfig_mail1.prop2 @@ -1 +1 @@ -{"mail1.options.mail": []} \ No newline at end of file +{"mail1.options.mail": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1.info b/test/data/subconfig_number1.info index 723b7c5..352b451 100644 --- a/test/data/subconfig_number1.info +++ b/test/data/subconfig_number1.info @@ -1 +1 @@ -{"number1.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"number1.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/subconfig_number1.json b/test/data/subconfig_number1.json index c38996c..af86a65 100644 --- a/test/data/subconfig_number1.json +++ b/test/data/subconfig_number1.json @@ -1 +1 @@ -{"schema": {"number1.options": {"name": "number1.options", "properties": {"number1.options.integer": {"name": "number1.options.integer", "type": "number", "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "number1.options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"number1.options": {"name": "number1.options", "properties": {"number1.options.integer": {"name": "number1.options.integer", "type": "integer", "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_number1.owner b/test/data/subconfig_number1.owner index cfb70a6..77fffc6 100644 --- a/test/data/subconfig_number1.owner +++ b/test/data/subconfig_number1.owner @@ -1 +1 @@ -{"number1.options.integer": "default"} \ No newline at end of file +{"number1.options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_number1.prop b/test/data/subconfig_number1.prop index c7d045e..aa1527e 100644 --- a/test/data/subconfig_number1.prop +++ b/test/data/subconfig_number1.prop @@ -1 +1 @@ -{"number1.options.integer": []} \ No newline at end of file +{"number1.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1.prop2 b/test/data/subconfig_number1.prop2 index c7d045e..aa1527e 100644 --- a/test/data/subconfig_number1.prop2 +++ b/test/data/subconfig_number1.prop2 @@ -1 +1 @@ -{"number1.options.integer": []} \ No newline at end of file +{"number1.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1_frozen.info b/test/data/subconfig_number1_frozen.info index bb2fad0..8bf8ab7 100644 --- a/test/data/subconfig_number1_frozen.info +++ b/test/data/subconfig_number1_frozen.info @@ -1 +1 @@ -{"number1_frozen.options.integer": {"doc": "integer 1 frozen", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"number1_frozen.options.integer": {"doc": "integer 1 frozen", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_frozen.json b/test/data/subconfig_number1_frozen.json index 09964a4..5d8fc62 100644 --- a/test/data/subconfig_number1_frozen.json +++ b/test/data/subconfig_number1_frozen.json @@ -1 +1 @@ -{"schema": {"number1_frozen.options": {"name": "number1_frozen.options", "properties": {"number1_frozen.options.integer": {"name": "number1_frozen.options.integer", "type": "number", "title": "integer 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_frozen.options.integer", "readOnly": true}], "form": [{"key": "number1_frozen.options.integer", "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"number1_frozen.options": {"name": "number1_frozen.options", "properties": {"number1_frozen.options.integer": {"name": "number1_frozen.options.integer", "type": "integer", "title": "integer 1 frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_frozen.options.integer", "readOnly": true}], "form": [{"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_number1_frozen.owner b/test/data/subconfig_number1_frozen.owner index 4d63e7e..551f0aa 100644 --- a/test/data/subconfig_number1_frozen.owner +++ b/test/data/subconfig_number1_frozen.owner @@ -1 +1 @@ -{"number1_frozen.options.integer": "default"} \ No newline at end of file +{"number1_frozen.options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_frozen.prop b/test/data/subconfig_number1_frozen.prop index 191765f..a93e86f 100644 --- a/test/data/subconfig_number1_frozen.prop +++ b/test/data/subconfig_number1_frozen.prop @@ -1 +1 @@ -{"number1_frozen.options.integer": ["frozen"]} \ No newline at end of file +{"number1_frozen.options.integer": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_number1_frozen.prop2 b/test/data/subconfig_number1_frozen.prop2 index 653496f..4383701 100644 --- a/test/data/subconfig_number1_frozen.prop2 +++ b/test/data/subconfig_number1_frozen.prop2 @@ -1 +1 @@ -{"number1_frozen.options.integer": []} \ No newline at end of file +{"number1_frozen.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1_mod_value.info b/test/data/subconfig_number1_mod_value.info index 229c8e4..1e72e84 100644 --- a/test/data/subconfig_number1_mod_value.info +++ b/test/data/subconfig_number1_mod_value.info @@ -1 +1 @@ -{"number1_mod_value.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"number1_mod_value.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_mod_value.json b/test/data/subconfig_number1_mod_value.json index 8c66192..3a819fd 100644 --- a/test/data/subconfig_number1_mod_value.json +++ b/test/data/subconfig_number1_mod_value.json @@ -1 +1 @@ -{"schema": {"number1_mod_value.options": {"name": "number1_mod_value.options", "properties": {"number1_mod_value.options.integer": {"name": "number1_mod_value.options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_mod_value.options.integer", "value": 3, "owner": "user"}], "form": [{"key": "number1_mod_value.options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"number1_mod_value.options": {"name": "number1_mod_value.options", "properties": {"number1_mod_value.options.integer": {"name": "number1_mod_value.options.integer", "type": "integer", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_mod_value.options.integer", "value": 3, "owner": "user"}], "form": [{"key": "number1_mod_value.options.integer", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_number1_mod_value.owner b/test/data/subconfig_number1_mod_value.owner index 70a8e44..1d3e91d 100644 --- a/test/data/subconfig_number1_mod_value.owner +++ b/test/data/subconfig_number1_mod_value.owner @@ -1 +1 @@ -{"number1_mod_value.options.integer": "user"} \ No newline at end of file +{"number1_mod_value.options.integer": {"null": "user"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_mod_value.prop b/test/data/subconfig_number1_mod_value.prop index dd8ec20..207282c 100644 --- a/test/data/subconfig_number1_mod_value.prop +++ b/test/data/subconfig_number1_mod_value.prop @@ -1 +1 @@ -{"number1_mod_value.options.integer": []} \ No newline at end of file +{"number1_mod_value.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1_mod_value.prop2 b/test/data/subconfig_number1_mod_value.prop2 index dd8ec20..207282c 100644 --- a/test/data/subconfig_number1_mod_value.prop2 +++ b/test/data/subconfig_number1_mod_value.prop2 @@ -1 +1 @@ -{"number1_mod_value.options.integer": []} \ No newline at end of file +{"number1_mod_value.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1_value.info b/test/data/subconfig_number1_value.info index 4ae104c..555dc78 100644 --- a/test/data/subconfig_number1_value.info +++ b/test/data/subconfig_number1_value.info @@ -1 +1 @@ -{"number1_value.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "int"}} \ No newline at end of file +{"number1_value.options.integer": {"doc": "integer 1", "name": "integer", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "integer"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_value.json b/test/data/subconfig_number1_value.json index 7ffc540..2ba4ca3 100644 --- a/test/data/subconfig_number1_value.json +++ b/test/data/subconfig_number1_value.json @@ -1 +1 @@ -{"schema": {"number1_value.options": {"name": "number1_value.options", "properties": {"number1_value.options.integer": {"name": "number1_value.options.integer", "type": "number", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_value.options.integer", "value": 0, "owner": "default"}], "form": [{"key": "number1_value.options.integer", "clearable": true, "allowedpattern": "[0-9]", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"number1_value.options": {"name": "number1_value.options", "properties": {"number1_value.options.integer": {"name": "number1_value.options.integer", "type": "integer", "value": 0, "title": "integer 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "number1_value.options.integer", "value": 0, "owner": "default"}], "form": [{"key": "number1_value.options.integer", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_number1_value.owner b/test/data/subconfig_number1_value.owner index aeb2903..0cb6a9f 100644 --- a/test/data/subconfig_number1_value.owner +++ b/test/data/subconfig_number1_value.owner @@ -1 +1 @@ -{"number1_value.options.integer": "default"} \ No newline at end of file +{"number1_value.options.integer": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_number1_value.prop b/test/data/subconfig_number1_value.prop index d472955..a214964 100644 --- a/test/data/subconfig_number1_value.prop +++ b/test/data/subconfig_number1_value.prop @@ -1 +1 @@ -{"number1_value.options.integer": []} \ No newline at end of file +{"number1_value.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_number1_value.prop2 b/test/data/subconfig_number1_value.prop2 index d472955..a214964 100644 --- a/test/data/subconfig_number1_value.prop2 +++ b/test/data/subconfig_number1_value.prop2 @@ -1 +1 @@ -{"number1_value.options.integer": []} \ No newline at end of file +{"number1_value.options.integer": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1.info b/test/data/subconfig_unicode1.info index c728a34..4785d43 100644 --- a/test/data/subconfig_unicode1.info +++ b/test/data/subconfig_unicode1.info @@ -1 +1 @@ -{"unicode1.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1.owner b/test/data/subconfig_unicode1.owner index 7e5aa54..6b72499 100644 --- a/test/data/subconfig_unicode1.owner +++ b/test/data/subconfig_unicode1.owner @@ -1 +1 @@ -{"unicode1.options.unicode": "default"} \ No newline at end of file +{"unicode1.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1.prop b/test/data/subconfig_unicode1.prop index b9f2ff0..451574b 100644 --- a/test/data/subconfig_unicode1.prop +++ b/test/data/subconfig_unicode1.prop @@ -1 +1 @@ -{"unicode1.options.unicode": []} \ No newline at end of file +{"unicode1.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1.prop2 b/test/data/subconfig_unicode1.prop2 index b9f2ff0..451574b 100644 --- a/test/data/subconfig_unicode1.prop2 +++ b/test/data/subconfig_unicode1.prop2 @@ -1 +1 @@ -{"unicode1.options.unicode": []} \ No newline at end of file +{"unicode1.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_frozen.info b/test/data/subconfig_unicode1_frozen.info index 30f9273..5e392ac 100644 --- a/test/data/subconfig_unicode1_frozen.info +++ b/test/data/subconfig_unicode1_frozen.info @@ -1 +1 @@ -{"unicode1_frozen.options.unicode": {"doc": "Unicode 1 frozen", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_frozen.options.unicode": {"doc": "Unicode 1 frozen", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_frozen.owner b/test/data/subconfig_unicode1_frozen.owner index 59f32f2..291053b 100644 --- a/test/data/subconfig_unicode1_frozen.owner +++ b/test/data/subconfig_unicode1_frozen.owner @@ -1 +1 @@ -{"unicode1_frozen.options.unicode": "default"} \ No newline at end of file +{"unicode1_frozen.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_frozen.prop b/test/data/subconfig_unicode1_frozen.prop index 497662b..4d8a67d 100644 --- a/test/data/subconfig_unicode1_frozen.prop +++ b/test/data/subconfig_unicode1_frozen.prop @@ -1 +1 @@ -{"unicode1_frozen.options.unicode": ["frozen"]} \ No newline at end of file +{"unicode1_frozen.options.unicode": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_frozen.prop2 b/test/data/subconfig_unicode1_frozen.prop2 index 96cd2aa..9459f4e 100644 --- a/test/data/subconfig_unicode1_frozen.prop2 +++ b/test/data/subconfig_unicode1_frozen.prop2 @@ -1 +1 @@ -{"unicode1_frozen.options.unicode": []} \ No newline at end of file +{"unicode1_frozen.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_hidden_slaves.dict b/test/data/subconfig_unicode1_leader_hidden_followers.dict similarity index 100% rename from test/data/subconfig_unicode1_master_hidden_slaves.dict rename to test/data/subconfig_unicode1_leader_hidden_followers.dict diff --git a/test/data/unicode1_master_hidden_slaves.dict b/test/data/subconfig_unicode1_leader_hidden_followers.info similarity index 100% rename from test/data/unicode1_master_hidden_slaves.dict rename to test/data/subconfig_unicode1_leader_hidden_followers.info diff --git a/test/data/subconfig_unicode1_leader_hidden_followers.json b/test/data/subconfig_unicode1_leader_hidden_followers.json new file mode 100644 index 0000000..4b8bfd6 --- /dev/null +++ b/test/data/subconfig_unicode1_leader_hidden_followers.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leader_hidden_followers.options": {"name": "unicode1_leader_hidden_followers.options", "properties": {"unicode1_leader_hidden_followers.options.unicode": {"name": "unicode1_leader_hidden_followers.options.unicode", "properties": {"unicode1_leader_hidden_followers.options.unicode.unicode": {"name": "unicode1_leader_hidden_followers.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leader_hidden_followers.options.unicode.unicode1": {"name": "unicode1_leader_hidden_followers.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leader_hidden_followers.options.unicode.unicode2": {"name": "unicode1_leader_hidden_followers.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "unicode1_leader_hidden_followers.options.unicode.unicode3": {"name": "unicode1_leader_hidden_followers.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leader_hidden_followers.options.unicode.unicode", "display": false, "required": true, "hidden": true}], "form": [{"key": "unicode1_leader_hidden_followers.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leader_hidden_followers.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leader_hidden_followers.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_leader_hidden_followers.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leader_hidden_followers.owner b/test/data/subconfig_unicode1_leader_hidden_followers.owner new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/subconfig_unicode1_leader_hidden_followers.owner @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leader_hidden_followers.prop b/test/data/subconfig_unicode1_leader_hidden_followers.prop new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/subconfig_unicode1_leader_hidden_followers.prop @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leader_hidden_followers.prop2 b/test/data/subconfig_unicode1_leader_hidden_followers.prop2 new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/subconfig_unicode1_leader_hidden_followers.prop2 @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.dict b/test/data/subconfig_unicode1_leadership.dict new file mode 100644 index 0000000..ed106bb --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.dict @@ -0,0 +1 @@ +{"unicode1_leadership.options.unicode.unicode": [], "unicode1_leadership.options.unicode.unicode1": [], "unicode1_leadership.options.unicode.unicode2": [], "unicode1_leadership.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.info b/test/data/subconfig_unicode1_leadership.info new file mode 100644 index 0000000..1ffa83f --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.info @@ -0,0 +1 @@ +{"unicode1_leadership.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership.options.unicode.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.json b/test/data/subconfig_unicode1_leadership.json new file mode 100644 index 0000000..20dcc4e --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership.options": {"name": "unicode1_leadership.options", "properties": {"unicode1_leadership.options.unicode": {"name": "unicode1_leadership.options.unicode", "properties": {"unicode1_leadership.options.unicode.unicode": {"name": "unicode1_leadership.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership.options.unicode.unicode1": {"name": "unicode1_leadership.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership.options.unicode.unicode2": {"name": "unicode1_leadership.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "unicode1_leadership.options.unicode.unicode3": {"name": "unicode1_leadership.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_leadership.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leadership.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_leadership.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.owner b/test/data/subconfig_unicode1_leadership.owner new file mode 100644 index 0000000..6b16d03 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.owner @@ -0,0 +1 @@ +{"unicode1_leadership.options.unicode.unicode": {"null": "default"}, "unicode1_leadership.options.unicode.unicode1": {}, "unicode1_leadership.options.unicode.unicode2": {}, "unicode1_leadership.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.prop b/test/data/subconfig_unicode1_leadership.prop new file mode 100644 index 0000000..77c6ffd --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.prop @@ -0,0 +1 @@ +{"unicode1_leadership.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership.options.unicode.unicode1": {}, "unicode1_leadership.options.unicode.unicode2": {}, "unicode1_leadership.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership.prop2 b/test/data/subconfig_unicode1_leadership.prop2 new file mode 100644 index 0000000..9e83801 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership.options.unicode.unicode": {"null": []}, "unicode1_leadership.options.unicode.unicode1": {}, "unicode1_leadership.options.unicode.unicode2": {}, "unicode1_leadership.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.dict b/test/data/subconfig_unicode1_leadership_default_value.dict new file mode 100644 index 0000000..4678397 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.dict @@ -0,0 +1 @@ +{"unicode1_leadership_default_value.options.unicode.unicode": ["val1", "val2"], "unicode1_leadership_default_value.options.unicode.unicode1": [null, null], "unicode1_leadership_default_value.options.unicode.unicode2": ["follower2", "follower2"], "unicode1_leadership_default_value.options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.info b/test/data/subconfig_unicode1_leadership_default_value.info new file mode 100644 index 0000000..2454abb --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.info @@ -0,0 +1 @@ +{"unicode1_leadership_default_value.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_default_value.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_default_value.options.unicode.unicode2": {"doc": "Unicode follower 2 with default multi", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_default_value.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.json b/test/data/subconfig_unicode1_leadership_default_value.json new file mode 100644 index 0000000..4dbc35f --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_default_value.options": {"name": "unicode1_leadership_default_value.options", "properties": {"unicode1_leadership_default_value.options.unicode": {"name": "unicode1_leadership_default_value.options.unicode", "properties": {"unicode1_leadership_default_value.options.unicode.unicode": {"name": "unicode1_leadership_default_value.options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_default_value.options.unicode.unicode1": {"name": "unicode1_leadership_default_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_default_value.options.unicode.unicode2": {"name": "unicode1_leadership_default_value.options.unicode.unicode2", "type": "string", "default": "follower2", "isMulti": true, "title": "Unicode follower 2 with default multi"}, "unicode1_leadership_default_value.options.unicode.unicode3": {"name": "unicode1_leadership_default_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_default_value.options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "default"}, {"key": "unicode1_leadership_default_value.options.unicode.unicode2", "index": 0, "value": "follower2", "owner": "default"}, {"key": "unicode1_leadership_default_value.options.unicode.unicode2", "index": 1, "value": "follower2", "owner": "default"}], "form": [{"key": "unicode1_leadership_default_value.options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "unicode1_leadership_default_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_default_value.options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "unicode1_leadership_default_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.owner b/test/data/subconfig_unicode1_leadership_default_value.owner new file mode 100644 index 0000000..7c89eda --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.owner @@ -0,0 +1 @@ +{"unicode1_leadership_default_value.options.unicode.unicode": {"null": "default"}, "unicode1_leadership_default_value.options.unicode.unicode1": {"0": "default", "1": "default"}, "unicode1_leadership_default_value.options.unicode.unicode2": {"0": "default", "1": "default"}, "unicode1_leadership_default_value.options.unicode.unicode3": {"0": "default", "1": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.prop b/test/data/subconfig_unicode1_leadership_default_value.prop new file mode 100644 index 0000000..29f9586 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.prop @@ -0,0 +1 @@ +{"unicode1_leadership_default_value.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_default_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_default_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_default_value.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_default_value.prop2 b/test/data/subconfig_unicode1_leadership_default_value.prop2 new file mode 100644 index 0000000..8a25d59 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_default_value.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_default_value.options.unicode.unicode": {"null": []}, "unicode1_leadership_default_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_default_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_default_value.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.dict b/test/data/subconfig_unicode1_leadership_hidden.dict new file mode 100644 index 0000000..7d7224b --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.dict @@ -0,0 +1 @@ +{"unicode1_leadership_hidden.options.unicode.unicode": ["val1", "val2"], "unicode1_leadership_hidden.options.unicode.unicode1": [null, null], "unicode1_leadership_hidden.options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.info b/test/data/subconfig_unicode1_leadership_hidden.info new file mode 100644 index 0000000..570d64e --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.info @@ -0,0 +1 @@ +{"unicode1_leadership_hidden.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_hidden.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_hidden.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.json b/test/data/subconfig_unicode1_leadership_hidden.json new file mode 100644 index 0000000..8691bcc --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_hidden.options": {"name": "unicode1_leadership_hidden.options", "properties": {"unicode1_leadership_hidden.options.unicode": {"name": "unicode1_leadership_hidden.options.unicode", "properties": {"unicode1_leadership_hidden.options.unicode.unicode": {"name": "unicode1_leadership_hidden.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_hidden.options.unicode.unicode1": {"name": "unicode1_leadership_hidden.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_hidden.options.unicode.unicode2": {"name": "unicode1_leadership_hidden.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2 hidden"}, "unicode1_leadership_hidden.options.unicode.unicode3": {"name": "unicode1_leadership_hidden.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_hidden.options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "user"}, {"key": "unicode1_leadership_hidden.options.unicode.unicode2", "display": false, "hidden": true, "index": 0, "value": "super", "owner": "user"}, {"key": "unicode1_leadership_hidden.options.unicode.unicode2", "display": false, "hidden": true, "index": 1}, {"key": "unicode1_leadership_hidden.options.unicode.unicode2", "display": false, "hidden": true}], "form": [{"key": "unicode1_leadership_hidden.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leadership_hidden.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_hidden.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_leadership_hidden.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.owner b/test/data/subconfig_unicode1_leadership_hidden.owner new file mode 100644 index 0000000..8fe7212 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.owner @@ -0,0 +1 @@ +{"unicode1_leadership_hidden.options.unicode.unicode": {"null": "user"}, "unicode1_leadership_hidden.options.unicode.unicode1": {"0": "default", "1": "default"}, "unicode1_leadership_hidden.options.unicode.unicode3": {"0": "default", "1": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.prop b/test/data/subconfig_unicode1_leadership_hidden.prop new file mode 100644 index 0000000..2c53e5b --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.prop @@ -0,0 +1 @@ +{"unicode1_leadership_hidden.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_hidden.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_hidden.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden.prop2 b/test/data/subconfig_unicode1_leadership_hidden.prop2 new file mode 100644 index 0000000..3226cee --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_hidden.options.unicode.unicode": {"null": []}, "unicode1_leadership_hidden.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_hidden.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.dict b/test/data/subconfig_unicode1_leadership_hidden_all_default.dict new file mode 100644 index 0000000..2bcf878 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.dict @@ -0,0 +1 @@ +{"unicode1_leadership_hidden_all_default.options.unicode": null, "unicode1_leadership_hidden_all_default.options.unicode1.unicode1": [], "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": [], "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.info b/test/data/subconfig_unicode1_leadership_hidden_all_default.info new file mode 100644 index 0000000..79f04f3 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.info @@ -0,0 +1 @@ +{"unicode1_leadership_hidden_all_default.options.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.json b/test/data/subconfig_unicode1_leadership_hidden_all_default.json new file mode 100644 index 0000000..c197769 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_hidden_all_default.options": {"name": "unicode1_leadership_hidden_all_default.options", "properties": {"unicode1_leadership_hidden_all_default.options.unicode": {"name": "unicode1_leadership_hidden_all_default.options.unicode", "type": "string", "title": "Unicode leader"}, "unicode1_leadership_hidden_all_default.options.unicode1": {"name": "unicode1_leadership_hidden_all_default.options.unicode1", "properties": {"unicode1_leadership_hidden_all_default.options.unicode1.unicode1": {"name": "unicode1_leadership_hidden_all_default.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": {"name": "unicode1_leadership_hidden_all_default.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": {"name": "unicode1_leadership_hidden_all_default.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_hidden_all_default.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_leadership_hidden_all_default.options.unicode", "type": "input"}, {"key": "unicode1_leadership_hidden_all_default.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_leadership_hidden_all_default.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_leadership_hidden_all_default.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.owner b/test/data/subconfig_unicode1_leadership_hidden_all_default.owner new file mode 100644 index 0000000..0381834 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.owner @@ -0,0 +1 @@ +{"unicode1_leadership_hidden_all_default.options.unicode": {"null": "default"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode1": {"null": "default"}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": {}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.prop b/test/data/subconfig_unicode1_leadership_hidden_all_default.prop new file mode 100644 index 0000000..b047a32 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.prop @@ -0,0 +1 @@ +{"unicode1_leadership_hidden_all_default.options.unicode": {"null": []}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode1": {"null": ["empty"]}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": {}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_hidden_all_default.prop2 b/test/data/subconfig_unicode1_leadership_hidden_all_default.prop2 new file mode 100644 index 0000000..b3df418 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_hidden_all_default.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_hidden_all_default.options.unicode": {"null": []}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode1": {"null": []}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode2": {}, "unicode1_leadership_hidden_all_default.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.dict b/test/data/subconfig_unicode1_leadership_not_equal.dict new file mode 100644 index 0000000..b8e2a2a --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.dict @@ -0,0 +1 @@ +{"unicode1_leadership_not_equal.options.unicode.unicode": [], "unicode1_leadership_not_equal.options.unicode.unicode1": [], "unicode1_leadership_not_equal.options.unicode.unicode2": [], "unicode1_leadership_not_equal.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.info b/test/data/subconfig_unicode1_leadership_not_equal.info new file mode 100644 index 0000000..d0db6e9 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.info @@ -0,0 +1 @@ +{"unicode1_leadership_not_equal.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_not_equal.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_not_equal.options.unicode.unicode2": {"doc": "Unicode follower 2 not equal", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_not_equal.options.unicode.unicode3": {"doc": "Unicode follower 3 not equal", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.json b/test/data/subconfig_unicode1_leadership_not_equal.json new file mode 100644 index 0000000..2a26c27 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_not_equal.options": {"name": "unicode1_leadership_not_equal.options", "properties": {"unicode1_leadership_not_equal.options.unicode": {"name": "unicode1_leadership_not_equal.options.unicode", "properties": {"unicode1_leadership_not_equal.options.unicode.unicode": {"name": "unicode1_leadership_not_equal.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_not_equal.options.unicode.unicode1": {"name": "unicode1_leadership_not_equal.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_not_equal.options.unicode.unicode2": {"name": "unicode1_leadership_not_equal.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2 not equal"}, "unicode1_leadership_not_equal.options.unicode.unicode3": {"name": "unicode1_leadership_not_equal.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3 not equal"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_not_equal.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_leadership_not_equal.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leadership_not_equal.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_not_equal.options.unicode.unicode2", "type": "input", "not_equal": {"options": ["unicode1_leadership_not_equal.options.unicode.unicode3"]}}, {"key": "unicode1_leadership_not_equal.options.unicode.unicode3", "type": "input", "not_equal": {"options": ["unicode1_leadership_not_equal.options.unicode.unicode2"]}}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.owner b/test/data/subconfig_unicode1_leadership_not_equal.owner new file mode 100644 index 0000000..f7ddec7 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.owner @@ -0,0 +1 @@ +{"unicode1_leadership_not_equal.options.unicode.unicode": {"null": "default"}, "unicode1_leadership_not_equal.options.unicode.unicode1": {}, "unicode1_leadership_not_equal.options.unicode.unicode2": {}, "unicode1_leadership_not_equal.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.prop b/test/data/subconfig_unicode1_leadership_not_equal.prop new file mode 100644 index 0000000..aace7aa --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.prop @@ -0,0 +1 @@ +{"unicode1_leadership_not_equal.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_not_equal.options.unicode.unicode1": {}, "unicode1_leadership_not_equal.options.unicode.unicode2": {}, "unicode1_leadership_not_equal.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_not_equal.prop2 b/test/data/subconfig_unicode1_leadership_not_equal.prop2 new file mode 100644 index 0000000..05237c8 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_not_equal.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_not_equal.options.unicode.unicode": {"null": []}, "unicode1_leadership_not_equal.options.unicode.unicode1": {}, "unicode1_leadership_not_equal.options.unicode.unicode2": {}, "unicode1_leadership_not_equal.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.dict b/test/data/subconfig_unicode1_leadership_requires.dict new file mode 100644 index 0000000..343bcec --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires.options.unicode.unicode": [], "unicode1_leadership_requires.options.unicode.unicode1": [], "unicode1_leadership_requires.options.unicode.unicode2": [], "unicode1_leadership_requires.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.info b/test/data/subconfig_unicode1_leadership_requires.info new file mode 100644 index 0000000..a85fc1b --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires.options.unicode.unicode2": {"doc": "Values 'test' must show 'Unicode follower 3'", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.json b/test/data/subconfig_unicode1_leadership_requires.json new file mode 100644 index 0000000..499fb93 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires.options": {"name": "unicode1_leadership_requires.options", "properties": {"unicode1_leadership_requires.options.unicode": {"name": "unicode1_leadership_requires.options.unicode", "properties": {"unicode1_leadership_requires.options.unicode.unicode": {"name": "unicode1_leadership_requires.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_requires.options.unicode.unicode1": {"name": "unicode1_leadership_requires.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires.options.unicode.unicode2": {"name": "unicode1_leadership_requires.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 3'"}, "unicode1_leadership_requires.options.unicode.unicode3": {"name": "unicode1_leadership_requires.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_requires.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_leadership_requires.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leadership_requires.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_requires.options.unicode.unicode2", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires.options.unicode.unicode3"]}, "expected": {"test": {"show": ["unicode1_leadership_requires.options.unicode.unicode3"]}}}}, {"key": "unicode1_leadership_requires.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.owner b/test/data/subconfig_unicode1_leadership_requires.owner new file mode 100644 index 0000000..139e2a0 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires.options.unicode.unicode": {"null": "default"}, "unicode1_leadership_requires.options.unicode.unicode1": {}, "unicode1_leadership_requires.options.unicode.unicode2": {}, "unicode1_leadership_requires.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.prop b/test/data/subconfig_unicode1_leadership_requires.prop new file mode 100644 index 0000000..eecd59d --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_requires.options.unicode.unicode1": {}, "unicode1_leadership_requires.options.unicode.unicode2": {}, "unicode1_leadership_requires.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires.prop2 b/test/data/subconfig_unicode1_leadership_requires.prop2 new file mode 100644 index 0000000..23b7b90 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires.options.unicode.unicode": {"null": []}, "unicode1_leadership_requires.options.unicode.unicode1": {}, "unicode1_leadership_requires.options.unicode.unicode2": {}, "unicode1_leadership_requires.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.dict b/test/data/subconfig_unicode1_leadership_requires_all.dict new file mode 100644 index 0000000..41330d2 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_all.options.unicode": null} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.info b/test/data/subconfig_unicode1_leadership_requires_all.info new file mode 100644 index 0000000..4af583c --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_all.options.unicode": {"doc": "Value 'test' must show Leadership", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.json b/test/data/subconfig_unicode1_leadership_requires_all.json new file mode 100644 index 0000000..323cf4d --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_all.options": {"name": "unicode1_leadership_requires_all.options", "properties": {"unicode1_leadership_requires_all.options.unicode": {"name": "unicode1_leadership_requires_all.options.unicode", "type": "string", "title": "Value 'test' must show Leadership"}, "unicode1_leadership_requires_all.options.unicode1": {"name": "unicode1_leadership_requires_all.options.unicode1", "properties": {"unicode1_leadership_requires_all.options.unicode1.unicode1": {"name": "unicode1_leadership_requires_all.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_requires_all.options.unicode1.unicode2": {"name": "unicode1_leadership_requires_all.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires_all.options.unicode1.unicode3": {"name": "unicode1_leadership_requires_all.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_requires_all.options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "unicode1_leadership_requires_all.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_leadership_requires_all.options.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_all.options.unicode1"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_all.options.unicode1"]}}}}, {"key": "unicode1_leadership_requires_all.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_leadership_requires_all.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_leadership_requires_all.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.owner b/test/data/subconfig_unicode1_leadership_requires_all.owner new file mode 100644 index 0000000..169fc4d --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_all.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.prop b/test/data/subconfig_unicode1_leadership_requires_all.prop new file mode 100644 index 0000000..8bd22ae --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_all.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_all.prop2 b/test/data/subconfig_unicode1_leadership_requires_all.prop2 new file mode 100644 index 0000000..8bd22ae --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_all.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_all.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.dict b/test/data/subconfig_unicode1_leadership_requires_follower.dict new file mode 100644 index 0000000..eb2467e --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower.options.unicode1.unicode1": [], "unicode1_leadership_requires_follower.options.unicode1.unicode2": [], "unicode1_leadership_requires_follower.options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.info b/test/data/subconfig_unicode1_leadership_requires_follower.info new file mode 100644 index 0000000..737c423 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower.options.unicode1.unicode1": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_follower.options.unicode1.unicode2": {"doc": "Unicode follower 1", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_follower.options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.json b/test/data/subconfig_unicode1_leadership_requires_follower.json new file mode 100644 index 0000000..37b068c --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_follower.options": {"name": "unicode1_leadership_requires_follower.options", "properties": {"unicode1_leadership_requires_follower.options.unicode1": {"name": "unicode1_leadership_requires_follower.options.unicode1", "properties": {"unicode1_leadership_requires_follower.options.unicode1.unicode1": {"name": "unicode1_leadership_requires_follower.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "unicode1_leadership_requires_follower.options.unicode1.unicode2": {"name": "unicode1_leadership_requires_follower.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires_follower.options.unicode1.unicode3": {"name": "unicode1_leadership_requires_follower.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_requires_follower.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_leadership_requires_follower.options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_follower.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_follower.options.unicode1.unicode3"]}}}}, {"key": "unicode1_leadership_requires_follower.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_leadership_requires_follower.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.owner b/test/data/subconfig_unicode1_leadership_requires_follower.owner new file mode 100644 index 0000000..2a25e85 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower.options.unicode1.unicode1": {"null": "default"}, "unicode1_leadership_requires_follower.options.unicode1.unicode2": {}, "unicode1_leadership_requires_follower.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.prop b/test/data/subconfig_unicode1_leadership_requires_follower.prop new file mode 100644 index 0000000..dc8b7da --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower.options.unicode1.unicode1": {"null": ["empty"]}, "unicode1_leadership_requires_follower.options.unicode1.unicode2": {}, "unicode1_leadership_requires_follower.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower.prop2 b/test/data/subconfig_unicode1_leadership_requires_follower.prop2 new file mode 100644 index 0000000..b69df75 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower.options.unicode1.unicode1": {"null": []}, "unicode1_leadership_requires_follower.options.unicode1.unicode2": {}, "unicode1_leadership_requires_follower.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.dict b/test/data/subconfig_unicode1_leadership_requires_follower_value.dict new file mode 100644 index 0000000..d452302 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": ["test", "pas test"], "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": ["super1", null], "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": ["super1", "cannot access to option \"Unicode follower 2\" because has property \"hidden\" (the value of \"Values 'test' must show 'Unicode follower 2'\" is not \"test\")"]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.info b/test/data/subconfig_unicode1_leadership_requires_follower_value.info new file mode 100644 index 0000000..7b31ddc --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": {"doc": "Unicode follower 1", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.json b/test/data/subconfig_unicode1_leadership_requires_follower_value.json new file mode 100644 index 0000000..d3ca146 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_follower_value.options": {"name": "unicode1_leadership_requires_follower_value.options", "properties": {"unicode1_leadership_requires_follower_value.options.unicode1": {"name": "unicode1_leadership_requires_follower_value.options.unicode1", "properties": {"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": {"name": "unicode1_leadership_requires_follower_value.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": {"name": "unicode1_leadership_requires_follower_value.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": {"name": "unicode1_leadership_requires_follower_value.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode1", "required": true, "value": ["test", "pas test"], "owner": "user"}, {"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode2", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode3", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode3", "hidden": true, "index": 1}], "form": [{"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_follower_value.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_follower_value.options.unicode1.unicode3"]}}}}, {"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_leadership_requires_follower_value.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.owner b/test/data/subconfig_unicode1_leadership_requires_follower_value.owner new file mode 100644 index 0000000..a6a62cf --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": {"null": "user"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": {"0": "user", "1": "default"}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": {"0": "user"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.prop b/test/data/subconfig_unicode1_leadership_requires_follower_value.prop new file mode 100644 index 0000000..abb3ba4 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": {"null": ["empty"]}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": {"0": [], "1": []}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_follower_value.prop2 b/test/data/subconfig_unicode1_leadership_requires_follower_value.prop2 new file mode 100644 index 0000000..344814a --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_follower_value.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_follower_value.options.unicode1.unicode1": {"null": []}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode2": {"0": [], "1": []}, "unicode1_leadership_requires_follower_value.options.unicode1.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.dict b/test/data/subconfig_unicode1_leadership_requires_followers.dict new file mode 100644 index 0000000..f92ecd8 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_followers.options.unicode1.unicode1": [], "unicode1_leadership_requires_followers.options.unicode1.unicode2": [], "unicode1_leadership_requires_followers.options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.info b/test/data/subconfig_unicode1_leadership_requires_followers.info new file mode 100644 index 0000000..82e701a --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_followers.options.unicode1.unicode1": {"doc": "Unicode leader", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_followers.options.unicode1.unicode2": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_followers.options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.json b/test/data/subconfig_unicode1_leadership_requires_followers.json new file mode 100644 index 0000000..2ec6578 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_followers.options": {"name": "unicode1_leadership_requires_followers.options", "properties": {"unicode1_leadership_requires_followers.options.unicode1": {"name": "unicode1_leadership_requires_followers.options.unicode1", "properties": {"unicode1_leadership_requires_followers.options.unicode1.unicode1": {"name": "unicode1_leadership_requires_followers.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_requires_followers.options.unicode1.unicode2": {"name": "unicode1_leadership_requires_followers.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "unicode1_leadership_requires_followers.options.unicode1.unicode3": {"name": "unicode1_leadership_requires_followers.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_requires_followers.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_leadership_requires_followers.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_leadership_requires_followers.options.unicode1.unicode2", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_followers.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_followers.options.unicode1.unicode3"]}}}}, {"key": "unicode1_leadership_requires_followers.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.owner b/test/data/subconfig_unicode1_leadership_requires_followers.owner new file mode 100644 index 0000000..e49f403 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_followers.options.unicode1.unicode1": {"null": "default"}, "unicode1_leadership_requires_followers.options.unicode1.unicode2": {}, "unicode1_leadership_requires_followers.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.prop b/test/data/subconfig_unicode1_leadership_requires_followers.prop new file mode 100644 index 0000000..23be9e1 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_followers.options.unicode1.unicode1": {"null": ["empty"]}, "unicode1_leadership_requires_followers.options.unicode1.unicode2": {}, "unicode1_leadership_requires_followers.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_followers.prop2 b/test/data/subconfig_unicode1_leadership_requires_followers.prop2 new file mode 100644 index 0000000..f5424c9 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_followers.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_followers.options.unicode1.unicode1": {"null": []}, "unicode1_leadership_requires_followers.options.unicode1.unicode2": {}, "unicode1_leadership_requires_followers.options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.dict b/test/data/subconfig_unicode1_leadership_requires_leader.dict new file mode 100644 index 0000000..4954720 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_leader.options.unicode": null} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.info b/test/data/subconfig_unicode1_leadership_requires_leader.info new file mode 100644 index 0000000..df95064 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_leader.options.unicode": {"doc": "Value 'test' must show leader", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.json b/test/data/subconfig_unicode1_leadership_requires_leader.json new file mode 100644 index 0000000..5a45379 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_leader.options": {"name": "unicode1_leadership_requires_leader.options", "properties": {"unicode1_leadership_requires_leader.options.unicode": {"name": "unicode1_leadership_requires_leader.options.unicode", "type": "string", "title": "Value 'test' must show leader"}, "unicode1_leadership_requires_leader.options.unicode1": {"name": "unicode1_leadership_requires_leader.options.unicode1", "properties": {"unicode1_leadership_requires_leader.options.unicode1.unicode1": {"name": "unicode1_leadership_requires_leader.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_requires_leader.options.unicode1.unicode2": {"name": "unicode1_leadership_requires_leader.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires_leader.options.unicode1.unicode3": {"name": "unicode1_leadership_requires_leader.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_leadership_requires_leader.options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "unicode1_leadership_requires_leader.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_leadership_requires_leader.options.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_leader.options.unicode1"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_leader.options.unicode1"]}}}}, {"key": "unicode1_leadership_requires_leader.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_leadership_requires_leader.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_leadership_requires_leader.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.owner b/test/data/subconfig_unicode1_leadership_requires_leader.owner new file mode 100644 index 0000000..86cf0d6 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_leader.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.prop b/test/data/subconfig_unicode1_leadership_requires_leader.prop new file mode 100644 index 0000000..cc65c91 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_leader.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_leader.prop2 b/test/data/subconfig_unicode1_leadership_requires_leader.prop2 new file mode 100644 index 0000000..cc65c91 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_leader.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_leader.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.dict b/test/data/subconfig_unicode1_leadership_requires_value.dict new file mode 100644 index 0000000..40e7a84 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.dict @@ -0,0 +1 @@ +{"unicode1_leadership_requires_value.options.unicode.unicode": ["test", "val2"], "unicode1_leadership_requires_value.options.unicode.unicode1": ["super1", "super2"], "unicode1_leadership_requires_value.options.unicode.unicode2": ["pas test", "test"], "unicode1_leadership_requires_value.options.unicode.unicode3": [null, "cannot access to option \"Unicode follower 3\" because has property \"hidden\" (the value of \"Values 'test' must show 'Unicode follower 3'\" is not \"test\")"]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.info b/test/data/subconfig_unicode1_leadership_requires_value.info new file mode 100644 index 0000000..330b0b4 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.info @@ -0,0 +1 @@ +{"unicode1_leadership_requires_value.options.unicode.unicode": {"doc": "Values 'test' must show 'Unicode follower 3'", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_value.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_value.options.unicode.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_requires_value.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.json b/test/data/subconfig_unicode1_leadership_requires_value.json new file mode 100644 index 0000000..266dc69 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_requires_value.options": {"name": "unicode1_leadership_requires_value.options", "properties": {"unicode1_leadership_requires_value.options.unicode": {"name": "unicode1_leadership_requires_value.options.unicode", "properties": {"unicode1_leadership_requires_value.options.unicode.unicode": {"name": "unicode1_leadership_requires_value.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 3'"}, "unicode1_leadership_requires_value.options.unicode.unicode1": {"name": "unicode1_leadership_requires_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_requires_value.options.unicode.unicode2": {"name": "unicode1_leadership_requires_value.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "unicode1_leadership_requires_value.options.unicode.unicode3": {"name": "unicode1_leadership_requires_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_requires_value.options.unicode.unicode", "required": true, "value": ["test", "val2"], "owner": "user"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode3", "hidden": true, "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "unicode1_leadership_requires_value.options.unicode.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_leadership_requires_value.options.unicode.unicode3"]}, "expected": {"test": {"show": ["unicode1_leadership_requires_value.options.unicode.unicode3"]}}}}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_leadership_requires_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.owner b/test/data/subconfig_unicode1_leadership_requires_value.owner new file mode 100644 index 0000000..c37a8ce --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.owner @@ -0,0 +1 @@ +{"unicode1_leadership_requires_value.options.unicode.unicode": {"null": "user"}, "unicode1_leadership_requires_value.options.unicode.unicode1": {"0": "user", "1": "user"}, "unicode1_leadership_requires_value.options.unicode.unicode2": {"0": "user", "1": "user"}, "unicode1_leadership_requires_value.options.unicode.unicode3": {"0": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.prop b/test/data/subconfig_unicode1_leadership_requires_value.prop new file mode 100644 index 0000000..0f64dbf --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.prop @@ -0,0 +1 @@ +{"unicode1_leadership_requires_value.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_requires_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_requires_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_requires_value.options.unicode.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_requires_value.prop2 b/test/data/subconfig_unicode1_leadership_requires_value.prop2 new file mode 100644 index 0000000..53ab577 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_requires_value.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_requires_value.options.unicode.unicode": {"null": []}, "unicode1_leadership_requires_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_requires_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_requires_value.options.unicode.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.dict b/test/data/subconfig_unicode1_leadership_submulti.dict new file mode 100644 index 0000000..2758bf4 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.dict @@ -0,0 +1 @@ +{"unicode1_leadership_submulti.options.unicode.unicode": [], "unicode1_leadership_submulti.options.unicode.unicode1": [], "unicode1_leadership_submulti.options.unicode.unicode2": [], "unicode1_leadership_submulti.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.info b/test/data/subconfig_unicode1_leadership_submulti.info new file mode 100644 index 0000000..0fffdab --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.info @@ -0,0 +1 @@ +{"unicode1_leadership_submulti.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_submulti.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_submulti.options.unicode.unicode2": {"doc": "Unicode follower 2 submulti", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_submulti.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.json b/test/data/subconfig_unicode1_leadership_submulti.json new file mode 100644 index 0000000..7e64d25 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_submulti.options": {"name": "unicode1_leadership_submulti.options", "properties": {"unicode1_leadership_submulti.options.unicode": {"name": "unicode1_leadership_submulti.options.unicode", "properties": {"unicode1_leadership_submulti.options.unicode.unicode": {"name": "unicode1_leadership_submulti.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_submulti.options.unicode.unicode1": {"name": "unicode1_leadership_submulti.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_submulti.options.unicode.unicode2": {"name": "unicode1_leadership_submulti.options.unicode.unicode2", "type": "string", "isMulti": true, "isSubMulti": true, "title": "Unicode follower 2 submulti"}, "unicode1_leadership_submulti.options.unicode.unicode3": {"name": "unicode1_leadership_submulti.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_submulti.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_leadership_submulti.options.unicode.unicode", "type": "input"}, {"key": "unicode1_leadership_submulti.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_submulti.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_leadership_submulti.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.owner b/test/data/subconfig_unicode1_leadership_submulti.owner new file mode 100644 index 0000000..1cf58d4 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.owner @@ -0,0 +1 @@ +{"unicode1_leadership_submulti.options.unicode.unicode": {"null": "default"}, "unicode1_leadership_submulti.options.unicode.unicode1": {}, "unicode1_leadership_submulti.options.unicode.unicode2": {}, "unicode1_leadership_submulti.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.prop b/test/data/subconfig_unicode1_leadership_submulti.prop new file mode 100644 index 0000000..f6d11a7 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.prop @@ -0,0 +1 @@ +{"unicode1_leadership_submulti.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_submulti.options.unicode.unicode1": {}, "unicode1_leadership_submulti.options.unicode.unicode2": {}, "unicode1_leadership_submulti.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_submulti.prop2 b/test/data/subconfig_unicode1_leadership_submulti.prop2 new file mode 100644 index 0000000..a8c5daf --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_submulti.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_submulti.options.unicode.unicode": {"null": []}, "unicode1_leadership_submulti.options.unicode.unicode1": {}, "unicode1_leadership_submulti.options.unicode.unicode2": {}, "unicode1_leadership_submulti.options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.dict b/test/data/subconfig_unicode1_leadership_value.dict new file mode 100644 index 0000000..e0135f0 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.dict @@ -0,0 +1 @@ +{"unicode1_leadership_value.options.unicode.unicode": ["val3", "val4"], "unicode1_leadership_value.options.unicode.unicode1": ["super1", "super2"], "unicode1_leadership_value.options.unicode.unicode2": ["pas test", "test"], "unicode1_leadership_value.options.unicode.unicode3": [null, "super"]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.info b/test/data/subconfig_unicode1_leadership_value.info new file mode 100644 index 0000000..d130357 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.info @@ -0,0 +1 @@ +{"unicode1_leadership_value.options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_value.options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_value.options.unicode.unicode2": {"doc": "Unicode follower 2 with default multi", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_leadership_value.options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.json b/test/data/subconfig_unicode1_leadership_value.json new file mode 100644 index 0000000..1ad0aba --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.json @@ -0,0 +1 @@ +{"schema": {"unicode1_leadership_value.options": {"name": "unicode1_leadership_value.options", "properties": {"unicode1_leadership_value.options.unicode": {"name": "unicode1_leadership_value.options.unicode", "properties": {"unicode1_leadership_value.options.unicode.unicode": {"name": "unicode1_leadership_value.options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode leader"}, "unicode1_leadership_value.options.unicode.unicode1": {"name": "unicode1_leadership_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "unicode1_leadership_value.options.unicode.unicode2": {"name": "unicode1_leadership_value.options.unicode.unicode2", "type": "string", "default": "follower2", "isMulti": true, "title": "Unicode follower 2 with default multi"}, "unicode1_leadership_value.options.unicode.unicode3": {"name": "unicode1_leadership_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_leadership_value.options.unicode.unicode", "required": true, "value": ["val3", "val4"], "owner": "user"}, {"key": "unicode1_leadership_value.options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_leadership_value.options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "unicode1_leadership_value.options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "unicode1_leadership_value.options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "unicode1_leadership_value.options.unicode.unicode3", "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "unicode1_leadership_value.options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "unicode1_leadership_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_leadership_value.options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "unicode1_leadership_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.owner b/test/data/subconfig_unicode1_leadership_value.owner new file mode 100644 index 0000000..e10ec73 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.owner @@ -0,0 +1 @@ +{"unicode1_leadership_value.options.unicode.unicode": {"null": "user"}, "unicode1_leadership_value.options.unicode.unicode1": {"0": "user", "1": "user"}, "unicode1_leadership_value.options.unicode.unicode2": {"0": "user", "1": "user"}, "unicode1_leadership_value.options.unicode.unicode3": {"0": "default", "1": "user"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.prop b/test/data/subconfig_unicode1_leadership_value.prop new file mode 100644 index 0000000..b835b7d --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.prop @@ -0,0 +1 @@ +{"unicode1_leadership_value.options.unicode.unicode": {"null": ["empty"]}, "unicode1_leadership_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_value.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_leadership_value.prop2 b/test/data/subconfig_unicode1_leadership_value.prop2 new file mode 100644 index 0000000..fb94bd5 --- /dev/null +++ b/test/data/subconfig_unicode1_leadership_value.prop2 @@ -0,0 +1 @@ +{"unicode1_leadership_value.options.unicode.unicode": {"null": []}, "unicode1_leadership_value.options.unicode.unicode1": {"0": [], "1": []}, "unicode1_leadership_value.options.unicode.unicode2": {"0": [], "1": []}, "unicode1_leadership_value.options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mandatory.info b/test/data/subconfig_unicode1_mandatory.info index 5748499..9f8b675 100644 --- a/test/data/subconfig_unicode1_mandatory.info +++ b/test/data/subconfig_unicode1_mandatory.info @@ -1 +1 @@ -{"unicode1_mandatory.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_mandatory.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mandatory.owner b/test/data/subconfig_unicode1_mandatory.owner index 8eb5d50..7597e26 100644 --- a/test/data/subconfig_unicode1_mandatory.owner +++ b/test/data/subconfig_unicode1_mandatory.owner @@ -1 +1 @@ -{"unicode1_mandatory.options.unicode": "default"} \ No newline at end of file +{"unicode1_mandatory.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mandatory.prop b/test/data/subconfig_unicode1_mandatory.prop index 6857079..11d8845 100644 --- a/test/data/subconfig_unicode1_mandatory.prop +++ b/test/data/subconfig_unicode1_mandatory.prop @@ -1 +1 @@ -{"unicode1_mandatory.options.unicode": ["mandatory"]} \ No newline at end of file +{"unicode1_mandatory.options.unicode": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mandatory.prop2 b/test/data/subconfig_unicode1_mandatory.prop2 index 1d1c303..830f036 100644 --- a/test/data/subconfig_unicode1_mandatory.prop2 +++ b/test/data/subconfig_unicode1_mandatory.prop2 @@ -1 +1 @@ -{"unicode1_mandatory.options.unicode": []} \ No newline at end of file +{"unicode1_mandatory.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_hidden_slaves.json b/test/data/subconfig_unicode1_master_hidden_slaves.json deleted file mode 100644 index fb1275c..0000000 --- a/test/data/subconfig_unicode1_master_hidden_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_hidden_slaves.options": {"name": "unicode1_master_hidden_slaves.options", "properties": {"unicode1_master_hidden_slaves.options.unicode": {"name": "unicode1_master_hidden_slaves.options.unicode", "properties": {"unicode1_master_hidden_slaves.options.unicode.unicode": {"name": "unicode1_master_hidden_slaves.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_hidden_slaves.options.unicode.unicode1": {"name": "unicode1_master_hidden_slaves.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_hidden_slaves.options.unicode.unicode2": {"name": "unicode1_master_hidden_slaves.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "unicode1_master_hidden_slaves.options.unicode.unicode3": {"name": "unicode1_master_hidden_slaves.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_hidden_slaves.options.unicode.unicode", "display": false, "required": true, "hidden": true}], "form": [{"key": "unicode1_master_hidden_slaves.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_hidden_slaves.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_hidden_slaves.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_master_hidden_slaves.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves.dict b/test/data/subconfig_unicode1_master_slaves.dict deleted file mode 100644 index 9fed7c1..0000000 --- a/test/data/subconfig_unicode1_master_slaves.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves.options.unicode.unicode": [], "unicode1_master_slaves.options.unicode.unicode1": [], "unicode1_master_slaves.options.unicode.unicode2": [], "unicode1_master_slaves.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves.json b/test/data/subconfig_unicode1_master_slaves.json deleted file mode 100644 index df86371..0000000 --- a/test/data/subconfig_unicode1_master_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves.options": {"name": "unicode1_master_slaves.options", "properties": {"unicode1_master_slaves.options.unicode": {"name": "unicode1_master_slaves.options.unicode", "properties": {"unicode1_master_slaves.options.unicode.unicode": {"name": "unicode1_master_slaves.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves.options.unicode.unicode1": {"name": "unicode1_master_slaves.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves.options.unicode.unicode2": {"name": "unicode1_master_slaves.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "unicode1_master_slaves.options.unicode.unicode3": {"name": "unicode1_master_slaves.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_master_slaves.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_slaves.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_master_slaves.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_default_value.dict b/test/data/subconfig_unicode1_master_slaves_default_value.dict deleted file mode 100644 index 84ae71e..0000000 --- a/test/data/subconfig_unicode1_master_slaves_default_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_default_value.options.unicode.unicode": ["val1", "val2"], "unicode1_master_slaves_default_value.options.unicode.unicode1": [null, null], "unicode1_master_slaves_default_value.options.unicode.unicode2": ["slave2", "slave2"], "unicode1_master_slaves_default_value.options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_default_value.json b/test/data/subconfig_unicode1_master_slaves_default_value.json deleted file mode 100644 index 61d380e..0000000 --- a/test/data/subconfig_unicode1_master_slaves_default_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_default_value.options": {"name": "unicode1_master_slaves_default_value.options", "properties": {"unicode1_master_slaves_default_value.options.unicode": {"name": "unicode1_master_slaves_default_value.options.unicode", "properties": {"unicode1_master_slaves_default_value.options.unicode.unicode": {"name": "unicode1_master_slaves_default_value.options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_default_value.options.unicode.unicode1": {"name": "unicode1_master_slaves_default_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_default_value.options.unicode.unicode2": {"name": "unicode1_master_slaves_default_value.options.unicode.unicode2", "type": "string", "default": "slave2", "isMulti": true, "title": "Unicode slave 2 with default multi"}, "unicode1_master_slaves_default_value.options.unicode.unicode3": {"name": "unicode1_master_slaves_default_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_default_value.options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "default"}, {"key": "unicode1_master_slaves_default_value.options.unicode.unicode2", "index": 0, "value": "slave2", "owner": "default"}, {"key": "unicode1_master_slaves_default_value.options.unicode.unicode2", "index": 1, "value": "slave2", "owner": "default"}], "form": [{"key": "unicode1_master_slaves_default_value.options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "unicode1_master_slaves_default_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_default_value.options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "unicode1_master_slaves_default_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_hidden.dict b/test/data/subconfig_unicode1_master_slaves_hidden.dict deleted file mode 100644 index cdfbe77..0000000 --- a/test/data/subconfig_unicode1_master_slaves_hidden.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_hidden.options.unicode.unicode": ["val1", "val2"], "unicode1_master_slaves_hidden.options.unicode.unicode1": [null, null], "unicode1_master_slaves_hidden.options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_hidden.json b/test/data/subconfig_unicode1_master_slaves_hidden.json deleted file mode 100644 index c614b47..0000000 --- a/test/data/subconfig_unicode1_master_slaves_hidden.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_hidden.options": {"name": "unicode1_master_slaves_hidden.options", "properties": {"unicode1_master_slaves_hidden.options.unicode": {"name": "unicode1_master_slaves_hidden.options.unicode", "properties": {"unicode1_master_slaves_hidden.options.unicode.unicode": {"name": "unicode1_master_slaves_hidden.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_hidden.options.unicode.unicode1": {"name": "unicode1_master_slaves_hidden.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_hidden.options.unicode.unicode2": {"name": "unicode1_master_slaves_hidden.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2 hidden"}, "unicode1_master_slaves_hidden.options.unicode.unicode3": {"name": "unicode1_master_slaves_hidden.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_hidden.options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "user"}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode2", "display": false, "hidden": true, "index": 0, "value": "super", "owner": "user"}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode2", "display": false, "hidden": true, "index": 1}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode2", "display": false, "hidden": true}], "form": [{"key": "unicode1_master_slaves_hidden.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_hidden.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_hidden_all_default.dict b/test/data/subconfig_unicode1_master_slaves_hidden_all_default.dict deleted file mode 100644 index 88cc431..0000000 --- a/test/data/subconfig_unicode1_master_slaves_hidden_all_default.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_hidden_all_default.options.unicode": null, "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode1": [], "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode2": [], "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_hidden_all_default.json b/test/data/subconfig_unicode1_master_slaves_hidden_all_default.json deleted file mode 100644 index 3d223d8..0000000 --- a/test/data/subconfig_unicode1_master_slaves_hidden_all_default.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_hidden_all_default.options": {"name": "unicode1_master_slaves_hidden_all_default.options", "properties": {"unicode1_master_slaves_hidden_all_default.options.unicode": {"name": "unicode1_master_slaves_hidden_all_default.options.unicode", "type": "string", "title": "Unicode master"}, "unicode1_master_slaves_hidden_all_default.options.unicode1": {"name": "unicode1_master_slaves_hidden_all_default.options.unicode1", "properties": {"unicode1_master_slaves_hidden_all_default.options.unicode1.unicode1": {"name": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode2": {"name": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode3": {"name": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_master_slaves_hidden_all_default.options.unicode", "type": "input"}, {"key": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_hidden_all_default.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_not_equal.dict b/test/data/subconfig_unicode1_master_slaves_not_equal.dict deleted file mode 100644 index 3555f85..0000000 --- a/test/data/subconfig_unicode1_master_slaves_not_equal.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_not_equal.options.unicode.unicode": [], "unicode1_master_slaves_not_equal.options.unicode.unicode1": [], "unicode1_master_slaves_not_equal.options.unicode.unicode2": [], "unicode1_master_slaves_not_equal.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_not_equal.json b/test/data/subconfig_unicode1_master_slaves_not_equal.json deleted file mode 100644 index b85e5b3..0000000 --- a/test/data/subconfig_unicode1_master_slaves_not_equal.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_not_equal.options": {"name": "unicode1_master_slaves_not_equal.options", "properties": {"unicode1_master_slaves_not_equal.options.unicode": {"name": "unicode1_master_slaves_not_equal.options.unicode", "properties": {"unicode1_master_slaves_not_equal.options.unicode.unicode": {"name": "unicode1_master_slaves_not_equal.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_not_equal.options.unicode.unicode1": {"name": "unicode1_master_slaves_not_equal.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_not_equal.options.unicode.unicode2": {"name": "unicode1_master_slaves_not_equal.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2 not equal"}, "unicode1_master_slaves_not_equal.options.unicode.unicode3": {"name": "unicode1_master_slaves_not_equal.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3 not equal"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_not_equal.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_master_slaves_not_equal.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_slaves_not_equal.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_not_equal.options.unicode.unicode2", "type": "input", "not_equal": {"options": ["unicode1_master_slaves_not_equal.options.unicode.unicode3"]}}, {"key": "unicode1_master_slaves_not_equal.options.unicode.unicode3", "type": "input", "not_equal": {"options": ["unicode1_master_slaves_not_equal.options.unicode.unicode2"]}}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires.dict b/test/data/subconfig_unicode1_master_slaves_requires.dict deleted file mode 100644 index e1304a1..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires.options.unicode.unicode": [], "unicode1_master_slaves_requires.options.unicode.unicode1": [], "unicode1_master_slaves_requires.options.unicode.unicode2": [], "unicode1_master_slaves_requires.options.unicode.unicode3": []} diff --git a/test/data/subconfig_unicode1_master_slaves_requires.json b/test/data/subconfig_unicode1_master_slaves_requires.json deleted file mode 100644 index e1a6e51..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires.options": {"name": "unicode1_master_slaves_requires.options", "properties": {"unicode1_master_slaves_requires.options.unicode": {"name": "unicode1_master_slaves_requires.options.unicode", "properties": {"unicode1_master_slaves_requires.options.unicode.unicode": {"name": "unicode1_master_slaves_requires.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_requires.options.unicode.unicode1": {"name": "unicode1_master_slaves_requires.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires.options.unicode.unicode2": {"name": "unicode1_master_slaves_requires.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 3'"}, "unicode1_master_slaves_requires.options.unicode.unicode3": {"name": "unicode1_master_slaves_requires.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_requires.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_master_slaves_requires.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_slaves_requires.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_requires.options.unicode.unicode2", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires.options.unicode.unicode3"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires.options.unicode.unicode3"]}}}}, {"key": "unicode1_master_slaves_requires.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_all.dict b/test/data/subconfig_unicode1_master_slaves_requires_all.dict deleted file mode 100644 index 17236fe..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_all.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_all.options.unicode": null} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_all.json b/test/data/subconfig_unicode1_master_slaves_requires_all.json deleted file mode 100644 index fbf4ebc..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_all.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_all.options": {"name": "unicode1_master_slaves_requires_all.options", "properties": {"unicode1_master_slaves_requires_all.options.unicode": {"name": "unicode1_master_slaves_requires_all.options.unicode", "type": "string", "title": "Value 'test' must show MasterSlaves"}, "unicode1_master_slaves_requires_all.options.unicode1": {"name": "unicode1_master_slaves_requires_all.options.unicode1", "properties": {"unicode1_master_slaves_requires_all.options.unicode1.unicode1": {"name": "unicode1_master_slaves_requires_all.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_requires_all.options.unicode1.unicode2": {"name": "unicode1_master_slaves_requires_all.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires_all.options.unicode1.unicode3": {"name": "unicode1_master_slaves_requires_all.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_requires_all.options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "unicode1_master_slaves_requires_all.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_master_slaves_requires_all.options.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_all.options.unicode1"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_all.options.unicode1"]}}}}, {"key": "unicode1_master_slaves_requires_all.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_requires_all.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_requires_all.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_master.dict b/test/data/subconfig_unicode1_master_slaves_requires_master.dict deleted file mode 100644 index 9ca3ec0..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_master.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_master.options.unicode": null} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_master.json b/test/data/subconfig_unicode1_master_slaves_requires_master.json deleted file mode 100644 index 1c52ad1..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_master.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_master.options": {"name": "unicode1_master_slaves_requires_master.options", "properties": {"unicode1_master_slaves_requires_master.options.unicode": {"name": "unicode1_master_slaves_requires_master.options.unicode", "type": "string", "title": "Value 'test' must show master"}, "unicode1_master_slaves_requires_master.options.unicode1": {"name": "unicode1_master_slaves_requires_master.options.unicode1", "properties": {"unicode1_master_slaves_requires_master.options.unicode1.unicode1": {"name": "unicode1_master_slaves_requires_master.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_requires_master.options.unicode1.unicode2": {"name": "unicode1_master_slaves_requires_master.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires_master.options.unicode1.unicode3": {"name": "unicode1_master_slaves_requires_master.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_requires_master.options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "unicode1_master_slaves_requires_master.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_master_slaves_requires_master.options.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_master.options.unicode1"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_master.options.unicode1"]}}}}, {"key": "unicode1_master_slaves_requires_master.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_requires_master.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_requires_master.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slave.dict b/test/data/subconfig_unicode1_master_slaves_requires_slave.dict deleted file mode 100644 index e83e58c..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slave.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_slave.options.unicode1.unicode1": [], "unicode1_master_slaves_requires_slave.options.unicode1.unicode2": [], "unicode1_master_slaves_requires_slave.options.unicode1.unicode3": []} diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slave.json b/test/data/subconfig_unicode1_master_slaves_requires_slave.json deleted file mode 100644 index 1746599..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slave.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_slave.options": {"name": "unicode1_master_slaves_requires_slave.options", "properties": {"unicode1_master_slaves_requires_slave.options.unicode1": {"name": "unicode1_master_slaves_requires_slave.options.unicode1", "properties": {"unicode1_master_slaves_requires_slave.options.unicode1.unicode1": {"name": "unicode1_master_slaves_requires_slave.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "unicode1_master_slaves_requires_slave.options.unicode1.unicode2": {"name": "unicode1_master_slaves_requires_slave.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires_slave.options.unicode1.unicode3": {"name": "unicode1_master_slaves_requires_slave.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_requires_slave.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_master_slaves_requires_slave.options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_slave.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_slave.options.unicode1.unicode3"]}}}}, {"key": "unicode1_master_slaves_requires_slave.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_requires_slave.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slave_value.dict b/test/data/subconfig_unicode1_master_slaves_requires_slave_value.dict deleted file mode 100644 index 734d37e..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slave_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_slave_value.options.unicode1.unicode1": ["test", "pas test"], "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode2": ["super1", null], "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3": ["super1", null]} diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slave_value.json b/test/data/subconfig_unicode1_master_slaves_requires_slave_value.json deleted file mode 100644 index 2727f88..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slave_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_slave_value.options": {"name": "unicode1_master_slaves_requires_slave_value.options", "properties": {"unicode1_master_slaves_requires_slave_value.options.unicode1": {"name": "unicode1_master_slaves_requires_slave_value.options.unicode1", "properties": {"unicode1_master_slaves_requires_slave_value.options.unicode1.unicode1": {"name": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode2": {"name": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3": {"name": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode1", "required": true, "value": ["test", "pas test"], "owner": "user"}, {"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode2", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3", "hidden": true, "index": 1}], "form": [{"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3"]}}}}, {"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_requires_slave_value.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slaves.dict b/test/data/subconfig_unicode1_master_slaves_requires_slaves.dict deleted file mode 100644 index 7fec689..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slaves.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_slaves.options.unicode1.unicode1": [], "unicode1_master_slaves_requires_slaves.options.unicode1.unicode2": [], "unicode1_master_slaves_requires_slaves.options.unicode1.unicode3": []} diff --git a/test/data/subconfig_unicode1_master_slaves_requires_slaves.json b/test/data/subconfig_unicode1_master_slaves_requires_slaves.json deleted file mode 100644 index 865c3e1..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_slaves.options": {"name": "unicode1_master_slaves_requires_slaves.options", "properties": {"unicode1_master_slaves_requires_slaves.options.unicode1": {"name": "unicode1_master_slaves_requires_slaves.options.unicode1", "properties": {"unicode1_master_slaves_requires_slaves.options.unicode1.unicode1": {"name": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_requires_slaves.options.unicode1.unicode2": {"name": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "unicode1_master_slaves_requires_slaves.options.unicode1.unicode3": {"name": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode1", "required": true}], "form": [{"key": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode2", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_slaves.options.unicode1.unicode3"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_slaves.options.unicode1.unicode3"]}}}}, {"key": "unicode1_master_slaves_requires_slaves.options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_value.dict b/test/data/subconfig_unicode1_master_slaves_requires_value.dict deleted file mode 100644 index 9f2c6cd..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_requires_value.options.unicode.unicode": ["test", "val2"], "unicode1_master_slaves_requires_value.options.unicode.unicode1": ["super1", "super2"], "unicode1_master_slaves_requires_value.options.unicode.unicode2": ["pas test", "test"]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_requires_value.json b/test/data/subconfig_unicode1_master_slaves_requires_value.json deleted file mode 100644 index 2dc49b4..0000000 --- a/test/data/subconfig_unicode1_master_slaves_requires_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_requires_value.options": {"name": "unicode1_master_slaves_requires_value.options", "properties": {"unicode1_master_slaves_requires_value.options.unicode": {"name": "unicode1_master_slaves_requires_value.options.unicode", "properties": {"unicode1_master_slaves_requires_value.options.unicode.unicode": {"name": "unicode1_master_slaves_requires_value.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 3'"}, "unicode1_master_slaves_requires_value.options.unicode.unicode1": {"name": "unicode1_master_slaves_requires_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_requires_value.options.unicode.unicode2": {"name": "unicode1_master_slaves_requires_value.options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "unicode1_master_slaves_requires_value.options.unicode.unicode3": {"name": "unicode1_master_slaves_requires_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_requires_value.options.unicode.unicode", "required": true, "value": ["test", "val2"], "owner": "user"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode3", "hidden": true, "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "unicode1_master_slaves_requires_value.options.unicode.unicode", "type": "input", "dependencies": {"default": {"hide": ["unicode1_master_slaves_requires_value.options.unicode.unicode3"]}, "expected": {"test": {"show": ["unicode1_master_slaves_requires_value.options.unicode.unicode3"]}}}}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_requires_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_submulti.dict b/test/data/subconfig_unicode1_master_slaves_submulti.dict deleted file mode 100644 index 3a534fa..0000000 --- a/test/data/subconfig_unicode1_master_slaves_submulti.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_submulti.options.unicode.unicode": [], "unicode1_master_slaves_submulti.options.unicode.unicode1": [], "unicode1_master_slaves_submulti.options.unicode.unicode2": [], "unicode1_master_slaves_submulti.options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_submulti.json b/test/data/subconfig_unicode1_master_slaves_submulti.json deleted file mode 100644 index 0af7eca..0000000 --- a/test/data/subconfig_unicode1_master_slaves_submulti.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_submulti.options": {"name": "unicode1_master_slaves_submulti.options", "properties": {"unicode1_master_slaves_submulti.options.unicode": {"name": "unicode1_master_slaves_submulti.options.unicode", "properties": {"unicode1_master_slaves_submulti.options.unicode.unicode": {"name": "unicode1_master_slaves_submulti.options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_submulti.options.unicode.unicode1": {"name": "unicode1_master_slaves_submulti.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_submulti.options.unicode.unicode2": {"name": "unicode1_master_slaves_submulti.options.unicode.unicode2", "type": "string", "isMulti": true, "isSubMulti": true, "title": "Unicode slave 2 submulti"}, "unicode1_master_slaves_submulti.options.unicode.unicode3": {"name": "unicode1_master_slaves_submulti.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_submulti.options.unicode.unicode", "required": true}], "form": [{"key": "unicode1_master_slaves_submulti.options.unicode.unicode", "type": "input"}, {"key": "unicode1_master_slaves_submulti.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_submulti.options.unicode.unicode2", "type": "input"}, {"key": "unicode1_master_slaves_submulti.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_value.dict b/test/data/subconfig_unicode1_master_slaves_value.dict deleted file mode 100644 index 90dee07..0000000 --- a/test/data/subconfig_unicode1_master_slaves_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"unicode1_master_slaves_value.options.unicode.unicode": ["val3", "val4"], "unicode1_master_slaves_value.options.unicode.unicode1": ["super1", "super2"], "unicode1_master_slaves_value.options.unicode.unicode2": ["pas test", "test"], "unicode1_master_slaves_value.options.unicode.unicode3": [null, "super"]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_master_slaves_value.json b/test/data/subconfig_unicode1_master_slaves_value.json deleted file mode 100644 index 907a1d4..0000000 --- a/test/data/subconfig_unicode1_master_slaves_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"unicode1_master_slaves_value.options": {"name": "unicode1_master_slaves_value.options", "properties": {"unicode1_master_slaves_value.options.unicode": {"name": "unicode1_master_slaves_value.options.unicode", "properties": {"unicode1_master_slaves_value.options.unicode.unicode": {"name": "unicode1_master_slaves_value.options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode master"}, "unicode1_master_slaves_value.options.unicode.unicode1": {"name": "unicode1_master_slaves_value.options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "unicode1_master_slaves_value.options.unicode.unicode2": {"name": "unicode1_master_slaves_value.options.unicode.unicode2", "type": "string", "default": "slave2", "isMulti": true, "title": "Unicode slave 2 with default multi"}, "unicode1_master_slaves_value.options.unicode.unicode3": {"name": "unicode1_master_slaves_value.options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "unicode1_master_slaves_value.options.unicode.unicode", "required": true, "value": ["val3", "val4"], "owner": "user"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode3", "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "unicode1_master_slaves_value.options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode1", "type": "input"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "unicode1_master_slaves_value.options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mod_value.info b/test/data/subconfig_unicode1_mod_value.info index ee533c9..a16437f 100644 --- a/test/data/subconfig_unicode1_mod_value.info +++ b/test/data/subconfig_unicode1_mod_value.info @@ -1 +1 @@ -{"unicode1_mod_value.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_mod_value.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mod_value.owner b/test/data/subconfig_unicode1_mod_value.owner index 4cd0beb..37fc1b4 100644 --- a/test/data/subconfig_unicode1_mod_value.owner +++ b/test/data/subconfig_unicode1_mod_value.owner @@ -1 +1 @@ -{"unicode1_mod_value.options.unicode": "user"} \ No newline at end of file +{"unicode1_mod_value.options.unicode": {"null": "user"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mod_value.prop b/test/data/subconfig_unicode1_mod_value.prop index 63ae3d0..f258c42 100644 --- a/test/data/subconfig_unicode1_mod_value.prop +++ b/test/data/subconfig_unicode1_mod_value.prop @@ -1 +1 @@ -{"unicode1_mod_value.options.unicode": []} \ No newline at end of file +{"unicode1_mod_value.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_mod_value.prop2 b/test/data/subconfig_unicode1_mod_value.prop2 index 63ae3d0..f258c42 100644 --- a/test/data/subconfig_unicode1_mod_value.prop2 +++ b/test/data/subconfig_unicode1_mod_value.prop2 @@ -1 +1 @@ -{"unicode1_mod_value.options.unicode": []} \ No newline at end of file +{"unicode1_mod_value.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi.info b/test/data/subconfig_unicode1_multi.info index 65c0481..11ce7d5 100644 --- a/test/data/subconfig_unicode1_multi.info +++ b/test/data/subconfig_unicode1_multi.info @@ -1 +1 @@ -{"unicode1_multi.options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode1_multi.options.unicode": {"doc": "Multi string 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi.json b/test/data/subconfig_unicode1_multi.json index ffab873..b9602cc 100644 --- a/test/data/subconfig_unicode1_multi.json +++ b/test/data/subconfig_unicode1_multi.json @@ -1 +1 @@ -{"schema": {"unicode1_multi.options": {"name": "unicode1_multi.options", "properties": {"unicode1_multi.options.unicode": {"name": "unicode1_multi.options.unicode", "type": "string", "isMulti": true, "title": "String 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_multi.options.unicode", "required": true}], "form": [{"key": "unicode1_multi.options.unicode", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"unicode1_multi.options": {"name": "unicode1_multi.options", "properties": {"unicode1_multi.options.unicode": {"name": "unicode1_multi.options.unicode", "type": "string", "isMulti": true, "title": "Multi string 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_multi.options.unicode", "required": true}], "form": [{"key": "unicode1_multi.options.unicode", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi.owner b/test/data/subconfig_unicode1_multi.owner index d0e97c5..633d7b4 100644 --- a/test/data/subconfig_unicode1_multi.owner +++ b/test/data/subconfig_unicode1_multi.owner @@ -1 +1 @@ -{"unicode1_multi.options.unicode": "default"} \ No newline at end of file +{"unicode1_multi.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi.prop b/test/data/subconfig_unicode1_multi.prop index f5a7c21..6f53c83 100644 --- a/test/data/subconfig_unicode1_multi.prop +++ b/test/data/subconfig_unicode1_multi.prop @@ -1 +1 @@ -{"unicode1_multi.options.unicode": ["empty"]} \ No newline at end of file +{"unicode1_multi.options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi.prop2 b/test/data/subconfig_unicode1_multi.prop2 index b72058d..a696d79 100644 --- a/test/data/subconfig_unicode1_multi.prop2 +++ b/test/data/subconfig_unicode1_multi.prop2 @@ -1 +1 @@ -{"unicode1_multi.options.unicode": []} \ No newline at end of file +{"unicode1_multi.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mandatory.info b/test/data/subconfig_unicode1_multi_mandatory.info index 0df362a..0d3dfd5 100644 --- a/test/data/subconfig_unicode1_multi_mandatory.info +++ b/test/data/subconfig_unicode1_multi_mandatory.info @@ -1 +1 @@ -{"unicode1_multi_mandatory.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode1_multi_mandatory.options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mandatory.owner b/test/data/subconfig_unicode1_multi_mandatory.owner index 498727b..2d2518b 100644 --- a/test/data/subconfig_unicode1_multi_mandatory.owner +++ b/test/data/subconfig_unicode1_multi_mandatory.owner @@ -1 +1 @@ -{"unicode1_multi_mandatory.options.unicode": "default"} \ No newline at end of file +{"unicode1_multi_mandatory.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mandatory.prop b/test/data/subconfig_unicode1_multi_mandatory.prop index 468a15f..95c9f6b 100644 --- a/test/data/subconfig_unicode1_multi_mandatory.prop +++ b/test/data/subconfig_unicode1_multi_mandatory.prop @@ -1 +1 @@ -{"unicode1_multi_mandatory.options.unicode": ["empty", "mandatory"]} \ No newline at end of file +{"unicode1_multi_mandatory.options.unicode": {"null": ["empty", "mandatory"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mandatory.prop2 b/test/data/subconfig_unicode1_multi_mandatory.prop2 index 5b9bbe9..2cec2bd 100644 --- a/test/data/subconfig_unicode1_multi_mandatory.prop2 +++ b/test/data/subconfig_unicode1_multi_mandatory.prop2 @@ -1 +1 @@ -{"unicode1_multi_mandatory.options.unicode": []} \ No newline at end of file +{"unicode1_multi_mandatory.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mod_value.info b/test/data/subconfig_unicode1_multi_mod_value.info index 84fc8b0..e6731c0 100644 --- a/test/data/subconfig_unicode1_multi_mod_value.info +++ b/test/data/subconfig_unicode1_multi_mod_value.info @@ -1 +1 @@ -{"unicode1_multi_mod_value.options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode1_multi_mod_value.options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mod_value.owner b/test/data/subconfig_unicode1_multi_mod_value.owner index 778c8d2..b39ec32 100644 --- a/test/data/subconfig_unicode1_multi_mod_value.owner +++ b/test/data/subconfig_unicode1_multi_mod_value.owner @@ -1 +1 @@ -{"unicode1_multi_mod_value.options.unicode": "user"} \ No newline at end of file +{"unicode1_multi_mod_value.options.unicode": {"null": "user"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mod_value.prop b/test/data/subconfig_unicode1_multi_mod_value.prop index 599bd33..94aa093 100644 --- a/test/data/subconfig_unicode1_multi_mod_value.prop +++ b/test/data/subconfig_unicode1_multi_mod_value.prop @@ -1 +1 @@ -{"unicode1_multi_mod_value.options.unicode": ["empty"]} \ No newline at end of file +{"unicode1_multi_mod_value.options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_mod_value.prop2 b/test/data/subconfig_unicode1_multi_mod_value.prop2 index 19997a2..1e3223e 100644 --- a/test/data/subconfig_unicode1_multi_mod_value.prop2 +++ b/test/data/subconfig_unicode1_multi_mod_value.prop2 @@ -1 +1 @@ -{"unicode1_multi_mod_value.options.unicode": []} \ No newline at end of file +{"unicode1_multi_mod_value.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_not_equal_collapse.info b/test/data/subconfig_unicode1_multi_not_equal_collapse.info index 3a8bf7f..7ed5683 100644 --- a/test/data/subconfig_unicode1_multi_not_equal_collapse.info +++ b/test/data/subconfig_unicode1_multi_not_equal_collapse.info @@ -1 +1 @@ -{"unicode1_multi_not_equal_collapse.descr1.unicode1": {"doc": "Unicode 1, not equal to 'a'", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": {"doc": "Multi unicode 1, not equal to 'a' or 'b'", "name": "unicode1_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "unicode1_multi_not_equal_collapse.descr2.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": {"doc": "Multi unicode 2", "name": "unicode2_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "unicode1_multi_not_equal_collapse.descr3.unicode3": {"doc": "Unicode 3", "name": "unicode3", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": {"doc": "Multi unicode 3", "name": "unicode3_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode1_multi_not_equal_collapse.descr1.unicode1": {"doc": "Unicode 1, not equal to 'a'", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": {"doc": "Multi unicode 1, not equal to 'a' or 'b'", "name": "unicode1_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_multi_not_equal_collapse.descr2.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": {"doc": "Multi unicode 2", "name": "unicode2_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode1_multi_not_equal_collapse.descr3.unicode3": {"doc": "Unicode 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": {"doc": "Multi unicode 3", "name": "unicode3_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_not_equal_collapse.owner b/test/data/subconfig_unicode1_multi_not_equal_collapse.owner index 30e20bd..4513ff5 100644 --- a/test/data/subconfig_unicode1_multi_not_equal_collapse.owner +++ b/test/data/subconfig_unicode1_multi_not_equal_collapse.owner @@ -1 +1 @@ -{"unicode1_multi_not_equal_collapse.descr1.unicode1": "default", "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": "default", "unicode1_multi_not_equal_collapse.descr2.unicode2": "default", "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": "default", "unicode1_multi_not_equal_collapse.descr3.unicode3": "default", "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": "default"} \ No newline at end of file +{"unicode1_multi_not_equal_collapse.descr1.unicode1": {"null": "default"}, "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": {"null": "default"}, "unicode1_multi_not_equal_collapse.descr2.unicode2": {"null": "default"}, "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": {"null": "default"}, "unicode1_multi_not_equal_collapse.descr3.unicode3": {"null": "default"}, "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_not_equal_collapse.prop b/test/data/subconfig_unicode1_multi_not_equal_collapse.prop index 1d64512..18958a2 100644 --- a/test/data/subconfig_unicode1_multi_not_equal_collapse.prop +++ b/test/data/subconfig_unicode1_multi_not_equal_collapse.prop @@ -1 +1 @@ -{"unicode1_multi_not_equal_collapse.descr1.unicode1": [], "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": ["empty"], "unicode1_multi_not_equal_collapse.descr2.unicode2": [], "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": ["empty"], "unicode1_multi_not_equal_collapse.descr3.unicode3": [], "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": ["empty"]} \ No newline at end of file +{"unicode1_multi_not_equal_collapse.descr1.unicode1": {"null": []}, "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": {"null": ["empty"]}, "unicode1_multi_not_equal_collapse.descr2.unicode2": {"null": []}, "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": {"null": ["empty"]}, "unicode1_multi_not_equal_collapse.descr3.unicode3": {"null": []}, "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_not_equal_collapse.prop2 b/test/data/subconfig_unicode1_multi_not_equal_collapse.prop2 index 66e81b6..78b7015 100644 --- a/test/data/subconfig_unicode1_multi_not_equal_collapse.prop2 +++ b/test/data/subconfig_unicode1_multi_not_equal_collapse.prop2 @@ -1 +1 @@ -{"unicode1_multi_not_equal_collapse.descr1.unicode1": [], "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": [], "unicode1_multi_not_equal_collapse.descr2.unicode2": [], "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": [], "unicode1_multi_not_equal_collapse.descr3.unicode3": [], "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": []} \ No newline at end of file +{"unicode1_multi_not_equal_collapse.descr1.unicode1": {"null": []}, "unicode1_multi_not_equal_collapse.descr1.unicode1_multi": {"null": []}, "unicode1_multi_not_equal_collapse.descr2.unicode2": {"null": []}, "unicode1_multi_not_equal_collapse.descr2.unicode2_multi": {"null": []}, "unicode1_multi_not_equal_collapse.descr3.unicode3": {"null": []}, "unicode1_multi_not_equal_collapse.descr3.unicode3_multi": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_requires.info b/test/data/subconfig_unicode1_multi_requires.info index 7bfaedc..62c70a1 100644 --- a/test/data/subconfig_unicode1_multi_requires.info +++ b/test/data/subconfig_unicode1_multi_requires.info @@ -1 +1 @@ -{"unicode1_multi_requires.options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_multi_requires.options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_requires.owner b/test/data/subconfig_unicode1_multi_requires.owner index 78a4124..74cca27 100644 --- a/test/data/subconfig_unicode1_multi_requires.owner +++ b/test/data/subconfig_unicode1_multi_requires.owner @@ -1 +1 @@ -{"unicode1_multi_requires.options.unicode1": "default"} \ No newline at end of file +{"unicode1_multi_requires.options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_requires.prop b/test/data/subconfig_unicode1_multi_requires.prop index 2c7351c..08b0167 100644 --- a/test/data/subconfig_unicode1_multi_requires.prop +++ b/test/data/subconfig_unicode1_multi_requires.prop @@ -1 +1 @@ -{"unicode1_multi_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_multi_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_requires.prop2 b/test/data/subconfig_unicode1_multi_requires.prop2 index 2c7351c..08b0167 100644 --- a/test/data/subconfig_unicode1_multi_requires.prop2 +++ b/test/data/subconfig_unicode1_multi_requires.prop2 @@ -1 +1 @@ -{"unicode1_multi_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_multi_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_value.info b/test/data/subconfig_unicode1_multi_value.info index b084581..a6d6031 100644 --- a/test/data/subconfig_unicode1_multi_value.info +++ b/test/data/subconfig_unicode1_multi_value.info @@ -1 +1 @@ -{"unicode1_multi_value.options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode1_multi_value.options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_value.owner b/test/data/subconfig_unicode1_multi_value.owner index cdfd941..ca37c8c 100644 --- a/test/data/subconfig_unicode1_multi_value.owner +++ b/test/data/subconfig_unicode1_multi_value.owner @@ -1 +1 @@ -{"unicode1_multi_value.options.unicode": "default"} \ No newline at end of file +{"unicode1_multi_value.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_value.prop b/test/data/subconfig_unicode1_multi_value.prop index d64a184..d0e64c8 100644 --- a/test/data/subconfig_unicode1_multi_value.prop +++ b/test/data/subconfig_unicode1_multi_value.prop @@ -1 +1 @@ -{"unicode1_multi_value.options.unicode": ["empty"]} \ No newline at end of file +{"unicode1_multi_value.options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_multi_value.prop2 b/test/data/subconfig_unicode1_multi_value.prop2 index f62e1d8..f52e610 100644 --- a/test/data/subconfig_unicode1_multi_value.prop2 +++ b/test/data/subconfig_unicode1_multi_value.prop2 @@ -1 +1 @@ -{"unicode1_multi_value.options.unicode": []} \ No newline at end of file +{"unicode1_multi_value.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_not_equal.info b/test/data/subconfig_unicode1_not_equal.info index e46c92f..4485fa5 100644 --- a/test/data/subconfig_unicode1_not_equal.info +++ b/test/data/subconfig_unicode1_not_equal.info @@ -1 +1 @@ -{"unicode1_not_equal.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode1_not_equal.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_not_equal.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode1_not_equal.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_not_equal.owner b/test/data/subconfig_unicode1_not_equal.owner index 97a90fc..faac5ef 100644 --- a/test/data/subconfig_unicode1_not_equal.owner +++ b/test/data/subconfig_unicode1_not_equal.owner @@ -1 +1 @@ -{"unicode1_not_equal.options.unicode1": "default", "unicode1_not_equal.options.unicode2": "default"} \ No newline at end of file +{"unicode1_not_equal.options.unicode1": {"null": "default"}, "unicode1_not_equal.options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_not_equal.prop b/test/data/subconfig_unicode1_not_equal.prop index 08a8224..9a37e80 100644 --- a/test/data/subconfig_unicode1_not_equal.prop +++ b/test/data/subconfig_unicode1_not_equal.prop @@ -1 +1 @@ -{"unicode1_not_equal.options.unicode1": [], "unicode1_not_equal.options.unicode2": []} \ No newline at end of file +{"unicode1_not_equal.options.unicode1": {"null": []}, "unicode1_not_equal.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_not_equal.prop2 b/test/data/subconfig_unicode1_not_equal.prop2 index 08a8224..9a37e80 100644 --- a/test/data/subconfig_unicode1_not_equal.prop2 +++ b/test/data/subconfig_unicode1_not_equal.prop2 @@ -1 +1 @@ -{"unicode1_not_equal.options.unicode1": [], "unicode1_not_equal.options.unicode2": []} \ No newline at end of file +{"unicode1_not_equal.options.unicode1": {"null": []}, "unicode1_not_equal.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_optiondescription_requires.info b/test/data/subconfig_unicode1_optiondescription_requires.info index e2eab6b..36a0153 100644 --- a/test/data/subconfig_unicode1_optiondescription_requires.info +++ b/test/data/subconfig_unicode1_optiondescription_requires.info @@ -1 +1 @@ -{"unicode1_optiondescription_requires.options.unicode1": {"doc": "Value 'test' must show OptionDescription", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_optiondescription_requires.options.unicode1": {"doc": "Value 'test' must show OptionDescription", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_optiondescription_requires.owner b/test/data/subconfig_unicode1_optiondescription_requires.owner index 9b1e727..53b1b2e 100644 --- a/test/data/subconfig_unicode1_optiondescription_requires.owner +++ b/test/data/subconfig_unicode1_optiondescription_requires.owner @@ -1 +1 @@ -{"unicode1_optiondescription_requires.options.unicode1": "default"} \ No newline at end of file +{"unicode1_optiondescription_requires.options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_optiondescription_requires.prop b/test/data/subconfig_unicode1_optiondescription_requires.prop index cd037a9..3b71723 100644 --- a/test/data/subconfig_unicode1_optiondescription_requires.prop +++ b/test/data/subconfig_unicode1_optiondescription_requires.prop @@ -1 +1 @@ -{"unicode1_optiondescription_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_optiondescription_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_optiondescription_requires.prop2 b/test/data/subconfig_unicode1_optiondescription_requires.prop2 index cd037a9..3b71723 100644 --- a/test/data/subconfig_unicode1_optiondescription_requires.prop2 +++ b/test/data/subconfig_unicode1_optiondescription_requires.prop2 @@ -1 +1 @@ -{"unicode1_optiondescription_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_optiondescription_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_requires.info b/test/data/subconfig_unicode1_requires.info index 0887435..3835aa3 100644 --- a/test/data/subconfig_unicode1_requires.info +++ b/test/data/subconfig_unicode1_requires.info @@ -1 +1 @@ -{"unicode1_requires.options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_requires.options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_requires.owner b/test/data/subconfig_unicode1_requires.owner index 338d56b..bd0261c 100644 --- a/test/data/subconfig_unicode1_requires.owner +++ b/test/data/subconfig_unicode1_requires.owner @@ -1 +1 @@ -{"unicode1_requires.options.unicode1": "default"} \ No newline at end of file +{"unicode1_requires.options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_requires.prop b/test/data/subconfig_unicode1_requires.prop index 6d33607..d6efc07 100644 --- a/test/data/subconfig_unicode1_requires.prop +++ b/test/data/subconfig_unicode1_requires.prop @@ -1 +1 @@ -{"unicode1_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_requires.prop2 b/test/data/subconfig_unicode1_requires.prop2 index 6d33607..d6efc07 100644 --- a/test/data/subconfig_unicode1_requires.prop2 +++ b/test/data/subconfig_unicode1_requires.prop2 @@ -1 +1 @@ -{"unicode1_requires.options.unicode1": []} \ No newline at end of file +{"unicode1_requires.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_simple_callback.info b/test/data/subconfig_unicode1_simple_callback.info index 2c7a1e3..dfc4dc9 100644 --- a/test/data/subconfig_unicode1_simple_callback.info +++ b/test/data/subconfig_unicode1_simple_callback.info @@ -1 +1 @@ -{"unicode1_simple_callback.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode1_simple_callback.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_simple_callback.json b/test/data/subconfig_unicode1_simple_callback.json index 73ce149..03a0514 100644 --- a/test/data/subconfig_unicode1_simple_callback.json +++ b/test/data/subconfig_unicode1_simple_callback.json @@ -1 +1 @@ -{"schema": {"unicode1_simple_callback.options": {"name": "unicode1_simple_callback.options", "properties": {"unicode1_simple_callback.options.unicode1": {"name": "unicode1_simple_callback.options.unicode1", "type": "string", "value": "word", "title": "Unicode 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_simple_callback.options.unicode1", "value": "word", "owner": "default"}], "form": [{"key": "unicode1_simple_callback.options.unicode1", "clearable": true, "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"unicode1_simple_callback.options": {"name": "unicode1_simple_callback.options", "properties": {"unicode1_simple_callback.options.unicode1": {"name": "unicode1_simple_callback.options.unicode1", "type": "string", "title": "Unicode 1", "value": "word"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "unicode1_simple_callback.options.unicode1", "value": "word", "owner": "default"}], "form": [{"key": "unicode1_simple_callback.options.unicode1", "type": "input", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_simple_callback.owner b/test/data/subconfig_unicode1_simple_callback.owner index 0e42975..bcf0f6b 100644 --- a/test/data/subconfig_unicode1_simple_callback.owner +++ b/test/data/subconfig_unicode1_simple_callback.owner @@ -1 +1 @@ -{"unicode1_simple_callback.options.unicode1": "default"} \ No newline at end of file +{"unicode1_simple_callback.options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_simple_callback.prop b/test/data/subconfig_unicode1_simple_callback.prop index c2ff7ed..9c23408 100644 --- a/test/data/subconfig_unicode1_simple_callback.prop +++ b/test/data/subconfig_unicode1_simple_callback.prop @@ -1 +1 @@ -{"unicode1_simple_callback.options.unicode1": []} \ No newline at end of file +{"unicode1_simple_callback.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode1_simple_callback.prop2 b/test/data/subconfig_unicode1_simple_callback.prop2 index c2ff7ed..9c23408 100644 --- a/test/data/subconfig_unicode1_simple_callback.prop2 +++ b/test/data/subconfig_unicode1_simple_callback.prop2 @@ -1 +1 @@ -{"unicode1_simple_callback.options.unicode1": []} \ No newline at end of file +{"unicode1_simple_callback.options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2.info b/test/data/subconfig_unicode2.info index 48ba8fb..00099ff 100644 --- a/test/data/subconfig_unicode2.info +++ b/test/data/subconfig_unicode2.info @@ -1 +1 @@ -{"unicode2.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode2.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode2.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode2.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2.owner b/test/data/subconfig_unicode2.owner index 1259e0b..05efab6 100644 --- a/test/data/subconfig_unicode2.owner +++ b/test/data/subconfig_unicode2.owner @@ -1 +1 @@ -{"unicode2.options.unicode1": "default", "unicode2.options.unicode2": "default"} \ No newline at end of file +{"unicode2.options.unicode1": {"null": "default"}, "unicode2.options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2.prop b/test/data/subconfig_unicode2.prop index 8069d06..40e33d6 100644 --- a/test/data/subconfig_unicode2.prop +++ b/test/data/subconfig_unicode2.prop @@ -1 +1 @@ -{"unicode2.options.unicode1": [], "unicode2.options.unicode2": []} \ No newline at end of file +{"unicode2.options.unicode1": {"null": []}, "unicode2.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2.prop2 b/test/data/subconfig_unicode2.prop2 index 8069d06..40e33d6 100644 --- a/test/data/subconfig_unicode2.prop2 +++ b/test/data/subconfig_unicode2.prop2 @@ -1 +1 @@ -{"unicode2.options.unicode1": [], "unicode2.options.unicode2": []} \ No newline at end of file +{"unicode2.options.unicode1": {"null": []}, "unicode2.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_copy.info b/test/data/subconfig_unicode2_copy.info index 2ec65ed..b7e5359 100644 --- a/test/data/subconfig_unicode2_copy.info +++ b/test/data/subconfig_unicode2_copy.info @@ -1 +1 @@ -{"unicode2_copy.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "unicode2_copy.options.unicode2": {"doc": "Unicode 2 (copy)", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode2_copy.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "unicode2_copy.options.unicode2": {"doc": "Unicode 2 (copy)", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_copy.owner b/test/data/subconfig_unicode2_copy.owner index c4ba0f2..78422e0 100644 --- a/test/data/subconfig_unicode2_copy.owner +++ b/test/data/subconfig_unicode2_copy.owner @@ -1 +1 @@ -{"unicode2_copy.options.unicode1": "default", "unicode2_copy.options.unicode2": "default"} \ No newline at end of file +{"unicode2_copy.options.unicode1": {"null": "default"}, "unicode2_copy.options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_copy.prop b/test/data/subconfig_unicode2_copy.prop index 6c4b876..85e8f87 100644 --- a/test/data/subconfig_unicode2_copy.prop +++ b/test/data/subconfig_unicode2_copy.prop @@ -1 +1 @@ -{"unicode2_copy.options.unicode1": [], "unicode2_copy.options.unicode2": []} \ No newline at end of file +{"unicode2_copy.options.unicode1": {"null": []}, "unicode2_copy.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_copy.prop2 b/test/data/subconfig_unicode2_copy.prop2 index 6c4b876..85e8f87 100644 --- a/test/data/subconfig_unicode2_copy.prop2 +++ b/test/data/subconfig_unicode2_copy.prop2 @@ -1 +1 @@ -{"unicode2_copy.options.unicode1": [], "unicode2_copy.options.unicode2": []} \ No newline at end of file +{"unicode2_copy.options.unicode1": {"null": []}, "unicode2_copy.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_multi_copy.info b/test/data/subconfig_unicode2_multi_copy.info index 3d95514..3cbfeed 100644 --- a/test/data/subconfig_unicode2_multi_copy.info +++ b/test/data/subconfig_unicode2_multi_copy.info @@ -1 +1 @@ -{"unicode2_multi_copy.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "unicode2_multi_copy.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"unicode2_multi_copy.options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "unicode2_multi_copy.options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_multi_copy.owner b/test/data/subconfig_unicode2_multi_copy.owner index 0179f14..1bf649b 100644 --- a/test/data/subconfig_unicode2_multi_copy.owner +++ b/test/data/subconfig_unicode2_multi_copy.owner @@ -1 +1 @@ -{"unicode2_multi_copy.options.unicode1": "default", "unicode2_multi_copy.options.unicode2": "default"} \ No newline at end of file +{"unicode2_multi_copy.options.unicode1": {"null": "default"}, "unicode2_multi_copy.options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_multi_copy.prop b/test/data/subconfig_unicode2_multi_copy.prop index 073f45c..9de40f4 100644 --- a/test/data/subconfig_unicode2_multi_copy.prop +++ b/test/data/subconfig_unicode2_multi_copy.prop @@ -1 +1 @@ -{"unicode2_multi_copy.options.unicode1": ["empty"], "unicode2_multi_copy.options.unicode2": ["empty"]} \ No newline at end of file +{"unicode2_multi_copy.options.unicode1": {"null": ["empty"]}, "unicode2_multi_copy.options.unicode2": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode2_multi_copy.prop2 b/test/data/subconfig_unicode2_multi_copy.prop2 index 17db4a9..05d0d65 100644 --- a/test/data/subconfig_unicode2_multi_copy.prop2 +++ b/test/data/subconfig_unicode2_multi_copy.prop2 @@ -1 +1 @@ -{"unicode2_multi_copy.options.unicode1": [], "unicode2_multi_copy.options.unicode2": []} \ No newline at end of file +{"unicode2_multi_copy.options.unicode1": {"null": []}, "unicode2_multi_copy.options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property.info b/test/data/subconfig_unicode_property.info index 507001a..6623877 100644 --- a/test/data/subconfig_unicode_property.info +++ b/test/data/subconfig_unicode_property.info @@ -1 +1 @@ -{"unicode_property.options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode_property.options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property.owner b/test/data/subconfig_unicode_property.owner index c2daea9..a566e26 100644 --- a/test/data/subconfig_unicode_property.owner +++ b/test/data/subconfig_unicode_property.owner @@ -1 +1 @@ -{"unicode_property.options.unicode": "default"} \ No newline at end of file +{"unicode_property.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property.prop b/test/data/subconfig_unicode_property.prop index e9bab17..55c28ed 100644 --- a/test/data/subconfig_unicode_property.prop +++ b/test/data/subconfig_unicode_property.prop @@ -1 +1 @@ -{"unicode_property.options.unicode": ["expert"]} \ No newline at end of file +{"unicode_property.options.unicode": {"null": ["expert"]}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property.prop2 b/test/data/subconfig_unicode_property.prop2 index 1f79247..6b30fec 100644 --- a/test/data/subconfig_unicode_property.prop2 +++ b/test/data/subconfig_unicode_property.prop2 @@ -1 +1 @@ -{"unicode_property.options.unicode": []} \ No newline at end of file +{"unicode_property.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property_optiondescription.info b/test/data/subconfig_unicode_property_optiondescription.info index 6c29aa1..99fd85f 100644 --- a/test/data/subconfig_unicode_property_optiondescription.info +++ b/test/data/subconfig_unicode_property_optiondescription.info @@ -1 +1 @@ -{"unicode_property_optiondescription.options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"unicode_property_optiondescription.options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property_optiondescription.owner b/test/data/subconfig_unicode_property_optiondescription.owner index 4b18868..a6d09fe 100644 --- a/test/data/subconfig_unicode_property_optiondescription.owner +++ b/test/data/subconfig_unicode_property_optiondescription.owner @@ -1 +1 @@ -{"unicode_property_optiondescription.options.unicode": "default"} \ No newline at end of file +{"unicode_property_optiondescription.options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property_optiondescription.prop b/test/data/subconfig_unicode_property_optiondescription.prop index 688e2aa..57b8514 100644 --- a/test/data/subconfig_unicode_property_optiondescription.prop +++ b/test/data/subconfig_unicode_property_optiondescription.prop @@ -1 +1 @@ -{"unicode_property_optiondescription.options.unicode": []} \ No newline at end of file +{"unicode_property_optiondescription.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_unicode_property_optiondescription.prop2 b/test/data/subconfig_unicode_property_optiondescription.prop2 index 688e2aa..57b8514 100644 --- a/test/data/subconfig_unicode_property_optiondescription.prop2 +++ b/test/data/subconfig_unicode_property_optiondescription.prop2 @@ -1 +1 @@ -{"unicode_property_optiondescription.options.unicode": []} \ No newline at end of file +{"unicode_property_optiondescription.options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_username1.info b/test/data/subconfig_username1.info index fa83ade..3d12113 100644 --- a/test/data/subconfig_username1.info +++ b/test/data/subconfig_username1.info @@ -1 +1 @@ -{"username1.options.username": {"doc": "Username description", "name": "username", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file +{"username1.options.username": {"doc": "Username description", "name": "username", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file diff --git a/test/data/subconfig_username1.json b/test/data/subconfig_username1.json index adcf159..7fba3f0 100644 --- a/test/data/subconfig_username1.json +++ b/test/data/subconfig_username1.json @@ -1 +1 @@ -{"schema": {"username1.options": {"name": "username1.options", "properties": {"username1.options.username": {"name": "username1.options.username", "type": "string", "title": "Username description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "username1.options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"username1.options": {"name": "username1.options", "properties": {"username1.options.username": {"name": "username1.options.username", "type": "username", "title": "Username description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "username1.options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_username1.owner b/test/data/subconfig_username1.owner index 6300af8..83d2f5a 100644 --- a/test/data/subconfig_username1.owner +++ b/test/data/subconfig_username1.owner @@ -1 +1 @@ -{"username1.options.username": "default"} \ No newline at end of file +{"username1.options.username": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_username1.prop b/test/data/subconfig_username1.prop index 13ea301..983de38 100644 --- a/test/data/subconfig_username1.prop +++ b/test/data/subconfig_username1.prop @@ -1 +1 @@ -{"username1.options.username": []} \ No newline at end of file +{"username1.options.username": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_username1.prop2 b/test/data/subconfig_username1.prop2 index 13ea301..983de38 100644 --- a/test/data/subconfig_username1.prop2 +++ b/test/data/subconfig_username1.prop2 @@ -1 +1 @@ -{"username1.options.username": []} \ No newline at end of file +{"username1.options.username": {"null": []}} \ No newline at end of file diff --git a/test/data/subconfig_username1_frozen.info b/test/data/subconfig_username1_frozen.info index 5269f31..418ea96 100644 --- a/test/data/subconfig_username1_frozen.info +++ b/test/data/subconfig_username1_frozen.info @@ -1 +1 @@ -{"username1_frozen.options.username": {"doc": "Username description frozen", "name": "username", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file +{"username1_frozen.options.username": {"doc": "Username description frozen", "name": "username", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file diff --git a/test/data/subconfig_username1_frozen.json b/test/data/subconfig_username1_frozen.json index 547e40a..9aa4ba7 100644 --- a/test/data/subconfig_username1_frozen.json +++ b/test/data/subconfig_username1_frozen.json @@ -1 +1 @@ -{"schema": {"username1_frozen.options": {"name": "username1_frozen.options", "properties": {"username1_frozen.options.username": {"name": "username1_frozen.options.username", "type": "string", "title": "Username description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "username1_frozen.options.username", "readOnly": true}], "form": [{"key": "username1_frozen.options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"username1_frozen.options": {"name": "username1_frozen.options", "properties": {"username1_frozen.options.username": {"name": "username1_frozen.options.username", "type": "username", "title": "Username description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "username1_frozen.options.username", "readOnly": true}], "form": [{"key": "username1_frozen.options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/subconfig_username1_frozen.owner b/test/data/subconfig_username1_frozen.owner index 67d12af..45b1511 100644 --- a/test/data/subconfig_username1_frozen.owner +++ b/test/data/subconfig_username1_frozen.owner @@ -1 +1 @@ -{"username1_frozen.options.username": "default"} \ No newline at end of file +{"username1_frozen.options.username": {"null": "default"}} \ No newline at end of file diff --git a/test/data/subconfig_username1_frozen.prop b/test/data/subconfig_username1_frozen.prop index 5fced68..5544d82 100644 --- a/test/data/subconfig_username1_frozen.prop +++ b/test/data/subconfig_username1_frozen.prop @@ -1 +1 @@ -{"username1_frozen.options.username": ["frozen"]} \ No newline at end of file +{"username1_frozen.options.username": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/subconfig_username1_frozen.prop2 b/test/data/subconfig_username1_frozen.prop2 index c248e14..6af19cb 100644 --- a/test/data/subconfig_username1_frozen.prop2 +++ b/test/data/subconfig_username1_frozen.prop2 @@ -1 +1 @@ -{"username1_frozen.options.username": []} \ No newline at end of file +{"username1_frozen.options.username": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1.dict1 b/test/data/unicode1.dict1 deleted file mode 100644 index 674e06e..0000000 --- a/test/data/unicode1.dict1 +++ /dev/null @@ -1 +0,0 @@ -{"options.unicode": "val"} diff --git a/test/data/unicode1.info b/test/data/unicode1.info index d12e9f0..3cb4a48 100644 --- a/test/data/unicode1.info +++ b/test/data/unicode1.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1.mod1 b/test/data/unicode1.mod1 deleted file mode 100644 index f58f1b8..0000000 --- a/test/data/unicode1.mod1 +++ /dev/null @@ -1,5 +0,0 @@ -{"cmd": "config.option('options.unicode').value.set('val')", - "body": {"updates": [{"action": "modify", - "name": "options.unicode", - "value": "val"}]} -} diff --git a/test/data/unicode1.owner b/test/data/unicode1.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1.owner +++ b/test/data/unicode1.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1.prop b/test/data/unicode1.prop index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1.prop +++ b/test/data/unicode1.prop @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1.prop2 b/test/data/unicode1.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1.prop2 +++ b/test/data/unicode1.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1.updates1 b/test/data/unicode1.updates1 deleted file mode 100644 index c072aab..0000000 --- a/test/data/unicode1.updates1 +++ /dev/null @@ -1,4 +0,0 @@ -{"updates": ["options.unicode"], - "model": [{"key": "options.unicode", - "owner": "user", - "value": "val"}]} diff --git a/test/data/unicode1_frozen.info b/test/data/unicode1_frozen.info index 5682a0e..8d8270a 100644 --- a/test/data/unicode1_frozen.info +++ b/test/data/unicode1_frozen.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Unicode 1 frozen", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Unicode 1 frozen", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_frozen.owner b/test/data/unicode1_frozen.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1_frozen.owner +++ b/test/data/unicode1_frozen.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_frozen.prop b/test/data/unicode1_frozen.prop index 652ff08..ca0afda 100644 --- a/test/data/unicode1_frozen.prop +++ b/test/data/unicode1_frozen.prop @@ -1 +1 @@ -{"options.unicode": ["frozen"]} \ No newline at end of file +{"options.unicode": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/unicode1_frozen.prop2 b/test/data/unicode1_frozen.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_frozen.prop2 +++ b/test/data/unicode1_frozen.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.dict b/test/data/unicode1_leader_hidden_followers.dict new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.dict @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.info b/test/data/unicode1_leader_hidden_followers.info new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.info @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.json b/test/data/unicode1_leader_hidden_followers.json new file mode 100644 index 0000000..2a7e36e --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode.unicode", "display": false, "required": true, "hidden": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.owner b/test/data/unicode1_leader_hidden_followers.owner new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.owner @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.prop b/test/data/unicode1_leader_hidden_followers.prop new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.prop @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/unicode1_leader_hidden_followers.prop2 b/test/data/unicode1_leader_hidden_followers.prop2 new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/test/data/unicode1_leader_hidden_followers.prop2 @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves.dict b/test/data/unicode1_leadership.dict similarity index 100% rename from test/data/unicode1_master_slaves.dict rename to test/data/unicode1_leadership.dict diff --git a/test/data/unicode1_leadership.info b/test/data/unicode1_leadership.info new file mode 100644 index 0000000..eb53275 --- /dev/null +++ b/test/data/unicode1_leadership.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership.json b/test/data/unicode1_leadership.json new file mode 100644 index 0000000..655214d --- /dev/null +++ b/test/data/unicode1_leadership.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership.owner b/test/data/unicode1_leadership.owner new file mode 100644 index 0000000..0cb7d9e --- /dev/null +++ b/test/data/unicode1_leadership.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "default"}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership.prop b/test/data/unicode1_leadership.prop new file mode 100644 index 0000000..07244ba --- /dev/null +++ b/test/data/unicode1_leadership.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership.prop2 b/test/data/unicode1_leadership.prop2 new file mode 100644 index 0000000..a395f00 --- /dev/null +++ b/test/data/unicode1_leadership.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.dict b/test/data/unicode1_leadership_default_value.dict new file mode 100644 index 0000000..795e813 --- /dev/null +++ b/test/data/unicode1_leadership_default_value.dict @@ -0,0 +1 @@ +{"options.unicode.unicode": ["val1", "val2"], "options.unicode.unicode1": [null, null], "options.unicode.unicode2": ["follower2", "follower2"], "options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.info b/test/data/unicode1_leadership_default_value.info new file mode 100644 index 0000000..ea03b1e --- /dev/null +++ b/test/data/unicode1_leadership_default_value.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2 with default multi", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.json b/test/data/unicode1_leadership_default_value.json new file mode 100644 index 0000000..7021ebb --- /dev/null +++ b/test/data/unicode1_leadership_default_value.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "default": "follower2", "isMulti": true, "title": "Unicode follower 2 with default multi"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "default"}, {"key": "options.unicode.unicode2", "index": 0, "value": "follower2", "owner": "default"}, {"key": "options.unicode.unicode2", "index": 1, "value": "follower2", "owner": "default"}], "form": [{"key": "options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.owner b/test/data/unicode1_leadership_default_value.owner new file mode 100644 index 0000000..2f0a294 --- /dev/null +++ b/test/data/unicode1_leadership_default_value.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "default"}, "options.unicode.unicode1": {"0": "default", "1": "default"}, "options.unicode.unicode2": {"0": "default", "1": "default"}, "options.unicode.unicode3": {"0": "default", "1": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.prop b/test/data/unicode1_leadership_default_value.prop new file mode 100644 index 0000000..ffd4e5b --- /dev/null +++ b/test/data/unicode1_leadership_default_value.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_default_value.prop2 b/test/data/unicode1_leadership_default_value.prop2 new file mode 100644 index 0000000..0f299dd --- /dev/null +++ b/test/data/unicode1_leadership_default_value.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_hidden.dict b/test/data/unicode1_leadership_hidden.dict similarity index 100% rename from test/data/unicode1_master_slaves_hidden.dict rename to test/data/unicode1_leadership_hidden.dict diff --git a/test/data/unicode1_leadership_hidden.info b/test/data/unicode1_leadership_hidden.info new file mode 100644 index 0000000..05e9720 --- /dev/null +++ b/test/data/unicode1_leadership_hidden.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden.json b/test/data/unicode1_leadership_hidden.json new file mode 100644 index 0000000..b890b17 --- /dev/null +++ b/test/data/unicode1_leadership_hidden.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2 hidden"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "user"}, {"key": "options.unicode.unicode2", "display": false, "hidden": true, "index": 0, "value": "super", "owner": "user"}, {"key": "options.unicode.unicode2", "display": false, "hidden": true, "index": 1}, {"key": "options.unicode.unicode2", "display": false, "hidden": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden.owner b/test/data/unicode1_leadership_hidden.owner new file mode 100644 index 0000000..064739a --- /dev/null +++ b/test/data/unicode1_leadership_hidden.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "user"}, "options.unicode.unicode1": {"0": "default", "1": "default"}, "options.unicode.unicode3": {"0": "default", "1": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden.prop b/test/data/unicode1_leadership_hidden.prop new file mode 100644 index 0000000..336ee69 --- /dev/null +++ b/test/data/unicode1_leadership_hidden.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden.prop2 b/test/data/unicode1_leadership_hidden.prop2 new file mode 100644 index 0000000..32e2266 --- /dev/null +++ b/test/data/unicode1_leadership_hidden.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_hidden_all_default.dict b/test/data/unicode1_leadership_hidden_all_default.dict similarity index 100% rename from test/data/unicode1_master_slaves_hidden_all_default.dict rename to test/data/unicode1_leadership_hidden_all_default.dict diff --git a/test/data/unicode1_leadership_hidden_all_default.info b/test/data/unicode1_leadership_hidden_all_default.info new file mode 100644 index 0000000..d5c1bf5 --- /dev/null +++ b/test/data/unicode1_leadership_hidden_all_default.info @@ -0,0 +1 @@ +{"options.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "options.unicode1.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden_all_default.json b/test/data/unicode1_leadership_hidden_all_default.json new file mode 100644 index 0000000..be3b9b8 --- /dev/null +++ b/test/data/unicode1_leadership_hidden_all_default.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Unicode leader"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input"}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden_all_default.owner b/test/data/unicode1_leadership_hidden_all_default.owner new file mode 100644 index 0000000..8f3164e --- /dev/null +++ b/test/data/unicode1_leadership_hidden_all_default.owner @@ -0,0 +1 @@ +{"options.unicode": {"null": "default"}, "options.unicode1.unicode1": {"null": "default"}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden_all_default.prop b/test/data/unicode1_leadership_hidden_all_default.prop new file mode 100644 index 0000000..755a20a --- /dev/null +++ b/test/data/unicode1_leadership_hidden_all_default.prop @@ -0,0 +1 @@ +{"options.unicode": {"null": []}, "options.unicode1.unicode1": {"null": ["empty"]}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_hidden_all_default.prop2 b/test/data/unicode1_leadership_hidden_all_default.prop2 new file mode 100644 index 0000000..d2a3f7e --- /dev/null +++ b/test/data/unicode1_leadership_hidden_all_default.prop2 @@ -0,0 +1 @@ +{"options.unicode": {"null": []}, "options.unicode1.unicode1": {"null": []}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_not_equal.dict b/test/data/unicode1_leadership_not_equal.dict similarity index 100% rename from test/data/unicode1_master_slaves_not_equal.dict rename to test/data/unicode1_leadership_not_equal.dict diff --git a/test/data/unicode1_leadership_not_equal.info b/test/data/unicode1_leadership_not_equal.info new file mode 100644 index 0000000..7896634 --- /dev/null +++ b/test/data/unicode1_leadership_not_equal.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2 not equal", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3 not equal", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_not_equal.json b/test/data/unicode1_leadership_not_equal.json new file mode 100644 index 0000000..a1772d0 --- /dev/null +++ b/test/data/unicode1_leadership_not_equal.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2 not equal"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3 not equal"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input", "not_equal": {"options": ["options.unicode.unicode3"]}}, {"key": "options.unicode.unicode3", "type": "input", "not_equal": {"options": ["options.unicode.unicode2"]}}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_not_equal.owner b/test/data/unicode1_leadership_not_equal.owner new file mode 100644 index 0000000..0cb7d9e --- /dev/null +++ b/test/data/unicode1_leadership_not_equal.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "default"}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_not_equal.prop b/test/data/unicode1_leadership_not_equal.prop new file mode 100644 index 0000000..07244ba --- /dev/null +++ b/test/data/unicode1_leadership_not_equal.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_not_equal.prop2 b/test/data/unicode1_leadership_not_equal.prop2 new file mode 100644 index 0000000..a395f00 --- /dev/null +++ b/test/data/unicode1_leadership_not_equal.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_submulti.dict b/test/data/unicode1_leadership_requires.dict similarity index 100% rename from test/data/unicode1_master_slaves_submulti.dict rename to test/data/unicode1_leadership_requires.dict diff --git a/test/data/unicode1_leadership_requires.info b/test/data/unicode1_leadership_requires.info new file mode 100644 index 0000000..2049671 --- /dev/null +++ b/test/data/unicode1_leadership_requires.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Values 'test' must show 'Unicode follower 3'", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires.json b/test/data/unicode1_leadership_requires.json new file mode 100644 index 0000000..f7331ed --- /dev/null +++ b/test/data/unicode1_leadership_requires.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 3'"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input", "dependencies": {"default": {"hide": ["options.unicode.unicode3"]}, "expected": {"test": {"show": ["options.unicode.unicode3"]}}}}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires.owner b/test/data/unicode1_leadership_requires.owner new file mode 100644 index 0000000..0cb7d9e --- /dev/null +++ b/test/data/unicode1_leadership_requires.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "default"}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires.prop b/test/data/unicode1_leadership_requires.prop new file mode 100644 index 0000000..07244ba --- /dev/null +++ b/test/data/unicode1_leadership_requires.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires.prop2 b/test/data/unicode1_leadership_requires.prop2 new file mode 100644 index 0000000..a395f00 --- /dev/null +++ b/test/data/unicode1_leadership_requires.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_all.dict b/test/data/unicode1_leadership_requires_all.dict similarity index 100% rename from test/data/unicode1_master_slaves_requires_all.dict rename to test/data/unicode1_leadership_requires_all.dict diff --git a/test/data/unicode1_leadership_requires_all.info b/test/data/unicode1_leadership_requires_all.info new file mode 100644 index 0000000..46d89cb --- /dev/null +++ b/test/data/unicode1_leadership_requires_all.info @@ -0,0 +1 @@ +{"options.unicode": {"doc": "Value 'test' must show Leadership", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_all.json b/test/data/unicode1_leadership_requires_all.json new file mode 100644 index 0000000..a38d53d --- /dev/null +++ b/test/data/unicode1_leadership_requires_all.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Value 'test' must show Leadership"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1"]}, "expected": {"test": {"show": ["options.unicode1"]}}}}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_all.owner b/test/data/unicode1_leadership_requires_all.owner new file mode 100644 index 0000000..4360672 --- /dev/null +++ b/test/data/unicode1_leadership_requires_all.owner @@ -0,0 +1 @@ +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_all.prop b/test/data/unicode1_leadership_requires_all.prop new file mode 100644 index 0000000..7fc88bc --- /dev/null +++ b/test/data/unicode1_leadership_requires_all.prop @@ -0,0 +1 @@ +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_all.prop2 b/test/data/unicode1_leadership_requires_all.prop2 new file mode 100644 index 0000000..7fc88bc --- /dev/null +++ b/test/data/unicode1_leadership_requires_all.prop2 @@ -0,0 +1 @@ +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_slave.dict b/test/data/unicode1_leadership_requires_follower.dict similarity index 64% rename from test/data/unicode1_master_slaves_requires_slave.dict rename to test/data/unicode1_leadership_requires_follower.dict index 94373bf..1abd452 100644 --- a/test/data/unicode1_master_slaves_requires_slave.dict +++ b/test/data/unicode1_leadership_requires_follower.dict @@ -1 +1 @@ -{"options.unicode1.unicode1": [], "options.unicode1.unicode2": [], "options.unicode1.unicode3": []} +{"options.unicode1.unicode1": [], "options.unicode1.unicode2": [], "options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower.info b/test/data/unicode1_leadership_requires_follower.info new file mode 100644 index 0000000..c650db5 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower.info @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode2": {"doc": "Unicode follower 1", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower.json b/test/data/unicode1_leadership_requires_follower.json new file mode 100644 index 0000000..deb1db9 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower.owner b/test/data/unicode1_leadership_requires_follower.owner new file mode 100644 index 0000000..cbd36c9 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower.owner @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": "default"}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower.prop b/test/data/unicode1_leadership_requires_follower.prop new file mode 100644 index 0000000..54daa38 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower.prop @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": ["empty"]}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower.prop2 b/test/data/unicode1_leadership_requires_follower.prop2 new file mode 100644 index 0000000..73f4849 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower.prop2 @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": []}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.dict b/test/data/unicode1_leadership_requires_follower_value.dict new file mode 100644 index 0000000..4404b6f --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.dict @@ -0,0 +1 @@ +{"options.unicode1.unicode1": ["test", "pas test"], "options.unicode1.unicode2": ["super1", null], "options.unicode1.unicode3": ["super1", "cannot access to option \"Unicode follower 2\" because has property \"hidden\" (the value of \"Values 'test' must show 'Unicode follower 2'\" is not \"test\")"]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.info b/test/data/unicode1_leadership_requires_follower_value.info new file mode 100644 index 0000000..c650db5 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.info @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode2": {"doc": "Unicode follower 1", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.json b/test/data/unicode1_leadership_requires_follower_value.json new file mode 100644 index 0000000..0dd61d3 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true, "value": ["test", "pas test"], "owner": "user"}, {"key": "options.unicode1.unicode2", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode1.unicode3", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode1.unicode3", "hidden": true, "index": 1}], "form": [{"key": "options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.owner b/test/data/unicode1_leadership_requires_follower_value.owner new file mode 100644 index 0000000..8418038 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.owner @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": "user"}, "options.unicode1.unicode2": {"0": "user", "1": "default"}, "options.unicode1.unicode3": {"0": "user"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.prop b/test/data/unicode1_leadership_requires_follower_value.prop new file mode 100644 index 0000000..3693e16 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.prop @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": ["empty"]}, "options.unicode1.unicode2": {"0": [], "1": []}, "options.unicode1.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_follower_value.prop2 b/test/data/unicode1_leadership_requires_follower_value.prop2 new file mode 100644 index 0000000..e3e0d40 --- /dev/null +++ b/test/data/unicode1_leadership_requires_follower_value.prop2 @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": []}, "options.unicode1.unicode2": {"0": [], "1": []}, "options.unicode1.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_slaves.dict b/test/data/unicode1_leadership_requires_followers.dict similarity index 64% rename from test/data/unicode1_master_slaves_requires_slaves.dict rename to test/data/unicode1_leadership_requires_followers.dict index 94373bf..1abd452 100644 --- a/test/data/unicode1_master_slaves_requires_slaves.dict +++ b/test/data/unicode1_leadership_requires_followers.dict @@ -1 +1 @@ -{"options.unicode1.unicode1": [], "options.unicode1.unicode2": [], "options.unicode1.unicode3": []} +{"options.unicode1.unicode1": [], "options.unicode1.unicode2": [], "options.unicode1.unicode3": []} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_followers.info b/test/data/unicode1_leadership_requires_followers.info new file mode 100644 index 0000000..26257cc --- /dev/null +++ b/test/data/unicode1_leadership_requires_followers.info @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"doc": "Unicode leader", "name": "unicode1", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode2": {"doc": "Values 'test' must show 'Unicode follower 2'", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode1.unicode3": {"doc": "Unicode follower 2", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_followers.json b/test/data/unicode1_leadership_requires_followers.json new file mode 100644 index 0000000..539a292 --- /dev/null +++ b/test/data/unicode1_leadership_requires_followers.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 2'"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_followers.owner b/test/data/unicode1_leadership_requires_followers.owner new file mode 100644 index 0000000..cbd36c9 --- /dev/null +++ b/test/data/unicode1_leadership_requires_followers.owner @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": "default"}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_followers.prop b/test/data/unicode1_leadership_requires_followers.prop new file mode 100644 index 0000000..54daa38 --- /dev/null +++ b/test/data/unicode1_leadership_requires_followers.prop @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": ["empty"]}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_followers.prop2 b/test/data/unicode1_leadership_requires_followers.prop2 new file mode 100644 index 0000000..73f4849 --- /dev/null +++ b/test/data/unicode1_leadership_requires_followers.prop2 @@ -0,0 +1 @@ +{"options.unicode1.unicode1": {"null": []}, "options.unicode1.unicode2": {}, "options.unicode1.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_master.dict b/test/data/unicode1_leadership_requires_leader.dict similarity index 100% rename from test/data/unicode1_master_slaves_requires_master.dict rename to test/data/unicode1_leadership_requires_leader.dict diff --git a/test/data/unicode1_leadership_requires_leader.info b/test/data/unicode1_leadership_requires_leader.info new file mode 100644 index 0000000..0a57296 --- /dev/null +++ b/test/data/unicode1_leadership_requires_leader.info @@ -0,0 +1 @@ +{"options.unicode": {"doc": "Value 'test' must show leader", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_all.json b/test/data/unicode1_leadership_requires_leader.json similarity index 56% rename from test/data/unicode1_master_slaves_requires_all.json rename to test/data/unicode1_leadership_requires_leader.json index 6a2041b..3fcc7a0 100644 --- a/test/data/unicode1_master_slaves_requires_all.json +++ b/test/data/unicode1_leadership_requires_leader.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Value 'test' must show MasterSlaves"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1"]}, "expected": {"test": {"show": ["options.unicode1"]}}}}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Value 'test' must show leader"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1"]}, "expected": {"test": {"show": ["options.unicode1"]}}}}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_leader.owner b/test/data/unicode1_leadership_requires_leader.owner new file mode 100644 index 0000000..4360672 --- /dev/null +++ b/test/data/unicode1_leadership_requires_leader.owner @@ -0,0 +1 @@ +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_leader.prop b/test/data/unicode1_leadership_requires_leader.prop new file mode 100644 index 0000000..7fc88bc --- /dev/null +++ b/test/data/unicode1_leadership_requires_leader.prop @@ -0,0 +1 @@ +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_leader.prop2 b/test/data/unicode1_leadership_requires_leader.prop2 new file mode 100644 index 0000000..7fc88bc --- /dev/null +++ b/test/data/unicode1_leadership_requires_leader.prop2 @@ -0,0 +1 @@ +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.dict b/test/data/unicode1_leadership_requires_value.dict new file mode 100644 index 0000000..8bff8fb --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.dict @@ -0,0 +1 @@ +{"options.unicode.unicode": ["test", "val2"], "options.unicode.unicode1": ["super1", "super2"], "options.unicode.unicode2": ["pas test", "test"], "options.unicode.unicode3": [null, "cannot access to option \"Unicode follower 3\" because has property \"hidden\" (the value of \"Values 'test' must show 'Unicode follower 3'\" is not \"test\")"]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.info b/test/data/unicode1_leadership_requires_value.info new file mode 100644 index 0000000..d13760d --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Values 'test' must show 'Unicode follower 3'", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.json b/test/data/unicode1_leadership_requires_value.json new file mode 100644 index 0000000..0ef3e6f --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode follower 3'"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode follower 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["test", "val2"], "owner": "user"}, {"key": "options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "options.unicode.unicode3", "hidden": true, "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "options.unicode.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode.unicode3"]}, "expected": {"test": {"show": ["options.unicode.unicode3"]}}}}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.owner b/test/data/unicode1_leadership_requires_value.owner new file mode 100644 index 0000000..b5e9f35 --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "user"}, "options.unicode.unicode1": {"0": "user", "1": "user"}, "options.unicode.unicode2": {"0": "user", "1": "user"}, "options.unicode.unicode3": {"0": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.prop b/test/data/unicode1_leadership_requires_value.prop new file mode 100644 index 0000000..a03aa4f --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_requires_value.prop2 b/test/data/unicode1_leadership_requires_value.prop2 new file mode 100644 index 0000000..20ec56c --- /dev/null +++ b/test/data/unicode1_leadership_requires_value.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": ["hidden"]}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires.dict b/test/data/unicode1_leadership_submulti.dict similarity index 50% rename from test/data/unicode1_master_slaves_requires.dict rename to test/data/unicode1_leadership_submulti.dict index e039126..c22a5fe 100644 --- a/test/data/unicode1_master_slaves_requires.dict +++ b/test/data/unicode1_leadership_submulti.dict @@ -1 +1 @@ -{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": [], "options.unicode.unicode3": []} +{"options.unicode.unicode": [], "options.unicode.unicode1": [], "options.unicode.unicode2": [], "options.unicode.unicode3": []} \ No newline at end of file diff --git a/test/data/unicode1_leadership_submulti.info b/test/data/unicode1_leadership_submulti.info new file mode 100644 index 0000000..9010c1f --- /dev/null +++ b/test/data/unicode1_leadership_submulti.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2 submulti", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_submulti.json b/test/data/unicode1_leadership_submulti.json new file mode 100644 index 0000000..1356810 --- /dev/null +++ b/test/data/unicode1_leadership_submulti.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "isSubMulti": true, "title": "Unicode follower 2 submulti"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_submulti.owner b/test/data/unicode1_leadership_submulti.owner new file mode 100644 index 0000000..0cb7d9e --- /dev/null +++ b/test/data/unicode1_leadership_submulti.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "default"}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_submulti.prop b/test/data/unicode1_leadership_submulti.prop new file mode 100644 index 0000000..07244ba --- /dev/null +++ b/test/data/unicode1_leadership_submulti.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_submulti.prop2 b/test/data/unicode1_leadership_submulti.prop2 new file mode 100644 index 0000000..a395f00 --- /dev/null +++ b/test/data/unicode1_leadership_submulti.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {}, "options.unicode.unicode2": {}, "options.unicode.unicode3": {}} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_value.dict b/test/data/unicode1_leadership_value.dict similarity index 100% rename from test/data/unicode1_master_slaves_value.dict rename to test/data/unicode1_leadership_value.dict diff --git a/test/data/unicode1_leadership_value.info b/test/data/unicode1_leadership_value.info new file mode 100644 index 0000000..ea03b1e --- /dev/null +++ b/test/data/unicode1_leadership_value.info @@ -0,0 +1 @@ +{"options.unicode.unicode": {"doc": "Unicode leader", "name": "unicode", "isoptiondescription": false, "isleader": true, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode1": {"doc": "Unicode follower 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode2": {"doc": "Unicode follower 2 with default multi", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode.unicode3": {"doc": "Unicode follower 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": true, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_value.json b/test/data/unicode1_leadership_value.json new file mode 100644 index 0000000..60d5f1b --- /dev/null +++ b/test/data/unicode1_leadership_value.json @@ -0,0 +1 @@ +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode leader"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode follower 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "default": "follower2", "isMulti": true, "title": "Unicode follower 2 with default multi"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode follower 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val3", "val4"], "owner": "user"}, {"key": "options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "options.unicode.unicode3", "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_leadership_value.owner b/test/data/unicode1_leadership_value.owner new file mode 100644 index 0000000..245e174 --- /dev/null +++ b/test/data/unicode1_leadership_value.owner @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": "user"}, "options.unicode.unicode1": {"0": "user", "1": "user"}, "options.unicode.unicode2": {"0": "user", "1": "user"}, "options.unicode.unicode3": {"0": "default", "1": "user"}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_value.prop b/test/data/unicode1_leadership_value.prop new file mode 100644 index 0000000..ffd4e5b --- /dev/null +++ b/test/data/unicode1_leadership_value.prop @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": ["empty"]}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_leadership_value.prop2 b/test/data/unicode1_leadership_value.prop2 new file mode 100644 index 0000000..0f299dd --- /dev/null +++ b/test/data/unicode1_leadership_value.prop2 @@ -0,0 +1 @@ +{"options.unicode.unicode": {"null": []}, "options.unicode.unicode1": {"0": [], "1": []}, "options.unicode.unicode2": {"0": [], "1": []}, "options.unicode.unicode3": {"0": [], "1": []}} \ No newline at end of file diff --git a/test/data/unicode1_mandatory.info b/test/data/unicode1_mandatory.info index d12e9f0..3cb4a48 100644 --- a/test/data/unicode1_mandatory.info +++ b/test/data/unicode1_mandatory.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_mandatory.owner b/test/data/unicode1_mandatory.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1_mandatory.owner +++ b/test/data/unicode1_mandatory.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_mandatory.prop b/test/data/unicode1_mandatory.prop index bfef27d..fffa768 100644 --- a/test/data/unicode1_mandatory.prop +++ b/test/data/unicode1_mandatory.prop @@ -1 +1 @@ -{"options.unicode": ["mandatory"]} \ No newline at end of file +{"options.unicode": {"null": ["mandatory"]}} \ No newline at end of file diff --git a/test/data/unicode1_mandatory.prop2 b/test/data/unicode1_mandatory.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_mandatory.prop2 +++ b/test/data/unicode1_mandatory.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_master_hidden_slaves.json b/test/data/unicode1_master_hidden_slaves.json deleted file mode 100644 index ea823e8..0000000 --- a/test/data/unicode1_master_hidden_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode.unicode", "display": false, "required": true, "hidden": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves.json b/test/data/unicode1_master_slaves.json deleted file mode 100644 index 7025b33..0000000 --- a/test/data/unicode1_master_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_default_value.dict b/test/data/unicode1_master_slaves_default_value.dict deleted file mode 100644 index 1b4e6a8..0000000 --- a/test/data/unicode1_master_slaves_default_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"options.unicode.unicode": ["val1", "val2"], "options.unicode.unicode1": [null, null], "options.unicode.unicode2": ["slave2", "slave2"], "options.unicode.unicode3": [null, null]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_default_value.json b/test/data/unicode1_master_slaves_default_value.json deleted file mode 100644 index d7985a0..0000000 --- a/test/data/unicode1_master_slaves_default_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "default": "slave2", "isMulti": true, "title": "Unicode slave 2 with default multi"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "default"}, {"key": "options.unicode.unicode2", "index": 0, "value": "slave2", "owner": "default"}, {"key": "options.unicode.unicode2", "index": 1, "value": "slave2", "owner": "default"}], "form": [{"key": "options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_hidden.json b/test/data/unicode1_master_slaves_hidden.json deleted file mode 100644 index 42bde42..0000000 --- a/test/data/unicode1_master_slaves_hidden.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2 hidden"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val1", "val2"], "owner": "user"}, {"key": "options.unicode.unicode2", "display": false, "hidden": true, "index": 0, "value": "super", "owner": "user"}, {"key": "options.unicode.unicode2", "display": false, "hidden": true, "index": 1}, {"key": "options.unicode.unicode2", "display": false, "hidden": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_hidden_all_default.json b/test/data/unicode1_master_slaves_hidden_all_default.json deleted file mode 100644 index 97666df..0000000 --- a/test/data/unicode1_master_slaves_hidden_all_default.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Unicode master"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input"}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_not_equal.json b/test/data/unicode1_master_slaves_not_equal.json deleted file mode 100644 index 28072e7..0000000 --- a/test/data/unicode1_master_slaves_not_equal.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2 not equal"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3 not equal"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input", "not_equal": {"options": ["options.unicode.unicode3"]}}, {"key": "options.unicode.unicode3", "type": "input", "not_equal": {"options": ["options.unicode.unicode2"]}}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires.json b/test/data/unicode1_master_slaves_requires.json deleted file mode 100644 index 8df903b..0000000 --- a/test/data/unicode1_master_slaves_requires.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 3'"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input", "dependencies": {"default": {"hide": ["options.unicode.unicode3"]}, "expected": {"test": {"show": ["options.unicode.unicode3"]}}}}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_master.json b/test/data/unicode1_master_slaves_requires_master.json deleted file mode 100644 index a3fd279..0000000 --- a/test/data/unicode1_master_slaves_requires_master.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "title": "Value 'test' must show master"}, "options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "properties": ["hidden"], "hidden": true}, {"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1"]}, "expected": {"test": {"show": ["options.unicode1"]}}}}, {"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_slave.json b/test/data/unicode1_master_slaves_requires_slave.json deleted file mode 100644 index ab1da21..0000000 --- a/test/data/unicode1_master_slaves_requires_slave.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_slave_value.dict b/test/data/unicode1_master_slaves_requires_slave_value.dict deleted file mode 100644 index 895d77b..0000000 --- a/test/data/unicode1_master_slaves_requires_slave_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"options.unicode1.unicode1": ["test", "pas test"], "options.unicode1.unicode2": ["super1", null], "options.unicode1.unicode3": ["super1", null]} diff --git a/test/data/unicode1_master_slaves_requires_slave_value.json b/test/data/unicode1_master_slaves_requires_slave_value.json deleted file mode 100644 index a7fdfde..0000000 --- a/test/data/unicode1_master_slaves_requires_slave_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true, "value": ["test", "pas test"], "owner": "user"}, {"key": "options.unicode1.unicode2", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode1.unicode3", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode1.unicode3", "hidden": true, "index": 1}], "form": [{"key": "options.unicode1.unicode1", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode2", "type": "input"}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_slaves.json b/test/data/unicode1_master_slaves_requires_slaves.json deleted file mode 100644 index c557030..0000000 --- a/test/data/unicode1_master_slaves_requires_slaves.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "properties": {"options.unicode1.unicode1": {"name": "options.unicode1.unicode1", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode1.unicode2": {"name": "options.unicode1.unicode2", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 2'"}, "options.unicode1.unicode3": {"name": "options.unicode1.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 2"}}, "type": "array", "title": "Common configuration"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1.unicode1", "required": true}], "form": [{"key": "options.unicode1.unicode1", "type": "input"}, {"key": "options.unicode1.unicode2", "type": "input", "dependencies": {"default": {"hide": ["options.unicode1.unicode3"]}, "expected": {"test": {"show": ["options.unicode1.unicode3"]}}}}, {"key": "options.unicode1.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_value.dict b/test/data/unicode1_master_slaves_requires_value.dict deleted file mode 100644 index ef49f2c..0000000 --- a/test/data/unicode1_master_slaves_requires_value.dict +++ /dev/null @@ -1 +0,0 @@ -{"options.unicode.unicode": ["test", "val2"], "options.unicode.unicode1": ["super1", "super2"], "options.unicode.unicode2": ["pas test", "test"]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_requires_value.json b/test/data/unicode1_master_slaves_requires_value.json deleted file mode 100644 index c5d4dfa..0000000 --- a/test/data/unicode1_master_slaves_requires_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Values 'test' must show 'Unicode slave 3'"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "title": "Unicode slave 2"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["test", "val2"], "owner": "user"}, {"key": "options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "options.unicode.unicode3", "hidden": true, "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "options.unicode.unicode", "type": "input", "dependencies": {"default": {"hide": ["options.unicode.unicode3"]}, "expected": {"test": {"show": ["options.unicode.unicode3"]}}}}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_submulti.json b/test/data/unicode1_master_slaves_submulti.json deleted file mode 100644 index 679aa57..0000000 --- a/test/data/unicode1_master_slaves_submulti.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "isMulti": true, "isSubMulti": true, "title": "Unicode slave 2 submulti"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true}], "form": [{"key": "options.unicode.unicode", "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_master_slaves_value.json b/test/data/unicode1_master_slaves_value.json deleted file mode 100644 index 6dd498c..0000000 --- a/test/data/unicode1_master_slaves_value.json +++ /dev/null @@ -1 +0,0 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "properties": {"options.unicode.unicode": {"name": "options.unicode.unicode", "type": "string", "value": ["val1", "val2"], "isMulti": true, "title": "Unicode master"}, "options.unicode.unicode1": {"name": "options.unicode.unicode1", "type": "string", "isMulti": true, "title": "Unicode slave 1"}, "options.unicode.unicode2": {"name": "options.unicode.unicode2", "type": "string", "default": "slave2", "isMulti": true, "title": "Unicode slave 2 with default multi"}, "options.unicode.unicode3": {"name": "options.unicode.unicode3", "type": "string", "isMulti": true, "title": "Unicode slave 3"}}, "type": "array", "title": "Common configuration 1"}}, "type": "object", "title": "Common configuration 2"}}, "model": [{"key": "options.unicode.unicode", "required": true, "value": ["val3", "val4"], "owner": "user"}, {"key": "options.unicode.unicode1", "index": 0, "value": "super1", "owner": "user"}, {"key": "options.unicode.unicode1", "index": 1, "value": "super2", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 0, "value": "pas test", "owner": "user"}, {"key": "options.unicode.unicode2", "index": 1, "value": "test", "owner": "user"}, {"key": "options.unicode.unicode3", "index": 1, "value": "super", "owner": "user"}], "form": [{"key": "options.unicode.unicode", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode1", "type": "input"}, {"key": "options.unicode.unicode2", "clearable": true, "type": "input"}, {"key": "options.unicode.unicode3", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_mod_value.info b/test/data/unicode1_mod_value.info index d12e9f0..3cb4a48 100644 --- a/test/data/unicode1_mod_value.info +++ b/test/data/unicode1_mod_value.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_mod_value.owner b/test/data/unicode1_mod_value.owner index 0717f11..65e5e5b 100644 --- a/test/data/unicode1_mod_value.owner +++ b/test/data/unicode1_mod_value.owner @@ -1 +1 @@ -{"options.unicode": "user"} \ No newline at end of file +{"options.unicode": {"null": "user"}} \ No newline at end of file diff --git a/test/data/unicode1_mod_value.prop b/test/data/unicode1_mod_value.prop index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_mod_value.prop +++ b/test/data/unicode1_mod_value.prop @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_mod_value.prop2 b/test/data/unicode1_mod_value.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_mod_value.prop2 +++ b/test/data/unicode1_mod_value.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi.info b/test/data/unicode1_multi.info index 916af2b..384d42f 100644 --- a/test/data/unicode1_multi.info +++ b/test/data/unicode1_multi.info @@ -1 +1 @@ -{"options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Multi string 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi.json b/test/data/unicode1_multi.json index 6f13695..92d1247 100644 --- a/test/data/unicode1_multi.json +++ b/test/data/unicode1_multi.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "isMulti": true, "title": "String 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode", "required": true}], "form": [{"key": "options.unicode", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.unicode": {"name": "options.unicode", "type": "string", "isMulti": true, "title": "Multi string 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode", "required": true}], "form": [{"key": "options.unicode", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_multi.owner b/test/data/unicode1_multi.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1_multi.owner +++ b/test/data/unicode1_multi.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_multi.prop b/test/data/unicode1_multi.prop index 42d6ae9..c7e5ef8 100644 --- a/test/data/unicode1_multi.prop +++ b/test/data/unicode1_multi.prop @@ -1 +1 @@ -{"options.unicode": ["empty"]} \ No newline at end of file +{"options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/unicode1_multi.prop2 b/test/data/unicode1_multi.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_multi.prop2 +++ b/test/data/unicode1_multi.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mandatory.info b/test/data/unicode1_multi_mandatory.info index 60562d8..48fff02 100644 --- a/test/data/unicode1_multi_mandatory.info +++ b/test/data/unicode1_multi_mandatory.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Unicode 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mandatory.owner b/test/data/unicode1_multi_mandatory.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1_multi_mandatory.owner +++ b/test/data/unicode1_multi_mandatory.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mandatory.prop b/test/data/unicode1_multi_mandatory.prop index cb72e5d..651d55e 100644 --- a/test/data/unicode1_multi_mandatory.prop +++ b/test/data/unicode1_multi_mandatory.prop @@ -1 +1 @@ -{"options.unicode": ["empty", "mandatory"]} \ No newline at end of file +{"options.unicode": {"null": ["empty", "mandatory"]}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mandatory.prop2 b/test/data/unicode1_multi_mandatory.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_multi_mandatory.prop2 +++ b/test/data/unicode1_multi_mandatory.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mod_value.info b/test/data/unicode1_multi_mod_value.info index 916af2b..bc64061 100644 --- a/test/data/unicode1_multi_mod_value.info +++ b/test/data/unicode1_multi_mod_value.info @@ -1 +1 @@ -{"options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mod_value.owner b/test/data/unicode1_multi_mod_value.owner index 0717f11..65e5e5b 100644 --- a/test/data/unicode1_multi_mod_value.owner +++ b/test/data/unicode1_multi_mod_value.owner @@ -1 +1 @@ -{"options.unicode": "user"} \ No newline at end of file +{"options.unicode": {"null": "user"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mod_value.prop b/test/data/unicode1_multi_mod_value.prop index 42d6ae9..c7e5ef8 100644 --- a/test/data/unicode1_multi_mod_value.prop +++ b/test/data/unicode1_multi_mod_value.prop @@ -1 +1 @@ -{"options.unicode": ["empty"]} \ No newline at end of file +{"options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/unicode1_multi_mod_value.prop2 b/test/data/unicode1_multi_mod_value.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_multi_mod_value.prop2 +++ b/test/data/unicode1_multi_mod_value.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_not_equal_collapse.info b/test/data/unicode1_multi_not_equal_collapse.info index bbaf8b4..37f57bb 100644 --- a/test/data/unicode1_multi_not_equal_collapse.info +++ b/test/data/unicode1_multi_not_equal_collapse.info @@ -1 +1 @@ -{"descr1.unicode1": {"doc": "Unicode 1, not equal to 'a'", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "descr1.unicode1_multi": {"doc": "Multi unicode 1, not equal to 'a' or 'b'", "name": "unicode1_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "descr2.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "descr2.unicode2_multi": {"doc": "Multi unicode 2", "name": "unicode2_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "descr3.unicode3": {"doc": "Unicode 3", "name": "unicode3", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "descr3.unicode3_multi": {"doc": "Multi unicode 3", "name": "unicode3_multi", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"descr1.unicode1": {"doc": "Unicode 1, not equal to 'a'", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "descr1.unicode1_multi": {"doc": "Multi unicode 1, not equal to 'a' or 'b'", "name": "unicode1_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "descr2.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "descr2.unicode2_multi": {"doc": "Multi unicode 2", "name": "unicode2_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "descr3.unicode3": {"doc": "Unicode 3", "name": "unicode3", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "descr3.unicode3_multi": {"doc": "Multi unicode 3", "name": "unicode3_multi", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_not_equal_collapse.owner b/test/data/unicode1_multi_not_equal_collapse.owner index 0e8e2c2..8e87685 100644 --- a/test/data/unicode1_multi_not_equal_collapse.owner +++ b/test/data/unicode1_multi_not_equal_collapse.owner @@ -1 +1 @@ -{"descr1.unicode1": "default", "descr1.unicode1_multi": "default", "descr2.unicode2": "default", "descr2.unicode2_multi": "default", "descr3.unicode3": "default", "descr3.unicode3_multi": "default"} \ No newline at end of file +{"descr1.unicode1": {"null": "default"}, "descr1.unicode1_multi": {"null": "default"}, "descr2.unicode2": {"null": "default"}, "descr2.unicode2_multi": {"null": "default"}, "descr3.unicode3": {"null": "default"}, "descr3.unicode3_multi": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_not_equal_collapse.prop b/test/data/unicode1_multi_not_equal_collapse.prop index 40bf80a..739cf6e 100644 --- a/test/data/unicode1_multi_not_equal_collapse.prop +++ b/test/data/unicode1_multi_not_equal_collapse.prop @@ -1 +1 @@ -{"descr1.unicode1": [], "descr1.unicode1_multi": ["empty"], "descr2.unicode2": [], "descr2.unicode2_multi": ["empty"], "descr3.unicode3": [], "descr3.unicode3_multi": ["empty"]} \ No newline at end of file +{"descr1.unicode1": {"null": []}, "descr1.unicode1_multi": {"null": ["empty"]}, "descr2.unicode2": {"null": []}, "descr2.unicode2_multi": {"null": ["empty"]}, "descr3.unicode3": {"null": []}, "descr3.unicode3_multi": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/unicode1_multi_not_equal_collapse.prop2 b/test/data/unicode1_multi_not_equal_collapse.prop2 index 64a828b..ef55151 100644 --- a/test/data/unicode1_multi_not_equal_collapse.prop2 +++ b/test/data/unicode1_multi_not_equal_collapse.prop2 @@ -1 +1 @@ -{"descr1.unicode1": [], "descr1.unicode1_multi": [], "descr2.unicode2": [], "descr2.unicode2_multi": [], "descr3.unicode3": [], "descr3.unicode3_multi": []} \ No newline at end of file +{"descr1.unicode1": {"null": []}, "descr1.unicode1_multi": {"null": []}, "descr2.unicode2": {"null": []}, "descr2.unicode2_multi": {"null": []}, "descr3.unicode3": {"null": []}, "descr3.unicode3_multi": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_requires.info b/test/data/unicode1_multi_requires.info index 5bda672..3a4dae4 100644 --- a/test/data/unicode1_multi_requires.info +++ b/test/data/unicode1_multi_requires.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_requires.owner b/test/data/unicode1_multi_requires.owner index dbbcf9d..da371a7 100644 --- a/test/data/unicode1_multi_requires.owner +++ b/test/data/unicode1_multi_requires.owner @@ -1 +1 @@ -{"options.unicode1": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_requires.prop b/test/data/unicode1_multi_requires.prop index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_multi_requires.prop +++ b/test/data/unicode1_multi_requires.prop @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_requires.prop2 b/test/data/unicode1_multi_requires.prop2 index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_multi_requires.prop2 +++ b/test/data/unicode1_multi_requires.prop2 @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_multi_value.info b/test/data/unicode1_multi_value.info index 916af2b..bc64061 100644 --- a/test/data/unicode1_multi_value.info +++ b/test/data/unicode1_multi_value.info @@ -1 +1 @@ -{"options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "String 1", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_value.owner b/test/data/unicode1_multi_value.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode1_multi_value.owner +++ b/test/data/unicode1_multi_value.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_multi_value.prop b/test/data/unicode1_multi_value.prop index 42d6ae9..c7e5ef8 100644 --- a/test/data/unicode1_multi_value.prop +++ b/test/data/unicode1_multi_value.prop @@ -1 +1 @@ -{"options.unicode": ["empty"]} \ No newline at end of file +{"options.unicode": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/unicode1_multi_value.prop2 b/test/data/unicode1_multi_value.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode1_multi_value.prop2 +++ b/test/data/unicode1_multi_value.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_not_equal.info b/test/data/unicode1_not_equal.info index a7afc95..2267e2a 100644 --- a/test/data/unicode1_not_equal.info +++ b/test/data/unicode1_not_equal.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_not_equal.owner b/test/data/unicode1_not_equal.owner index c23d73f..a59ba96 100644 --- a/test/data/unicode1_not_equal.owner +++ b/test/data/unicode1_not_equal.owner @@ -1 +1 @@ -{"options.unicode1": "default", "options.unicode2": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}, "options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_not_equal.prop b/test/data/unicode1_not_equal.prop index fdff5a0..a1d6927 100644 --- a/test/data/unicode1_not_equal.prop +++ b/test/data/unicode1_not_equal.prop @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_not_equal.prop2 b/test/data/unicode1_not_equal.prop2 index fdff5a0..a1d6927 100644 --- a/test/data/unicode1_not_equal.prop2 +++ b/test/data/unicode1_not_equal.prop2 @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_optiondescription_requires.info b/test/data/unicode1_optiondescription_requires.info index 73db638..8887b27 100644 --- a/test/data/unicode1_optiondescription_requires.info +++ b/test/data/unicode1_optiondescription_requires.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Value 'test' must show OptionDescription", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Value 'test' must show OptionDescription", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_optiondescription_requires.owner b/test/data/unicode1_optiondescription_requires.owner index dbbcf9d..da371a7 100644 --- a/test/data/unicode1_optiondescription_requires.owner +++ b/test/data/unicode1_optiondescription_requires.owner @@ -1 +1 @@ -{"options.unicode1": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_optiondescription_requires.prop b/test/data/unicode1_optiondescription_requires.prop index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_optiondescription_requires.prop +++ b/test/data/unicode1_optiondescription_requires.prop @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_optiondescription_requires.prop2 b/test/data/unicode1_optiondescription_requires.prop2 index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_optiondescription_requires.prop2 +++ b/test/data/unicode1_optiondescription_requires.prop2 @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_requires.info b/test/data/unicode1_requires.info index 5bda672..3a4dae4 100644 --- a/test/data/unicode1_requires.info +++ b/test/data/unicode1_requires.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Value 'test' must show Unicode 2", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_requires.owner b/test/data/unicode1_requires.owner index dbbcf9d..da371a7 100644 --- a/test/data/unicode1_requires.owner +++ b/test/data/unicode1_requires.owner @@ -1 +1 @@ -{"options.unicode1": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_requires.prop b/test/data/unicode1_requires.prop index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_requires.prop +++ b/test/data/unicode1_requires.prop @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_requires.prop2 b/test/data/unicode1_requires.prop2 index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_requires.prop2 +++ b/test/data/unicode1_requires.prop2 @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_simple_callback.info b/test/data/unicode1_simple_callback.info index 3d6ec45..5d59b8f 100644 --- a/test/data/unicode1_simple_callback.info +++ b/test/data/unicode1_simple_callback.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode1_simple_callback.json b/test/data/unicode1_simple_callback.json index 2b31f86..260e37f 100644 --- a/test/data/unicode1_simple_callback.json +++ b/test/data/unicode1_simple_callback.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "type": "string", "value": "word", "title": "Unicode 1"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "value": "word", "owner": "default"}], "form": [{"key": "options.unicode1", "clearable": true, "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.unicode1": {"name": "options.unicode1", "type": "string", "title": "Unicode 1", "value": "word"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.unicode1", "value": "word", "owner": "default"}], "form": [{"key": "options.unicode1", "type": "input", "clearable": true}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/unicode1_simple_callback.owner b/test/data/unicode1_simple_callback.owner index dbbcf9d..da371a7 100644 --- a/test/data/unicode1_simple_callback.owner +++ b/test/data/unicode1_simple_callback.owner @@ -1 +1 @@ -{"options.unicode1": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode1_simple_callback.prop b/test/data/unicode1_simple_callback.prop index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_simple_callback.prop +++ b/test/data/unicode1_simple_callback.prop @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode1_simple_callback.prop2 b/test/data/unicode1_simple_callback.prop2 index 69c1d4b..d39a413 100644 --- a/test/data/unicode1_simple_callback.prop2 +++ b/test/data/unicode1_simple_callback.prop2 @@ -1 +1 @@ -{"options.unicode1": []} \ No newline at end of file +{"options.unicode1": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode2.info b/test/data/unicode2.info index a7afc95..2267e2a 100644 --- a/test/data/unicode2.info +++ b/test/data/unicode2.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode2.owner b/test/data/unicode2.owner index c23d73f..a59ba96 100644 --- a/test/data/unicode2.owner +++ b/test/data/unicode2.owner @@ -1 +1 @@ -{"options.unicode1": "default", "options.unicode2": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}, "options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode2.prop b/test/data/unicode2.prop index fdff5a0..a1d6927 100644 --- a/test/data/unicode2.prop +++ b/test/data/unicode2.prop @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode2.prop2 b/test/data/unicode2.prop2 index fdff5a0..a1d6927 100644 --- a/test/data/unicode2.prop2 +++ b/test/data/unicode2.prop2 @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode2_copy.info b/test/data/unicode2_copy.info index e24d522..e829ab0 100644 --- a/test/data/unicode2_copy.info +++ b/test/data/unicode2_copy.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}, "options.unicode2": {"doc": "Unicode 2 (copy)", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}, "options.unicode2": {"doc": "Unicode 2 (copy)", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode2_copy.owner b/test/data/unicode2_copy.owner index c23d73f..a59ba96 100644 --- a/test/data/unicode2_copy.owner +++ b/test/data/unicode2_copy.owner @@ -1 +1 @@ -{"options.unicode1": "default", "options.unicode2": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}, "options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode2_copy.prop b/test/data/unicode2_copy.prop index fdff5a0..a1d6927 100644 --- a/test/data/unicode2_copy.prop +++ b/test/data/unicode2_copy.prop @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode2_copy.prop2 b/test/data/unicode2_copy.prop2 index fdff5a0..a1d6927 100644 --- a/test/data/unicode2_copy.prop2 +++ b/test/data/unicode2_copy.prop2 @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode2_multi_copy.info b/test/data/unicode2_multi_copy.info index c6f41c3..be66e96 100644 --- a/test/data/unicode2_multi_copy.info +++ b/test/data/unicode2_multi_copy.info @@ -1 +1 @@ -{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": true, "type": "str"}} \ No newline at end of file +{"options.unicode1": {"doc": "Unicode 1", "name": "unicode1", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}, "options.unicode2": {"doc": "Unicode 2", "name": "unicode2", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": true, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode2_multi_copy.owner b/test/data/unicode2_multi_copy.owner index c23d73f..a59ba96 100644 --- a/test/data/unicode2_multi_copy.owner +++ b/test/data/unicode2_multi_copy.owner @@ -1 +1 @@ -{"options.unicode1": "default", "options.unicode2": "default"} \ No newline at end of file +{"options.unicode1": {"null": "default"}, "options.unicode2": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode2_multi_copy.prop b/test/data/unicode2_multi_copy.prop index 7c37a7c..a9c9536 100644 --- a/test/data/unicode2_multi_copy.prop +++ b/test/data/unicode2_multi_copy.prop @@ -1 +1 @@ -{"options.unicode1": ["empty"], "options.unicode2": ["empty"]} \ No newline at end of file +{"options.unicode1": {"null": ["empty"]}, "options.unicode2": {"null": ["empty"]}} \ No newline at end of file diff --git a/test/data/unicode2_multi_copy.prop2 b/test/data/unicode2_multi_copy.prop2 index fdff5a0..a1d6927 100644 --- a/test/data/unicode2_multi_copy.prop2 +++ b/test/data/unicode2_multi_copy.prop2 @@ -1 +1 @@ -{"options.unicode1": [], "options.unicode2": []} \ No newline at end of file +{"options.unicode1": {"null": []}, "options.unicode2": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode_property.info b/test/data/unicode_property.info index 963752b..644111e 100644 --- a/test/data/unicode_property.info +++ b/test/data/unicode_property.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode_property.owner b/test/data/unicode_property.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode_property.owner +++ b/test/data/unicode_property.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode_property.prop b/test/data/unicode_property.prop index f85106e..6809a5f 100644 --- a/test/data/unicode_property.prop +++ b/test/data/unicode_property.prop @@ -1 +1 @@ -{"options.unicode": ["expert"]} \ No newline at end of file +{"options.unicode": {"null": ["expert"]}} \ No newline at end of file diff --git a/test/data/unicode_property.prop2 b/test/data/unicode_property.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode_property.prop2 +++ b/test/data/unicode_property.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode_property_optiondescription.info b/test/data/unicode_property_optiondescription.info index 963752b..644111e 100644 --- a/test/data/unicode_property_optiondescription.info +++ b/test/data/unicode_property_optiondescription.info @@ -1 +1 @@ -{"options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "str"}} \ No newline at end of file +{"options.unicode": {"doc": "Expert unicode", "name": "unicode", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "string"}} \ No newline at end of file diff --git a/test/data/unicode_property_optiondescription.owner b/test/data/unicode_property_optiondescription.owner index 29b6bcb..4360672 100644 --- a/test/data/unicode_property_optiondescription.owner +++ b/test/data/unicode_property_optiondescription.owner @@ -1 +1 @@ -{"options.unicode": "default"} \ No newline at end of file +{"options.unicode": {"null": "default"}} \ No newline at end of file diff --git a/test/data/unicode_property_optiondescription.prop b/test/data/unicode_property_optiondescription.prop index c99ce8a..7fc88bc 100644 --- a/test/data/unicode_property_optiondescription.prop +++ b/test/data/unicode_property_optiondescription.prop @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/unicode_property_optiondescription.prop2 b/test/data/unicode_property_optiondescription.prop2 index c99ce8a..7fc88bc 100644 --- a/test/data/unicode_property_optiondescription.prop2 +++ b/test/data/unicode_property_optiondescription.prop2 @@ -1 +1 @@ -{"options.unicode": []} \ No newline at end of file +{"options.unicode": {"null": []}} \ No newline at end of file diff --git a/test/data/username1.info b/test/data/username1.info index dd4ada8..8b138f5 100644 --- a/test/data/username1.info +++ b/test/data/username1.info @@ -1 +1 @@ -{"options.username": {"doc": "Username description", "name": "username", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file +{"options.username": {"doc": "Username description", "name": "username", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file diff --git a/test/data/username1.json b/test/data/username1.json index 2b23515..f692674 100644 --- a/test/data/username1.json +++ b/test/data/username1.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.username": {"name": "options.username", "type": "string", "title": "Username description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.username": {"name": "options.username", "type": "username", "title": "Username description"}}, "type": "object", "title": "Common configuration"}}, "model": [], "form": [{"key": "options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/username1.owner b/test/data/username1.owner index 654e2aa..083fec4 100644 --- a/test/data/username1.owner +++ b/test/data/username1.owner @@ -1 +1 @@ -{"options.username": "default"} \ No newline at end of file +{"options.username": {"null": "default"}} \ No newline at end of file diff --git a/test/data/username1.prop b/test/data/username1.prop index 0f1a375..c1f51ad 100644 --- a/test/data/username1.prop +++ b/test/data/username1.prop @@ -1 +1 @@ -{"options.username": []} \ No newline at end of file +{"options.username": {"null": []}} \ No newline at end of file diff --git a/test/data/username1.prop2 b/test/data/username1.prop2 index 0f1a375..c1f51ad 100644 --- a/test/data/username1.prop2 +++ b/test/data/username1.prop2 @@ -1 +1 @@ -{"options.username": []} \ No newline at end of file +{"options.username": {"null": []}} \ No newline at end of file diff --git a/test/data/username1_frozen.info b/test/data/username1_frozen.info index 850616e..6297b96 100644 --- a/test/data/username1_frozen.info +++ b/test/data/username1_frozen.info @@ -1 +1 @@ -{"options.username": {"doc": "Username description frozen", "name": "username", "isoptiondescription": false, "ismasterslaves": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file +{"options.username": {"doc": "Username description frozen", "name": "username", "isoptiondescription": false, "isleader": false, "isfollower": false, "issymlinkoption": false, "ismulti": false, "type": "username"}} \ No newline at end of file diff --git a/test/data/username1_frozen.json b/test/data/username1_frozen.json index d6c0d91..eac984e 100644 --- a/test/data/username1_frozen.json +++ b/test/data/username1_frozen.json @@ -1 +1 @@ -{"schema": {"options": {"name": "options", "properties": {"options.username": {"name": "options.username", "type": "string", "title": "Username description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.username", "readOnly": true}], "form": [{"key": "options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$", "type": "input"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file +{"schema": {"options": {"name": "options", "properties": {"options.username": {"name": "options.username", "type": "username", "title": "Username description frozen"}}, "type": "object", "title": "Common configuration"}}, "model": [{"key": "options.username", "readOnly": true}], "form": [{"key": "options.username", "pattern": "^[a-z_][a-z0-9_-]{0,30}[$a-z0-9_-]{0,1}$"}, {"title": "Configurer", "type": "submit"}]} \ No newline at end of file diff --git a/test/data/username1_frozen.owner b/test/data/username1_frozen.owner index 654e2aa..083fec4 100644 --- a/test/data/username1_frozen.owner +++ b/test/data/username1_frozen.owner @@ -1 +1 @@ -{"options.username": "default"} \ No newline at end of file +{"options.username": {"null": "default"}} \ No newline at end of file diff --git a/test/data/username1_frozen.prop b/test/data/username1_frozen.prop index c5cfac9..f69dbbd 100644 --- a/test/data/username1_frozen.prop +++ b/test/data/username1_frozen.prop @@ -1 +1 @@ -{"options.username": ["frozen"]} \ No newline at end of file +{"options.username": {"null": ["frozen"]}} \ No newline at end of file diff --git a/test/data/username1_frozen.prop2 b/test/data/username1_frozen.prop2 index 0f1a375..c1f51ad 100644 --- a/test/data/username1_frozen.prop2 +++ b/test/data/username1_frozen.prop2 @@ -1 +1 @@ -{"options.username": []} \ No newline at end of file +{"options.username": {"null": []}} \ No newline at end of file diff --git a/test/test_json.py b/test/test_json.py index d511d36..cd0308c 100644 --- a/test/test_json.py +++ b/test/test_json.py @@ -6,6 +6,7 @@ from os.path import dirname, abspath, join, normpath, splitext # from tiramisu.error import ValueWarning from tiramisu_json_api import Config +from tiramisu_json_api.error import PropertiesOptionError # warnings.simplefilter("always", ValueWarning) @@ -20,6 +21,15 @@ def list_data(ext='.json'): yield join(datadir, filename) +def error_to_str(dico): + for key, value in dico.items(): + if isinstance(value, list): + for idx, val in enumerate(value): + if (isinstance(val, str) and val.startswith('cannot access to')) or isinstance(val, PropertiesOptionError): + dico[key][idx] = "PropertiesOptionError" + return dico + + def test_dict(): debug = False # debug = True @@ -32,68 +42,135 @@ def test_dict(): config = Config(json) with open(filename[:-4] + 'dict', 'r') as fh: dico = loads(fh.read()) + if debug: from pprint import pprint pprint(dico) print('-----') pprint(config.value.dict()) - assert dico == config.value.dict() + assert error_to_str(dico) == error_to_str(config.value.dict()) def test_get(): + debug = False + # debug = True for filename in list_data(): + if debug: + print(filename) if 'master' in filename: continue with open(filename, 'r') as fh: json = loads(fh.read()) config = Config(json) with open(filename[:-4] + 'dict', 'r') as fh: - dico = loads(fh.read()) + dico = error_to_str(loads(fh.read())) for key, value in dico.items(): - assert value == config.option(key).value.get() + if config.option(key).option.isleader(): + leader_len = len(value) + if config.option(key).option.isfollower(): + values = [] + for index in range(leader_len): + val = config.option(key, index).value.get() + if isinstance(val, PropertiesOptionError): + val = "PropertiesOptionError" + values.append(val) + assert value == values + else: + assert value == config.option(key).value.get() def test_owner(): + debug = False + # debug = True for filename in list_data(): - if 'master' in filename: - continue + if debug: + print(filename) with open(filename, 'r') as fh: json = loads(fh.read()) config = Config(json) with open(filename[:-4] + 'owner', 'r') as fh: dico = loads(fh.read()) for key, value in dico.items(): - assert value == config.option(key).owner.get() + if debug: + print('key', key) + if config.option(key).option.isleader(): + leader_len = len(config.option(key).value.get()) + if config.option(key).option.isfollower(): + values = {} + for index in range(leader_len): + try: + values[str(index)] = config.option(key, index).owner.get() + except PropertiesOptionError: + pass + assert value == values + else: + assert value == {'null': config.option(key).owner.get()} def test_prop(): + debug = False + # debug = True for filename in list_data(): - if 'master' in filename: - continue + if debug: + print(filename) with open(filename, 'r') as fh: json = loads(fh.read()) config = Config(json) with open(filename[:-4] + 'prop', 'r') as fh: dico = loads(fh.read()) for key, value in dico.items(): - props = set(config.option(key).property.get()) - if 'clearable' in props: - props.remove('clearable') - assert set(value) == props, 'error in {}'.format(filename) + if debug: + print('key', key) + for key_, val in value.items(): + value[key_] = set(val) + if config.option(key).option.isleader(): + leader_len = len(config.option(key).value.get()) + if config.option(key).option.isfollower(): + props = {} + for index in range(leader_len): + try: + props[str(index)] = set(config.option(key, index).property.get()) + except PropertiesOptionError: + pass + if 'clearable' in props[str(index)]: + props[str(index)].remove('clearable') + else: + props = {'null': set(config.option(key).property.get())} + if 'clearable' in props['null']: + props['null'].remove('clearable') + assert value == props def test_prop2(): + debug = False + # debug = True for filename in list_data(): - if 'master' in filename: - continue with open(filename, 'r') as fh: json = loads(fh.read()) config = Config(json) with open(filename[:-4] + 'prop2', 'r') as fh: dico = loads(fh.read()) for key, value in dico.items(): - props = set(config.option(key).property.get(True)) - assert set(value) == props, 'error in {}'.format(filename) + if debug: + print('key', key) + for key_, val in value.items(): + value[key_] = set(val) + if config.option(key).option.isleader(): + leader_len = len(config.option(key).value.get()) + if config.option(key).option.isfollower(): + props = {} + for index in range(leader_len): + try: + props[str(index)] = set(config.option(key, index).property.get(True)) + except PropertiesOptionError: + pass + if 'clearable' in props[str(index)]: + props[str(index)].remove('clearable') + else: + props = {'null': set(config.option(key).property.get(True))} + if 'clearable' in props['null']: + props['null'].remove('clearable') + assert value == props def test_info(): @@ -107,8 +184,6 @@ def test_info(): dico = loads(fh.read()) for key, values in dico.items(): for info, value in values.items(): - if info == 'type' and value in ['filename', 'ip', 'email', 'username']: - continue assert getattr(config.option(key).option, info)() == value, 'error for {} in {}'.format(info, filename) diff --git a/tiramisu_json_api/api.py b/tiramisu_json_api/api.py index 36ca75c..4046665 100644 --- a/tiramisu_json_api/api.py +++ b/tiramisu_json_api/api.py @@ -65,9 +65,21 @@ class TiramisuOptionOption: def isoptiondescription(self): return self.schema['type'] in ['object', 'array'] - def ismasterslaves(self): + def isleadership(self): return self.schema['type'] == 'array' + def isleader(self): + if '.' in self._path: + parent_schema = self.config.get_schema(self._path.rsplit('.', 1)[0]) + leader = next(iter(parent_schema['properties'].keys())) + if parent_schema['type'] == 'array' and \ + leader == self._path: + return True + return False + + def isfollower(self): + return self.config.isfollower(self._path) + def issymlinkoption(self) -> bool: return self.schema['type'] == 'symlink' @@ -75,27 +87,15 @@ class TiramisuOptionOption: return self.schema.get('isMulti', False) def type(self) -> str: - if self.ismasterslaves(): - return 'masterslaves' + if self.isleadership(): + return 'leadership' if self.isoptiondescription(): return 'optiondescription' - types = {'number': 'int', - 'choice': 'choice', - 'boolean': 'bool', - 'password': 'password', - 'date': 'date', - 'domain': 'domainname', - 'url': 'url', - 'username': 'username', - 'string': 'str', - 'symlink': 'symlink'} - if self.schema['type'] in types: - return types[self.schema['type']] - raise Exception('unsupported type {}'.format(self.schema['type'])) + return self.schema['type'] def properties(self) -> List[str]: model = self.model.get(self._path, {}) - return self.config.get_properties(self.model, self._path) + return self.config.get_properties(self.model, self._path, None) def requires(self) -> None: # FIXME @@ -106,17 +106,20 @@ class TiramisuOptionProperty: def __init__(self, config: 'Config', path: str, + index: Optional[int], model: Dict) -> None: self.config = config self.path = path + self.index = index self.model = model def get(self, only_raises=False): if not only_raises: - props = self.config.get_properties(self.model, self.path, only_raises) + props = self.config.get_properties(self.model, self.path, self.index, only_raises) else: props = [] - if self.config.get_hidden(self.path): + if self.config.get_hidden(self.path, + self.index): props.append('hidden') return props @@ -127,9 +130,8 @@ class _Value: schema: Dict, root: str, fullpath: bool, - withwarning: bool, - parent_key: str=None) -> None: - len_master = None + withwarning: bool) -> None: + leadership_len = None for key, option in schema['properties'].items(): hidden = self.temp.get(key, {}).get('hidden', None) model_display = not self.model.get(key, {}).get('hidden', False) and \ @@ -137,19 +139,29 @@ class _Value: if hidden is False or (hidden is None and model_display is True): if option['type'] in ['object', 'array']: + # optiondescription or leadership self._dict_walk(ret, option, root, fullpath, - withwarning, - key) + withwarning) + elif schema.get('type') == 'array' and leadership_len is not None: + # followers + values = [] + for index in range(leadership_len): + value = self.config.get_value(key, + index) + self._display_warnings(key, value, option['type'], option['name'], withwarning) + values.append(value) + ret[key] = values else: - value = self.config.get_value(key, len_master) - if parent_key is not None and schema.get('type') == 'array' and len_master is None: - len_master = len(value) + value = self.config.get_value(key) self._display_warnings(key, value, option['type'], option['name'], withwarning) ret[key] = value - elif parent_key is not None and schema.get('type') == 'array' and len_master is None: + if schema.get('type') == 'array': + leadership_len = len(value) + elif schema.get('type') == 'array' and leadership_len is None: + # if leader is hidden, followers are hidden too break def dict(self, @@ -201,10 +213,10 @@ class TiramisuOptionOwner: self.index = index def isdefault(self) -> Any: - return self.config.get_owner(self.path) == 'default' + return self.config.get_owner(self.path, self.index) == 'default' def get(self) -> str: - return self.config.get_owner(self.path) + return self.config.get_owner(self.path, self.index) class TiramisuOptionValue(_Value): @@ -226,6 +238,14 @@ class TiramisuOptionValue(_Value): self.index = index def get(self) -> Any: + if self.config.isfollower(self.path): + if self.index is None: + raise APIError(_('index must be set with the follower option "{}"').format(self.path)) + value = self.config.get_value(self.path, self.index) + self._display_warnings(self.path, value, self.schema['type'], self.schema['name']) + return value + if self.index is not None: + raise APIError(_('index must be only with a follower option, not for "{}"').format(self.path)) value = self.config.get_value(self.path) self._display_warnings(self.path, value, self.schema['type'], self.schema['name']) return value @@ -387,10 +407,9 @@ class TiramisuOption: self.path, self.index) if subfunc == 'property': - if self.index != None: - raise NotImplementedError() return TiramisuOptionProperty(self.config, self.path, + self.index, self.model.get(self.path, {})) raise APIError(_('please specify a valid sub function ({})').format(subfunc)) @@ -503,10 +522,14 @@ class Config: if 'index' in option: if key not in ret: ret[key] = copy(option) - ret[key]['value'] = {ret[key]['index']: (ret[key]['value'], ret[key]['owner'])} + ret[key]['value'] = {} del ret[key]['index'] del ret[key]['owner'] - elif option.get('hidden') is not True: + if 'hidden' in ret[key]: + del ret[key]['hidden'] + if option.get('hidden') is True: + ret[key]['value'][option['index']] = () + else: ret[key]['value'][option['index']] = (option['value'], option['owner']) else: ret[key] = option @@ -582,6 +605,7 @@ class Config: def get_properties(self, model, path, + index, only_raises=True): props = model.get('properties', [])[:] if model.get('required'): @@ -593,7 +617,8 @@ class Config: props.append('mandatory') if model.get('readOnly'): props.append('frozen') - if only_raises and self.get_hidden(path): + if only_raises and self.get_hidden(path, + index): props.append('hidden') if self.form.get(path, {}).get('clearable'): props.append('clearable') @@ -619,19 +644,34 @@ class Config: schema = schema['properties'][root_path] return schema - def get_hidden(self, + def isfollower(self, path: str) -> bool: + if '.' in path: + parent_schema = self.get_schema(path.rsplit('.', 1)[0]) + leader = next(iter(parent_schema['properties'].keys())) + if parent_schema['type'] == 'array' and \ + leader != path: + return True + return False + + def get_hidden(self, + path: str, + index: Optional[int]) -> bool: property_ = 'hidden' if property_ in self.temp.get(path, {}): value = self.temp[path][property_] else: - value = self.model.get(path, {}).get(property_) + if index is None: + value = self.model.get(path, {}).get(property_, False) + else: + value = self.model.get(path, {}).get(property_, False) or \ + self.model.get(path, {}).get('value', {}).get(index) == () return value def get_value(self, path: str, - len_master: int=None) -> Any: - if len_master is None: + index: int=None) -> Any: + if index is None: if 'value' in self.temp.get(path, {}): value = self.temp[path]['value'] else: @@ -639,27 +679,39 @@ class Config: if value is None and self.get_schema(path).get('isMulti', False): value = [] else: - value = self.temp.get(path) - if value is None: - value = self.model.get(path) - if value is None: - value = [None] * len_master - else: - val = [] - for index in range(len_master): - if index in value['value']: - val.append(value['value'][index][0]) + model = self.model.get(path, {}) + value = model.get('value') + if value is not None: + if index in value: + if len(value[index]): + value = value[index][0] else: - val.append(None) - value = val + value = PropertiesOptionError(None, None, None, opt_type='option') + else: + value = None + else: + value = None return value def get_owner(self, - path: str) -> str: - if 'owner' in self.temp.get(path, {}): - owner = self.temp[path]['owner'] + path: str, + index: int) -> str: + if not self.isfollower(path): + if 'owner' in self.temp.get(path, {}): + owner = self.temp[path]['owner'] + else: + owner = self.model.get(path, {}).get('owner', 'default') else: - owner = self.model.get(path, {}).get('owner', 'default') + if 'value' in self.temp.get(path, {}): + value = self.temp[path]['value'] + else: + value = self.model.get(path, {}).get('value', {}) + if index in value: + if not value[index]: + raise PropertiesOptionError(None, None, None, opt_type='option') + owner = value[index][1] + else: + owner = 'default' return owner def updates_value(self, @@ -668,7 +720,7 @@ class Config: index: Optional[int], value: Optional[Any], remote: bool, - masterslaves: Optional[str]) -> None: + leadership: Optional[str]) -> None: update_last_action = False if self.updates: last_body = self.updates[-1] @@ -680,8 +732,8 @@ class Config: update_last_action = True elif index == None and action == 'delete': for update in reversed(self.updates): - if masterslaves is None and update['name'] == path or \ - masterslaves and path.startswith(masterslaves + '.'): + if leadership is None and update['name'] == path or \ + leadership and path.startswith(leadership + '.'): del self.updates[-1] else: break @@ -852,7 +904,8 @@ class Config: copy = self.form.get(path, {}).get('copy') if copy: for opt in copy: - owner = self.get_owner(opt) + # FIXME follower! + owner = self.get_owner(opt, None) if owner == 'default': # do not change in this.temp, it's default value self.model[opt]['value'] = value