-//\r
-// Tests for System.Xml.Serialization.XmlAttributeAttribute\r
-//\r
-// Author:\r
-// Gert Driesen\r
-//\r
-// (C) 2005 Novell\r
-//\r
-\r
-using System.Xml.Schema;\r
-using System.Xml.Serialization;\r
-\r
-using NUnit.Framework;\r
-\r
-namespace MonoTests.System.XmlSerialization\r
-{\r
- [TestFixture]\r
- public class XmlAttributeAttributeTests\r
- {\r
- [Test]\r
- public void AttributeNameDefault ()\r
- {\r
- XmlAttributeAttribute attr = new XmlAttributeAttribute ();\r
- Assert.AreEqual (string.Empty, attr.AttributeName, "#1");\r
-\r
- attr.AttributeName = null;\r
- Assert.AreEqual (string.Empty, attr.AttributeName, "#2");\r
- }\r
-\r
- [Test]\r
- public void DataTypeDefault ()\r
- {\r
- XmlAttributeAttribute attr = new XmlAttributeAttribute ();\r
- Assert.AreEqual (string.Empty, attr.DataType, "#1");\r
-\r
- attr.DataType = null;\r
- Assert.AreEqual (string.Empty, attr.DataType, "#2");\r
- }\r
-\r
- [Test]\r
- public void FormDefault ()\r
- {\r
- XmlAttributeAttribute attr = new XmlAttributeAttribute ();\r
- Assert.AreEqual (XmlSchemaForm.None, attr.Form);\r
- }\r
-\r
- [Test]\r
- public void NamespaceDefault ()\r
- {\r
- XmlAttributeAttribute attr = new XmlAttributeAttribute ();\r
- Assert.IsNull (attr.Namespace);\r
- }\r
-\r
- [Test]\r
- public void TypeDefault ()\r
- {\r
- XmlAttributeAttribute attr = new XmlAttributeAttribute ();\r
- Assert.IsNull (attr.Type);\r
- }\r
- }\r
-}\r
+//
+// Tests for System.Xml.Serialization.XmlAttributeAttribute
+//
+// Author:
+// Gert Driesen
+//
+// (C) 2005 Novell
+//
+
+using System.Xml.Schema;
+using System.Xml.Serialization;
+
+using NUnit.Framework;
+
+namespace MonoTests.System.XmlSerialization
+{
+ [TestFixture]
+ public class XmlAttributeAttributeTests
+ {
+ [Test]
+ public void AttributeNameDefault ()
+ {
+ XmlAttributeAttribute attr = new XmlAttributeAttribute ();
+ Assert.AreEqual (string.Empty, attr.AttributeName, "#1");
+
+ attr.AttributeName = null;
+ Assert.AreEqual (string.Empty, attr.AttributeName, "#2");
+ }
+
+ [Test]
+ public void DataTypeDefault ()
+ {
+ XmlAttributeAttribute attr = new XmlAttributeAttribute ();
+ Assert.AreEqual (string.Empty, attr.DataType, "#1");
+
+ attr.DataType = null;
+ Assert.AreEqual (string.Empty, attr.DataType, "#2");
+ }
+
+ [Test]
+ public void FormDefault ()
+ {
+ XmlAttributeAttribute attr = new XmlAttributeAttribute ();
+ Assert.AreEqual (XmlSchemaForm.None, attr.Form);
+ }
+
+ [Test]
+ public void NamespaceDefault ()
+ {
+ XmlAttributeAttribute attr = new XmlAttributeAttribute ();
+ Assert.IsNull (attr.Namespace);
+ }
+
+ [Test]
+ public void TypeDefault ()
+ {
+ XmlAttributeAttribute attr = new XmlAttributeAttribute ();
+ Assert.IsNull (attr.Type);
+ }
+ }
+}