[Laszlo-checkins] r5916 - openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test

ben@openlaszlo.org ben at openlaszlo.org
Thu Aug 2 18:09:37 PDT 2007


Author: ben
Date: 2007-08-02 18:09:29 -0700 (Thu, 02 Aug 2007)
New Revision: 5916

Modified:
   openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-driver.lzx
   openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-test.lzx
Log:
Change 20070802-ben-n by ben at cooper.local on 2007-08-02 18:05:09 PDT
    in /Users/ben/src/svn/openlaszlo/branches/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Hook up link panel to rich text editor in test files 

New Features:

Bugs Fixed:
LPP-4356 link dialog does not make links (regression from r4356)
LPP-4421 linkdialog driver can't make links
LPP-4350 linkdialog-test fails

Technical Reviewer: none
QA Reviewer: mamye (pending)
Doc Reviewer: frisco (pending)

Documentation:

To properly set up references to the link panel at startup, richtexteditarea's
should call setLinkPanel( idOfLinkPanel ). This change just adds that call to the
linkdialog test and driver. 

Doc reviewer, please also document this in the rich text chapter. 

Release Notes:

Details:
    

Tests:



Modified: openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-driver.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-driver.lzx	2007-08-02 23:02:51 UTC (rev 5915)
+++ openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-driver.lzx	2007-08-03 01:09:29 UTC (rev 5916)
@@ -39,6 +39,9 @@
             defaultfontcolor="0x336699"
 
             border="10"  text="For reasons which many persons thought ridiculous, Mrs. Lightfoot Lee decided to pass the winter in Washington. She was in excellent health, but she said that the climate would do her good. In New York she had troops of friends, but she suddenly became eager to see again the very small number of those who lived on the Potomac. It was only to her closest intimates that she honestly acknowledged herself to be tortured by ennui. Since her husband's death, five years before, she had lost her taste for New York society; she had felt no interest in the price of stocks, and very little in the men who dealt in them; she had become serious. What was it all worth, this wilderness of men and women as monotonous as the brown stone houses they lived in? In her despair she had resorted to desperate measures. She had read philosophy in the original German, and the more she read, the more she was disheartened that so much culture should lead to nothing... nothing.">
+            <method event="oninit">
+                this.setLinkPanel(ldlg);
+            </method>
         </richtexteditarea>
     </view> 
 </view>

Modified: openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-test.lzx
===================================================================
--- openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-test.lzx	2007-08-02 23:02:51 UTC (rev 5915)
+++ openlaszlo/branches/wafflecone/lps/components/incubator/rich-text/test/linkdialog-test.lzx	2007-08-03 01:09:29 UTC (rev 5916)
@@ -40,11 +40,15 @@
             defaultfontcolor="0x336699"
 
             border="10"  text="For reasons which many persons thought ridiculous, Mrs. Lightfoot Lee decided to pass the winter in Washington. She was in excellent health, but she said that the climate would do her good. In New York she had troops of friends, but she suddenly became eager to see again the very small number of those who lived on the Potomac. It was only to her closest intimates that she honestly acknowledged herself to be tortured by ennui. Since her husband's death, five years before, she had lost her taste for New York society; she had felt no interest in the price of stocks, and very little in the men who dealt in them; she had become serious. What was it all worth, this wilderness of men and women as monotonous as the brown stone houses they lived in? In her despair she had resorted to desperate measures. She had read philosophy in the original German, and the more she read, the more she was disheartened that so much culture should lead to nothing... nothing.">
+            <method event="oninit">
+                this.setLinkPanel(ldlg);
+            </method>
+            
         </richtexteditarea>
     </view> 
 </view>
 
-<TestSuite>
+<TestSuite name="linkdialog-test">
     <TestCase>
         <method name="testTextIsPresent">
             assertNotNull(grte.getText()); 
@@ -113,7 +117,7 @@
 
 </canvas>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-    * Copyright 2006 Laszlo Systems, Inc. All Rights Reserved.                    *
+    * Copyright 2006-2007 Laszlo Systems, Inc. All Rights Reserved.                    *
     * Use is subject to license terms.                                            *
     * X_LZ_COPYRIGHT_END ****************************************************** -->
     <!-- @LZX_VERSION@                                                         -->



More information about the Laszlo-checkins mailing list