[Monodevelop-patches-list] r2412 - trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Fri Apr 1 18:00:27 EST 2005
Author: jluke
Date: 2005-04-01 18:00:27 -0500 (Fri, 01 Apr 2005)
New Revision: 2412
Added:
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs
Log:
add tests
Added: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs 2005-04-01 05:46:29 UTC (rev 2411)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs 2005-04-01 23:00:27 UTC (rev 2412)
@@ -0,0 +1,20 @@
+using System;
+
+public partial class Foo
+{
+ public partial interface IInternal
+ {
+ }
+}
+
+partial interface IFoo
+{
+}
+
+partial struct VFoo
+{
+}
+
+class Bar {
+ static void Main () {}
+}
Added: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs 2005-04-01 05:46:29 UTC (rev 2411)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs 2005-04-01 23:00:27 UTC (rev 2412)
@@ -0,0 +1,17 @@
+using System;
+using System.Collections;
+
+class T
+{
+ static IEnumerator GetIt ()
+ {
+ yield return 1;
+ yield break;
+ }
+
+ static void Main ()
+ {
+ GetIt ();
+ }
+}
+
More information about the Monodevelop-patches-list
mailing list