[Erp5-report] r34752 jerome - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_test...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 23 16:00:58 CEST 2010
Author: jerome
Date: Fri Apr 23 16:00:56 2010
New Revision: 34752
URL: http://svn.erp5.org?rev=34752&view=rev
Log:
It's not good to test that exactly "1000000000000.000000" is displayed by a float field when no precision is defined on the field. What we can test is to test that if precision is set to 1, we have "1000000000000.0"
Modified:
erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/float_field_zuite/testFloatField.xml
erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_quantity.xml
erp5/trunk/bt5/erp5_ui_test/bt/revision
Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/float_field_zuite/testFloatField.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/float_field_zuite/testFloatField.xml?rev=34752&r1=34751&r2=34752&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/float_field_zuite/testFloatField.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/float_field_zuite/testFloatField.xml [utf8] Fri Apr 23 16:00:56 2010
@@ -43,12 +43,12 @@
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
-<title>Test Float Value with Integer Fields</title>\n
+<title>Test Float Value with Float Fields</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
-<tr><td rowspan="1" colspan="3">Test Float Value with Integer Fields</td></tr>\n
+<tr><td rowspan="1" colspan="3">Test Float Value with Float Fields</td></tr>\n
</thead><tbody>\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n
@@ -114,7 +114,7 @@
<tr>\n
<td>verifyValue</td>\n
<td>field_my_quantity</td>\n
- <td>1000000000000.000000</td>\n
+ <td>1000000000000.0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
Modified: erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_quantity.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_quantity.xml?rev=34752&r1=34751&r2=34752&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_quantity.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/SkinTemplateItem/portal_skins/erp5_ui_test/Foo_view/my_quantity.xml [utf8] Fri Apr 23 16:00:56 2010
@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>precision</string> </key>
- <value> <string></string> </value>
+ <value> <int>1</int> </value>
</item>
<item>
<key> <string>required</string> </key>
Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=34752&r1=34751&r2=34752&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] Fri Apr 23 16:00:56 2010
@@ -1,1 +1,1 @@
-558
+561
More information about the Erp5-report
mailing list