PageRenderTime 15ms CodeModel.GetById 7ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 7using System;
 8
 9namespace NUnit.Core
10{
11    /// <summary>
12    /// TestAssembly is a TestSuite that represents the execution
13    /// of tests in a managed assembly.
14    /// </summary>
15    public class NamespaceSuite : TestSuite
16    {
17        /// <summary>
18        /// Initializes a new instance of the <see cref="NamespaceSuite"/> class.
19        /// </summary>
20        /// <param name="path">The path.</param>
21        public NamespaceSuite(string path) : base(path) { }
22
23        /// <summary>
24        /// Initializes a new instance of the <see cref="NamespaceSuite"/> class.
25        /// </summary>
26        /// <param name="parentNamespace">The parent namespace.</param>
27        /// <param name="suiteName">Name of the suite.</param>
28        public NamespaceSuite(string parentNamespace, string suiteName) : base(parentNamespace, suiteName) { }
29
30        /// <summary>
31        /// Gets the type of the test.
32        /// </summary>
33        public override string TestType
34        {
35            get { return "Namespace"; }
36        }
37    }
38}