Revision: 2165
          http://vexi.svn.sourceforge.net/vexi/?rev=2165&view=rev
Author:   mkpg2
Date:     2007-09-11 09:01:44 -0700 (Tue, 11 Sep 2007)

Log Message:
-----------
Use splitpane now its working again.

Modified Paths:
--------------
    trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/main.t
    trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/node_testcase.t

Modified: trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/main.t
===================================================================
--- trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/main.t       
2007-09-11 16:01:02 UTC (rev 2164)
+++ trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/main.t       
2007-09-11 16:01:44 UTC (rev 2165)
@@ -13,7 +13,7 @@
         throw "CONFIGURATION ERROR: vunit.test_template is not set!\n"
             + "This is how the root testsuite/testcase is specified.";
     }
-    vexi.log.warn(testTemplate);
+    vexi.log.warn("ROOT TEST: " + testTemplate);
 
     // Maybe this should be library function
        var virtvexi = function(){
@@ -34,7 +34,9 @@
                var path = testTemplate.split(".");
                for(var i=0; path.length>i; i++){
                    template = template[path[i]];
+                   vexi.log.warn(template);
                }
+               var staticPart = vexi.log.warn((typeof(template)));
                var suite = template..test();
                aVexi..vexi.test.vunit..testListener = testListener;
                aVexi..vexi.test.vunit..runTest(suite);
@@ -57,19 +59,15 @@
                 };
             </wi:button>
         </lay:pad>
-        <lay:pad padding="3" orient="vertical">
-            <ui:box align="center" shrink="true" text="Test Runner(tm)" 
fontsize="15"/>
-            <ui:box height="5" shrink="true" />
-            <!--<wi:splitpane >-->
-            <ui:box>
-                <wi:bevel form="down">
-                    <wi:scrollpane padding="3" autohide="true">
-                        <ui:box id="pane"/>
-                    </wi:scrollpane>
-                </wi:bevel>
-                <wi:separator hshrink="true"/>
-                <!--<wi:scrollpane autohide="true" margin="3" padding="3">-->
-                    <wi:label id="display" multiline="true">
+        <wi:splitpane orient="horizontal" master="$master">
+            <wi:bevel form="down" layout="place" width="100">
+                <wi:scrollpane padding="3" autohide="true">
+                    <ui:box id="pane"/>
+                </wi:scrollpane>
+            </wi:bevel>
+            <wi:bevel id="master" form="down" layout="place" width="100">
+                <wi:scrollpane padding="3" autohide="true">
+                    <wi:label id="display" multiline="true" hshrink="false">
                         thisbox.depth;
                         thisbox.exception ++=function(v){
                             //while(numchildren)thisbox[0]=null;
@@ -83,10 +81,10 @@
                             thisbox.text = lines.join("\n");
                         };
                     </wi:label>
-                <!--</wi:scrollpane>-->
-            </ui:box>
-            <!--</wi:splitpane>-->
-        </lay:pad>
+                </wi:scrollpane>
+            </wi:bevel>
+        </wi:splitpane>
+
         var currentNode = $pane;
         thisbox.clearTests = function(){
             $run.enabled = false;

Modified: trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/node_testcase.t
===================================================================
--- trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/node_testcase.t      
2007-09-11 16:01:02 UTC (rev 2164)
+++ trunk/widgets/org.vexi.vunit/src/org/vexi/vunit/runner/node_testcase.t      
2007-09-11 16:01:44 UTC (rev 2165)
@@ -11,7 +11,7 @@
      thisbox.depth;
 
      // Select trap
-     thisbox.DoubleClick1 ++=function(v){
+     thisbox.selected ++=function(v){
          //vexi.log.warn(exception?exception:"OK");
          .main..display.depth = depth;
          .main..display.exception = exception;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to