[Laszlo-checkins] r10234 - in openlaszlo/trunk: WEB-INF/lps/lfc/compiler WEB-INF/lps/lfc/data WEB-INF/lps/lfc/debugger WEB-INF/lps/server/bin demos/lzpix docs/src/developers docs/src/developers/programs docs/src/wrappers lps/components/incubator/rich-text/test lps/components/incubator/test lps/components/lztest lps/components/lzunit test test/components/base test/events test/extensions test/imgtag test/lfc test/lfc/animators test/lfc/data test/smoke test/style test/style/constraints test/style/descendantselector test/style/elementselector test/style/idselector test/style/names test/style/parsertricks test/style/resource test/style/simple test/style/specificity test/style/typography test/text

hqm@openlaszlo.org hqm at openlaszlo.org
Mon Jul 7 16:03:11 PDT 2008


Author: hqm
Date: 2008-07-07 16:02:17 -0700 (Mon, 07 Jul 2008)
New Revision: 10234

Added:
   openlaszlo/trunk/WEB-INF/lps/server/bin/updatelzunit.pl
Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzFormatter.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataElement.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
   openlaszlo/trunk/WEB-INF/lps/lfc/debugger/swf9stubs.lzs
   openlaszlo/trunk/demos/lzpix/test-details.lzx
   openlaszlo/trunk/docs/src/developers/lzunit.dbk
   openlaszlo/trunk/docs/src/developers/programs/lzunit-$1.lzx
   openlaszlo/trunk/docs/src/developers/programs/lzunit-$2.lzx
   openlaszlo/trunk/docs/src/developers/programs/lzunit-$3.lzx
   openlaszlo/trunk/docs/src/developers/programs/lzunit-$4.lzx
   openlaszlo/trunk/docs/src/developers/programs/lzunit-$5.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-1.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-10.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-2.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-3.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-4.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-5.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-6.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-7.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-8.lzx
   openlaszlo/trunk/docs/src/developers/programs/testdriven-9.lzx
   openlaszlo/trunk/docs/src/wrappers/testsuite.html
   openlaszlo/trunk/lps/components/incubator/rich-text/test/linkdialog-test.lzx
   openlaszlo/trunk/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx
   openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx
   openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx
   openlaszlo/trunk/lps/components/incubator/test/newcheckbox-test.lzx
   openlaszlo/trunk/lps/components/lztest/xmlequals.lzx
   openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
   openlaszlo/trunk/test/canvas-attributes.lzx
   openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx
   openlaszlo/trunk/test/components/base/lzunit-baseform.lzx
   openlaszlo/trunk/test/components/base/lzunit-baselist.lzx
   openlaszlo/trunk/test/components/base/lzunit-baseslider.lzx
   openlaszlo/trunk/test/components/base/lzunit-basetabs.lzx
   openlaszlo/trunk/test/events/handler.lzx
   openlaszlo/trunk/test/extensions/test-lzunit-richinputtext.lzx
   openlaszlo/trunk/test/extensions/test-lzunit-textformat.lzx
   openlaszlo/trunk/test/getters-setters.lzx
   openlaszlo/trunk/test/imgtag/imgtest.lzx
   openlaszlo/trunk/test/lfc/alignment.lzx
   openlaszlo/trunk/test/lfc/animators/lzunit_animator_prop.lzx
   openlaszlo/trunk/test/lfc/animators/lzunit_animator_target.lzx
   openlaszlo/trunk/test/lfc/data/datadollarpath.lzx
   openlaszlo/trunk/test/lfc/data/datanode.lzx
   openlaszlo/trunk/test/lfc/data/datapath.lzx
   openlaszlo/trunk/test/lfc/data/datapointer.lzx
   openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx
   openlaszlo/trunk/test/lfc/data/datapointerdependencies.lzx
   openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx
   openlaszlo/trunk/test/lfc/data/dollarpath.lzx
   openlaszlo/trunk/test/lfc/data/dollarpathquote.lzx
   openlaszlo/trunk/test/lfc/data/hardupdate.lzx
   openlaszlo/trunk/test/lfc/data/lzunit-lzparsedpath.lzx
   openlaszlo/trunk/test/lfc/data/namespace-solo.lzx
   openlaszlo/trunk/test/lfc/data/namespace.lzx
   openlaszlo/trunk/test/lfc/data/replup.lzx
   openlaszlo/trunk/test/lfc/data/sendheaders.lzx
   openlaszlo/trunk/test/lfc/data/specialop.lzx
   openlaszlo/trunk/test/lfc/data/stringxml.lzx
   openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
   openlaszlo/trunk/test/lfc/data/testdataheaders.lzx
   openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
   openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
   openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
   openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
   openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
   openlaszlo/trunk/test/lfc/data/testput.lzx
   openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
   openlaszlo/trunk/test/lfc/data/testrawpost.lzx
   openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
   openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
   openlaszlo/trunk/test/lfc/data/whitespace.lzx
   openlaszlo/trunk/test/lfc/data/xpath.lzx
   openlaszlo/trunk/test/lfc/data/xpspace.lzx
   openlaszlo/trunk/test/lfc/locklayout.lzx
   openlaszlo/trunk/test/lfc/lzunit-class-impl.lzx
   openlaszlo/trunk/test/lfc/lzunit-lzutils.lzx
   openlaszlo/trunk/test/lfc/lzunit-node-initsequence.lzx
   openlaszlo/trunk/test/lfc/lzunit-node-placement.lzx
   openlaszlo/trunk/test/lfc/lzunit-node-replication.lzx
   openlaszlo/trunk/test/lfc/lzunit-node-xpath.lzx
   openlaszlo/trunk/test/lfc/lzunit-node.lzx
   openlaszlo/trunk/test/lfc/lzunit-timer.lzx
   openlaszlo/trunk/test/lfc/version.lzx
   openlaszlo/trunk/test/smoke/all_setters.lzl
   openlaszlo/trunk/test/smoke/bitwise.lzl
   openlaszlo/trunk/test/smoke/canvas-attributes.lzl
   openlaszlo/trunk/test/smoke/compiler.lzl
   openlaszlo/trunk/test/smoke/constraint.lzl
   openlaszlo/trunk/test/smoke/data.lzl
   openlaszlo/trunk/test/smoke/debugger.lzl
   openlaszlo/trunk/test/smoke/delay.lzx
   openlaszlo/trunk/test/smoke/ecma.lzl
   openlaszlo/trunk/test/smoke/getters-setters.lzl
   openlaszlo/trunk/test/smoke/lztext.lzl
   openlaszlo/trunk/test/smoke/lzunit-test.lzl
   openlaszlo/trunk/test/smoke/math.lzl
   openlaszlo/trunk/test/smoke/regression.lzl
   openlaszlo/trunk/test/style/constraints/constraint-test.lzx
   openlaszlo/trunk/test/style/constraints/contention.lzx
   openlaszlo/trunk/test/style/constraints/speedtest.lzx
   openlaszlo/trunk/test/style/constraints/subclassing.lzx
   openlaszlo/trunk/test/style/descendantselector/complex-descendant-selector-test.lzx
   openlaszlo/trunk/test/style/descendantselector/descendantselector-test.lzx
   openlaszlo/trunk/test/style/descendantselector/simplerdescendant-test.lzx
   openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx
   openlaszlo/trunk/test/style/idselector/ids.lzx
   openlaszlo/trunk/test/style/names/main.lzx
   openlaszlo/trunk/test/style/names/main_dash.lzx
   openlaszlo/trunk/test/style/names/main_underscore.lzx
   openlaszlo/trunk/test/style/parsertricks/import-test.lzx
   openlaszlo/trunk/test/style/resource/resource-not-found.lzx
   openlaszlo/trunk/test/style/simple/simple.lzx
   openlaszlo/trunk/test/style/simple/undefineds.lzx
   openlaszlo/trunk/test/style/specificity/applicability.lzx
   openlaszlo/trunk/test/style/specificity/newspecificity.lzx
   openlaszlo/trunk/test/style/specificity/specificity-tests.lzx
   openlaszlo/trunk/test/style/suite.lzx
   openlaszlo/trunk/test/style/typography/typography-test.lzx
   openlaszlo/trunk/test/text/cleartext.lzx
   openlaszlo/trunk/test/traits.lzx
Log:
Change 20080707-hqm-H by hqm at badtzmaru.home on 2008-07-07 14:51:37 EDT
    in /Users/hqm/openlaszlo/trunk4
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: modify lzunit to be swf9 compatible

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details:

+ modified lzunit TestCase class to require each test to be explicitly registered,
via an addTests() method

+ wrote script to modify all known lzunit tests in trunk, checked in as 
WEB-INF/lps/server/bin/updatelzunit.pl

+ modified developers guide section on lzunit testing , to describe use of new addTests methods

skip-pre-commit-checks

Tests:

smokecheck,
test/lfc/data/alldata.lzx



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzFormatter.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzFormatter.lzs	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/compiler/LzFormatter.lzs	2008-07-07 23:02:17 UTC (rev 10234)
@@ -420,7 +420,7 @@
           // TODO: [2006-06-01 ptw] Generalize this to write 'pretty'
           // values for all
           var str;
-          if (value instanceof Function) {
+          if (value is Function) {
             if ($debug) {
               str = this.functionName(value);
             }

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataElement.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataElement.lzs	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataElement.lzs	2008-07-07 23:02:17 UTC (rev 10234)
@@ -175,7 +175,7 @@
   * new node
   * @return LzDataNodeMixin: A copy of this node.
   */
-function cloneNode ( deep ){
+function cloneNode ( deep=false ){
     var n = new LzDataElement(this.nodeName);
     n.setAttrs( this.attributes );
     if ( deep ){

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs	2008-07-07 23:02:17 UTC (rev 10234)
@@ -758,7 +758,7 @@
         // 
         if (lzpostbody != null) { 
             dreq.postbody = lzpostbody;
-            if (dreq.queryparams && dreq.queryparams['lzpostbody']) {
+            if (dreq.queryparams && dreq.queryparams.getValue('lzpostbody')) {
                 dreq.queryparams.remove('lzpostbody');
             }
         }

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/debugger/swf9stubs.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/debugger/swf9stubs.lzs	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/debugger/swf9stubs.lzs	2008-07-07 23:02:17 UTC (rev 10234)
@@ -35,6 +35,8 @@
         args.unshift('Monitor: ');
         write.apply(Debug, args);
     }
+
+    public function __String (thing, pretty=null, limit=null, unique=null):String { return new String( thing ); }
 }
 
-var Debug = new LzDebugService();
\ No newline at end of file
+var Debug = new LzDebugService();

Added: openlaszlo/trunk/WEB-INF/lps/server/bin/updatelzunit.pl


Property changes on: openlaszlo/trunk/WEB-INF/lps/server/bin/updatelzunit.pl
___________________________________________________________________
Name: svn:executable
   + *
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native

Modified: openlaszlo/trunk/demos/lzpix/test-details.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/test-details.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/demos/lzpix/test-details.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,11 +20,23 @@
                 gDataMan.doFlickrRequest(canvas.infods, argobj);                                    
                 Debug.write("did request."); 
             </method>
+            <method name="addTests"> 
+              this.addTest("testLoadPhotoInfo");
+            </method> 
+            <method name="addTests"> 
+                this.addTest("testLoadPhotoInfo");
+            </method> 
         </TestCase>
         <TestCase>
             <method name="testLoadDetailsMethod">
                 gDetails.loadDetails("97894314");
             </method>
+            <method name="addTests"> 
+              this.addTest("testLoadDetailsMethod");
+            </method> 
+            <method name="addTests"> 
+                this.addTest("testLoadDetailsMethod");
+            </method> 
         </TestCase>
     </TestSuite>
      
@@ -32,6 +44,6 @@
 </canvas>
 <!--
 * X_LZ_COPYRIGHT_BEGIN ****************************************************
-* Copyright 2006 Laszlo Systems, Inc.  All Rights Reserved.               *
+* Copyright 2006, 2008 Laszlo Systems, Inc.  All Rights Reserved.               *
 * Use is subject to license terms.                                        *
 * X_LZ_COPYRIGHT_END ******************************************************-->

Modified: openlaszlo/trunk/docs/src/developers/lzunit.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/lzunit.dbk	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/lzunit.dbk	2008-07-07 23:02:17 UTC (rev 10234)
@@ -25,7 +25,7 @@
 <indexterm><primary>TestCase</primary></indexterm><sgmltag class="element">&lt;TestCase&gt;</sgmltag><remark role="fixme">[unknown tag]</remark>
 <!--unknown tag: TestCase-->
 . In order for a test to be recognized by and added to the enclosing 
-<indexterm><primary>TestSuite</primary></indexterm><sgmltag class="element">&lt;TestSuite&gt;</sgmltag>, its name must start with "<literal>test</literal>". Within each test, you use the standard 
+<indexterm><primary>TestSuite</primary></indexterm><sgmltag class="element">&lt;TestSuite&gt;</sgmltag>, the test method must be registered to the test case via a call to <methodname>addTest</methodname>. You must place all the calls to <methodname>addTest</methodname> in a method named <methodname>addTests</methodname>. The <methodname>addTests</methodname> method is called by the <classname>TestSuite</classname> when it runs the TestCase. Within each test, you use the standard 
 <literal>assert<replaceable>XXX</replaceable>()</literal> methods of the xUnit API to define the checkpoints that will form the basis of your test.
 Below is an example of typical usage of the LzUnit framework that shows a success, a failure, and a runtime error.</para>
 
@@ -202,6 +202,10 @@
         &lt;method name="test"&gt;
         
         &lt;/method&gt;
+        &lt;method name="addTests"&gt;
+            this.addTest("test");
+        &lt;/method&gt;
+
     &lt;/TestCase&gt;   
 &lt;/TestSuite&gt;
 

Modified: openlaszlo/trunk/docs/src/developers/programs/lzunit-$1.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/lzunit-$1.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/lzunit-$1.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -17,6 +17,11 @@
       <method name="testerror">
         callFoo()
       </method>
+      <method name="addTests"> 
+          this.addTest("testsuccess");
+          this.addTest("testfailure");
+          this.addTest("testerror");
+      </method> 
     </TestCase>
   </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/docs/src/developers/programs/lzunit-$2.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/lzunit-$2.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/lzunit-$2.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,6 +20,11 @@
     <method name="testthird">
       assertEquals(3, counter++)
     </method>
+    <method name="addTests"> 
+        this.addTest("testfirst");
+        this.addTest("testsecond");
+        this.addTest("testthird");
+    </method> 
   </class>
 
   <TestSuite>

Modified: openlaszlo/trunk/docs/src/developers/programs/lzunit-$3.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/lzunit-$3.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/lzunit-$3.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -15,6 +15,9 @@
             <method name="checkStatus">
                 assertEquals(-400, redbox.y)
             </method>
+            <method name="addTests"> 
+                this.addTest("testanim");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/docs/src/developers/programs/lzunit-$4.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/lzunit-$4.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/lzunit-$4.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -54,6 +54,10 @@
         assertTrue(nav.selectParent())
         assertEquals(1, nav.getNodeCount())
       </method>
+      <method name="addTests"> 
+          this.addTest("testsettext");
+          this.addTest("testBumpChild");
+      </method> 
     </TestCase>
   </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/docs/src/developers/programs/lzunit-$5.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/lzunit-$5.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/lzunit-$5.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -25,6 +25,9 @@
        assertEquals(200, bluebox.x);
        Debug.write('--- test complete ---');
      </method>
+     <method name="addTests"> 
+         this.addTest("testSimpleXAnim");
+     </method> 
    </TestCase>
   </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-1.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-1.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-1.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -8,6 +8,9 @@
         <method name="testGoButtonTrue">
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-10.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-10.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-10.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -37,6 +37,9 @@
             assertEquals(1, goButton.counter);
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-2.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-2.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-2.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -14,6 +14,9 @@
         <method name="testGoButtonTrue">
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-3.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-3.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-3.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -27,6 +27,9 @@
         <method name="testGoButtonTrue">
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-4.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-4.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-4.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -26,6 +26,9 @@
             assertEquals(1, goButton.counter);
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-5.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-5.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-5.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -27,6 +27,9 @@
             assertEquals(1, goButton.counter);
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-6.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-6.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-6.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -31,6 +31,9 @@
             assertEquals(1, goButton.counter);
             assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-7.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-7.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-7.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -8,6 +8,9 @@
         <method name="testIdle">
             assertTrue(this.idle);
         </method>
+        <method name="addTests"> 
+            this.addTest("testIdle");
+        </method> 
     </TestCase>
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-8.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-8.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-8.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,6 +20,9 @@
         <method name="testIdle">
             assertTrue(this.idle);
         </method>
+        <method name="addTests"> 
+            this.addTest("testIdle");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/developers/programs/testdriven-9.lzx
===================================================================
--- openlaszlo/trunk/docs/src/developers/programs/testdriven-9.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/developers/programs/testdriven-9.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -36,6 +36,9 @@
           assertEquals(1, goButton.counter);
           assertTrue(goButton.go);
         </method>
+        <method name="addTests"> 
+            this.addTest("testGoButtonTrue");
+        </method> 
     </TestCase>   
 </TestSuite>
 

Modified: openlaszlo/trunk/docs/src/wrappers/testsuite.html
===================================================================
--- openlaszlo/trunk/docs/src/wrappers/testsuite.html	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/docs/src/wrappers/testsuite.html	2008-07-07 23:02:17 UTC (rev 10234)
@@ -29,7 +29,8 @@
   Each of the xUnit components is implemented as an LZX tag with the
   corresponding name.  Tests can be written by defining a subclass of
   <code>TestCase</code> and defining <code>test<i>...</i></code>
-  methods.  A test suite can be created by enclosing any number of
+  methods, and then registering them with the test case using the <code>addTests</code> method.
+  A test suite can be created by enclosing any number of
   <code>TestCases</code> in a <code>TestSuite</code>.
 </p>
 
@@ -75,6 +76,10 @@
       assertUndefined(undefined);
       assertNotUndefined(null);
     &lt;/method&gt;
+    &lt;method name="addTests"&gt;
+      this.addTest("testSuccess");
+    &lt;/method&gt;
+
   &lt;/class&gt;
   
   &lt;class name="IntentionalBugs" extends="TestCase"&gt;
@@ -85,6 +90,11 @@
     &lt;method name="testError"&gt;
       error("This is an intentional error");
     &lt;/method&gt;
+    &lt;method name="addTests"&gt;
+      this.addTest("testFailure");
+      this.addTest("testError");
+    &lt;/method&gt;
+
   &lt;/class&gt;
   
   &lt;TestSuite&gt;
@@ -99,6 +109,6 @@
 </body>
 </html>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.              *
+* Copyright 2001-2006, 2008 Laszlo Systems, Inc.  All Rights Reserved.              *
 * Use is subject to license terms.                                            *
 * X_LZ_COPYRIGHT_END ****************************************************** -->

Modified: openlaszlo/trunk/lps/components/incubator/rich-text/test/linkdialog-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/test/linkdialog-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/test/linkdialog-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -82,6 +82,12 @@
             assertTrue(ldlg.height > 0); 
         ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("testTextIsPresent");
+            this.addTest("testGetFormat");
+            this.addTest("testMakeLink");
+            this.addTest("testShowingLinkDialog");
+        </method> 
     </TestCase>
     <TestCase>
         <method name="testLinkCompleteWord">
@@ -99,6 +105,9 @@
             var shouldBeSpace = grte.getText().substr(12, 1); 
             assertEquals(" ", shouldBeSpace); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testLinkCompleteWord");
+        </method> 
     </TestCase>
     <TestCase>
         <method name="testLinkMiddleOfAWord">
@@ -113,6 +122,9 @@
             ldlg.makelink();  
             assertEquals("d", grte.getText().substr(10, 1));
         </method>
+        <method name="addTests"> 
+            this.addTest("testLinkMiddleOfAWord");
+        </method> 
     </TestCase>
 
 </TestSuite>

Modified: openlaszlo/trunk/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/test/richtexteditarea-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -71,6 +71,10 @@
             assertEquals(fmt.size, 24); 
             assertEquals(fmt.color, 0xAA00FF); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testTextIsPresent");
+            this.addTest("testGetFormat");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -87,6 +91,10 @@
             grte.setFormatAttribute("bold", true); 
             assertTrue(grte.isHTML); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testReset");
+            this.addTest("testMakeHTML");
+        </method> 
     </TestCase>
 
 <!-- We expect these values for paragraph format, or null: 
@@ -126,6 +134,13 @@
             var fmt = grte.getTextFormat(5,10);
             assertTrue( (fmt.bullet == null) || (fmt.bullet == false));
         ]]></method>        
+        <method name="addTests"> 
+            this.addTest("testNoLeading");
+            this.addTest("testNoIndent");
+            this.addTest("testNoBlockIndent");
+            this.addTest("testNoAlign");
+            this.addTest("testNoBullet");
+        </method> 
     </TestCase>
     
     <TestCase>
@@ -149,6 +164,10 @@
             fmt = grte.getTextFormat(12,18);
             assertTrue( fmt.italic ); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testApplyBold");
+            this.addTest("testApplyItalic");
+        </method> 
     </TestCase>         
 
     

Modified: openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/incubator/rich-text/test/test-lzcombobox.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -154,6 +154,13 @@
             <method name="testLateData">
                 assertEquals(1, beijing.getValue());  // [bshine 08.09.2007] This fails, demonstrating LPP-4469
             </method>
+            <method name="addTests"> 
+                this.addTest("testSettingIt");
+                this.addTest("testDisplayUpdates");
+                this.addTest("testGetItemIndex");
+                this.addTest("testStates");
+                this.addTest("testLateData");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/incubator/test/domapi-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -120,6 +120,15 @@
         assertEquivalent([], v4.getChildNodes());
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testEquivalent");
+          this.addTest("testDocument");
+          this.addTest("testGetElementById");
+          this.addTest("testDollars");
+          this.addTest("testCreateElement");
+          this.addTest("testGetChildNodes");
+          this.addTest("testRemoveChild");
+      </method> 
     </TestCase>
   </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/lps/components/incubator/test/newcheckbox-test.lzx
===================================================================
--- openlaszlo/trunk/lps/components/incubator/test/newcheckbox-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/incubator/test/newcheckbox-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -28,6 +28,11 @@
             str = xcb.toXML();
             assertTrue(str.indexOf("carabiner") >= 0); 
         ]]></method>        
+        <method name="addTests"> 
+            this.addTest("testNamedCheckboxToXML");
+            this.addTest("testSubmitNamedCheckboxToXML");
+            this.addTest("testRenameSubmit");
+        </method> 
     </TestCase>
  </TestSuite>
         

Modified: openlaszlo/trunk/lps/components/lztest/xmlequals.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lztest/xmlequals.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/lztest/xmlequals.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -1,5 +1,5 @@
 <library>
-<script>
+<script when="immediate">
 <![CDATA[
 
 // compare two XML objects for lisp-style EQUAL 

Modified: openlaszlo/trunk/lps/components/lzunit/lzunit.lzx
===================================================================
--- openlaszlo/trunk/lps/components/lzunit/lzunit.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/lps/components/lzunit/lzunit.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -664,6 +664,21 @@
     <!--- The name of the TestCase -->
     <attribute name="name" />
 
+    <attribute name="testnames" value="null"/>
+
+    <!-- subclass should override this with a method which calls addTest for each test method -->
+    <method name="addTests">
+       Debug.warn("You should override the TestCase.addTests method of",this, "to add your tests to the test case.", this);
+    </method>
+
+    <method name="addTest" args="testname">
+      if (this.testnames == null) {
+          this.testnames = [];
+      }
+      this.testnames.push(testname);
+    </method>
+
+
     <method name="debugFields">
         var f = super.debugFields();
         return f.concat([ "name" ]);
@@ -680,6 +695,11 @@
         dw("TestCase.construct(", args, ")");
     </method>
 
+
+    <handler name="oninit">
+      this.addTests();
+    </handler>
+
     <!---
       Run the setUp, execute the named test case, run tearDown
 
@@ -852,7 +872,7 @@
             <p>SyncTester is an extension of TestCase that is useful for testing objects whose method are to be called sequentially, in effect synchronizing methods with potentially asynchronous behavior.</p>
                 <p>To take advantage of this helper class, you must declare a dataset named "&lt;instance name&gt;_methods", with a root node whose children are the method names to be called synchronously. The method nodes must be named "call", and have at least the "name" attribute defined. If the method needs to be called with arguments, specify them as value of the optional "args" attribute (only one argument is currently supported).</p>
                     
-                    <p>Your specific tests will only run once a method returns. It is possible to provide an inspector method for each of the asynchronous methods declared; you reference it with the "tester" attribute of a node in the dataset. These inspector methods must be defined on the SyncTester object. If you don't specify a tester for a method, the default handler named <attribute>inspect</attribute> will be called with the result of the method call as an argument. You should override this method if you want to have a generic inspector for most or all of your methods.</p>
+                    <p>Your specific tests will only run once a method returns. It is possible to provide an inspector method for each of the asynchronous methods declared; you reference it with the "tester" attribute of a node in the dataset. These inspector methods must be defined on the SyncTester object. If you dont specify a tester for a method, the default handler named <attribute>inspect</attribute> will be called with the result of the method call as an argument. You should override this method if you want to have a generic inspector for most or all of your methods.</p>
                     
                     <p>Generally speaking, you would expect that an event is sent when a method is done. This framework allows you to specify what event indicates the end of method execution by declaring the "event" attribute. It is assumed that the sender of the event is the object referenced by the <class>tested_object</class> attribute, or that the following method accepts a delegate to call on completion, as the last argument. If neither of these assumptions is correct, the flow of method execution will break.</p>
                     
@@ -1183,6 +1203,7 @@
 
    <!--- @keywords private -->
    <method name="initSuite" args="...ignore">
+     <![CDATA[
         if (this.nextCase == subviews.length)
         {
             this.nextCase = 0
@@ -1193,26 +1214,25 @@
         {
             var sv = subviews[this.nextCase];
             dw("TestSuite.initSuite: subviews[", this.nextCase, "] = ", sv);
-            if (sv instanceof lz.TestCase)
-            {
-                for (var n in sv) {
-                    var t = sv[n];
-                    if (typeof(t) == "function") {
-                        //--- /^test/.test(n)
-                        if (n.indexOf("test") == 0) {
-                            if (typeof(tests[this.nextCase]) == "undefined")
-                                tests[this.nextCase] = [];
-                            dw("tests[", this.nextCase, "].push(", n, ");");
-                            tests[this.nextCase].push(n);
-                         }
+            if (sv instanceof lz.TestCase && sv.testnames != null) {
+                    for (var n = 0; n < sv.testnames.length; n++) {
+                        var t = sv.testnames[n];
+                        if (typeof(sv[t]) == "function") {
+                            //--- /^test/.test(n)
+                            if (t.indexOf("test") == 0) {
+                                if (typeof(tests[this.nextCase]) == "undefined")
+                                    tests[this.nextCase] = [];
+                                dw("tests[", this.nextCase, "].push(", t, ");");
+                                tests[this.nextCase].push(t);
+                            }
+                        }
                     }
-                }
             }
             this.nextCase++
             var del = new LzDelegate(this, "initSuite")
             lz.Idle.callOnIdle(del)
         }
-
+      ]]>
     </method>
 
     <!---

Modified: openlaszlo/trunk/test/canvas-attributes.lzx
===================================================================
--- openlaszlo/trunk/test/canvas-attributes.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/canvas-attributes.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -12,6 +12,9 @@
         assertEquals('library_attr', canvas.library_attr);
         assertEquals('library_method', canvas.library_method());
     </method>
+    <method name="addTests"> 
+        this.addTest("testAttrs");
+    </method> 
   </class>
 
   <TestSuite>

Modified: openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/components/base/lzunit-basedatacombobox.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -69,6 +69,12 @@
         </method>
         
     
+        <method name="addTests"> 
+            this.addTest("testSimpleSetGet");
+            this.addTest("testBadSelectionIndex");
+            this.addTest("testSelectItemAt");
+            this.addTest("testBadSelectItemAt");
+        </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/components/base/lzunit-baseform.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-baseform.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/components/base/lzunit-baseform.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -44,6 +44,11 @@
             assertEquals(true, bf1.cb1.hassubmitname);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testFormParent");
+            this.addTest("testSubmitName");
+            this.addTest("testEarlySubmitName");
+        </method> 
     </TestCase>
     
     <TestCase>
@@ -62,6 +67,9 @@
             str = bf1.cb1.toXML();
             assertTrue(str.indexOf("carabiner") >= 0);
         </method>
+        <method name="addTests"> 
+            this.addTest("testToXML");
+        </method> 
      </TestCase>
 
    <TestCase>
@@ -102,6 +110,9 @@
             assertEquals(false, bf2.changed);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testSetValue");
+        </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/components/base/lzunit-baselist.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-baselist.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/components/base/lzunit-baselist.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -16,6 +16,9 @@
         assertEquals(list1.getItemAt(1), list1.getSelection());
       </method>
 
+      <method name="addTests"> 
+          this.addTest("testSelectedFromPath");
+      </method> 
     </TestCase>
 
     <TestCase name="selectedFromPath"> <!-- originated in LPP-114 -->
@@ -40,6 +43,9 @@
         assertEquals(list2.getItemAt(1), list2.getSelection());
       </method>
 
+      <method name="addTests"> 
+          this.addTest("testSelectedFromPath");
+      </method> 
     </TestCase>
 
   </TestSuite>

Modified: openlaszlo/trunk/test/components/base/lzunit-baseslider.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-baseslider.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/components/base/lzunit-baseslider.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -117,6 +117,9 @@
           assertEquals(35, t0.maxvalue);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testzerorange");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -129,6 +132,9 @@
           assertEquals(50, t2.maxvalue);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testoutofbounds");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -141,6 +147,9 @@
           assertEquals(50, t3.maxvalue);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testinvertedbounds");
+        </method> 
     </TestCase>
 
     <MyTestCase>

Modified: openlaszlo/trunk/test/components/base/lzunit-basetabs.lzx
===================================================================
--- openlaszlo/trunk/test/components/base/lzunit-basetabs.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/components/base/lzunit-basetabs.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -43,6 +43,11 @@
         assertEquals('ptab', tabs2.bar.subviews[0].constructor.tagname);
       </method>
         
+      <method name="addTests"> 
+          this.addTest("testTabClassImplicit");
+          this.addTest("testTabClassDirect");
+          this.addTest("testTabClassInherited");
+      </method> 
     </TestCase>
 
     <TestCase name="selectedExplicit">
@@ -69,6 +74,9 @@
         assertEquals(tabs3a.bar.subviews[1], tabs3a.bar.getSelection());
         assertEquals(tabs3b.bar.subviews[1], tabs3b.bar.getSelection());
       </method>
+      <method name="addTests"> 
+          this.addTest("testSelectedFromPath");
+      </method> 
     </TestCase>
     
     <TestCase name="selectedFromPath"> <!-- originated in LPP-114 -->
@@ -90,6 +98,9 @@
       <method name="testSelectedFromPath">
         assertEquals(tabs4.bar.subviews[1], tabs4.bar.getSelection());
       </method>
+      <method name="addTests"> 
+          this.addTest("testSelectedFromPath");
+      </method> 
     </TestCase>
 
   </TestSuite>

Modified: openlaszlo/trunk/test/events/handler.lzx
===================================================================
--- openlaszlo/trunk/test/events/handler.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/events/handler.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -32,6 +32,9 @@
 
             ]]>
         </method>
+      <method name="addTests"> 
+          this.addTest("test1");
+      </method> 
     </class>
 
     <!-- declare handler with no body; check for no debugger warning -->
@@ -55,6 +58,9 @@
 
             ]]>
         </method>
+      <method name="addTests"> 
+          this.addTest("test1");
+      </method> 
     </class>
 
 
@@ -85,6 +91,9 @@
 
             ]]>
         </method>
+      <method name="addTests"> 
+          this.addTest("test1");
+      </method> 
     </class>
 
 
@@ -133,6 +142,9 @@
 
             ]]>
         </method>
+      <method name="addTests"> 
+          this.addTest("test1");
+      </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/extensions/test-lzunit-richinputtext.lzx
===================================================================
--- openlaszlo/trunk/test/extensions/test-lzunit-richinputtext.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/extensions/test-lzunit-richinputtext.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -96,6 +96,9 @@
             assertNotNull(rich.defaultformat); 
             assertEquals("GreenPeas", rich.defaultformat.font); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testDefault");
+        </method> 
     </class>   
 
     <class name="AppendingToPlain" extends="RichTextTestBase">

Modified: openlaszlo/trunk/test/extensions/test-lzunit-textformat.lzx
===================================================================
--- openlaszlo/trunk/test/extensions/test-lzunit-textformat.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/extensions/test-lzunit-textformat.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -44,6 +44,12 @@
             var f = new textformat(this, {color:0x0000FF});
             assertSame(0x0000FF, f.color);
         </method>
+        <method name="addTests"> 
+            this.addTest("testCreation");
+            this.addTest("testCreationWithArg");
+            this.addTest("testCreationWithArgs");
+            this.addTest("testCreationWithColor");
+        </method> 
     </class>        
 
     <class name="FormatToHTML" extends="TestCase">
@@ -62,6 +68,10 @@
             assertTrue(html.length &gt;= 9); 
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testSimple");
+            this.addTest("testFont");
+        </method> 
     </class>
 
     <TestSuite>

Modified: openlaszlo/trunk/test/getters-setters.lzx
===================================================================
--- openlaszlo/trunk/test/getters-setters.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/getters-setters.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -11,6 +11,9 @@
         <method name="testWidthOnObject">
             assertEquals(10, {width: 10}.width);
         </method>
+        <method name="addTests"> 
+            this.addTest("testWidthOnObject");
+        </method> 
     </class>
 
     <class name="SetterTest" extends="TestCase">
@@ -19,6 +22,9 @@
             foo.height = 42;
             assertEquals(42, foo.height);
         </method>
+        <method name="addTests"> 
+            this.addTest("testHeightOnObject");
+        </method> 
     </class>
 
     <class name="ViewTest" extends="TestCase">
@@ -44,6 +50,10 @@
             assertEquals(tester.getAttribute("width"), tester.width);    
             assertEquals(tester.getAttribute("height"), tester.height);    
         </method>
+        <method name="addTests"> 
+            this.addTest("testGettersOnView");
+            this.addTest("testSettersOnView");
+        </method> 
     </class>
 
     <TestSuite>

Modified: openlaszlo/trunk/test/imgtag/imgtest.lzx
===================================================================
--- openlaszlo/trunk/test/imgtag/imgtest.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/imgtag/imgtest.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -30,6 +30,9 @@
       assertEquals('&lt;img src=baz&gt;<img src =  "foo" alt =  "a nice pretty picture">[image a nice pretty picture] foo baz', t2.getText());
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testImgTag");
+    </method> 
   </class>
 
   <TestSuite>

Modified: openlaszlo/trunk/test/lfc/alignment.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/alignment.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/alignment.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -51,6 +51,14 @@
         v1.setAttribute('valign', 'bottom');
         assertEquals(100, v1.y);
       </method>
+      <method name="addTests"> 
+          this.addTest("testAlignLeft");
+          this.addTest("testAlignCenter");
+          this.addTest("testAlignRight");
+          this.addTest("testAlignTop");
+          this.addTest("testAlignMiddle");
+          this.addTest("testAlignBottom");
+      </method> 
     </TestCase>
   </TestSuite>
 </canvas>
\ No newline at end of file

Modified: openlaszlo/trunk/test/lfc/animators/lzunit_animator_prop.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/animators/lzunit_animator_prop.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/animators/lzunit_animator_prop.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -34,6 +34,9 @@
                 bluebox.setX(0);
                 displayMessage('--- test complete ---');
             </method>
+            <method name="addTests"> 
+                this.addTest("testSimpleXAnim");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/animators/lzunit_animator_target.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/animators/lzunit_animator_target.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/animators/lzunit_animator_target.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -73,6 +73,9 @@
                         break;
                 }
             </method>
+            <method name="addTests"> 
+                this.addTest("testSimpleTargetAnim");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/data/datadollarpath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datadollarpath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datadollarpath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -72,6 +72,9 @@
 
 
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 </library >
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************

Modified: openlaszlo/trunk/test/lfc/data/datanode.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datanode.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datanode.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -102,6 +102,9 @@
             //zdat.hasAttributeNS (namespaceURI, localName) ;
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/datapath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datapath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -141,6 +141,9 @@
             assertEquals( et2.etc3  , this.collector.ondata[0] );
             
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/datapointer.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapointer.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datapointer.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -141,6 +141,11 @@
             assertEquals( 'a.bvalue', dp3.xpathQuery( '/data[1]/@a.b'));
         </method>
 
+        <method name="addTests"> 
+            this.addTest("test");
+            this.addTest("test2");
+            this.addTest("test3");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datapointerServerless.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -110,6 +110,9 @@
             assertEquals( ndp.serialize(), dp.serialize() );
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test2");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/datapointerdependencies.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/datapointerdependencies.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/datapointerdependencies.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -112,6 +112,10 @@
 
             assertEquals( oser , mydp.serialize() );
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+            this.addTest("test2");
+        </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/dataprovider-multirequest.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -77,6 +77,10 @@
             }
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+            this.addTest("test2");
+        </method> 
     </class>
     
     <TestSuite>

Modified: openlaszlo/trunk/test/lfc/data/dollarpath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/dollarpath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/dollarpath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -136,6 +136,9 @@
                 assertEquals( 6, rpar.repcnt );
 
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/data/dollarpathquote.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/dollarpathquote.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/dollarpathquote.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -40,6 +40,9 @@
                 assertEquals( ds.getFirstChild() , testme.aselect1 );
                 assertEquals( null , testme.aselect2 );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
         

Modified: openlaszlo/trunk/test/lfc/data/hardupdate.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/hardupdate.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/hardupdate.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -36,6 +36,9 @@
                                "testdat:/a[1]/*/../../a/name()" ).length );
                 assertEquals( 8, par.subviews.length );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/data/lzunit-lzparsedpath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/lzunit-lzparsedpath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/lzunit-lzparsedpath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -14,6 +14,9 @@
         assertEquals("Slashes text", mydata.getPointer().xpathQuery("mydata:/record[@uri='http://www.google.com']/text()"));
         assertEquals("Quoted text", mydata.getPointer().xpathQuery("mydata:/record[@uri='\'quoted\'']/text()"));
       </method>
+      <method name="addTests"> 
+          this.addTest("testsuccess");
+      </method> 
     </TestCase>
   </TestSuite>
   

Modified: openlaszlo/trunk/test/lfc/data/namespace-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/namespace-solo.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/namespace-solo.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -62,6 +62,9 @@
             ]]>
             
         </method>
+        <method name="addTests"> 
+            this.addTest("test2");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/namespace.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/namespace.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/namespace.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -116,6 +116,9 @@
             ]]>
             
         </method>
+        <method name="addTests"> 
+            this.addTest("test2");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/replup.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/replup.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/replup.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -23,6 +23,9 @@
                 assertEquals ( "changed" , rman.clones[ 0 ].getText() );
                 assertEquals ( "zero" , rman.clones[ 0 ].val );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
    

Modified: openlaszlo/trunk/test/lfc/data/sendheaders.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/sendheaders.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/sendheaders.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -45,6 +45,9 @@
             ]]>
             
         </method>
+        <method name="addTests"> 
+            this.addTest("test2");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/specialop.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/specialop.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/specialop.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -46,6 +46,9 @@
             assertEquals( 33, v.star.datapath.getNodeAttribute( 'a' ) );
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/stringxml.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/stringxml.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/stringxml.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -30,6 +30,9 @@
                 //assertNull( lznotb );
                 ]]>
             </method>
+            <method name="addTests"> 
+                this.addTest("test");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testclientcachebreaker.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -53,6 +53,9 @@
                             Number(dp.xpathQuery("ds4:/response/text()")) );
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testdataheaders.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testdataheaders.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testdataheaders.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -26,6 +26,10 @@
          var value = acceptEncoding.getText();
          assertEquals("null", value);
       </method>
+      <method name="addTests"> 
+          this.addTest("testAccept");
+          this.addTest("testAcceptEncoding");
+      </method> 
     </TestCase>
   </TestSuite>
 

Modified: openlaszlo/trunk/test/lfc/data/testgetmethod.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testgetmethod.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testgetmethod.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -53,6 +53,9 @@
                      assertEquals( "67 Clyde Street", addr);
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testgetmethodsolo.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -56,6 +56,9 @@
 
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testheaderresponse.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -53,6 +53,9 @@
                    assertTrue(dateheader != null, "Date Header non null");
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testpostmethod.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testpostmethod.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testpostmethod.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -56,6 +56,9 @@
                      assertEquals( "POST", method);
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testpostmethodsolo.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -55,6 +55,9 @@
                      assertEquals( "POST", method);
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 

Modified: openlaszlo/trunk/test/lfc/data/testput.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testput.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testput.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -55,6 +55,9 @@
               assertTrue(prdataput.serialize().indexOf('<method type="PUT"/>')  > 0);
             ]]>
         </method>
+<method name="addTests"> 
+    this.addTest("test1");
+</method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testrawpost-solo.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -54,6 +54,9 @@
             assertEquals( "This is posted SOLO data." ,  dp.xpathQuery( 'echo/text()' ) );
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testrawpost.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testrawpost.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testrawpost.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -48,6 +48,9 @@
             assertEquals( "This is posted data." ,  dp.xpathQuery( '/response/echo/text()' ) );
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testsetheaders-solo.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -55,6 +55,9 @@
                      assertTrue(  dp.xpathQuery( '/echo/headers/text()' ).indexOf('vanilla/with-chocolate-syrup') > 0 , "looking for vanilla/with-chocolate-syrup header ");
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/testsetheaders.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/testsetheaders.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/testsetheaders.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -52,6 +52,9 @@
                      assertTrue(  dp.xpathQuery( '/echo/headers/text()' ).indexOf('pink-elephants/xml') > 0 , "looking for pink-elephants/xml header ");
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/whitespace.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/whitespace.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/whitespace.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -76,6 +76,9 @@
             ]]>
             
         </method>
+        <method name="addTests"> 
+            this.addTest("test2");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/data/xpath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/xpath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/xpath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -143,6 +143,9 @@
                 assertTrue( dp.setXPath( 'last()' ) );
                 assertEquals( 1 , dp.data );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/lfc/data/xpspace.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/data/xpspace.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/data/xpspace.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -29,6 +29,9 @@
             assertEquals(  "fourth", 
                dp.xpathQuery( "nps:/*/*[  @goo  ]/../* [ @foo   ]/ .. / text () " ) );
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/lfc/locklayout.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/locklayout.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/locklayout.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -56,6 +56,9 @@
                 assertEquals( 0 , testpar.b2.y );
                 assertEquals( 0 , testpar.b3.y );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     
     </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-class-impl.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-class-impl.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-class-impl.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -101,6 +101,11 @@
             assertEquals(1, instb.foooverrides);
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testSub");
+            this.addTest("testClassNodeSub");
+            this.addTest("testUserClass");
+        </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-lzutils.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-lzutils.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-lzutils.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -38,6 +38,10 @@
             assertEquals(0x800080, LzUtils.fromrgb('purple'), "Convert from RGB");
             assertEquals(0xff00ff, LzUtils.fromrgb('rgb(255,0,255)'), "Convert from RGB");
         </method>
+        <method name="addTests"> 
+            this.addTest("testdectohex");
+            this.addTest("testcolorconversion");
+        </method> 
     </TestCase>
 
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-node-initsequence.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-node-initsequence.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-node-initsequence.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -97,6 +97,13 @@
         assertTrue(compareCase('sequence'));
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testConstruct");
+          this.addTest("testOnConstruct");
+          this.addTest("testInit");
+          this.addTest("testOnInit");
+          this.addTest("testInitializationSequence");
+      </method> 
   </class>
   
   <TestSuite>
@@ -371,6 +378,13 @@
         assertEquals(",onconstruct,init,oninit", n2.sequenceorder);
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testConstructProto");
+          this.addTest("testOnConstructProto");
+          this.addTest("testInitProto");
+          this.addTest("testOnInitProto");
+          this.addTest("testInitializationSequenceProto");
+      </method> 
     </TestCase>
     
     <TestCase name="testCompleteInstantiation">

Modified: openlaszlo/trunk/test/lfc/lzunit-node-placement.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-node-placement.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-node-placement.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -53,6 +53,10 @@
         assertEquals(nci2.n2, nci2.n1.searchImmediateSubnodes("name", "n2"));
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testPlacement");
+          this.addTest("testPlacementWithOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="testBasicDefaultPlacement">
@@ -74,6 +78,10 @@
       <method name="testPlacementWithOverride">
         assertEquals(nci2.n2, nci2.n1.searchImmediateSubnodes("name", "n2"));
       </method>
+      <method name="addTests"> 
+          this.addTest("testPlacement");
+          this.addTest("testPlacementWithOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="testBasicDefaultPlacementWithOverride">
@@ -100,6 +108,10 @@
         assertEquals(nci2.n2, nci2.searchImmediateSubnodes("name", "n2"));
       </method>
 
+      <method name="addTests"> 
+          this.addTest("testPlacement");
+          this.addTest("testPlacementWithOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="testIgnorePlacement">
@@ -124,6 +136,10 @@
           assertEquals(null, nci2.n1.searchImmediateSubnodes("name", "n2"));
       </method>
 
+      <method name="addTests"> 
+          this.addTest("testIgnorePlacement");
+          this.addTest("testIgnorePlacementWithOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="testDoubleDefaultPlacement">
@@ -146,6 +162,10 @@
       <method name="testPlacementWithOverride">
         assertEquals(nci2.n3, nci2.n2.n1.searchImmediateSubnodes("name", "n3"));
       </method>
+      <method name="addTests"> 
+          this.addTest("testPlacement");
+          this.addTest("testPlacementWithOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="testOverrideDeterminePlacement">
@@ -162,6 +182,9 @@
       <method name="testOverride">
         assertTrue(nci1.hadDP);
       </method>
+      <method name="addTests"> 
+          this.addTest("testOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="TestOverrideDefaultPlacement">
@@ -174,6 +197,9 @@
         assertEquals(null, nci1.n1.searchImmediateSubnodes("name", "n3"));
         assertEquals(nci1.n3, nci1.n2.searchImmediateSubnodes("name", "n3"));
       </method>
+      <method name="addTests"> 
+          this.addTest("testOverride");
+      </method> 
     </TestCase>
     
     <TestCase name="TestErrantPlacement">
@@ -190,6 +216,9 @@
         // I'm capturing this in a unit test to streamline response to bug reports.
         assertEquals(nci6.n4, nci6.n2.searchImmediateSubnodes("name", "n4"));
       </method>
+      <method name="addTests"> 
+          this.addTest("testErrantPlacement");
+      </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-node-replication.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-node-replication.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-node-replication.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -45,6 +45,9 @@
         }        
       ]]></method>
       
+      <method name="addTests"> 
+          this.addTest("testVerifyReplication");
+      </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-node-xpath.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-node-xpath.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-node-xpath.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -31,6 +31,11 @@
         assertEquals("a1", de);
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testPath");
+          this.addTest("testText");
+          this.addTest("testAttr");
+      </method> 
     </TestCase>
     
     <TestCase name="XPathMulti">
@@ -93,6 +98,15 @@
         assertEquals("a2", de.getAttr('name'));
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testMulti");
+          this.addTest("testIndexSelect");
+          this.addTest("testRangeSelect");
+          this.addTest("testRangeSelectOpenEnd");
+          this.addTest("testRangeSelectOpenStart");
+          this.addTest("testAttrSelect");
+          this.addTest("testAttrValueSelect");
+      </method> 
     </TestCase>
     
     <TestCase>
@@ -124,6 +138,10 @@
         assertEquals(2, de);
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testWildcardSelect");
+          this.addTest("testLastAttr");
+      </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-node.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-node.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-node.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -55,6 +55,14 @@
         assertEquals(n1.nodeLevel + 1, sn[1].nodeLevel);
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testBasicAttributes");
+          this.addTest("testSubNodes");
+          this.addTest("testParent");
+          this.addTest("testChildOf");
+          this.addTest("testImmediateParent");
+          this.addTest("testNodeLevel");
+      </method> 
     </TestCase>
     
     <TestCase name="testClassRoot">
@@ -65,6 +73,9 @@
         assertEquals(sn1, sn1.subnode1.classroot);
       </method>
       
+      <method name="addTests"> 
+          this.addTest("testCR");
+      </method> 
     </TestCase>
     
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/lzunit-timer.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/lzunit-timer.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/lzunit-timer.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -35,6 +35,9 @@
             assertEquals(t1, td1, "same timer");
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testAddRemove");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -63,6 +66,9 @@
             assertEquals(t1, td1, "same timer 1");
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testAddRemoveTwoDelegates");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -80,6 +86,9 @@
             assertEquals(t2, td1, "same timer");
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testAddReset");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -101,6 +110,9 @@
             assertEquals(t2, td2, "same timer 2");
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testMultiAddRemove2");
+        </method> 
     </TestCase>
 
     <TestCase>
@@ -127,6 +139,9 @@
             assertEquals(t3, td3, "same timer 3");
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testMultiAddRemove3");
+        </method> 
     </TestCase>
 
   </TestSuite>

Modified: openlaszlo/trunk/test/lfc/version.lzx
===================================================================
--- openlaszlo/trunk/test/lfc/version.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/lfc/version.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -17,6 +17,9 @@
                 //this will break if/when lps major version exceeds 100
                 assertEquals( 1 , canvas.compareVersion( "100.0.5" ) );
             </method>
+            <method name="addTests"> 
+                this.addTest("test1");
+            </method> 
         </TestCase>
     </TestSuite>
 </canvas>

Modified: openlaszlo/trunk/test/smoke/all_setters.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/all_setters.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/all_setters.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -86,6 +86,9 @@
             // assertEquals(1, tester["yscale"],"yscale");
 
         </method>
+        <method name="addTests"> 
+            this.addTest("testSettersOnView");
+        </method> 
     </class>
 
     <class name="ATextTest" extends="TestCase">
@@ -127,6 +130,9 @@
             // assertEquals(1, tester["selectable"],"selectable");
             assertEquals(1, tester["bgcolor"],"bgcolor");
     </method>
+          <method name="addTests"> 
+              this.addTest("testSettersOnText");
+          </method> 
     </class>
 </library>
 

Modified: openlaszlo/trunk/test/smoke/bitwise.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/bitwise.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/bitwise.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,5 +20,8 @@
             assertEquals( -1 >>> 4 , 0x0fffffff); // Shift Right with Zero Fill
         ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("testBitwiseOperators");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/canvas-attributes.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/canvas-attributes.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/canvas-attributes.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -19,5 +19,8 @@
         assertEquals('library_attr', canvas.library_attr);
         assertEquals('library_method', canvas.library_method());
     </method>
+    <method name="addTests"> 
+        this.addTest("testAttrs");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/compiler.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/compiler.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/compiler.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -126,5 +126,9 @@
              }
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testOptionalArguments");
+        this.addTest("testConditionalCompilation");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/constraint.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/constraint.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/constraint.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -50,5 +50,10 @@
             assertEquals( kellog.brand, '1' );
         </method>
 
+        <method name="addTests"> 
+            this.addTest("testConstraintReference1");
+            this.addTest("testConstraintReference2");
+            this.addTest("testConstraintReference3");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/data.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/data.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/data.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -27,5 +27,9 @@
       Debug.info("expect:  couldn't find dataset for http2:/root/child (error will print at beginning of debugger output)");
       assertEquals(0,0,0);
     </method>
+    <method name="addTests"> 
+        this.addTest("testEmpty");
+        this.addTest("testEmpty2");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/debugger.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/debugger.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/debugger.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -207,6 +207,9 @@
                assertEquals('1% 2% 3%\n', Debug.formatToString('1%', '2%', '3%'));
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testFormat");
+    </method> 
   </class>
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************

Modified: openlaszlo/trunk/test/smoke/delay.lzx
===================================================================
--- openlaszlo/trunk/test/smoke/delay.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/delay.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -22,6 +22,9 @@
             }
         ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("testStart");
+        </method> 
     </class>
   <TestSuite>
 

Modified: openlaszlo/trunk/test/smoke/ecma.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/ecma.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/ecma.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,5 +20,8 @@
         default               : return 1;
       }
     </method>
+    <method name="addTests"> 
+        this.addTest("testCaseSwitch");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/getters-setters.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/getters-setters.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/getters-setters.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -15,6 +15,9 @@
         <method name="testWidthOnObject">
             assertEquals(10, {width: 10}.width);
         </method>
+        <method name="addTests"> 
+            this.addTest("testWidthOnObject");
+        </method> 
     </class>
 
     <class name="SetterTest" extends="TestCase">
@@ -23,6 +26,9 @@
             foo.height = 42;
             assertEquals(42, foo.height);
         </method>
+        <method name="addTests"> 
+            this.addTest("testHeightOnObject");
+        </method> 
     </class>
 
     <class name="GSViewTest" extends="TestCase">
@@ -48,6 +54,10 @@
             assertEquals(tester["width"], tester.width);    
             assertEquals(tester["height"], tester.height);    
         </method>
+        <method name="addTests"> 
+            this.addTest("testGettersOnView");
+            this.addTest("testSettersOnView");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/smoke/lztext.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/lztext.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/lztext.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -220,5 +220,9 @@
                assertEquals('1% 2% 3%\n', (textFormatTest.format('1%', '2%', '3%'), textFormatTest.text));
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testInputText");
+        this.addTest("testTextFormat");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/lzunit-test.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/lzunit-test.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/lzunit-test.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -174,6 +174,9 @@
       assertNotUndefined(nullvar, "variable initialized to null is not undefined");
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testJavaScriptSemantics");
+    </method> 
   </class>
 
   <!--
@@ -321,6 +324,9 @@
      ]]>
     </method>
 
+    <method name="addTests"> 
+        this.addTest("testSuccess");
+    </method> 
   </class>
 
   <!--
@@ -502,6 +508,10 @@
     ]]>
     </method>
 
+    <method name="addTests"> 
+        this.addTest("testFailure");
+        this.addTest("testFailures");
+    </method> 
   </class>
 
   <!--
@@ -619,6 +629,10 @@
       }
       ]]>
     </method>
+    <method name="addTests"> 
+        this.addTest("testError");
+        this.addTest("testUndefinedErrors");
+    </method> 
   </class>
 </library>
 <!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************

Modified: openlaszlo/trunk/test/smoke/math.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/math.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/math.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -74,5 +74,9 @@
       assertWithin(0.648360827459087, Math.tan(10), 1e-10, "tan");
       assertTrue(randTest(100), "random numbers");
     </method>
+    <method name="addTests"> 
+        this.addTest("testConstants");
+        this.addTest("testFunctions");
+    </method> 
   </class>
 </library>

Modified: openlaszlo/trunk/test/smoke/regression.lzl
===================================================================
--- openlaszlo/trunk/test/smoke/regression.lzl	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/smoke/regression.lzl	2008-07-07 23:02:17 UTC (rev 10234)
@@ -20,6 +20,9 @@
             i = "second"
             assertEquals("second", i)
         </method>
+        <method name="addTests"> 
+            this.addTest("testScope");
+        </method> 
     </class>
 
     <class name="bug_179" extends="TestCase">
@@ -32,6 +35,9 @@
             } 
             ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("testLoop");
+        </method> 
     </class>
     
     <class name="bug_320" extends="TestCase">
@@ -42,6 +48,9 @@
       <method name="testFontStyle">
         assertEquals("bold", txtview.txt.fontstyle)
       </method>
+      <method name="addTests"> 
+          this.addTest("testFontStyle");
+      </method> 
     </class>
     
     <class name="bug_332" extends="TestCase">
@@ -49,6 +58,9 @@
         <method name="testJStyleColor">
             assertEquals(0, col_view.bgcolor)
         </method>
+        <method name="addTests"> 
+            this.addTest("testJStyleColor");
+        </method> 
     </class>
     
     <class name="InnerRow">
@@ -77,6 +89,9 @@
         <method name="testHeight">
             assertEquals(200, mediaWindow.height)
         </method>
+        <method name="addTests"> 
+            this.addTest("testHeight");
+        </method> 
     </class>
     
     <class name="bug_368" extends="TestCase">
@@ -118,6 +133,9 @@
             this.abs_x += 100
             assertEquals(abs_x, Math.round(redbox.x))
         </method>
+        <method name="addTests"> 
+            this.addTest("testAnimate");
+        </method> 
     </class>
     
     <class name="bug_440" extends="TestCase">
@@ -127,6 +145,9 @@
             sizeme.setText("Longer text than was there before")
             assertTrue(sizeme.width &gt; oldwidth)
         </method>
+        <method name="addTests"> 
+            this.addTest("testResize");
+        </method> 
     </class>
 
     
@@ -153,6 +174,9 @@
         <method name="tearDown">
             assertEquals(this.resArray.join(), this.names.join())
         </method>
+        <method name="addTests"> 
+            this.addTest("testInitOrder");
+        </method> 
     </class>
 
     <script>
@@ -238,6 +262,15 @@
             ]]>
                 }
         </method>
+        <method name="addTests"> 
+            this.addTest("testClassFunction");
+            this.addTest("testToplevelFunction");
+            this.addTest("testToplevelObject");
+            this.addTest("testFunMeth");
+            this.addTest("testArrMeth");
+            this.addTest("testFunFun");
+            this.addTest("testObjMeth");
+        </method> 
     </class>
 
 
@@ -258,6 +291,9 @@
             assertFalse(dataview.st.width == 0)
             assertFalse(dataview.c.width == 0)
         </method>
+        <method name="addTests"> 
+            this.addTest("testTxtWidth");
+        </method> 
     </class>
     <class name="bug_557" extends="TestCase">
         <view name="testview">
@@ -274,6 +310,9 @@
             assertNotUndefined(testview.namedlayout.spacing)
             assertNotUndefined(testview.namedlayout.foo)
         </method>
+        <method name="addTests"> 
+            this.addTest("testLayoutAttr");
+        </method> 
     </class>
     
     <dataset name="bug577" src="../resources/xml/http.xml"/>
@@ -281,6 +320,9 @@
         <method name="testLocalDS">
             assertNull(canvas.datasets.bug577['type'])
         </method>
+        <method name="addTests"> 
+            this.addTest("testLocalDS");
+        </method> 
     </class>
 
 
@@ -309,6 +351,9 @@
       assertSame(unique, obj.getBar());
       assertUndefined(global['bar']);
     </method>
+    <method name="addTests"> 
+        this.addTest("testSetGet");
+    </method> 
   </class>
 
 
@@ -328,12 +373,18 @@
         <method name="verifyOrder">
             assertEquals(this.order, '12')
         </method>
+        <method name="addTests"> 
+            this.addTest("testAnimOrder");
+        </method> 
     </class>
 
     <class name="bug_733" extends="TestCase">
         <method name="testEvalOrder">
             assertEquals(-200, -(new Date(2000, 1, 1)).getFullYear()/10, "GEKKO!")
         </method>
+        <method name="addTests"> 
+            this.addTest("testEvalOrder");
+        </method> 
     </class>
 
     <dataset name="bug739" type="http" querystring="sleep=0" queuerequests="true" cacheable="false"
@@ -356,6 +407,9 @@
             }
         ]]>
         </method>
+        <method name="addTests"> 
+            this.addTest("testStart");
+        </method> 
     </class>
 
     <class name="bug_748" extends="TestCase">
@@ -370,6 +424,9 @@
         <method name="testPlacement">
             assertSame(popup.items, popup.tricky.immediateparent)
         </method>
+        <method name="addTests"> 
+            this.addTest("testPlacement");
+        </method> 
     </class>
 
     <class name="bug_950" extends="TestCase">
@@ -380,6 +437,9 @@
           tv.setAttribute('height', 200);
           assertEquals(200, tv.width);
         </method>
+        <method name="addTests"> 
+            this.addTest("testConstraint");
+        </method> 
     </class>
     
     <class name="bug_967" extends="TestCase">
@@ -388,6 +448,9 @@
             assertFalse(rsv.width == rsv.resourcewidth)
             assertFalse(rsv.height == rsv.resourceheight)
         </method>
+        <method name="addTests"> 
+            this.addTest("testAssetSize");
+        </method> 
     </class>
     
     <class name="mynode" extends="node"/>
@@ -399,12 +462,18 @@
             assertTrue(myinstance instanceof lz.node);
             assertFalse(myinstance instanceof lz.view);
         </method>
+        <method name="addTests"> 
+            this.addTest("testNode");
+        </method> 
     </class>
 
     <class name="bug_1032" extends="TestCase">
         <method name="testCanvasBgColor">
             assertEquals(canvas.bgcolor, 0xffffff);
         </method>
+        <method name="addTests"> 
+            this.addTest("testCanvasBgColor");
+        </method> 
     </class>
     
     <dataset name="bug1046" src="http:foo.lzx?lzt=serverinfo" request="false"/>
@@ -416,6 +485,9 @@
         <method name="checkHeaders" args="ignore">
                 assertEquals('', canvas.datasets.bug1046.getAllResponseHeaders().toString())
         </method>
+        <method name="addTests"> 
+            this.addTest("testStart");
+        </method> 
     </class>
     
     <class name="bug_1062" extends="TestCase">
@@ -440,6 +512,9 @@
             lz.Focus.setFocus(view1)
             assertArrayEquals(['onfocus', 'onblur'], view2.trace)
         </method>
+        <method name="addTests"> 
+            this.addTest("testNode");
+        </method> 
     </class>
     
     <class name="bug_1134" extends="TestCase">
@@ -449,6 +524,9 @@
         <method name="testAttr">
                         assertSame((typeof(myattr) != "undefined"), setterCalled)
         </method>
+        <method name="addTests"> 
+            this.addTest("testAttr");
+        </method> 
     </class>
 
     <dataset name="bug1254">
@@ -462,6 +540,9 @@
             tempDP.setNodeAttribute('num', 50)
             assertEquals(foo, 50)
         </method>
+        <method name="addTests"> 
+            this.addTest("testDPConstraint");
+        </method> 
     </class>
     
     <dataset name="bug1267">
@@ -483,6 +564,9 @@
                         dp.setXPath('bug1267:/ item  [2] /  @name')
                         assertEquals('second', dp.data)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testDPSeparators");
+                </method> 
         </class>
         
     <class name="classWithText">
@@ -502,6 +586,9 @@
         <method name="testTextWidth">
             assertEquals(bo0.me.width, goo.me.width, "Width");
         </method> 
+        <method name="addTests"> 
+            this.addTest("testTextWidth");
+        </method> 
     </class>
     
     <dataset name="bug1314" nsprefix='false'>
@@ -514,6 +601,9 @@
             dv.updateData();
             assertEquals(41 , bug1314.getPointer().serialize().length);
         </method>
+        <method name="addTests"> 
+            this.addTest("testDMap");
+        </method> 
     </class>
     
     <dataset name="bug1315" src="../resources/xml/http.xml" type="http" request="true" getresponseheaders="false"/>
@@ -521,6 +611,9 @@
         <method name="testRespHeaders">
             assertEquals('', canvas.datasets.bug1315.getAllResponseHeaders().toString())
         </method>
+        <method name="addTests"> 
+            this.addTest("testRespHeaders");
+        </method> 
     </class>
 
     <dataset name="bug1374">
@@ -535,6 +628,9 @@
             assertTrue(tempDP.setXPath('top/@enabled'))
             assertFalse(tempDP.setXPath('top/item[3]'))
         </method>
+        <method name="addTests"> 
+            this.addTest("testRetValue");
+        </method> 
     </class>
 
         <class name="bug_1383" extends="TestCase">
@@ -548,6 +644,10 @@
                   assertTrue(view instanceof lz.node);
                   assertTrue(view instanceof lz.view);
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testNode");
+                    this.addTest("testView");
+                </method> 
         </class>
     
     <dataset name="bug1484">
@@ -565,6 +665,9 @@
                 while (dp.selectParent()) {}
                 assertEquals('bug1484', dp.getNodeName())
                 </method>
+        <method name="addTests"> 
+            this.addTest("testSelectParent");
+        </method> 
         </class>
 
     <dataset name="bug1485">
@@ -585,6 +688,9 @@
             ppar.datapath.setFromPointer( dp );
             assertEquals( 6 , ppar.pokeme.data );
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
         <dataset name="bug1553">
@@ -600,6 +706,9 @@
                 this.setAttribute('index', 2)
                 assertEquals('two', txt.text)
                 </method>
+        <method name="addTests"> 
+            this.addTest("testDatapathConstr");
+        </method> 
         </class>
         
         <dataset name="bug1653" src="http:foo.lzx" request="false"/>
@@ -607,6 +716,9 @@
                 <method name="testGetSrc">
                         assertEquals(bug1653.getSrc(), "http:foo.lzx")
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testGetSrc");
+                </method> 
         </class>
         
     <class name="bug_1660" extends="TestCase">
@@ -630,6 +742,9 @@
                         assertTrue(child instanceof lz.view);
                   }
         </method>
+        <method name="addTests"> 
+            this.addTest("testSubviews");
+        </method> 
     </class>
         
     <dataset name="bug1664">
@@ -661,6 +776,10 @@
             assertEquals('stuff', appliedTermData)
             assertEquals('stuff', eventTermData, 'data sent with event is incompatible type')
         </method>
+        <method name="addTests"> 
+            this.addTest("testFoo");
+            this.addTest("testStuff");
+        </method> 
     </class>
 
         <dataset name="bug1666">
@@ -673,6 +792,9 @@
                 <method name="testDCV">
                         assertTrue(_v.visible)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testDCV");
+                </method> 
         </class>
         
         <class name="bug_1672" extends="TestCase">
@@ -681,6 +803,9 @@
                         assertTrue(false)
                         debug.write('you should not see this line')
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testEmptyReturn");
+                </method> 
         </class>
 
         <class name="bug_1702" extends="TestCase">
@@ -690,6 +815,9 @@
                         anim = foo.animate('rotation', 180, 0)
                         assertNull(anim, 'Animator with duration of 0 was created!')
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testZeroDuration");
+                </method> 
         </class>
                 
     <dataset name="bug1718">
@@ -704,6 +832,9 @@
                 <method name="testXPath">
                         assertEquals('bug1718:/foo', replGuy.xpath)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testXPath");
+                </method> 
         </class>
         
         <dataset name="bug1723">
@@ -724,6 +855,9 @@
                         t.datapath.selectPrev()
                         assertEquals('B', t.datapath.getNodeText())
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testDP");
+                </method> 
         </class>
 
         <class name="bug_1767" extends="TestCase">
@@ -733,6 +867,9 @@
                 <method name="testClickable">
                         assertTrue(this.clickable)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testClickable");
+                </method> 
         </class>
         
         <dataset name="bug1809">
@@ -743,6 +880,9 @@
                 <method name="testBadDP">
                         assertUndefined(bad.serialize())
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testBadDP");
+                </method> 
         </class>
 
     <class name="bug_1843" extends="TestCase">
@@ -750,6 +890,9 @@
         <method name="testClickability">
             assertTrue(cv["clickable"])
         </method>
+        <method name="addTests"> 
+            this.addTest("testClickability");
+        </method> 
     </class>
     
     <class name="bug_1897" extends="TestCase">
@@ -759,6 +902,9 @@
                 dp.setNodeAttribute("foo", "bar")
                 assertEquals(dp.getNodeCount(), 0)
         </method>
+        <method name="addTests"> 
+            this.addTest("testEmptyXPath");
+        </method> 
     </class>
 
         <class name="bug_1899" extends="TestCase">
@@ -769,6 +915,9 @@
                         assertEquals(d, lz.Browser.urlUnescape(lz.Browser.urlEscape(d)))
                 ]]>
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testUrlEscape");
+                </method> 
         </class>
 
         <class name="toggle"
@@ -824,6 +973,9 @@
                         lview.unload()
                         assertEquals(0, lview.loadratio)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testUnload");
+                </method> 
         </class>
 
         <class name="bug_2125" extends="TestCase">
@@ -837,6 +989,9 @@
                 <method name="testSrc">
                     lview.setSource('http:../resources/gif/logo.gif')
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testSrc");
+                </method> 
         </class>
         
     <class name="bug_2131"  extends="TestCase">
@@ -852,6 +1007,9 @@
             <attribute name="bgcolor" value="0xBB8825" />
             <attribute name="fxindent" value="10" />
         </state>
+        <method name="addTests"> 
+            this.addTest("testStateAttr");
+        </method> 
     </class>
         
 
@@ -865,6 +1023,9 @@
                         theview.theanim.destroy()
                         assertNull(theview['theanim'])
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testAnimDelete");
+                </method> 
         </class>
         
         <class name="bug_2225" extends="TestCase">
@@ -880,6 +1041,10 @@
                         inp_field.setText(5671)
                         assertNotNull(inp_field.getText())
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testText");
+                    this.addTest("testInputText");
+                </method> 
         </class>
         
     <dataset name="bug2239">
@@ -895,6 +1060,9 @@
         <method name="testWidth">
                 assertEquals(200, tbox.getCloneNumber(0)['width'])
         </method>
+        <method name="addTests"> 
+            this.addTest("testWidth");
+        </method> 
     </class>
     
         <dataset name="bug2263">
@@ -907,6 +1075,9 @@
                 assertTrue(xmlstringequals('<bug2263><record a="fl&apos;ll" b="dkd&quot;kddk"/></bug2263>', bug2263.serialize()));
                 ]]>
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testSerialize");
+                </method> 
         </class>
         
         <class name="bug_3005" extends="TestCase">
@@ -920,6 +1091,9 @@
                         for (var i = 1; i &lt;= n; ++i)
                                 assertEquals(i, dp.xpathQuery('line[' + i + ']/text()'))
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testOrder");
+                </method> 
         </class>
                         
         <dataset name="bug3036">
@@ -961,6 +1135,9 @@
                         for (var i = 0; i &lt; n; ++i)
                                 assertEquals(i + 1, frame.outer.entry.clones[i].pos)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testLazyRepl");
+                </method> 
         </class>
         
         <dataset name="bug3069">
@@ -979,6 +1156,9 @@
                         assertEquals(v0.clones.length, this.subviews[0].datapath.xpathQuery('last()'))
                         assertEquals(v0.clones.length, this.subviews[0].num)
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testXpathQuery");
+                </method> 
         </class>
         
         <class name="bug_3071" extends="TestCase">
@@ -991,6 +1171,9 @@
                 <handler name="onwidth" reference="inside">
                   // Just to create a delegate to look for
                 </handler>
+                <method name="addTests"> 
+                    this.addTest("testMethodContext");
+                </method> 
         </class>
 
         <dataset name="bug3285">
@@ -1070,6 +1253,9 @@
 
 
         </method>
+        <method name="addTests"> 
+            this.addTest("test1");
+        </method> 
     </class>
 
     <dataset name="bug3435">
@@ -1099,6 +1285,9 @@
                         assertEquals(dpNewNode.p.serialize(), dpCheck.serialize())
                         assertEquals('two', dpNewNode.xpathQuery('@value'))
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testAddNode");
+                </method> 
         </class>
 
         <class name="bug_3452" extends="TestCase">
@@ -1108,6 +1297,9 @@
                         assertNotUndefined(repl.clones[ 0 ].datapath);
                         assertEquals ( repl.datapath.xpath, repl.clones[ 0 ].datapath.xpath );
                 </method>
+                <method name="addTests"> 
+                    this.addTest("testCloneDatapath");
+                </method> 
         </class>
 
     <dataset name="bug3474">
@@ -1139,6 +1331,9 @@
             <view name="pos" datapath="position()" />
             <view name="len" datapath="last()"/>
         </view>
+        <method name="addTests"> 
+            this.addTest("testIt");
+        </method> 
     </class>
         
 </library>

Modified: openlaszlo/trunk/test/style/constraints/constraint-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/constraint-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/constraints/constraint-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -113,6 +113,11 @@
             assertEquals(  0x963A1E, gOtter.bgcolor );       //  9,845,278
             assertEquals(  0x6B7347, gOdd.bgcolor );         //  7,041,863           
         </method>
+        <method name="addTests"> 
+            this.addTest("testSimpleConstraint");
+            this.addTest("testClassConstraint");
+            this.addTest("testClassAttrValSelector");
+        </method> 
 </class>
 </library>
 <!-- Copyright 2007-2008 Laszlo Systems -->

Modified: openlaszlo/trunk/test/style/constraints/contention.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/contention.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/constraints/contention.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -29,6 +29,10 @@
         <method name="testConstantOverridesConstraint">
             assertEquals(27, dyson.getAttribute("x")); 
         </method>
+        <method name="addTests"> 
+            this.addTest("testCantThinkOfAName");
+            this.addTest("testConstantOverridesConstraint");
+        </method> 
     </class>
     
     

Modified: openlaszlo/trunk/test/style/constraints/speedtest.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/speedtest.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/constraints/speedtest.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -91,5 +91,8 @@
             }
             assertEquals( iter, subsubID.subnodes.length );
         </method>
+        <method name="addTests"> 
+            this.addTest("testLookupTimes");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/style/constraints/subclassing.lzx
===================================================================
--- openlaszlo/trunk/test/style/constraints/subclassing.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/constraints/subclassing.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -85,5 +85,10 @@
              this.assertEquals(testing.width/2, sb6.width, "LPP-4451-inverse");
              ]]>
          </method>
+         <method name="addTests"> 
+             this.addTest("testClassConstraint");
+             this.addTest("testInstanceOverrideConstraint");
+             this.addTest("testSubclassOverrideConstraint");
+         </method> 
      </class>
 </library>

Modified: openlaszlo/trunk/test/style/descendantselector/complex-descendant-selector-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/descendantselector/complex-descendant-selector-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/descendantselector/complex-descendant-selector-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -32,6 +32,11 @@
             assertEquals( 0xAA00AA, gRobertJr.getAttribute("favoritecolor"));
             assertEquals( 0x441a0a, gIndio.getAttribute("favoritecolor"));
         </method>
+        <method name="addTests"> 
+            this.addTest("testTopLevel");
+            this.addTest("testTwoLevel");
+            this.addTest("testThreeLevel");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/style/descendantselector/descendantselector-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/descendantselector/descendantselector-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/descendantselector/descendantselector-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -34,6 +34,13 @@
             assertEquals("plainoldcat", gKittycat.getAttribute("misc"));        
         </method>
         
+        <method name="addTests"> 
+            this.addTest("testSimpleDescendant");
+            this.addTest("testOverridenDescendant");
+            this.addTest("testGrandchildren");
+            this.addTest("testCatAncestor");
+            this.addTest("testSpecificity");
+        </method> 
     </class>
 
 </library>        

Modified: openlaszlo/trunk/test/style/descendantselector/simplerdescendant-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/descendantselector/simplerdescendant-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/descendantselector/simplerdescendant-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -41,5 +41,8 @@
             assertEquals(  '0x88FF00', delaney.inner.bgcolor);                         
             assertEquals(  '0x88FF00', loden.inner.bgcolor);                                     
         </method>
+        <method name="addTests"> 
+            this.addTest("testSimpleDescendant");
+        </method> 
     </class>    
 </library>

Modified: openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/elementselector/elementselector-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -19,6 +19,10 @@
             assertEquals( 279, gPatrickElement.getWidth() );
             assertEquals( "uc berkeley", gPatrickElement.getAttribute("miscdata"));
         </method>
+        <method name="addTests"> 
+            this.addTest("testRobby");
+            this.addTest("testPatrick");
+        </method> 
     </class>    
     
 </library>

Modified: openlaszlo/trunk/test/style/idselector/ids.lzx
===================================================================
--- openlaszlo/trunk/test/style/idselector/ids.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/idselector/ids.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -34,5 +34,10 @@
         <method name="testTagTypeAndId">
             assertEquals( "find me please", gFindMe.getAttribute("miscdata"));            
         </method>
+        <method name="addTests"> 
+            this.addTest("testPhilipAndrew");
+            this.addTest("testGeorgeRobin");
+            this.addTest("testTagTypeAndId");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/style/names/main.lzx
===================================================================
--- openlaszlo/trunk/test/style/names/main.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/names/main.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -23,6 +23,9 @@
         <method name="testnamesuite">
                 assertEquals('0x00FF00', gMax.bgcolor);
         </method>
+        <method name="addTests"> 
+            this.addTest("testnamesuite");
+        </method> 
     </TestCase> 
 </TestSuite>
 

Modified: openlaszlo/trunk/test/style/names/main_dash.lzx
===================================================================
--- openlaszlo/trunk/test/style/names/main_dash.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/names/main_dash.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -33,6 +33,9 @@
         <!--<method name="testName">
             this.finishedTest("testName");
         </method>-->
+<method name="addTests"> 
+    this.addTest("testName");
+</method> 
     </TestCase>
 </TestSuite>    
 </canvas>

Modified: openlaszlo/trunk/test/style/names/main_underscore.lzx
===================================================================
--- openlaszlo/trunk/test/style/names/main_underscore.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/names/main_underscore.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -26,6 +26,9 @@
                 assertEquals('0x00FF00', brown.bgcolor);
                 assertEquals("now is the time...", brown.text.text)
         </method>
+        <method name="addTests"> 
+            this.addTest("testnamesuite");
+        </method> 
     </TestCase> 
 </TestSuite>
 

Modified: openlaszlo/trunk/test/style/parsertricks/import-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/parsertricks/import-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/parsertricks/import-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -34,6 +34,10 @@
             assertEquals( '0xd19063', gPaul.getAttribute("bgcolor") );
             <!--this.finishedTest("testPaul");-->
         </method>
+        <method name="addTests"> 
+            this.addTest("testCarla");
+            this.addTest("testPaul");
+        </method> 
 </TestCase>
 </TestSuite>
 

Modified: openlaszlo/trunk/test/style/resource/resource-not-found.lzx
===================================================================
--- openlaszlo/trunk/test/style/resource/resource-not-found.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/resource/resource-not-found.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -68,6 +68,10 @@
             assertEquals( 206, gBonk.getAttribute("resourcewidth") );             
         </method>
 
+        <method name="addTests"> 
+            this.addTest("testFoundResource");
+            this.addTest("testFoundStyledResource");
+        </method> 
     </class>
 
 </library>

Modified: openlaszlo/trunk/test/style/simple/simple.lzx
===================================================================
--- openlaszlo/trunk/test/style/simple/simple.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/simple/simple.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -45,5 +45,9 @@
         <method name="testColors">
             assertEquals(0x6ab5e6, gTravis.innercolor);
         </method>
+        <method name="addTests"> 
+            this.addTest("testBasics");
+            this.addTest("testColors");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/style/simple/undefineds.lzx
===================================================================
--- openlaszlo/trunk/test/style/simple/undefineds.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/simple/undefineds.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -31,6 +31,10 @@
             <method name="testUnspecifiedIsUndefined">
                 assertUndefined(fazzleblarb.getAttribute("undef"));
             </method>
+            <method name="addTests"> 
+                this.addTest("testUndefinedIsUndefined");
+                this.addTest("testUnspecifiedIsUndefined");
+            </method> 
     </class>
     
     <script>

Modified: openlaszlo/trunk/test/style/specificity/applicability.lzx
===================================================================
--- openlaszlo/trunk/test/style/specificity/applicability.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/specificity/applicability.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -120,5 +120,11 @@
         <method name="testRuleOrder">
             assertEquals( 100, multimatch.cprop );
         </method>
+        <method name="addTests"> 
+            this.addTest("testClasses");
+            this.addTest("testCompound");
+            this.addTest("testComplexFunky");
+            this.addTest("testRuleOrder");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/style/specificity/newspecificity.lzx
===================================================================
--- openlaszlo/trunk/test/style/specificity/newspecificity.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/specificity/newspecificity.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -145,5 +145,8 @@
             assertEquals( 10, n.value10 );
             assertEquals( 11, n.value11 );
         </method>
+        <method name="addTests"> 
+            this.addTest("testRuleOrder");
+        </method> 
     </class>
 </library>

Modified: openlaszlo/trunk/test/style/specificity/specificity-tests.lzx
===================================================================
--- openlaszlo/trunk/test/style/specificity/specificity-tests.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/specificity/specificity-tests.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -92,5 +92,10 @@
             this.assertEquals( 0xAA00AA, gRobertJr.getAttribute("favoritecolor"));            
             this.assertEquals( 0x441a0a, gIndio.getAttribute("favoritecolor"));               
         </method>
+        <method name="addTests"> 
+            this.addTest("testLessThan");
+            this.addTest("testSpecificityPeople");
+            this.addTest("testLittleBoys");
+        </method> 
     </class>    
 </library>

Modified: openlaszlo/trunk/test/style/suite.lzx
===================================================================
--- openlaszlo/trunk/test/style/suite.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/suite.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -1005,6 +1005,38 @@
 <!--end typography tests-->
 
 
+       <method name="addTests"> 
+           this.addTest("testPhilip");
+           this.addTest("testGeorge");
+           this.addTest("testNonNameAttrs");
+           this.addTest("testthename");
+           this.addTest("testNamedAncestor");
+           this.addTest("testNameVsElement");
+           this.addTest("testSimpleConstraint");
+           this.addTest("testClassConstraint");
+           this.addTest("testClassAttrValSelector");
+           this.addTest("testClassConstraint");
+           this.addTest("testInstanceOverrideConstraint");
+           this.addTest("testSubclassOverrideConstraint");
+           this.addTest("testRobby");
+           this.addTest("testPatrick");
+           this.addTest("testSimpleDescendant");
+           this.addTest("testTopLevel");
+           this.addTest("testTwoLevel");
+           this.addTest("testThreeLevel");
+           this.addTest("testColors");
+           this.addTest("testPhilip");
+           this.addTest("testGeorge");
+           this.addTest("testnamesuite");
+           this.addTest("testFoundStyledResource");
+           this.addTest("testClasses");
+           this.addTest("testCompound");
+           this.addTest("testComplexFunky");
+           this.addTest("testRuleOrder");
+           this.addTest("testRuleOrder");
+           this.addTest("testLittleBoys");
+           this.addTest("testSimpleText");
+       </method> 
     </TestCase>
 </TestSuite>
 

Modified: openlaszlo/trunk/test/style/typography/typography-test.lzx
===================================================================
--- openlaszlo/trunk/test/style/typography/typography-test.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/style/typography/typography-test.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -92,6 +92,9 @@
         </method>
 
 
+        <method name="addTests"> 
+            this.addTest("testSimpleText");
+        </method> 
 </TestCase>
     </TestSuite>
 

Modified: openlaszlo/trunk/test/text/cleartext.lzx
===================================================================
--- openlaszlo/trunk/test/text/cleartext.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/text/cleartext.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -44,6 +44,12 @@
             assertTrue( selpos == -1 || selpos == 0)
             assertTrue( selsize == -1 || selsize == 0);            
         ]]></method>
+        <method name="addTests"> 
+            this.addTest("testSelectable");
+            this.addTest("testSelectionRange");
+            this.addTest("testClearText");
+            this.addTest("testClearSelectableText");
+        </method> 
     </class>
     
     <TestSuite>

Modified: openlaszlo/trunk/test/traits.lzx
===================================================================
--- openlaszlo/trunk/test/traits.lzx	2008-07-07 21:09:02 UTC (rev 10233)
+++ openlaszlo/trunk/test/traits.lzx	2008-07-07 23:02:17 UTC (rev 10234)
@@ -124,6 +124,13 @@
                 assertEquals( "B", itC4.subnodes[0].name);
                 assertEquals( "A", itC4.subnodes[1].name);
             </method>
+             <method name="addTests"> 
+                 this.addTest("test0");
+                 this.addTest("test1");
+                 this.addTest("test2");
+                 this.addTest("test3");
+                 this.addTest("test4");
+             </method> 
         </TestCase>
     </TestSuite>
 ?>



More information about the Laszlo-checkins mailing list