Commit 17ed0898 authored by Xiaowu Zhang's avatar Xiaowu Zhang

Change Bar portal type instead of Foo portal type to validate GadgetField implementation

Since Foo portal type's change breaks some existing funcitonal tests in erp5_ui_test, so use Bar , which is less used in tests.
parent 62aa4dae
......@@ -56,7 +56,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <float>5.0</float> </value>
<value> <float>1.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -77,7 +77,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/Foo_viewGadgetField</string> </value>
<value> <string>string:${object_url}/Bar_viewGadgetField</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -51,7 +51,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
\n
......@@ -63,7 +63,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?num:int=1;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -73,7 +73,7 @@
</tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/Zuite_waitForActivities</td>\n
<td>${base_url}/bar_module/Zuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -84,7 +84,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField</td>\n
<td></td>\n
</tr>\n
\n
......@@ -118,7 +118,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField/getData</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField/getData</td>\n
<td></td>\n
</tr>\n
\n
......
......@@ -51,7 +51,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
\n
......@@ -63,7 +63,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?num:int=1;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -73,7 +73,7 @@
</tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/Zuite_waitForActivities</td>\n
<td>${base_url}/bar_module/Zuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -84,7 +84,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField</td>\n
<td></td>\n
</tr>\n
\n
......
......@@ -51,7 +51,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
\n
......@@ -63,7 +63,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?num:int=1;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -74,7 +74,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/Zuite_waitForActivities</td>\n
<td>${base_url}/bar_module/Zuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -85,7 +85,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField</td>\n
<td></td>\n
</tr>\n
\n
......
......@@ -51,7 +51,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
\n
......@@ -63,7 +63,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?num:int=1;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -74,7 +74,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/Zuite_waitForActivities</td>\n
<td>${base_url}/bar_module/Zuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -85,7 +85,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField</td>\n
<td></td>\n
</tr>\n
\n
......
......@@ -51,7 +51,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_reset</td>\n
<td>${base_url}/bar_module/ListBoxZuite_reset</td>\n
<td></td>\n
</tr>\n
\n
......@@ -63,7 +63,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=1</td>\n
<td>${base_url}/bar_module/FooModule_createObjects?num:int=1;portal_type=Bar</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -73,7 +73,7 @@
</tr>\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/Zuite_waitForActivities</td>\n
<td>${base_url}/bar_module/Zuite_waitForActivities</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -84,7 +84,7 @@
\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/0/Foo_viewGadgetField</td>\n
<td>${base_url}/bar_module/0/Bar_viewGadgetField</td>\n
<td></td>\n
</tr>\n
\n
......
......@@ -51,16 +51,36 @@
</item>
<item>
<key> <string>init_script</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>permission</string> </key>
<value> <string></string> </value>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>File</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>type_mixin</string> </key>
<value>
<tuple/>
</value>
</item>
</dictionary>
</pickle>
</record>
......
......@@ -67,7 +67,7 @@
</item>
<item>
<key> <string>type_class</string> </key>
<value> <string>File</string> </value>
<value> <string>Delivery</string> </value>
</item>
<item>
<key> <string>type_interface</string> </key>
......
......@@ -96,7 +96,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Foo_viewGadgetField</string> </value>
<value> <string>Bar_viewGadgetField</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -120,7 +120,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Foo_viewGadgetField</string> </value>
<value> <string>Bar_viewGadgetField</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
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