| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // MonoTests.System.Web.Services.Description.DocumentableItemTest.cs
- //
- // Author:
- // Erik LeBel <[email protected]>
- //
- // (C) 2003 Erik LeBel
- //
- using NUnit.Framework;
- using System;
- using System.Web.Services.Description;
- namespace MonoTests.System.Web.Services.Description
- {
- [TestFixture]
- public class DocumentableItemTest
- {
- DocumentableItem item;
- [SetUp]
- public void InitializeItem()
- {
- // workaround for base class
- item = new Types();
- }
- [Test]
- public void TestDefaultProperties()
- {
- Assertion.AssertEquals(String.Empty, item.Documentation);
- }
-
- [Test]
- public void TestNullDocumentationString()
- {
- item.Documentation = null;
- Assertion.AssertEquals(String.Empty, item.Documentation);
- }
- }
- }
|