Merge pull request #916 from akoeplinger/fix-gac-test
[mono.git] / mcs / class / System.XML / Test / System.Xml.Schema / XmlSchemaExceptionTests.cs
1 // Copyright (c) 2014 SIL International
2 // This software is licensed under the MIT License (http://opensource.org/licenses/MIT)
3 //
4 // Unit tests for XmlSchemaException
5 //
6 // Author:
7 //     Eberhard Beilharz <eb1@sil.org>
8 //
9 using System;
10 using System.Xml.Schema;
11 using NUnit.Framework;
12
13 namespace MonoTests.System.Xml
14 {
15         [TestFixture]
16         public class XmlSchemaExceptionTests
17         {
18                 [Test]
19                 public void Bug599689_ToStringMatchesDotNet ()
20                 {
21                         Assert.AreEqual ("System.Xml.Schema.XmlSchemaException: Test",
22                                 new XmlSchemaException ("Test").ToString (),
23                                 "Novell bug #599689 (https://bugzilla.novell.com/show_bug.cgi?id=599689) not fixed.");
24                 }
25         }
26 }
27