XmlSchemaExceptionTests.cs 657 B

123456789101112131415161718192021222324252627
  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 <[email protected]>
  8. //
  9. using System;
  10. using System.Xml.Schema;
  11. using NUnit.Framework;
  12. namespace MonoTests.System.Xml
  13. {
  14. [TestFixture]
  15. public class XmlSchemaExceptionTests
  16. {
  17. [Test]
  18. public void Bug599689_ToStringMatchesDotNet ()
  19. {
  20. Assert.AreEqual ("System.Xml.Schema.XmlSchemaException: Test",
  21. new XmlSchemaException ("Test").ToString (),
  22. "Novell bug #599689 (https://bugzilla.novell.com/show_bug.cgi?id=599689) not fixed.");
  23. }
  24. }
  25. }