Author: hqm
Date: 2007-10-23 20:21:44 -0700 (Tue, 23 Oct 2007)
New Revision: 6985

Modified:
   openlaszlo/trunk/test/lfc/data/testhttpdata.lzx
Log:
added new test case

Modified: openlaszlo/trunk/test/lfc/data/testhttpdata.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testhttpdata.lzx     2007-10-24 03:14:32 UTC 
(rev 6984)
+++ openlaszlo/trunk/test/lfc/data/testhttpdata.lzx     2007-10-24 03:21:44 UTC 
(rev 6985)
@@ -49,6 +49,8 @@
     <dataset name="data12" src="http:httpdate.jsp"
         getresponseheaders="false" cacheable="true" />
 
+    <dataset name="dataError" src="http:nosuchfile.xml"/>
+
     <class name="testdatapointer" extends="datapointer">
       <method event="ondata">
         Debug.format("%s: .ondata(%w)\n", parent.text, arguments[0]);
@@ -62,7 +64,6 @@
     </class>
 
     <view id="tests">
-      <simplelayout/>
       <view name="buttons" layout="class:wrappinglayout;axis:x;spacing:2" 
width="${canvas.width}">
         <button>
           Unqueued
@@ -173,6 +174,14 @@
           <testdatapointer xpath="data11:/*" />
         </button>
         <button>
+          Do Error
+          <method event="onclick">
+            Debug.format("%s request\n", this.text);
+            canvas.datasets.dataError.doRequest();
+          </method>
+          <testdatapointer xpath="dataError:/*" />
+        </button>
+        <button>
           Date
           <method event="onclick">
             Debug.format("%s request\n", this.text);


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to