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

/src/NUnit/interfaces/RunState.cs

#
C# | 53 lines | 12 code | 5 blank | 36 comment | 0 complexity | b18d98b946c5aa7134e4d731ce160b61 MD5 | raw file
 1// ****************************************************************
 2// Copyright 2007, Charlie Poole
 3// This is free software licensed under the NUnit license. You may
 4// obtain a copy of the license at http://nunit.org
 5// ****************************************************************
 6using System;
 7
 8namespace NUnit.Core
 9{
10	/// <summary>
11	/// The RunState enum indicates whether a test
12    /// can be executed. When used on a TestResult
13    /// it may also indicate whether the test has
14    /// been executed. See individual values for
15    /// restrictions on use.
16	/// </summary>
17	public enum RunState
18	{
19        /// <summary>
20        /// The test is not runnable.
21        /// </summary>
22		NotRunnable, 
23
24        /// <summary>
25        /// The test is runnable. This value would 
26        /// normally not appear on a TestResult, since
27        /// it would change to Executed.
28        /// </summary>
29		Runnable,
30
31        /// <summary>
32        /// The test can only be run explicitly. Would
33        /// normally not appear on a TestResult, since
34        /// it would change to Executed or Skipped.
35        /// </summary>
36		Explicit,
37
38        /// <summary>
39        /// The test has been skipped. This value may
40        /// appear on a Test when certain attributes
41        /// are used to skip the test.
42        /// </summary>
43		Skipped,
44
45        /// <summary>
46        /// The test has been ignored. May appear on
47        /// a Test, when the IgnoreAttribute is used.
48        /// Appears on a TestResult in that case or
49        /// if the test is dynamically ignored.
50        /// </summary>
51		Ignored
52	}
53}