eol-style:native.
[mono.git] / mcs / class / System.XML / Test / System.Xml.Serialization / XmlAttributeAttributeTests.cs
index 9732c3807a23d4f3d5546fd0a919794b1bb84368..fed9f9d64542565a68706beb609eb8d0fb550c82 100644 (file)
@@ -1,61 +1,61 @@
-//\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);
+               }
+       }
+}