2 // Tests for System.Xml.Serialization.XmlTypeAttribute
10 using System.Xml.Serialization;
12 using NUnit.Framework;
14 namespace MonoTests.System.XmlSerialization
17 public class XmlTypeAttributeTests
20 public void IncludeInSchemaDefault ()
22 XmlTypeAttribute attr = new XmlTypeAttribute ();
23 Assert.AreEqual (true, attr.IncludeInSchema);
27 public void NamespaceDefault ()
29 XmlTypeAttribute attr = new XmlTypeAttribute ();
30 Assert.IsNull (attr.Namespace);
34 public void TypeNameDefault ()
36 XmlTypeAttribute attr = new XmlTypeAttribute ();
37 Assert.AreEqual (string.Empty, attr.TypeName, "#1");
40 Assert.AreEqual (string.Empty, attr.TypeName, "#2");