[Erp5-report] r28621 - in /erp5/trunk/bt5/erp5_mobile_ui_test: SkinTemplateItem/portal_skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Aug 25 20:24:52 CEST 2009
Author: mohamadou
Date: Tue Aug 25 20:24:52 2009
New Revision: 28621
URL: http://svn.erp5.org?rev=28621&view=rev
Log:
2009-08-25 Mohamadou
* Refactor erp_ui_test to reduce "If mobile" statments.
Added:
erp5/trunk/bt5/erp5_mobile_ui_test/SkinTemplateItem/portal_skins/erp5_mobile_ui_test/ListBoxZuite_CommonTemplate.xml
Modified:
erp5/trunk/bt5/erp5_mobile_ui_test/bt/change_log
erp5/trunk/bt5/erp5_mobile_ui_test/bt/revision
Added: erp5/trunk/bt5/erp5_mobile_ui_test/SkinTemplateItem/portal_skins/erp5_mobile_ui_test/ListBoxZuite_CommonTemplate.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile_ui_test/SkinTemplateItem/portal_skins/erp5_mobile_ui_test/ListBoxZuite_CommonTemplate.xml?rev=28621&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mobile_ui_test/SkinTemplateItem/portal_skins/erp5_mobile_ui_test/ListBoxZuite_CommonTemplate.xml (added)
+++ erp5/trunk/bt5/erp5_mobile_ui_test/SkinTemplateItem/portal_skins/erp5_mobile_ui_test/ListBoxZuite_CommonTemplate.xml [utf8] Tue Aug 25 20:24:52 2009
@@ -1,0 +1,124 @@
+<?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
+ <tal:block metal:use-macro="here/Zuite_CommonTemplate/macros/init" />\n
+ <tr>\n
+ <td>open</td>\n
+ <td>${base_url}/foo_module/ListBoxZuite_reset</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>${base_url}/foo_module/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}/foo_module/view</td>\n
+ <td></td>\n
+ </tr>\n
+ </tal:block>\n
+ <tal:block metal:define-macro="checkCurrentPage">\n
+ <tr>\n
+ <td>assertValue</td>\n
+ <td tal:content="python: \'id=%s_page_selection\' % (prefix, )"></td>\n
+ <td tal:content="python: \'%d\' % (lines_per_pages*(set_page-1), )"></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 ListBoxZuite</string> </value>
+ </item>
+ <item>
+ <key> <string>expand</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>ListBoxZuite_CommonTemplate</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Common Template for ListBoxZuite</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_mobile_ui_test/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile_ui_test/bt/change_log?rev=28621&r1=28620&r2=28621&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile_ui_test/bt/change_log [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile_ui_test/bt/change_log [utf8] Tue Aug 25 20:24:52 2009
@@ -1,2 +1,5 @@
+2009-08-25 Mohamadou
+* Refactor erp_ui_test to reduce "If mobile" statments.
+
2009-04-20 Kazuhiko
* initial prototype.
Modified: erp5/trunk/bt5/erp5_mobile_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile_ui_test/bt/revision?rev=28621&r1=28620&r2=28621&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile_ui_test/bt/revision [utf8] Tue Aug 25 20:24:52 2009
@@ -1,1 +1,1 @@
-2
+5
More information about the Erp5-report
mailing list