* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / class / System.Web.Services / Test / System.Web.Services.Description / TypesTest.cs
1 //
2 // MonoTests.System.Web.Services.Description.TypesTest.cs
3 //
4 // Author:
5 //   Erik LeBel <eriklebel@yahoo.ca>
6 //
7 // (C) 2003 Erik LeBel
8 //
9
10 using NUnit.Framework;
11
12 using System;
13 using System.Web.Services.Description;
14 using System.Xml.Serialization;
15
16 namespace MonoTests.System.Web.Services.Description
17 {
18         [TestFixture]
19         public class TypesTest
20         {
21                 Types types;
22
23                 [SetUp]
24                 public void InitializeTypes()
25                 {
26                         types = new Types();
27                 }
28
29                 [Test]
30                 public void TestDefaultProperties()
31                 {
32                         Assertion.AssertEquals(String.Empty, types.Documentation);
33                         Assertion.AssertNotNull(types.Schemas);
34                         Assertion.AssertEquals(0, types.Schemas.Count);
35                         Assertion.AssertNotNull(types.Extensions);
36                         Assertion.AssertEquals(0, types.Extensions.Count);
37                 }
38         }
39 }