[bcl] Deprecate old NUnit 2.4 framework shipped with Mono
[mono.git] / mcs / nunit24 / NUnitFramework / framework / TestFixtureAttribute.cs
1 // ****************************************************************\r
2 // This is free software licensed under the NUnit license. You\r
3 // may obtain a copy of the license as well as information regarding\r
4 // copyright ownership at http://nunit.org/?p=license&r=2.4.\r
5 // ****************************************************************\r
6 \r
7 namespace NUnit.Framework\r
8 {\r
9         using System;\r
10 \r
11         /// <example>\r
12         /// [TestFixture]\r
13         /// public class ExampleClass \r
14         /// {}\r
15         /// </example>\r
16         [AttributeUsage(AttributeTargets.Class, AllowMultiple=false, Inherited=true)]\r
17         [Obsolete ("The NUnit framework shipped with Mono is deprecated and will be removed in a future release. It was based on NUnit 2.4 which is long outdated. Please move to the NUnit NuGet package or some other form of acquiring NUnit.", true)]\r
18         public class TestFixtureAttribute : Attribute\r
19         {\r
20                 private string description;\r
21 \r
22                 /// <summary>\r
23                 /// Descriptive text for this fixture\r
24                 /// </summary>\r
25                 public string Description\r
26                 {\r
27                         get { return description; }\r
28                         set { description = value; }\r
29                 }\r
30         }\r
31 }\r