/src/NUnit/core/NamespaceSuite.cs

# · C# · 38 lines · 13 code · 4 blank · 21 comment · 0 complexity · 7db3489aa6b3242574804fbd138eb54a MD5 · raw file

  1. // ****************************************************************
  2. // This is free software licensed under the NUnit license. You
  3. // may obtain a copy of the license as well as information regarding
  4. // copyright ownership at http://nunit.org.
  5. // ****************************************************************
  6. using System;
  7. namespace NUnit.Core
  8. {
  9. /// <summary>
  10. /// TestAssembly is a TestSuite that represents the execution
  11. /// of tests in a managed assembly.
  12. /// </summary>
  13. public class NamespaceSuite : TestSuite
  14. {
  15. /// <summary>
  16. /// Initializes a new instance of the <see cref="NamespaceSuite"/> class.
  17. /// </summary>
  18. /// <param name="path">The path.</param>
  19. public NamespaceSuite(string path) : base(path) { }
  20. /// <summary>
  21. /// Initializes a new instance of the <see cref="NamespaceSuite"/> class.
  22. /// </summary>
  23. /// <param name="parentNamespace">The parent namespace.</param>
  24. /// <param name="suiteName">Name of the suite.</param>
  25. public NamespaceSuite(string parentNamespace, string suiteName) : base(parentNamespace, suiteName) { }
  26. /// <summary>
  27. /// Gets the type of the test.
  28. /// </summary>
  29. public override string TestType
  30. {
  31. get { return "Namespace"; }
  32. }
  33. }
  34. }