Author: massi
Date: 2008-02-04 10:27:45 -0500 (Mon, 04 Feb 2008)
New Revision: 94753

Modified:
   trunk/mono/mono/tests/ChangeLog
   trunk/mono/mono/tests/iface4.cs
Log:
        * iface4.cs: Tested also Stop method (just to be on the safe side).



Modified: trunk/mono/mono/tests/ChangeLog
===================================================================
--- trunk/mono/mono/tests/ChangeLog     2008-02-04 15:18:54 UTC (rev 94752)
+++ trunk/mono/mono/tests/ChangeLog     2008-02-04 15:27:45 UTC (rev 94753)
@@ -1,3 +1,7 @@
+2008-02-04  Massimiliano Mantione  <[EMAIL PROTECTED]>
+
+       * iface4.cs: Tested also Stop method (just to be on the safe side).
+
 2008-01-28  Rodrigo Kumpera  <[EMAIL PROTECTED]>
 
        * Makefile.am: disabled bug-348522.2.cs until after release.

Modified: trunk/mono/mono/tests/iface4.cs
===================================================================
--- trunk/mono/mono/tests/iface4.cs     2008-02-04 15:18:54 UTC (rev 94752)
+++ trunk/mono/mono/tests/iface4.cs     2008-02-04 15:27:45 UTC (rev 94753)
@@ -35,6 +35,7 @@
                Derived2 d2 = new Derived2 ();
                Base b1 = d1;
                Base b2 = d2;
+               Base rb = new Base ();
 
                if (d1.Turn () != 4)
                        return 1;
@@ -51,8 +52,16 @@
                if (((IVehicle)b2).Turn () != 7)
                        return 5;
                
-               //Console.WriteLine ("TEST {0}", ((IVehicle)b2).Turn ());       
+               if (((IVehicle)rb).Stop () != 2)
+                       return 6;
 
+               if (((IVehicle)d1).Stop () != 2)
+                       return 7;
+
+               if (((IVehicle)d2).Stop () != 6)
+                       return 8;
+
+               //Console.WriteLine ("TEST {0}", ((IVehicle)b2).Turn ());
                return 0;
        }
 }

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

Reply via email to