1 // ***********************************************************************
2 // Copyright (c) 2010 Charlie Poole
4 // Permission is hereby granted, free of charge, to any person obtaining
5 // a copy of this software and associated documentation files (the
6 // "Software"), to deal in the Software without restriction, including
7 // without limitation the rights to use, copy, modify, merge, publish,
8 // distribute, sublicense, and/or sell copies of the Software, and to
9 // permit persons to whom the Software is furnished to do so, subject to
10 // the following conditions:
12 // The above copyright notice and this permission notice shall be
13 // included in all copies or substantial portions of the Software.
15 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 // ***********************************************************************
25 #define NUNIT_FRAMEWORK
31 namespace NUnit.Framework.Internal
34 /// The PropertyNames class provides static constants for the
35 /// standard property ids that NUnit uses on tests.
37 public class PropertyNames
39 #region Internal Properties
42 /// The FriendlyName of the AppDomain in which the assembly is running
44 public const string AppDomain = "_APPDOMAIN";
47 /// The selected strategy for joining parameter data into test cases
49 public const string JoinType = "_JOINTYPE";
52 /// The process ID of the executing assembly
54 public const string ProcessID = "_PID";
57 /// The stack trace from any data provider that threw
60 public const string ProviderStackTrace = "_PROVIDERSTACKTRACE";
63 /// The reason a test was not run
65 public const string SkipReason = "_SKIPREASON";
69 #region Standard Properties
72 /// The author of the tests
74 public const string Author = "Author";
77 /// The ApartmentState required for running the test
79 public const string ApartmentState = "ApartmentState";
82 /// The categories applying to a test
84 public const string Category = "Category";
87 /// The Description of a test
89 public const string Description = "Description";
92 /// The number of threads to be used in running tests
94 public const string LevelOfParallelism = "LevelOfParallelism";
97 /// The maximum time in ms, above which the test is considered to have failed
99 public const string MaxTime = "MaxTime";
102 /// The ParallelScope associated with a test
104 public const string ParallelScope = "ParallelScope";
107 /// The number of times the test should be repeated
109 public const string RepeatCount = "Repeat";
112 /// Indicates that the test should be run on a separate thread
114 public const string RequiresThread = "RequiresThread";
117 /// The culture to be set for a test
119 public const string SetCulture = "SetCulture";
122 /// The UI culture to be set for a test
124 public const string SetUICulture = "SetUICulture";
127 /// The type that is under test
129 public const string TestOf = "TestOf";
132 /// The timeout value for the test
134 public const string Timeout = "Timeout";
137 /// The test will be ignored until the given date
139 public const string IgnoreUntilDate = "IgnoreUntilDate";
142 /// The optional Order the test will run in
144 public const string Order = "Order";