You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by do...@apache.org on 2005/02/01 22:08:54 UTC

svn commit: r149448 [1/4] - in incubator/beehive/trunk/netui/test/webapps/drt: coreWeb/richTree/ testRecorder/config/ testRecorder/tests/

Author: dolander
Date: Tue Feb  1 13:08:51 2005
New Revision: 149448

URL: http://svn.apache.org/viewcvs?view=rev&rev=149448
Log:
Add a few new tests of the ScriptContainer



Added:
    incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeExpandOnServer.xml
    incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeSC.xml
    incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeSC2.xml
Removed:
    incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/RichTreeScriptContainer.xml
Modified:
    incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/Controller.jpf
    incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/expandOnServer.jsp
    incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/index.jsp
    incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/Controller.jpf
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/Controller.jpf?view=diff&r1=149447&r2=149448
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/Controller.jpf (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/Controller.jpf Tue Feb  1 13:08:51 2005
@@ -796,6 +796,8 @@
 })
     protected Forward goExpandOnServer()        {
         Forward success = new Forward("success");
+        NameService ns = NameService.instance(getRequest().getSession());
+	ns.debugSetNameIntValue(364);
         clearExpand();                
         return success;
     }

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/expandOnServer.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/expandOnServer.jsp?view=diff&r1=149447&r2=149448
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/expandOnServer.jsp (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/expandOnServer.jsp Tue Feb  1 13:08:51 2005
@@ -31,7 +31,7 @@
 	Base test of the expandOnServer feature.
         <hr style="clear:left">
         <div class="content">
-        <netui:tree dataSource="pageFlow.tree25" selectionAction="postback"
+        <netui:tree dataSource="pageFlow.tree27" selectionAction="postback"
 		runAtClient="true" tagId="treeOne">
             <netui:treeItem expanded="true">
                 <netui:treeLabel>0</netui:treeLabel>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/index.jsp
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/index.jsp?view=diff&r1=149447&r2=149448
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/index.jsp (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/richTree/index.jsp Tue Feb  1 13:08:51 2005
@@ -72,16 +72,16 @@
     <tr><td><netui:anchor action="goClientContentForm">RichTreeClientContentForm</netui:anchor></td>
 	<td>Using an Form inside of the Content</td><td>goClientContentForm</td><td>clientContentForm.jsp</td>
 	<td>tree22</td></tr>
-    <tr><td><netui:anchor action="goTreeSC">*** RunAtClient ScriptContainer</netui:anchor></td>
+    <tr><td><netui:anchor action="goTreeSC">RichTreeSC</netui:anchor></td>
 	<td>Running a runAtClient tree in a script container</td><td>goTreeSC</td><td>treeSC.jsp</td>
 	<td>tree24</td></tr>
-    <tr><td><netui:anchor action="goTreeSC2">*** RunAtClient ScriptContainer</netui:anchor></td>
+    <tr><td><netui:anchor action="goTreeSC2">RichTreeSC2</netui:anchor></td>
 	<td>Running a runAtClient tree in a script container</td><td>goTreeSC2</td><td>treeSC2.jsp</td>
 	<td>tree28 tree29</td></tr>
     <tr><td><netui:anchor action="goRunAtClient2">RichTreeRunAtClient2</netui:anchor></td>
 	<td>Multiple tree controls doing runAtClient</td><td>goRunAtClient2</td><td>runAtClient2.jsp</td>
 	<td>tree25 tree26</td></tr>
-    <tr><td><netui:anchor action="goExpandOnServer">*** Expand On Server</netui:anchor></td>
+    <tr><td><netui:anchor action="goExpandOnServer">RichTreeExpandOnServer</netui:anchor></td>
 	<td> Base test of expand on server.</td><td>goExpandOnServer</td><td>expandOnServer.jsp</td>
 	<td>tree27</td></tr>
     </table>

Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml?view=diff&r1=149447&r2=149448
==============================================================================
--- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml (original)
+++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/config/testRecorder-tests.xml Tue Feb  1 13:08:51 2005
@@ -5428,6 +5428,26 @@
             <feature>escapeForHtml</feature>
          </features>
       </test>
+<!--
+@todo: this is removed because you the test recorder can't handle the
+response which includes a CDATA
+-->
+<!---
+      <test>
+         <name>RichTreeExpandOnServer</name>
+         <description>[*goExpandOnServer/expandOnServer.jsp] Verification of the expandOnServer feature</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>bvt.struts11</category>
+            <category>trees</category>
+         </categories>
+         <features>
+            <feature>Tree</feature>
+            <feature>expandOnServer</feature>
+         </features>
+      </test>
+-->
       <test>
          <name>RichTreeHref</name>
          <description>[goHref/href.jsp] Test of the Href and Target attributes</description>
@@ -5536,6 +5556,34 @@
          <features>
             <feature>Tree</feature>
             <feature>RunAtClient</feature>
+         </features>
+      </test>
+      <test>
+         <name>RichTreeSC</name>
+         <description>[goTreeSC/treeSC.jsp] Base test of runAtClient tree in a ScriptContainer</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>bvt.struts11</category>
+            <category>trees</category>
+         </categories>
+         <features>
+            <feature>Tree</feature>
+            <feature>SciptContainer</feature>
+         </features>
+      </test>
+      <test>
+         <name>RichTreeSC2</name>
+         <description>[goTreeSC2/treeSC2.jsp] Base test of runAtClient tree in a ScriptContainer</description>
+         <webapp>coreWeb</webapp>
+         <categories>
+            <category>bvt</category>
+            <category>bvt.struts11</category>
+            <category>trees</category>
+         </categories>
+         <features>
+            <feature>Tree</feature>
+            <feature>SciptContainer</feature>
          </features>
       </test>
       <test>