Commit c4b8d65f authored by Yoshinori Okuji's avatar Yoshinori Okuji

2006-08-02 yo

* Check for an empty report tree.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9001 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b3f1b1a5
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.Document.BaseCategory</string>
<string>BaseCategory</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>acquisition_portal_type</string> </key>
<value> <string>python: []</string> </value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>foo_empty_category</string>
</tuple>
</value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string>This category is used for testing an empty base category. Do not add any sub-categories here.</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>foo_empty_category</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Base Category</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Foo Empty Category</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>BTrees.Length</string>
<string>Length</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<tuple>
<tuple>
<string>BTrees.OOBTree</string>
<string>OOBTree</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<none/>
</pickle>
</record>
</ZopeData>
......@@ -82,7 +82,7 @@
</tr>\n
<tr>\n
\t<td>open</td>\n
\t<td>/erp5/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_report_tree=checked;field_report_root_list=foo_category%7CFoo%20Category</td>\n
\t<td>/erp5/foo_module/FooModule_viewFooList/listbox/ListBox_setPropertyList?field_report_tree=checked;field_report_root_list=foo_category%7CFoo%20Category%0Afoo_empty_category%7CFoo%20Empty%20Category</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
......@@ -113,7 +113,7 @@
<tr>\n
\t<td>verifyText</td>\n
\t<td>//tr[@id="listbox_label_line"]/td[1]</td>\n
\t<td>Foo Category</td>\n
\t<td>Foo Category*</td>\n
</tr>\n
<tr>\n
\t<td>verifyText</td>\n
......@@ -435,6 +435,28 @@
\t<td>id=listbox_record_number</td>\n
\t<td>8 record(s)</td>\n
</tr>\n
<!-- Test an empty report tree -->\n
<tr>\n
<td>selectAndWait</td>\n
<td>report_root_url</td>\n
<td>Foo Empty Category</td>\n
</tr>\n
<tr>\n
<td>verifySelected</td>\n
<td>report_root_url</td>\n
<td>Foo Empty Category</td>\n
</tr>\n
<tr>\n
<td>verifyElementNotPresent</td>\n
<td>id=listbox_data_line_0</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>id=listbox_record_number</td>\n
<td>0 record(s)</td>\n
</tr>\n
\n
<!-- Still very far from complete. Show/Hide should be tested, closing a tree should be tested, sorting should be tested. -->\n
\n
</tbody></table>\n
......
2006-08-02 yo
* Check for an empty report tree.
2006-07-31 chris
* Added tests for dependency handling in usiness template install
......
35
\ No newline at end of file
37
\ No newline at end of file
foo_category
\ No newline at end of file
foo_category
foo_empty_category
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment