Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2001-12-14 02:32:13 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-12-14 02:32:13 +0300
commit3729931a230c6847f8058239d05bade17b4f8464 (patch)
tree33fae20bc3b39040d1a1d55333732e31d70244a3 /mcs/tests/test-30.cs
parent83582dc3778916b8fa39b5faf6a8fe53af40e70c (diff)
3 more tests pass now
svn path=/trunk/mcs/; revision=1569
Diffstat (limited to 'mcs/tests/test-30.cs')
-rw-r--r--mcs/tests/test-30.cs17
1 files changed, 14 insertions, 3 deletions
diff --git a/mcs/tests/test-30.cs b/mcs/tests/test-30.cs
index ba93dae1fce..56c8308c02b 100644
--- a/mcs/tests/test-30.cs
+++ b/mcs/tests/test-30.cs
@@ -39,10 +39,21 @@ class test {
if (x.ib_called)
return 1;
- if (x.ia_called)
- return 0;
+ if (!x.ia_called)
+ return 2;
- return 1;
+ X y = new X ();
+ ((IB) y).Draw ();
+ Console.WriteLine ("IA: " + x.ia_called);
+ Console.WriteLine ("IB: " + x.ib_called);
+
+ if (!y.ib_called)
+ return 3;
+ if (y.ia_called)
+ return 4;
+
+ Console.WriteLine ("All tests pass");
+ return 0;
}
}