diff --git a/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite.xml b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite.xml new file mode 100644 index 0000000000000000000000000000000000000000..36f2cdb39a187fd4fd758801616293dfec6b1436 --- /dev/null +++ b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Zuite" module="Products.Zelenium.zuite"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>project_zuite</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Project Zuite</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSearchByStartDate.xml b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSearchByStartDate.xml new file mode 100644 index 0000000000000000000000000000000000000000..e4478ba0430f35d534988a6bf23c0c2f70e0edb4 --- /dev/null +++ b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSearchByStartDate.xml @@ -0,0 +1,129 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<html>\n +<head><title>Test quick search on the project module.</title></head>\n +<body>\n +<table cellpadding="1" cellspacing="1" border="1">\n +<thead>\n +<tr><td rowspan="1" colspan="4">\n +Test quick search on the project module.\n +</td></tr>\n +</thead>\n +<tbody tal:define="init_method string:Zuite_createDataForProjectZuite;">\n +\n +<!-- Setup {{{ -->\n +<tal:block metal:use-macro="here/Zuite_CommonTemplateForProjectZuite/macros/init" />\n +<!-- }}} -->\n +\n +<tr>\n + <td>verifyEditable</td>\n + <td>//tr[@id="listbox_search_line"]/td[6]//input</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyValue</td>\n + <td>//tr[@id="listbox_search_line"]/td[6]//input</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>type</td>\n + <td>//tr[@id="listbox_search_line"]/td[6]//input</td>\n + <td>>==2010/02/01</td>\n +</tr>\n +<tr>\n + <td>clickAndWait</td>\n + <td>Base_doSelect:method</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyEditable</td>\n + <td>//tr[@id="listbox_search_line"]/td[6]//input</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyValue</td>\n + <td>//tr[@id="listbox_search_line"]/td[6]//input</td>\n + <td>>=2010/02/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_0"]/td[6]</td>\n + <td>2010/02/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_1"]/td[6]</td>\n + <td>2010/03/01</td>\n +</tr>\n +<tr>\n + <td>verifyElementNotPresent</td>\n + <td>id=listbox_data_line_2</td>\n + <td></td>\n +</tr>\n +\n +</tbody></table>\n +</body>\n +</html> \n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>testSearchByStartDate</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSortByStartDate.xml b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSortByStartDate.xml new file mode 100644 index 0000000000000000000000000000000000000000..b84a903eb797ec07199c38955701a20b2ec1a501 --- /dev/null +++ b/bt5/erp5_project_ui_test/PathTemplateItem/portal_tests/project_zuite/testSortByStartDate.xml @@ -0,0 +1,164 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<html>\n +<head><title>Test quick sort on the project module.</title></head>\n +<body>\n +<table cellpadding="1" cellspacing="1" border="1">\n +<thead>\n +<tr><td rowspan="1" colspan="4">\n +Test quick sort on the project module.\n +</td></tr>\n +</thead>\n +<tbody tal:define="init_method string:Zuite_createDataForProjectZuite;">\n +\n +<!-- Setup {{{ -->\n +<tal:block metal:use-macro="here/Zuite_CommonTemplateForProjectZuite/macros/init" />\n +<!-- }}} -->\n +\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'Begin Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'End Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>clickAndWait</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'Begin Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'Begin Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//tr[@id="listbox_label_line"]/td[6]/img[@alt="Ascending Display"]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementNotPresent</td>\n + <td>//tr[@id="listbox_label_line"]/td[6]/img[@alt="Descending Display"]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_0"]/td[6]</td>\n + <td>2010/01/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_1"]/td[6]</td>\n + <td>2010/02/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_2"]/td[6]</td>\n + <td>2010/03/01</td>\n +</tr>\n +<tr>\n + <td>clickAndWait</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'Begin Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//button[@name=\'setSelectionQuickSortOrder:method\' and @title=\'Begin Date\']</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementNotPresent</td>\n + <td>//tr[@id="listbox_label_line"]/td[6]/img[@alt="Ascending Display"]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>assertElementPresent</td>\n + <td>//tr[@id="listbox_label_line"]/td[6]/img[@alt="Descending Display"]</td>\n + <td></td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_0"]/td[6]</td>\n + <td>2010/03/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_1"]/td[6]</td>\n + <td>2010/02/01</td>\n +</tr>\n +<tr>\n + <td>verifyText</td>\n + <td>//tr[@id="listbox_data_line_2"]/td[6]</td>\n + <td>2010/01/01</td>\n +</tr>\n +\n +</tbody></table>\n +</body>\n +</html> \n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>testSortByStartDate</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test.xml b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test.xml new file mode 100644 index 0000000000000000000000000000000000000000..4d9f371471aa6467170a02ebd0307b714be770f9 --- /dev/null +++ b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test.xml @@ -0,0 +1,29 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="Folder" module="OFS.Folder"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_objects</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>erp5_project_ui_test</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_CommonTemplateForProjectZuite.xml b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_CommonTemplateForProjectZuite.xml new file mode 100644 index 0000000000000000000000000000000000000000..a9c5c1f4781cf9281b9ea2592ec4110ca4cc20e9 --- /dev/null +++ b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_CommonTemplateForProjectZuite.xml @@ -0,0 +1,134 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_text</string> </key> + <value> <string encoding="cdata"><![CDATA[ + +<tal:block xmlns:tal="http://xml.zope.org/namespaces/tal"\n + xmlns:metal="http://xml.zope.org/namespaces/metal">\n + <tal:block metal:define-macro="init"\n + tal:define="global is_selenium_0_8 python: here.getPortalObject().portal_tests.getZeleniumVersion() > \'Zelenium-0.8\'">\n + <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n + <tr tal:condition="is_selenium_0_8">\n + <td>setTimeout</td>\n + <td>600000</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>open</td>\n + <td>${base_url}/Zuite_deleteDataForProjectZuite</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>assertTextPresent</td>\n + <td>Deleted Successfully.</td>\n + <td></td>\n + </tr>\n +\n + <tr>\n + <td>open</td>\n + <td>${base_url}/Zuite_waitForActivities</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>assertTextPresent</td>\n + <td>Done.</td>\n + <td></td>\n + </tr>\n +\n + <tr>\n + <td>open</td>\n + <td>${base_url}/Zuite_resetForProjectZuite</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>assertTextPresent</td>\n + <td>Reset Successfully.</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>open</td>\n + <td tal:content="string:$${base_url}/project_module/$init_method" />\n + <td></td>\n + </tr>\n + <tr>\n + <td>assertTextPresent</td>\n + <td>Projects Created.</td>\n + <td></td>\n + </tr>\n +\n + <tr>\n + <td>open</td>\n + <td>${base_url}/Zuite_waitForActivities</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>assertTextPresent</td>\n + <td>Done.</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>open</td>\n + <td>${base_url}/project_module/view</td>\n + <td></td>\n + </tr>\n + </tal:block>\n +</tal:block> + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Zuite_CommonTemplateForProjectZuite</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_createDataForProjectZuite.xml b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_createDataForProjectZuite.xml new file mode 100644 index 0000000000000000000000000000000000000000..808e9ba0fc90cfb369bcc88164e04485c7b806cd --- /dev/null +++ b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_createDataForProjectZuite.xml @@ -0,0 +1,132 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>project_module = context.getPortalObject().project_module\n +for month in (1, 2, 3):\n + project_module.newContent(portal_type=\'Project\',\n + id=\'test_project_%s\' % month,\n + title=\'test_project_%s\' % month,\n + start_date=DateTime(2010, month, 1))\n +return "Projects Created."\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>project_module</string> + <string>_getiter_</string> + <string>month</string> + <string>DateTime</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Zuite_createDataForProjectZuite</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_deleteDataForProjectZuite.xml b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_deleteDataForProjectZuite.xml new file mode 100644 index 0000000000000000000000000000000000000000..b04f04525bb25b1c1931f110037d71ecd1124ab9 --- /dev/null +++ b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_deleteDataForProjectZuite.xml @@ -0,0 +1,131 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string>project_module = context.getPortalObject().project_module\n +for month in (1, 2, 3):\n + try:\n + project_module.manage_delObjects(ids=[\'test_project_%s\' % month])\n + except:\n + pass\n +return "Deleted Successfully."\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>project_module</string> + <string>_getiter_</string> + <string>month</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Zuite_deleteDataForProjectZuite</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_resetForProjectZuite.xml b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_resetForProjectZuite.xml new file mode 100644 index 0000000000000000000000000000000000000000..919d5f0bc5eb9a046ea0cfacf63a460ea8660377 --- /dev/null +++ b/bt5/erp5_project_ui_test/SkinTemplateItem/portal_skins/erp5_project_ui_test/Zuite_resetForProjectZuite.xml @@ -0,0 +1,128 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="PythonScript" module="Products.PythonScripts.PythonScript"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>Script_magic</string> </key> + <value> <int>3</int> </value> + </item> + <item> + <key> <string>_bind_names</string> </key> + <value> + <object> + <klass> + <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>_asgns</string> </key> + <value> + <dictionary> + <item> + <key> <string>name_container</string> </key> + <value> <string>container</string> </value> + </item> + <item> + <key> <string>name_context</string> </key> + <value> <string>context</string> </value> + </item> + <item> + <key> <string>name_m_self</string> </key> + <value> <string>script</string> </value> + </item> + <item> + <key> <string>name_subpath</string> </key> + <value> <string>traverse_subpath</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>_body</string> </key> + <value> <string># Reset selections\n +selection_tool = context.getPortalObject().portal_selections\n +selection_tool.setSelectionFor(\'project_module_selection\', None)\n +\n +return "Reset Successfully."\n +</string> </value> + </item> + <item> + <key> <string>_code</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>_params</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>errors</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>func_code</string> </key> + <value> + <object> + <klass> + <global name="FuncCode" module="Shared.DC.Scripts.Signature"/> + </klass> + <tuple/> + <state> + <dictionary> + <item> + <key> <string>co_argcount</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>co_varnames</string> </key> + <value> + <tuple> + <string>_getattr_</string> + <string>context</string> + <string>selection_tool</string> + <string>None</string> + </tuple> + </value> + </item> + </dictionary> + </state> + </object> + </value> + </item> + <item> + <key> <string>func_defaults</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Zuite_resetForProjectZuite</string> </value> + </item> + <item> + <key> <string>warnings</string> </key> + <value> + <tuple/> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_project_ui_test/bt/categories_list b/bt5/erp5_project_ui_test/bt/categories_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/change_log b/bt5/erp5_project_ui_test/bt/change_log new file mode 100644 index 0000000000000000000000000000000000000000..775a4a272d3a91d7337623e1e15bf4f723de2058 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/change_log @@ -0,0 +1,3 @@ +2010-04-12 kazuhiko +* test if we can sort projects by start_date. +* test if we can search projects by start_date. \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/comment b/bt5/erp5_project_ui_test/bt/comment new file mode 100644 index 0000000000000000000000000000000000000000..afe8cb3167866aae7a98e4be9994d8e020cd8c5d --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/comment @@ -0,0 +1 @@ +Contains sample data as path items that may overwrite your existing data. Use at your own risks. \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/copyright_list b/bt5/erp5_project_ui_test/bt/copyright_list new file mode 100644 index 0000000000000000000000000000000000000000..fe948b9fb7c242ba7403410bb05d78ca4343c414 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/copyright_list @@ -0,0 +1 @@ +Copyright (c) 2010 Nexedi SA \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/dependency_list b/bt5/erp5_project_ui_test/bt/dependency_list new file mode 100644 index 0000000000000000000000000000000000000000..9966e578d0408e8188aa8d3597be85131a3336ba --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/dependency_list @@ -0,0 +1,2 @@ +erp5_project +erp5_ui_test \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/description b/bt5/erp5_project_ui_test/bt/description new file mode 100644 index 0000000000000000000000000000000000000000..b6bfd94d52e0784f7854572d1c1550f7e673a04a --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/description @@ -0,0 +1 @@ +Functional test suites for erp5_project. \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/license b/bt5/erp5_project_ui_test/bt/license new file mode 100644 index 0000000000000000000000000000000000000000..3a3e12bcad97e4b3bdd6a8bb499fd23a4bcb0819 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/license @@ -0,0 +1 @@ +GPL \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/maintainer_list b/bt5/erp5_project_ui_test/bt/maintainer_list new file mode 100644 index 0000000000000000000000000000000000000000..91fac13497f89ca1de121ab52e2be6d076c5c252 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/maintainer_list @@ -0,0 +1 @@ +kazuhiko \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/provision_list b/bt5/erp5_project_ui_test/bt/provision_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/revision b/bt5/erp5_project_ui_test/bt/revision new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/revision @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_action_path_list b/bt5/erp5_project_ui_test/bt/template_action_path_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_base_category_list b/bt5/erp5_project_ui_test/bt/template_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_datetime_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_datetime_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_full_text_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_full_text_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_keyword_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_keyword_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_local_role_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_local_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_method_id_list b/bt5/erp5_project_ui_test/bt/template_catalog_method_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_multivalue_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_multivalue_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_related_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_related_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_request_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_request_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_result_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_result_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_result_table_list b/bt5/erp5_project_ui_test/bt/template_catalog_result_table_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_role_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_role_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_scriptable_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_scriptable_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_catalog_topic_key_list b/bt5/erp5_project_ui_test/bt/template_catalog_topic_key_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_constraint_id_list b/bt5/erp5_project_ui_test/bt/template_constraint_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_document_id_list b/bt5/erp5_project_ui_test/bt/template_document_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_extension_id_list b/bt5/erp5_project_ui_test/bt/template_extension_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_format_version b/bt5/erp5_project_ui_test/bt/template_format_version new file mode 100644 index 0000000000000000000000000000000000000000..56a6051ca2b02b04ef92d5150c9ef600403cb1de --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/template_format_version @@ -0,0 +1 @@ +1 \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_local_role_list b/bt5/erp5_project_ui_test/bt/template_local_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_local_roles_list b/bt5/erp5_project_ui_test/bt/template_local_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_message_translation_list b/bt5/erp5_project_ui_test/bt/template_message_translation_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_module_id_list b/bt5/erp5_project_ui_test/bt/template_module_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_path_list b/bt5/erp5_project_ui_test/bt/template_path_list new file mode 100644 index 0000000000000000000000000000000000000000..560aea0e5e0261d448e4558eb62aa2f51f8f4b72 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/template_path_list @@ -0,0 +1,2 @@ +portal_tests/project_zuite +portal_tests/project_zuite/** \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_project_ui_test/bt/template_portal_type_allowed_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_base_category_list b/bt5/erp5_project_ui_test/bt/template_portal_type_base_category_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_hidden_content_type_list b/bt5/erp5_project_ui_test/bt/template_portal_type_hidden_content_type_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_id_list b/bt5/erp5_project_ui_test/bt/template_portal_type_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_property_sheet_list b/bt5/erp5_project_ui_test/bt/template_portal_type_property_sheet_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_role_list b/bt5/erp5_project_ui_test/bt/template_portal_type_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_roles_list b/bt5/erp5_project_ui_test/bt/template_portal_type_roles_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_portal_type_workflow_chain_list b/bt5/erp5_project_ui_test/bt/template_portal_type_workflow_chain_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_preference_list b/bt5/erp5_project_ui_test/bt/template_preference_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_product_id_list b/bt5/erp5_project_ui_test/bt/template_product_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_property_sheet_id_list b/bt5/erp5_project_ui_test/bt/template_property_sheet_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_registered_skin_selection_list b/bt5/erp5_project_ui_test/bt/template_registered_skin_selection_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_role_list b/bt5/erp5_project_ui_test/bt/template_role_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_site_property_id_list b/bt5/erp5_project_ui_test/bt/template_site_property_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_skin_id_list b/bt5/erp5_project_ui_test/bt/template_skin_id_list new file mode 100644 index 0000000000000000000000000000000000000000..ca9cde3dfaa0dbd2031cb668d9d0702336f90da5 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/template_skin_id_list @@ -0,0 +1 @@ +erp5_project_ui_test \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_test_id_list b/bt5/erp5_project_ui_test/bt/template_test_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_tool_id_list b/bt5/erp5_project_ui_test/bt/template_tool_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/template_update_business_template_workflow b/bt5/erp5_project_ui_test/bt/template_update_business_template_workflow new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/template_update_business_template_workflow @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_update_tool b/bt5/erp5_project_ui_test/bt/template_update_tool new file mode 100644 index 0000000000000000000000000000000000000000..c227083464fb9af8955c90d2924774ee50abb547 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/template_update_tool @@ -0,0 +1 @@ +0 \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/template_workflow_id_list b/bt5/erp5_project_ui_test/bt/template_workflow_id_list new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/bt5/erp5_project_ui_test/bt/title b/bt5/erp5_project_ui_test/bt/title new file mode 100644 index 0000000000000000000000000000000000000000..ca9cde3dfaa0dbd2031cb668d9d0702336f90da5 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/title @@ -0,0 +1 @@ +erp5_project_ui_test \ No newline at end of file diff --git a/bt5/erp5_project_ui_test/bt/version b/bt5/erp5_project_ui_test/bt/version new file mode 100644 index 0000000000000000000000000000000000000000..ceab6e11ece0bcec917c12e11d350946f085d549 --- /dev/null +++ b/bt5/erp5_project_ui_test/bt/version @@ -0,0 +1 @@ +0.1 \ No newline at end of file