[Erp5-report] r12588 - /erp5/trunk/products/ERP5Type/tests/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Feb 9 06:28:37 CET 2007


Author: kazuhiko
Date: Fri Feb  9 06:28:25 2007
New Revision: 12588

URL: http://svn.erp5.org?rev=12588&view=rev
Log:
rename from testNamingConvention.py to namingConventionTest.py and add more templates to test.

Added:
    erp5/trunk/products/ERP5Type/tests/namingConventionTest.py
      - copied, changed from r12587, erp5/trunk/products/ERP5Type/tests/testNamingConvention.py
Removed:
    erp5/trunk/products/ERP5Type/tests/testNamingConvention.py

Copied: erp5/trunk/products/ERP5Type/tests/namingConventionTest.py (from r12587, erp5/trunk/products/ERP5Type/tests/testNamingConvention.py)
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/namingConventionTest.py?p2=erp5/trunk/products/ERP5Type/tests/namingConventionTest.py&p1=erp5/trunk/products/ERP5Type/tests/testNamingConvention.py&r1=12587&r2=12588&rev=12588&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testNamingConvention.py (original)
+++ erp5/trunk/products/ERP5Type/tests/namingConventionTest.py Fri Feb  9 06:28:25 2007
@@ -26,6 +26,12 @@
 #
 ##############################################################################
 
+#
+# ERP5 Naming Convention Test script.
+#
+# usage: python runUnitTest.py [OPTION]... namingConventionTest.py
+#
+
 import os
 import sys
 import re
@@ -43,10 +49,29 @@
         """
           Return the list of business templates.
         """
+        # include all standard Business Templates, i.e. erp5_*
         return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
                 'erp5_apparel', 'erp5_mrp', 'erp5_project', 'erp5_dms',
                 'erp5_web', 'erp5_csv_style', 'erp5_pdf_style', 'erp5_crm',
-                'erp5_budget', 'erp5_item',)
+                'erp5_budget', 'erp5_item', 'erp5_ui_test',
+                'erp5_accounting_l10n_fr', 'erp5_accounting_ui_test',
+                'erp5_banking_core', 'erp5_banking_cash', 'erp5_banking_check',
+                'erp5_banking_inventory', 'erp5_commerce', 'erp5_consulting',
+                'erp5_dummy_movement', 'erp5_forge', 'erp5_html_style',
+                'erp5_immobilisation', 'erp5_mobile', 'erp5_payroll',
+                'erp5_payroll_ui_test', 'erp5_pdf_editor', 'erp5_publication',
+                'erp5_sxc_style',
+                # skip l10n templates to save time.
+                # 'erp5_l10n_fr', 'erp5_l10n_ja',
+                # 'erp5_l10n_pl_PL', 'erp5_l10n_pt-BR',
+                # 'erp5_accounting_l10n_fr_m14', 'erp5_accounting_l10n_fr_m9',
+                # 'erp5_accounting_l10n_pl',
+                # 'erp5_accounting_l10n_sn',
+                # 'erp5_accounting_l10n_in',
+                )
+
+    def getTitle(self):
+        return "Naming Convention"
 
     def testNamingConvention(self):
         result = 'installed templates: %s\n' % repr(self.getBusinessTemplateList())




More information about the Erp5-report mailing list