From e65ae036bec070ceac39b275770899a763a1e379 Mon Sep 17 00:00:00 2001 From: Petr Kalis Date: Wed, 16 Sep 2020 17:37:06 +0200 Subject: [PATCH] #241 - Implemented pype-config/presets/plugins/test/* --- .../projects_schema/1_plugins_gui_schema.json | 101 ++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/pype/tools/settings/settings/gui_schemas/projects_schema/1_plugins_gui_schema.json b/pype/tools/settings/settings/gui_schemas/projects_schema/1_plugins_gui_schema.json index 96aad3e5a9e..afdc9738d7a 100644 --- a/pype/tools/settings/settings/gui_schemas/projects_schema/1_plugins_gui_schema.json +++ b/pype/tools/settings/settings/gui_schemas/projects_schema/1_plugins_gui_schema.json @@ -665,6 +665,107 @@ ] } ] + }, + { + "type": "dict", + "collapsable": true, + "key": "test", + "label": "Settings for automatic test", + "children": [ + { + "type": "dict", + "collapsable": true, + "key": "create", + "label": "Test create plugins", + "is_file": true, + "children": [ + { + "type": "dict", + "collapsable": false, + "key": "MyTestCreator", + "label": "MyTestCreator", + "children": [ + { + "type": "dict-form", + "children": [ + { + "type": "text", + "key": "my_test_property", + "label": "my_test_property" + }, + { + "type": "boolean", + "key": "active", + "label": "active" + }, + { + "type": "text", + "key": "new_property", + "label": "new_property" + }, + { + "type": "text", + "key": "family", + "label": "family" + } + ] + } + ] + } + ] + }, + { + "type": "dict", + "collapsable": true, + "key": "publish", + "label": "Test publish plugins", + "is_file": true, + "children": [ + { + "type": "dict", + "collapsable": false, + "key": "MyTestPlugin", + "label": "MyTestPlugin", + "children": [ + { + "type": "dict-form", + "children": [ + { + "type": "text", + "key": "label", + "label": "label" + }, + { + "type": "boolean", + "key": "optional", + "label": "optional" + }, + { + "type": "list", + "object_type": "text", + "key": "families", + "label": "families" + } + ] + } + ] + }, + { + "type": "dict", + "collapsable": false, + "key": "MyTestRemovedPlugin", + "label": "MyTestRemovedPlugin", + "children": [ + { + "type": "boolean", + "key": "enabled", + "label": "enabled" + } + ] + } + ] + } + ] } ] }