CodeMemberPropertyTest.cs 565 B

1234567891011121314151617181920212223242526
  1. //
  2. // CodeMemberFieldTest.cs - NUnit Test Cases for System.CodeDom.CodeMemberField
  3. //
  4. // Authors:
  5. // Gert Driesen ([email protected])
  6. //
  7. // (C) 2005 Novell
  8. //
  9. using NUnit.Framework;
  10. using System.CodeDom;
  11. namespace MonoTests.System.CodeDom
  12. {
  13. [TestFixture]
  14. public class CodeMemberPropertyTest
  15. {
  16. [Test]
  17. public void DefaultType ()
  18. {
  19. CodeMemberProperty property = new CodeMemberProperty ();
  20. Assert.IsNotNull (property.Type, "#1");
  21. Assert.AreEqual (new CodeTypeReference (string.Empty).BaseType, property.Type.BaseType, "#2");
  22. }
  23. }
  24. }