Author: ben
Date: 2007-07-23 12:46:19 -0700 (Mon, 23 Jul 2007)
New Revision: 5753

Modified:
   openlaszlo/branches/legals/test/extensions/test-lzunit-textformat.lzx
   openlaszlo/branches/legals/test/extensions/test-small-richinputtext.lzx
Log:
Change 20070723-ben-L by [EMAIL PROTECTED] on 2007-07-23 12:43:14 PDT
    in /Users/ben/src/svn/openlaszlo/branches/legals
    for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Repairs richinputtext tests

New Features:

Bugs Fixed: (partial) LPP-3431 Ensure richtext and richtexteditor work in 
OL4/SWF

Technical Reviewer: none
QA Reviewer: none 
Doc Reviewer: none

Documentation:

Release Notes:

Details:
A few more tests pass; they were not passing because of stupid little cruft, 
like a missing string replace function or a stray character. 

Tests:
http://localhost:8080/legals/test/extensions/test-lzunit-textformat.lzx?lzr=swf7
http://localhost:8080/legals/test/extensions/test-lzunit-textformat.lzx?lzr=swf8
http://localhost:8080/legals/test/extensions/test-small-richinputtext.lzx?debug=false&lzr=swf8
http://localhost:8080/legals/test/extensions/test-small-richinputtext.lzx?debug=false&lzr=swf7



Modified: openlaszlo/branches/legals/test/extensions/test-lzunit-textformat.lzx
===================================================================
--- openlaszlo/branches/legals/test/extensions/test-lzunit-textformat.lzx       
2007-07-23 19:25:34 UTC (rev 5752)
+++ openlaszlo/branches/legals/test/extensions/test-lzunit-textformat.lzx       
2007-07-23 19:46:19 UTC (rev 5753)
@@ -2,7 +2,6 @@
     <include href="lzunit"/>
     <include href="/extensions/views/richinputtext.lzx" />
     <include href="/extensions/views/LzTextFormat.lzx" />
-    <include href="/incubator/textutils.lzx" />
 
     <!--- Constant for testing. --> 
     <attribute name="PLAIN_A" type="string" value="aaa." />
@@ -14,7 +13,14 @@
     <attribute name="PLAIN_RICH_A" type="string" value="rich" />
     <attribute name="PLAIN_RICH_B" type="string" value="i have spaces" />    
     <attribute name="PLAIN_RICH_C" type="string" value=" space before and 
after " />    
-    
+
+    <script>
+        // a little replace function, just to help with testing and such
+        function replace(s, f, r) {
+            return s.split(f).join(r);
+        }
+    </script>
+        
     <class name="Creation" extends="TestCase">
         <method name="testCreation">
             var f = new textformat();

Modified: 
openlaszlo/branches/legals/test/extensions/test-small-richinputtext.lzx
===================================================================
--- openlaszlo/branches/legals/test/extensions/test-small-richinputtext.lzx     
2007-07-23 19:25:34 UTC (rev 5752)
+++ openlaszlo/branches/legals/test/extensions/test-small-richinputtext.lzx     
2007-07-23 19:46:19 UTC (rev 5753)
@@ -69,7 +69,7 @@
 
             var tf = new textformat();
             tf.color = 0xFF9933; ; 
-            tf.italic = true;s
+            tf.italic = true;
             tf.font = 'Times'; 
             
 


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

Reply via email to