[Erp5-report] r26541 - in /erp5/trunk/bt5/erp5_mobile_ui_test: TestTemplateItem/ bt/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 21 10:42:58 CEST 2009


Author: kazuhiko
Date: Tue Apr 21 10:42:57 2009
New Revision: 26541

URL: http://svn.erp5.org?rev=26541&view=rev
Log:
add prepareMobileFunctionalTest.py

Added:
    erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/
    erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/prepareMobileFunctionalTest.py
Modified:
    erp5/trunk/bt5/erp5_mobile_ui_test/bt/template_test_id_list

Added: erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/prepareMobileFunctionalTest.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/prepareMobileFunctionalTest.py?rev=26541&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/prepareMobileFunctionalTest.py (added)
+++ erp5/trunk/bt5/erp5_mobile_ui_test/TestTemplateItem/prepareMobileFunctionalTest.py [utf8] Tue Apr 21 10:42:57 2009
@@ -1,0 +1,48 @@
+##############################################################################
+#
+# Copyright (c) 2009 Nexedi SA and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# guarantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+#
+##############################################################################
+
+#
+# Prepare ERP5 Zelenium Test.
+#
+# usage: python runUnitTest.py --save [OPTION]... prepareMobileFunctionalTest.py
+#
+
+import unittest
+from Products.ERP5Type.tests.prepareFunctionalTest import TestZelenium
+
+class MobileTestZelenium(TestZelenium):
+    def getBusinessTemplateList(self):
+        """
+          Return the list of business templates.
+        """
+        return ('erp5_base', 'erp5_ui_test_core', 'erp5_ui_test',
+                'erp5_mobile', 'erp5_mobile_ui_test',)
+
+def test_suite():
+    suite = unittest.TestSuite()
+    suite.addTest(unittest.makeSuite(MobileTestZelenium))
+    return suite

Modified: erp5/trunk/bt5/erp5_mobile_ui_test/bt/template_test_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_mobile_ui_test/bt/template_test_id_list?rev=26541&r1=26540&r2=26541&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_mobile_ui_test/bt/template_test_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_mobile_ui_test/bt/template_test_id_list [utf8] Tue Apr 21 10:42:57 2009
@@ -1,0 +1,1 @@
+prepareMobileFunctionalTest




More information about the Erp5-report mailing list