AllTests.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. // Author:
  2. // Mario Martinez ([email protected])
  3. //
  4. // (C) Ximian, Inc. http://www.ximian.com
  5. //
  6. using NUnit.Framework;
  7. namespace MonoTests.System.Xml
  8. {
  9. /// <summary>
  10. /// Combines all unit tests for the System.XML.dll assembly
  11. /// into one test suite.
  12. /// </summary>
  13. public class AllTests : TestCase
  14. {
  15. public AllTests (string name) : base (name) {}
  16. public static ITest Suite {
  17. get {
  18. TestSuite suite = new TestSuite ();
  19. suite.AddTest (new TestSuite (typeof (XmlProcessingInstructionTests)));
  20. suite.AddTest (new TestSuite (typeof (XmlTextTests)));
  21. suite.AddTest (new TestSuite (typeof (XmlTextReaderTests)));
  22. suite.AddTest (new TestSuite (typeof (XmlTextWriterTests)));
  23. suite.AddTest (new TestSuite (typeof (XmlNamespaceManagerTests)));
  24. suite.AddTest (new TestSuite (typeof (XmlAttributeTests)));
  25. suite.AddTest (new TestSuite (typeof (XmlDocumentTests)));
  26. suite.AddTest (new TestSuite (typeof (NameTableTests)));
  27. suite.AddTest (new TestSuite (typeof (XmlElementTests)));
  28. suite.AddTest (new TestSuite (typeof (XmlNodeListTests)));
  29. suite.AddTest (new TestSuite (typeof (XmlCommentTests)));
  30. suite.AddTest (new TestSuite (typeof (XmlCDataSectionTests)));
  31. suite.AddTest (new TestSuite (typeof (XmlWhitespaceTests)));
  32. suite.AddTest (new TestSuite (typeof (XmlSignificantWhitespaceTests)));
  33. suite.AddTest (new TestSuite (typeof (XmlDeclarationTests)));
  34. suite.AddTest (new TestSuite (typeof (XmlDocumentTypeTests)));
  35. return suite;
  36. }
  37. }
  38. }
  39. }