[Erp5-report] r35923 jerome - in /erp5/trunk/bt5/erp5_ui_test_core: SkinTemplateItem/portal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 3 09:55:23 CEST 2010
Author: jerome
Date: Thu Jun 3 09:55:20 2010
New Revision: 35923
URL: http://svn.erp5.org?rev=35923&view=rev
Log:
rename BTZuite_setPreference to Zuite_setPreference, and make it accept configurable parameters for oood
Added:
erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_setPreference.xml
Modified:
erp5/trunk/bt5/erp5_ui_test_core/bt/revision
Added: erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_setPreference.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_setPreference.xml?rev=35923&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_setPreference.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test_core/SkinTemplateItem/portal_skins/erp5_ui_test_core/Zuite_setPreference.xml [utf8] Thu Jun 3 09:55:20 2010
@@ -1,0 +1,155 @@
+<?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>"""Set subversion working copy list and enable preference.\n
+\n
+This script is called by Products.ERP5Type.tests.runFunctionalTest to set\n
+subversion working copy paths and conversion server address.\n
+It\'s not meant to be called by zelenium tests directly.\n
+"""\n
+\n
+pref = getattr(context.portal_preferences, "erp5_ui_test_preference", None)\n
+if pref is None:\n
+ pref = context.portal_preferences.newContent(id="erp5_ui_test_preference",\n
+ portal_type="Preference",\n
+ priority=1)\n
+\n
+pref.setPreferredSubversionWorkingCopyList(tuple(working_copy_list.split(\',\')))\n
+pref.setPreferredHtmlStyleUnsavedFormWarning(False)\n
+pref.setPreferredOoodocServerAddress(conversion_server_hostname)\n
+pref.setPreferredOoodocServerPortNumber(conversion_server_port)\n
+\n
+if pref.getPreferenceState() == \'disabled\':\n
+ pref.enable()\n
+\n
+return \'Set Preference Successfully.\'\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>working_copy_list, conversion_server_hostname, conversion_server_port</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>3</int> </value>
+ </item>
+ <item>
+ <key> <string>co_varnames</string> </key>
+ <value>
+ <tuple>
+ <string>working_copy_list</string>
+ <string>conversion_server_hostname</string>
+ <string>conversion_server_port</string>
+ <string>getattr</string>
+ <string>_getattr_</string>
+ <string>context</string>
+ <string>None</string>
+ <string>pref</string>
+ <string>tuple</string>
+ <string>False</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_setPreference</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Set Test Runner Preferences</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_ui_test_core/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test_core/bt/revision?rev=35923&r1=35922&r2=35923&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test_core/bt/revision [utf8] Thu Jun 3 09:55:20 2010
@@ -1,1 +1,1 @@
-22
+24
More information about the Erp5-report
mailing list