|
|
@@ -0,0 +1,26 @@
|
|
|
+//
|
|
|
+// CodeMemberFieldTest.cs - NUnit Test Cases for System.CodeDom.CodeMemberField
|
|
|
+//
|
|
|
+// Authors:
|
|
|
+// Gert Driesen ([email protected])
|
|
|
+//
|
|
|
+// (C) 2005 Novell
|
|
|
+//
|
|
|
+
|
|
|
+using NUnit.Framework;
|
|
|
+using System.CodeDom;
|
|
|
+
|
|
|
+namespace MonoTests.System.CodeDom
|
|
|
+{
|
|
|
+ [TestFixture]
|
|
|
+ public class CodeMemberPropertyTest
|
|
|
+ {
|
|
|
+ [Test]
|
|
|
+ public void DefaultType ()
|
|
|
+ {
|
|
|
+ CodeMemberProperty property = new CodeMemberProperty ();
|
|
|
+ Assert.IsNotNull (property.Type, "#1");
|
|
|
+ Assert.AreEqual (new CodeTypeReference (string.Empty).BaseType, property.Type.BaseType, "#2");
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|