From b90098b6d0f1448e6d7ea9afe75b5d9162930e2a Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 20 Apr 2009 08:56:39 +0000 Subject: [PATCH] 2009-04-20 Kazuhiko * add Zuite_CommonTemplate that should a common template for all functional tests. * add TestTool_getSkinName and TestTool_setSkinNameCookie so as to unify functional tests for normal skin and mobile skin. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26513 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../Zuite_CommonTemplate.xml | 96 +++++++++++++++++++ bt5/erp5_ui_test_core/bt/change_log | 1 + bt5/erp5_ui_test_core/bt/revision | 2 +- 3 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml diff --git a/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml b/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml new file mode 100644 index 0000000000..2b6f3ef4f2 --- /dev/null +++ b/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_CommonTemplate.xml @@ -0,0 +1,96 @@ +<?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>_local_properties</string> </key> + <value> + <tuple> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>description</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>text</string> </value> + </item> + </dictionary> + </tuple> + </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 + <tr>\n + <td>store</td>\n + <td tal:content="python:here.getPortalObject().absolute_url()">http://example.com/erp5</td>\n + <td>base_url</td>\n + </tr>\n + </tal:block>\n +</tal:block>\n + + +]]></string> </value> + </item> + <item> + <key> <string>content_type</string> </key> + <value> <string>text/html</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> <string>Common Template for PTZuite, it will reuse parts of the Listbox Zuite</string> </value> + </item> + <item> + <key> <string>expand</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>Zuite_CommonTemplate</string> </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>Common Template for All Zuite</string> </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_ui_test_core/bt/change_log b/bt5/erp5_ui_test_core/bt/change_log index 834cf33bf9..1a0ba9ee8e 100644 --- a/bt5/erp5_ui_test_core/bt/change_log +++ b/bt5/erp5_ui_test_core/bt/change_log @@ -1,4 +1,5 @@ 2009-04-20 Kazuhiko +* add Zuite_CommonTemplate that should a common template for all functional tests. * add TestTool_getSkinName and TestTool_setSkinNameCookie so as to unify functional tests for normal skin and mobile skin. 2009-02-03 Kazuhiko diff --git a/bt5/erp5_ui_test_core/bt/revision b/bt5/erp5_ui_test_core/bt/revision index c7930257df..301160a930 100644 --- a/bt5/erp5_ui_test_core/bt/revision +++ b/bt5/erp5_ui_test_core/bt/revision @@ -1 +1 @@ -7 \ No newline at end of file +8 \ No newline at end of file -- 2.30.9