(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Web.Services / Test / System.Web.Services.Description / PortTypeTest.cs
blob1f5bb347161e24b81ad45703671946f45bb72b71
1 //
2 // MonoTests.System.Web.Services.Description.PortTypeTest.cs
3 //
4 // Author:
5 // Erik LeBel <eriklebel@yahoo.ca>
6 //
7 // (C) 2003 Erik LeBel
8 //
10 using NUnit.Framework;
12 using System;
13 using System.Web.Services.Description;
15 namespace MonoTests.System.Web.Services.Description
17 [TestFixture]
18 public class PortTypeTest
20 PortType portType;
22 [SetUp]
23 public void InitializePortType()
25 portType = new PortType();
28 [Test]
29 public void TestDefaultProperties()
31 Assertion.AssertNull(portType.Name);
32 Assertion.AssertNotNull(portType.Operations);
33 Assertion.AssertEquals(0, portType.Operations.Count);
34 Assertion.AssertNull(portType.ServiceDescription);
37 [Test]
38 public void TestEmptyName()
40 portType.Name = String.Empty;
41 Assertion.AssertEquals(String.Empty, portType.Name);
44 [Test]
45 public void TestLongName()
47 const string LongName = "abcdefghijklmnopqrstuvwxyz";
48 portType.Name = LongName;
49 Assertion.AssertEquals(LongName, portType.Name);