Author: ben
Date: 2007-08-02 14:40:27 -0700 (Thu, 02 Aug 2007)
New Revision: 5914

Added:
   openlaszlo/branches/wafflecone/test/style/simple/main.lzx
   openlaszlo/branches/wafflecone/test/style/simple/undefineds.lzx
Modified:
   openlaszlo/branches/wafflecone/test/style/metasuite.lzx
   openlaszlo/branches/wafflecone/test/style/simple/simple.lzx
Log:
Change 20070801-ben-F by [EMAIL PROTECTED] on 2007-08-01 16:02:41 PDT
    in /Users/ben/src/svn/openlaszlo/branches/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: More tests for CSS

New Features:

Bugs Fixed:


Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:
added a test for (NOT FIXED) LPP-4182 undefined CSS values used to be null. now 
they're undefined  (NOT FIXED)

Release Notes:

Details:


Tests:
http://localhost:8080/wafflecone/test/style/simple/main.lzx 
passes

    
http://localhost:8080/wafflecone/test/style/metasuite.lzx?debug=true&lzr=swf7 
fails 
with these errors: 
Tests: 531 Failures: 3 Errors: 0
TestFailure: SimpleTestCase >>> testBasics failed: Equals:  expected 50 got 279
TestFailure: CSSSubclassingTestCase >>> testSubclassOverrideConstraint failed: 
Equals:  expected 32768 got 8388736
TestFailure: CSSSubclassingTestCase >>> testSubclassOverrideConstraint failed: 
Equals:  expected 17337 got 8388736


Modified: openlaszlo/branches/wafflecone/test/style/metasuite.lzx
===================================================================
--- openlaszlo/branches/wafflecone/test/style/metasuite.lzx     2007-08-02 
19:53:23 UTC (rev 5913)
+++ openlaszlo/branches/wafflecone/test/style/metasuite.lzx     2007-08-02 
21:40:27 UTC (rev 5914)
@@ -5,7 +5,7 @@
     We expect these warnings; 
     resource/resource-not-found.lzx:34:44: Can't import /resource:  
/Users/ben/src/svn/openlaszlo/trunk/test/style/resource (No such file or 
directory)
     resource/resource-not-found.lzx:44:50: The resource named 'sillyresource' 
has not been declared
---> 
+-->    
 
 <canvas title="css metasuite" width="100%" height="100%">
     <include href="designerview.lzx" />
@@ -23,6 +23,8 @@
     <include href="elementselector/elementselector-test.lzx" />
     <include href="elementselector/specialclassnames-test.lzx" />
     <include href="resource/resource-not-found.lzx" />
+    <include href="simple/simple.lzx" />
+    <include href="simple/undefineds.lzx" />
     <include href="specificity/applicability.lzx" />
     <include href="specificity/newspecificity.lzx" />
     
@@ -49,7 +51,8 @@
         <ConstraintSpeedTestCase />
         <ApplicabilityTestCase />
         <NewSpecificityTestCase />
-        
+        <UndefinedsTestCase />
+        <SimpleTestCase />
     </TestSuite>
 
 </canvas>
\ No newline at end of file

Added: openlaszlo/branches/wafflecone/test/style/simple/main.lzx


Property changes on: openlaszlo/branches/wafflecone/test/style/simple/main.lzx
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: openlaszlo/branches/wafflecone/test/style/simple/simple.lzx
===================================================================
--- openlaszlo/branches/wafflecone/test/style/simple/simple.lzx 2007-08-02 
19:53:23 UTC (rev 5913)
+++ openlaszlo/branches/wafflecone/test/style/simple/simple.lzx 2007-08-02 
21:40:27 UTC (rev 5914)
@@ -1,14 +1,12 @@
 <!-- Copyright 2007 Laszlo Systems --> 
-<canvas>
+<library>
 
-    
-<include href="lzunit" />
 
 <include href="../designerview.lzx" />   
 <stylesheet>
     #gSimple {
         bgcolor: #0000FA;
-    }   
+    }       
 </stylesheet>
 
 <simplelayout axis="y" spacing="5" />
@@ -26,7 +24,7 @@
 </view> 
 
 <view width="50" height="50" bgcolor="0x00B300" />
-
+ 
 <stylesheet>
     #gTravis { innercolor: #6ab5e6; }
 </stylesheet>
@@ -37,16 +35,14 @@
     <designerview id="gTravis" />
 </view>    
 
-<TestSuite>
-    <TestCase>
+
+   <class name="SimpleTestCase" extends="TestCase">
         <method name="testBasics">
-            assertEquals(50, gSoy.width);
+            assertEquals(50, gSoy.width);  // KNOWN TO FAIL by bshine as of 
08.01.2007
             assertEquals(75, gAngelica.width);
         </method>
         <method name="testColors">
             assertEquals(0x6ab5e6, gTravis.innercolor);
         </method>
-    </TestCase>
-</TestSuite>
-
-</canvas>
\ No newline at end of file
+    </class>
+</library>
\ No newline at end of file

Added: openlaszlo/branches/wafflecone/test/style/simple/undefineds.lzx


Property changes on: 
openlaszlo/branches/wafflecone/test/style/simple/undefineds.lzx
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native


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

Reply via email to