Author: lluis
Date: 2007-05-17 10:22:38 -0400 (Thu, 17 May 2007)
New Revision: 77562

Modified:
   trunk/monodevelop/Extras/NUnit/ChangeLog
   trunk/monodevelop/Extras/NUnit/Gui/TestPad.cs
Log:
* Gui/TestPad.cs: Fill the tree if there is some RootTest defined just
  after the pad initialization.

Modified: trunk/monodevelop/Extras/NUnit/ChangeLog
===================================================================
--- trunk/monodevelop/Extras/NUnit/ChangeLog    2007-05-17 14:13:24 UTC (rev 
77561)
+++ trunk/monodevelop/Extras/NUnit/ChangeLog    2007-05-17 14:22:38 UTC (rev 
77562)
@@ -1,3 +1,8 @@
+2007-05-17  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * Gui/TestPad.cs: Fill the tree if there is some RootTest defined just
+         after the pad initialization.
+
 2007-05-14  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.NUnit.mdp: Copy nunit dlls to target dir.

Modified: trunk/monodevelop/Extras/NUnit/Gui/TestPad.cs
===================================================================
--- trunk/monodevelop/Extras/NUnit/Gui/TestPad.cs       2007-05-17 14:13:24 UTC 
(rev 77561)
+++ trunk/monodevelop/Extras/NUnit/Gui/TestPad.cs       2007-05-17 14:22:38 UTC 
(rev 77562)
@@ -306,6 +306,9 @@
                        detailsTree.RowActivated += new Gtk.RowActivatedHandler 
(OnTestActivated);
                        regressionTree.RowActivated += new 
Gtk.RowActivatedHandler (OnRegressionTestActivated);
                        failedTree.RowActivated += new Gtk.RowActivatedHandler 
(OnFailedTestActivated);
+                       
+                       if (testService.RootTest != null)
+                               LoadTree (testService.RootTest);
                }
                
                void OnTestSuiteChanged (object sender, EventArgs e)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to